From 68ebf6b4f3da5e12a04b623c7a705e73f50a8ee0 Mon Sep 17 00:00:00 2001 From: bang honam Date: Mon, 21 Apr 2014 14:30:08 +0900 Subject: [PATCH 01/95] Add hour,minutes,seconds at JSON for newbies --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 13457e58e..c70be37e8 100644 --- a/README.markdown +++ b/README.markdown @@ -271,8 +271,8 @@ Here is the full model: }, "date": [ { - "startDate":"2011,12,10", - "endDate":"2011,12,11", + "startDate":"2011,12,10,07,02,10", + "endDate":"2011,12,11,08,11", "headline":"Headline Goes Here", "text":"

Body text goes here, some HTML is OK

", "tag":"This is Optional", From 364ec62e4b3aa6393bfc3aef2ec089bb3cfd7b58 Mon Sep 17 00:00:00 2001 From: 1492sen <1492sen@gmail.com> Date: Tue, 5 Aug 2014 15:33:19 +0800 Subject: [PATCH 02/95] Update zh-tw.js most taiwanese prefer numerical month date format instead chinese characters, same as zh-cn. current zh-tw only display month in chinese character http://cdn.knightlab.com/libs/timeline/latest/embed/index.html?source=0AlHbrYHut1HUdGNNamt6QzdDeFFyMXVFRmtsUmp4TFE&font=Bevan-PotanoSans&maptype=toner&lang=zh-tw&height=650 --- source/js/Core/Language/locale/zh-tw.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/js/Core/Language/locale/zh-tw.js b/source/js/Core/Language/locale/zh-tw.js index 6a089d9ab..c51d01c36 100644 --- a/source/js/Core/Language/locale/zh-tw.js +++ b/source/js/Core/Language/locale/zh-tw.js @@ -7,10 +7,10 @@ if(typeof VMM != 'undefined') { wikipedia: "zh" }, date: { - month: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], - month_abbr: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], + month: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], + month_abbr: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], day: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], - day_abbr: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"] + day_abbr: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"] }, dateformats: { year: "yyyy年", From ce4ab721f917b11fbff8009cc6421dcf0259f33b Mon Sep 17 00:00:00 2001 From: 1492sen <1492sen@gmail.com> Date: Tue, 5 Aug 2014 15:36:09 +0800 Subject: [PATCH 03/95] Update zh-tw.js should use traditional week character --- source/js/Core/Language/locale/zh-tw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/Core/Language/locale/zh-tw.js b/source/js/Core/Language/locale/zh-tw.js index c51d01c36..303f2ce8e 100644 --- a/source/js/Core/Language/locale/zh-tw.js +++ b/source/js/Core/Language/locale/zh-tw.js @@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') { month: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], month_abbr: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], day: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], - day_abbr: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"] + day_abbr: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"] }, dateformats: { year: "yyyy年", From 92b6d7bfd2019a52d5cd3006cd5fa7183fe5ba3e Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Thu, 14 Aug 2014 09:36:36 -0400 Subject: [PATCH 04/95] Sort tags for consistent display MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This ensures that the tag list will be consistent rather than based on the browser’s internal hash implementation. It also allows a custom override function to be configured when simple alphabetic sorting is not sufficient. Closes #342 Closes #505 --- source/js/VMM.Timeline.TimeNav.js | 3 +++ source/js/VMM.Timeline.js | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/source/js/VMM.Timeline.TimeNav.js b/source/js/VMM.Timeline.TimeNav.js index 491829fa5..07d79e88b 100644 --- a/source/js/VMM.Timeline.TimeNav.js +++ b/source/js/VMM.Timeline.TimeNav.js @@ -1545,6 +1545,9 @@ if(typeof VMM.Timeline != 'undefined' && typeof VMM.Timeline.TimeNav == 'undefin // CREATE TAGS tags = VMM.Util.deDupeArray(tags); + + config.tagSortFunction(tags); + if (tags.length > 3) { config.nav.rows.current = config.nav.rows.half; } else { diff --git a/source/js/VMM.Timeline.js b/source/js/VMM.Timeline.js index f75b4d061..1b1022a96 100755 --- a/source/js/VMM.Timeline.js +++ b/source/js/VMM.Timeline.js @@ -135,7 +135,12 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { ease: "easeInOutExpo", duration: 1000, gmap_key: "", - language: VMM.Language + language: VMM.Language, + tagSortFunction: function (arr) { + arr.sort(function (a, b) { + return a.localeCompare(b); + }) + } }; if ( w != null && w != "") { From 2d925f8fa09f6f879b7f5e5d451bd0d113e6638d Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Fri, 15 Aug 2014 12:29:17 -0400 Subject: [PATCH 05/95] Always use CSS transitions when available This makes a huge difference in perceptual animation quality from ~10-20 FPS on a 1.7Ghz Core i7 to 60FPS in Chrome, Safari, Firefox, IE11. --- source/js/Core/Core/VMM.Browser.js | 34 ++++++++++++++++++++++++++---- source/js/Core/Core/VMM.Library.js | 10 ++++----- 2 files changed, 35 insertions(+), 9 deletions(-) diff --git a/source/js/Core/Core/VMM.Browser.js b/source/js/Core/Core/VMM.Browser.js index d26940aab..a04aaf0e8 100644 --- a/source/js/Core/Core/VMM.Browser.js +++ b/source/js/Core/Core/VMM.Browser.js @@ -12,12 +12,17 @@ if(typeof VMM != 'undefined' && typeof VMM.Browser == 'undefined') { this.OS = this.searchString(this.dataOS) || "an unknown OS"; this.device = this.searchDevice(navigator.userAgent); this.orientation = this.searchOrientation(window.orientation); + this.features = { + css: { + transitions: this.cssTransitionSupport() + } + }; }, searchOrientation: function(orientation) { var orient = ""; - if ( orientation == 0 || orientation == 180) { + if ( orientation == 0 || orientation == 180) { orient = "portrait"; - } else if ( orientation == 90 || orientation == -90) { + } else if ( orientation == 90 || orientation == -90) { orient = "landscape"; } else { orient = "normal"; @@ -155,8 +160,29 @@ if(typeof VMM != 'undefined' && typeof VMM.Browser == 'undefined') { subString: "Linux", identity: "Linux" } - ] + ], + cssTransitionSupport: function () { + // See https://gist.github.com/jackfuchs/556448 + var b = document.body || document.documentElement, + s = b.style, + p = 'transition'; + + if (typeof s[p] == 'string') { + return true; + } + + // Tests for vendor specific prop + var v = ['Moz', 'webkit', 'Webkit', 'Khtml', 'O', 'ms']; + p = p.charAt(0).toUpperCase() + p.substr(1); + + for (var i=0; i Date: Fri, 15 Aug 2014 17:16:29 -0400 Subject: [PATCH 06/95] Use the slow jQuery path to animate scrollTop This might be worth either splitting animate() into one for DOM properties and one for pure-CSS or replacing the scrollTop animation with something like margin or, better yet, transform. --- source/js/Core/Core/VMM.Library.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source/js/Core/Core/VMM.Library.js b/source/js/Core/Core/VMM.Library.js index 0031626b1..ceb1809fc 100644 --- a/source/js/Core/Core/VMM.Library.js +++ b/source/js/Core/Core/VMM.Library.js @@ -427,9 +427,10 @@ if(typeof VMM != 'undefined') { jQuery(element).stop(); } }, - + + // TODO: Consider removing this as it's referenced by one commented line delay_animate: function(delay, element, duration, ease, att, callback_function) { - if (VMM.Browser.features.css.transitions) { + if (VMM.Browser.features.css.transitions && !('scrollTop' in _att)) { var _tdd = Math.round((duration/1500)*10)/10, __duration = _tdd + 's'; @@ -478,9 +479,7 @@ if(typeof VMM != 'undefined') { _att = {opacity: 0} } - - if (VMM.Browser.features.css.transitions) { - + if (VMM.Browser.features.css.transitions && !('scrollTop' in _att)) { var _tdd = Math.round((_duration/1500)*10)/10, __duration = _tdd + 's'; From facd6fa7db1ea7f88e517f93dc564cbcfea95aa6 Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Fri, 15 Aug 2014 17:55:23 -0400 Subject: [PATCH 07/95] Fix VMM.Library.prop and VMM.Library.attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit prop() previously had a version check for jQuery’s prop() function which failed, causing it to never return values for e.g. scrollHeight. attribute() previously always hit the setter path because it didn’t check for value being undefined so it always called jQuery using the two argument form. --- source/js/Core/Core/VMM.Library.js | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/source/js/Core/Core/VMM.Library.js b/source/js/Core/Core/VMM.Library.js index ceb1809fc..0191c46ab 100644 --- a/source/js/Core/Core/VMM.Library.js +++ b/source/js/Core/Core/VMM.Library.js @@ -280,28 +280,27 @@ if(typeof VMM != 'undefined') { } } }, - + prop: function(element, aName, value) { - if (typeof jQuery == 'undefined' || !/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)) { - VMM.Lib.attribute(element, aName, value); + if (typeof jQuery == 'undefined' || !('prop' in jQuery.fn)) { + return VMM.Lib.attribute(element, aName, value); + } else if (typeof value != 'undefined') { + return jQuery(element).prop(aName, value); } else { - jQuery(element).prop(aName, value); + return jQuery(element).prop(aName); } }, - + attribute: function(element, aName, value) { - - if (value != null && value != "") { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).attr(aName, value); - } - } else { - if( typeof( jQuery ) != 'undefined' ){ + if (typeof(jQuery) != 'undefined') { + if (typeof(value) != 'undefined' && value != null && value != "") { + return jQuery(element).attr(aName, value); + } else { return jQuery(element).attr(aName); } } }, - + visible: function(element, show) { if (show != null) { if( typeof( jQuery ) != 'undefined' ){ From 5c4edc9502d282da0b2b5bd1cdec95764dcfa53c Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Fri, 15 Aug 2014 18:05:26 -0400 Subject: [PATCH 08/95] =?UTF-8?q?VMM.Library.animate():=20don=E2=80=99t=20?= =?UTF-8?q?churn=20object=20copies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This avoids declaring an object unless we didn’t receive one --- source/js/Core/Core/VMM.Library.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/js/Core/Core/VMM.Library.js b/source/js/Core/Core/VMM.Library.js index 0191c46ab..ebcb6c2f5 100644 --- a/source/js/Core/Core/VMM.Library.js +++ b/source/js/Core/Core/VMM.Library.js @@ -452,8 +452,8 @@ if(typeof VMM != 'undefined') { var _ease = "easein", _que = false, _duration = 1000, - _att = {}; - + _att; + if (duration != null) { if (duration < 1) { _duration = 1; @@ -473,9 +473,9 @@ if(typeof VMM != 'undefined') { if (att != null) { - _att = att + _att = att; } else { - _att = {opacity: 0} + _att = {opacity: 0}; } if (VMM.Browser.features.css.transitions && !('scrollTop' in _att)) { From ad023781829a82e236a70b129cc043deb3dbfc56 Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Thu, 21 Aug 2014 11:37:16 -0400 Subject: [PATCH 09/95] LESS: fix control positioning on RTL pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently the next and previous controls will overlap when embedded on an RTL page. This commit makes the controls usable but doesn’t start the larger project of flipping the various left/right classes applied to .nav-next / .nav-previous elements or updating the JavaScript to use “left” or “right” based on whether the timeline is embedded in a dir=rtl or dir=ltr element. --- source/less/Core/Typography.less | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/less/Core/Typography.less b/source/less/Core/Typography.less index 8f1684f43..5f648b527 100644 --- a/source/less/Core/Typography.less +++ b/source/less/Core/Typography.less @@ -188,8 +188,12 @@ /* Right to Left * ---------------------------------------------------------------------------------------- */ .vco-storyjs.vco-right-to-left { - h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, q, s, samp, small, strike, strong, + [dir=rtl] &, &[dir=rtl] { + direction: ltr; + } + + h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, button, table, caption, tbody, tfoot, thead, tr, th, td, { - direction:rtl; + direction: rtl; } } From cadd7574692e4bba6c7188e717947c3848f8cc56 Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Fri, 22 Aug 2014 15:59:33 -0400 Subject: [PATCH 10/95] placeholder for future optimization --- source/js/Core/Slider/VMM.Slider.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/js/Core/Slider/VMM.Slider.js b/source/js/Core/Slider/VMM.Slider.js index 8b49267ec..fcb8c4d19 100644 --- a/source/js/Core/Slider/VMM.Slider.js +++ b/source/js/Core/Slider/VMM.Slider.js @@ -689,6 +689,8 @@ if(typeof VMM != 'undefined' && typeof VMM.Slider == 'undefined') { } else { VMM.Lib.css(layout, "overflow-y", "hidden" ); var scroll_height = 0; + + // FIXME: Chrome cannot optimize this try/catch block, which appears to be unnecessary – see https://github.com/NUKnightLab/TimelineJS/pull/681#issuecomment-52365420 try { scroll_height = VMM.Lib.prop(layout, "scrollHeight"); VMM.Lib.animate(layout, _duration, _ease, {scrollTop: scroll_height - VMM.Lib.height(layout) }); From cabe8f42e63151a8ca5a6d47a5751e28a3f97fd9 Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Fri, 22 Aug 2014 16:01:54 -0400 Subject: [PATCH 11/95] =?UTF-8?q?Allow=20Chrome=20to=20optimize=20for?= =?UTF-8?q?=E2=80=A6in=20loop=20in=20animate()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Making this a local variable allows Chrome to optimize the loop, which is called frequently while scrolling --- source/js/Core/Core/VMM.Library.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/Core/Core/VMM.Library.js b/source/js/Core/Core/VMM.Library.js index ebcb6c2f5..e684115c9 100644 --- a/source/js/Core/Core/VMM.Library.js +++ b/source/js/Core/Core/VMM.Library.js @@ -484,7 +484,7 @@ if(typeof VMM != 'undefined') { _ease = " cubic-bezier(0.33, 0.66, 0.66, 1)"; //_ease = " ease-in-out"; - for (x in _att) { + for (var x in _att) { if (Object.prototype.hasOwnProperty.call(_att, x)) { trace(x + " to " + _att[x]); VMM.Lib.css(element, '-webkit-transition', x + ' ' + __duration + _ease); From 7a0112c947481169fc2eb6818fa1f5a9c71dbe0f Mon Sep 17 00:00:00 2001 From: sipp11 Date: Wed, 27 Aug 2014 22:06:10 +0700 Subject: [PATCH 12/95] edit th.js --- source/js/Core/Language/locale/th.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/js/Core/Language/locale/th.js b/source/js/Core/Language/locale/th.js index bad81aedb..b54235655 100644 --- a/source/js/Core/Language/locale/th.js +++ b/source/js/Core/Language/locale/th.js @@ -16,22 +16,22 @@ if(typeof VMM != 'undefined') { year: "yyyy", month_short: "mmm", month: "mmmm yyyy", - full_short: "mmm d", - full: "mmmm d',' yyyy", + full_short: "d mmm", + full: "d mmmm yyyy", time_short: "h:MM:ss TT", time_no_seconds_short: "h:MM TT", - time_no_seconds_small_date: "h:MM TT'
'mmmm d',' yyyy''", - full_long: "mmm d',' yyyy 'at' h:MM TT", - full_long_small_date: "h:MM TT'
mmm d',' yyyy''" + time_no_seconds_small_date: "h:MM TT'
'd mmmm yyyy''", + full_long: "d mmmm yyyy 'เวลา' h:MM TT", + full_long_small_date: "h:MM TT'
d mmm yyyy''" }, messages: { - loading_timeline: "Loading Timeline... ", - return_to_title: "Return to Title", - expand_timeline: "Expand Timeline", - contract_timeline: "Contract Timeline", - wikipedia: "From Wikipedia, the free encyclopedia", - loading_content: "Loading Content", - loading: "Loading" + loading_timeline: "กำลังสร้างไทม์ไลน์... ", + return_to_title: "กลับสู้หน้าหลัก", + expand_timeline: "ขยายไทม์ไลน์", + contract_timeline: "ย่อไทม์ไลน์", + wikipedia: "จากวิกิพีเดีย สารานุกรมเสรี", + loading_content: "กำลังโหลดข้อมูล", + loading: "กำลังโหลด" } } } \ No newline at end of file From a537b75396a4b4ff1357a4d97fd31ab9b79910ce Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Sun, 5 Oct 2014 20:21:06 +0200 Subject: [PATCH 13/95] Added the Frisian language. --- build/js/locale/fy.js | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 build/js/locale/fy.js diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js new file mode 100644 index 000000000..d9e7b3fab --- /dev/null +++ b/build/js/locale/fy.js @@ -0,0 +1,37 @@ +/* English LANGUAGE +================================================== */ +if(typeof VMM != 'undefined') { + VMM.Language = { + lang: "fy", + api: { + wikipedia: "fy" + }, + date: { + month: ["Foarmoanne", "Sellemoanne", "Foarjiersmoanne", "Gersmoanne", "Blommemoanne", "Simmermoanne", "Heamoanne", "Rispmoanne", "Hjerstmoanne", "Wynmoanne", "Slachtmoanne", "Wintermoanne"], + month_abbr: ["Jan.", "Feb.", "Mar", "Apr", "Mei", "Juni", "Juli", "Aug.", "Sept.", "Okt.", "Nov.", "Des."], + day: ["Snein","Moandei", "Tiisdei", "Woansdei", "Tongersdei", "Freed", "Sneon"], + day_abbr: ["Snein","Moandei", "Tiisdei", "Woansdei", "Tongersdei", "Freed", "Sneon"] + }, + dateformats: { + year: "yyyy", + month_short: "mmm", + month: "mmmm yyyy", + full_short: "d mmm", + full: "d mmmm yyyy", + time_short: "HH:MM:ss", + time_no_seconds_short: "HH:MM", + time_no_seconds_small_date: "HH:MM'
'd mmmm yyyy''", + full_long: "dddd',' d mmm yyyy 'om' HH:MM", + full_long_small_date: "HH:MM'
'dddd',' d mmm yyyy''" + }, + messages: { + loading_timeline: "Tiidline ynlade ... ", + return_to_title: "Wer werom nei it begjin", + expand_timeline: "Tiidline útzoomen", + contract_timeline: "Tiidline ynzoomen", + wikipedia: "Fan Wikipedia, de frije ensyklopedy", + loading_content: "Ynhâld ynlade", + loading: "Ynlade" + } + } +} \ No newline at end of file From 2088a6d078a19a34d1400f5d024d193fcf056510 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Tue, 9 Dec 2014 21:15:18 +0100 Subject: [PATCH 14/95] Added Translation --- source/js/Core/Language/locale/de.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/Core/Language/locale/de.js b/source/js/Core/Language/locale/de.js index 1c8199a24..779367100 100644 --- a/source/js/Core/Language/locale/de.js +++ b/source/js/Core/Language/locale/de.js @@ -32,6 +32,6 @@ if(typeof VMM != 'undefined') { wikipedia: "aus Wikipedia, der freien Enzyklopädie", loading_content: "Inhalte werden geladen...", loading: "Lädt...", - swipe_nav: "Swipe to Navigate" } + swipe_nav: "Wischen zum navigieren" } } } From 4a5c9bd18fdf0fb136bed1c78a39b546deb47229 Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Wed, 10 Dec 2014 23:26:27 +0100 Subject: [PATCH 15/95] Changed to the more modern naming of months --- build/js/locale/fy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index d9e7b3fab..df9dcc582 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,4 +1,4 @@ -/* English LANGUAGE +/* Frisian LANGUAGE ================================================== */ if(typeof VMM != 'undefined') { VMM.Language = { @@ -7,8 +7,8 @@ if(typeof VMM != 'undefined') { wikipedia: "fy" }, date: { - month: ["Foarmoanne", "Sellemoanne", "Foarjiersmoanne", "Gersmoanne", "Blommemoanne", "Simmermoanne", "Heamoanne", "Rispmoanne", "Hjerstmoanne", "Wynmoanne", "Slachtmoanne", "Wintermoanne"], - month_abbr: ["Jan.", "Feb.", "Mar", "Apr", "Mei", "Juni", "Juli", "Aug.", "Sept.", "Okt.", "Nov.", "Des."], + month: ["Jannewaris", "Febrewaris", "Maart", "April", "Maaie", "Juny", "July", "Augustus", "Septimber", "Oktober", "Novimber", "Desimber"], + month_abbr: ["Jan.", "Feb.", "Mar", "Apr", "Maaie", "July", "July", "Aug.", "Sept.", "Okt.", "Nov.", "Des."], day: ["Snein","Moandei", "Tiisdei", "Woansdei", "Tongersdei", "Freed", "Sneon"], day_abbr: ["Snein","Moandei", "Tiisdei", "Woansdei", "Tongersdei", "Freed", "Sneon"] }, From 0b6ad2ce99b0a02f5fbbdee45eb18d0512ae6690 Mon Sep 17 00:00:00 2001 From: Ahwan Kumar Date: Fri, 19 Dec 2014 00:10:42 +0530 Subject: [PATCH 16/95] Add Hindi Language Support Adding support for Hindi Language spoken by 366 M people. --- build/js/locale/hi.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 build/js/locale/hi.js diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js new file mode 100644 index 000000000..abfcd3290 --- /dev/null +++ b/build/js/locale/hi.js @@ -0,0 +1,9 @@ +/* + TimelineJS - ver. 2014-12-09-18-51-25 - 2014-12-09 + Copyright (c) 2012-2013 Northwestern University + a project of the Northwestern University Knight Lab, originally created by Zach Wise + https://github.com/NUKnightLab/TimelineJS + This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. + If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. +*/ +if(typeof VMM!="undefined"){VMM.Language={lang:"hi",api:{wikipedia:"hi"},date:{month:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],month_abbr:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],day:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],day_abbr:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"टाइमलाइन लोड हो रहा है",return_to_title:"शीर्षक पर लौटें",expand_timeline:"टाइमलाइन का विस्तार करें",contract_timeline:"टाइमलाइन का अनुबंध करें",wikipedia:"विकिपीडिया, मुक्त विश्वकोश से",loading_content:"लोड हो रहा है सामग्री",loading:"लोड हो रहा है",swipe_nav:"Swipe to Navigate",read_more:"और पढ़ें"}}} From 0134cfca91d3e71370846307275512be5da7ad74 Mon Sep 17 00:00:00 2001 From: Ahwan Kumar Date: Fri, 19 Dec 2014 00:18:28 +0530 Subject: [PATCH 17/95] Add Hindi Language Support Add support for Hindi Language spoken by 366 M people. --- source/js/Core/Language/locale/hi.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 source/js/Core/Language/locale/hi.js diff --git a/source/js/Core/Language/locale/hi.js b/source/js/Core/Language/locale/hi.js new file mode 100644 index 000000000..abfcd3290 --- /dev/null +++ b/source/js/Core/Language/locale/hi.js @@ -0,0 +1,9 @@ +/* + TimelineJS - ver. 2014-12-09-18-51-25 - 2014-12-09 + Copyright (c) 2012-2013 Northwestern University + a project of the Northwestern University Knight Lab, originally created by Zach Wise + https://github.com/NUKnightLab/TimelineJS + This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. + If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. +*/ +if(typeof VMM!="undefined"){VMM.Language={lang:"hi",api:{wikipedia:"hi"},date:{month:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],month_abbr:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],day:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],day_abbr:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"टाइमलाइन लोड हो रहा है",return_to_title:"शीर्षक पर लौटें",expand_timeline:"टाइमलाइन का विस्तार करें",contract_timeline:"टाइमलाइन का अनुबंध करें",wikipedia:"विकिपीडिया, मुक्त विश्वकोश से",loading_content:"लोड हो रहा है सामग्री",loading:"लोड हो रहा है",swipe_nav:"Swipe to Navigate",read_more:"और पढ़ें"}}} From 2ca2bc697d2a3c32b8bac1dee43c4670a68a4f28 Mon Sep 17 00:00:00 2001 From: "U-RUV\\sigurdurg" Date: Mon, 22 Dec 2014 15:30:50 +0000 Subject: [PATCH 18/95] updating 'is' date formats to the icelandic standard --- source/js/Core/Language/locale/is.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/js/Core/Language/locale/is.js b/source/js/Core/Language/locale/is.js index dac894102..08e7b22e2 100644 --- a/source/js/Core/Language/locale/is.js +++ b/source/js/Core/Language/locale/is.js @@ -16,13 +16,13 @@ if(typeof VMM != 'undefined') { year: "yyyy", month_short: "mmm", month: "mmmm yyyy", - full_short: "mmm d", - full: "mmmm d',' yyyy", + full_short: "d'.' mmm", + full: "d'.' mmmm yyyy", time_short: "h:MM:SS TT", time_no_seconds_short: "hh:MM TT", - time_no_seconds_small_date: "hh:MM TT'
'mmmm d',' yyyy''", - full_long: "dddd',' mmm d',' yyyy 'at' hh:MM TT", - full_long_small_date: "hh:MM TT'
'dddd',' mmm d',' yyyy''" + time_no_seconds_small_date: "hh:MM TT'
'd'.' mmmm yyyy''", + full_long: "dddd',' d'.' mmm yyyy 'kl.' hh:MM TT", + full_long_small_date: "hh:MM TT'
'dddd',' d'.' mmm yyyy''" }, messages: { loading_timeline: "Raða upp tímalínu... ", From 1dac10e9a712a096b4c460699147c1d1677b6f7f Mon Sep 17 00:00:00 2001 From: rootseire Date: Tue, 20 Jan 2015 17:12:11 +0000 Subject: [PATCH 19/95] Create ga.js --- source/js/Core/Language/locale/ga.js | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 source/js/Core/Language/locale/ga.js diff --git a/source/js/Core/Language/locale/ga.js b/source/js/Core/Language/locale/ga.js new file mode 100644 index 000000000..09bc3f424 --- /dev/null +++ b/source/js/Core/Language/locale/ga.js @@ -0,0 +1,38 @@ +/* English LANGUAGE +================================================== */ +if(typeof VMM != 'undefined') { + VMM.Language = { + lang: "ga", + api: { + wikipedia: "ga" + }, + date: { + month: ["Eanair", "Feabhra", "Márta", "Aibhreán", "Bealtaine", "Meitheamh", "Iúil", "Lúnasa", "Meán Fómhair", "Deireadh Fómhair", "Samhain", "Mí Na Nollag"], + month_abbr: ["Ean.", "Fea.", "Már.", "Aibh.", "Beal.", "Meith.", "Iúil", "Lún.", "MF.", "DF.", "Samh.", "Noll."], + day: ["Dé Domhnaigh","Dé Luain", "Dé Máirt", "Dé Céadaoin", "Déardaoin", "Dé hAoine", "Dé Sathairn"], + day_abbr: ["DéDom.","DéL.", "DéM.", "DéC.", "DéarD.", "DéhA.", "DéSat."] + }, + dateformats: { + year: "yyyy", + month_short: "mmm", + month: "mmmm yyyy", + full_short: "d mmm", + full: "d mmmm yyyy", + time_short: "HH:MM:SS", + time_no_seconds_short: "HH:MM", + time_no_seconds_small_date: "''d mmmm yyyy'' HH:MM", + full_long: "dddd',' d mmm yyyy HH:MM", + full_long_small_date: "HH:MM'
d mmm yyyy''" + }, + messages: { + loading_timeline: "Tá an Amlíne ag Lódáil... ", + return_to_title: "Ar Ais go dtí an tideal", + expand_timeline: "Leathnaigh An Amlíne", + contract_timeline: "Coimrigh An Amlíne", + wikipedia: "As Wikipedia, an ciclipéid saor", + loading_content: "Ag Lódáil an", + loading: "Ag Lódáil an Inneachar", + swipe_nav: "Svaidhpeáil Chun Nascleanúint" + } + } +} From f0ce1f66d9ce6feb03a32127716dda57c4a909f2 Mon Sep 17 00:00:00 2001 From: Charlie DeTar Date: Thu, 12 Feb 2015 13:00:42 -0700 Subject: [PATCH 20/95] Use stamen's SSL url when served under https: --- source/js/Core/Media/VMM.ExternalAPI.js | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/source/js/Core/Media/VMM.ExternalAPI.js b/source/js/Core/Media/VMM.ExternalAPI.js index be9e791a2..282b12d8b 100644 --- a/source/js/Core/Media/VMM.ExternalAPI.js +++ b/source/js/Core/Media/VMM.ExternalAPI.js @@ -908,26 +908,34 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { map_providers: { "toner": { - "url": "//{S}tile.stamen.com/toner/{Z}/{X}/{Y}.png", + "url": (document.location.protocol === "https:" ? + "https://stamen-tiles-{S}a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png" : + "//{S}tile.stamen.com/toner/{Z}/{X}/{Y}.png"), "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "toner-lines": { - "url": "//{S}tile.stamen.com/toner-lines/{Z}/{X}/{Y}.png", + "url": (document.location.protocol === "https:" ? + "https://stamen-tiles-{S}a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png" : + "//{S}tile.stamen.com/toner-lines/{Z}/{X}/{Y}.png"), "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "toner-labels": { - "url": "//{S}tile.stamen.com/toner-labels/{Z}/{X}/{Y}.png", + "url": (document.location.protocol === "https:" ? + "https://stamen-tiles-{S}a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png" : + "//{S}tile.stamen.com/toner-labels/{Z}/{X}/{Y}.png"), "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "sterrain": { - "url": "//{S}tile.stamen.com/terrain/{Z}/{X}/{Y}.jpg", + "url": (document.location.protocol === "https:" ? + "https://stamen-tiles-{S}a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg" : + "//{S}tile.stamen.com/terrain/{Z}/{X}/{Y}.jpg"), "minZoom": 4, "maxZoom": 20, "attribution": "stamen" @@ -939,7 +947,9 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { "attribution": "apple" }, "watercolor": { - "url": "//{S}tile.stamen.com/watercolor/{Z}/{X}/{Y}.jpg", + "url": (document.location.protocol === "https:" ? + "https://stamen-tiles-{S}a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg" : + "//{S}tile.stamen.com/watercolor/{Z}/{X}/{Y}.jpg"), "minZoom": 3, "maxZoom": 16, "attribution": "stamen" From 9e753b3ab796635ff1e8d0840bce712faba0dd5b Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Thu, 12 Feb 2015 16:21:45 -0600 Subject: [PATCH 21/95] address mismatch between domain names for Stamen map tiles ssl/non-ssl (#758) --- build/css/themes/dark.css | 2 +- .../css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- .../css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- .../themes/font/Merriweather-NewsCycle.css | 2 +- .../themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- .../css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 12 +++++------ build/js/timeline.js | 12 +++++------ source/js/Core/Media/VMM.ExternalAPI.js | 20 +++++-------------- 84 files changed, 98 insertions(+), 108 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index ecf3b1b5c..1d0d857d6 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index d07b696f7..866c58648 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index ed36995f3..06b69dc4e 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index 90c9a3697..fe090f90b 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index 83c1ca1fe..f941d8a8c 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index f0fa4e59e..826145146 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index 6dd6f8438..a01bdf427 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index d5fef20fa..180b243a5 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index ec5b4f187..6f5c0f49c 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index 3e2f6d417..998ed6727 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 25342f66a..f7c038c4b 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index a92ca84e7..4c12e8e75 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 1d2bfe08e..9c5fcca6c 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 1197d96d4..06e2efbb9 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 413ced3d1..6b600c02d 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 0aee4f040..8363ef7b3 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index ff671a7f1..9e6d200f1 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 43ccc2ffd..2437e4edd 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 37f09bab3..0561c476b 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index 0a0d7da52..fa7c88d91 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index 942cf8e7b..b9725b183 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index 01c5ef41c..30195ae31 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index da24324b8..354a795de 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 59fa9dbdc..a0556cfdf 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index c8b1b34ae..b1892650f 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 1d84ae99b..882787249 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 29e23ae2b..306e4706d 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index ecbc948dd..61b323722 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index 9dbf37038..d1995beff 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index 94081db0d..54e9b29e2 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index 1d351d752..00446ea1d 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index b9a7798b7..77b1d883f 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 58f548fce..35edb5952 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index d5f32022d..8dac0eae8 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index b31b69f6b..19e35a77b 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 216aee4a5..bf18a9ebe 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 907185e55..1f5d40f81 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 5b94cd1e3..62631d32c 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 0d684f6c3..5d6453d0c 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index 8a01ea041..066ddfa87 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index 220d11616..eb79806e5 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 426fa8f25..0c49599d0 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 63f878a53..c9d383597 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 5c303b81d..23e597c0a 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 0b6393f25..06790f564 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 67b14b719..6bb49ec99 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index b3a17b51a..2a264d8f2 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index 898172a30..e622368c1 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index 5996e8b69..f2c05a822 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index 4f8dd77c0..c3d663aca 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 0f7e58a87..58f803acf 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index bfd55236e..481e19184 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 8a89055c4..655fe04f8 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index ca9b309a2..301631a23 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 7515948e8..c647acdc2 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index 8d8630f09..bcbf76cae 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index 50058371e..5501259fe 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 3a52bcc22..7818872eb 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index 986f4a00b..01ede3c45 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 1d74ae905..365a7ea6a 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index a7519d248..e28b68339 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 5a763e627..a852096bb 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 5d574a80f..a14c0411c 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index 90e66fb4a..faf4fe277 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index ed3129597..c29f36c4e 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index dea0dad22..608884ad3 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 34fb70d51..c57b472de 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 15d290664..d7a206f82 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 23d7a8c4d..5fad5d548 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index c2dc77d48..e6d973e92 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 8dc1cd165..7b04f35c7 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 7b1637db6..25d9d4797 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 4a02ba22f..c18a0d714 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 182a71186..34adeea8c 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 894ab149b..a2d1c35a2 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 0df7cbdf9..40f51d643 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index fdec7e8d5..4e9fbfb05 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 4f3cf182f..529cf900b 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index ed61d943b..759859b03 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index bc1ea9b49..b5cd98115 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index fd1b82e00..dd26e7dd3 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index 813a42c76..d69055f55 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -7,8 +7,8 @@ If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ (function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi; -return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+" ";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"//{S}tile.stamen.com/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"//{S}tile.stamen.com/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"//{S}tile.stamen.com/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"//{S}tile.stamen.com/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"//{S}tile.stamen.com/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message); -VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider"); -$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time) -}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file +return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText); +trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature"); +$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours()); +int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file diff --git a/build/js/timeline.js b/build/js/timeline.js index e4a28b516..5cb2a745e 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-01-12-18-13-19 - 2015-01-12 + TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -3661,26 +3661,26 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { map_providers: { "toner": { - "url": "//{S}tile.stamen.com/toner/{Z}/{X}/{Y}.png", + "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "toner-lines": { - "url": "//{S}tile.stamen.com/toner-lines/{Z}/{X}/{Y}.png", + "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "toner-labels": { - "url": "//{S}tile.stamen.com/toner-labels/{Z}/{X}/{Y}.png", + "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "sterrain": { - "url": "//{S}tile.stamen.com/terrain/{Z}/{X}/{Y}.jpg", + "url": "https://stamen-tiles-{S}a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg", "minZoom": 4, "maxZoom": 20, "attribution": "stamen" @@ -3692,7 +3692,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { "attribution": "apple" }, "watercolor": { - "url": "//{S}tile.stamen.com/watercolor/{Z}/{X}/{Y}.jpg", + "url": "https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg", "minZoom": 3, "maxZoom": 16, "attribution": "stamen" diff --git a/source/js/Core/Media/VMM.ExternalAPI.js b/source/js/Core/Media/VMM.ExternalAPI.js index 282b12d8b..faa7a5e9b 100644 --- a/source/js/Core/Media/VMM.ExternalAPI.js +++ b/source/js/Core/Media/VMM.ExternalAPI.js @@ -908,34 +908,26 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { map_providers: { "toner": { - "url": (document.location.protocol === "https:" ? - "https://stamen-tiles-{S}a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png" : - "//{S}tile.stamen.com/toner/{Z}/{X}/{Y}.png"), + "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "toner-lines": { - "url": (document.location.protocol === "https:" ? - "https://stamen-tiles-{S}a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png" : - "//{S}tile.stamen.com/toner-lines/{Z}/{X}/{Y}.png"), + "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "toner-labels": { - "url": (document.location.protocol === "https:" ? - "https://stamen-tiles-{S}a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png" : - "//{S}tile.stamen.com/toner-labels/{Z}/{X}/{Y}.png"), + "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "sterrain": { - "url": (document.location.protocol === "https:" ? - "https://stamen-tiles-{S}a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg" : - "//{S}tile.stamen.com/terrain/{Z}/{X}/{Y}.jpg"), + "url": "https://stamen-tiles-{S}a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg", "minZoom": 4, "maxZoom": 20, "attribution": "stamen" @@ -947,9 +939,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { "attribution": "apple" }, "watercolor": { - "url": (document.location.protocol === "https:" ? - "https://stamen-tiles-{S}a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg" : - "//{S}tile.stamen.com/watercolor/{Z}/{X}/{Y}.jpg"), + "url": "https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg", "minZoom": 3, "maxZoom": 16, "attribution": "stamen" From 596e1c4ea5bd91aacd43e372e4b316ef625b3305 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 14:46:25 -0600 Subject: [PATCH 22/95] more to do with adding Belarusian (#762) and Irish (#749) --- CHANGELOG | 4 +++- README.markdown | 4 ++++ build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 9 +++++++++ build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 4 ++-- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/ga.js | 9 +++++++++ build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 2 +- build/js/timeline.js | 2 +- website/templates/_make.html | 2 ++ 88 files changed, 111 insertions(+), 85 deletions(-) create mode 100644 build/js/locale/be.js create mode 100644 build/js/locale/ga.js diff --git a/CHANGELOG b/CHANGELOG index d1935d641..a96b747a5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,9 +1,11 @@ 2.35.3 (pending) ------ #693 Update Polish locale +#722 Support 'youtubeTheme' config option #732 Updated German Translations #733 Move "Swipe to Navigate" to I18N. Now we need translations for 55 languages! -#722 Support 'youtubeTheme' config option +#749 Irish localization +#762 Belarusian localization 2.35.2 (2014-11-24) ------ diff --git a/README.markdown b/README.markdown index fb4b11ad2..414b6a8ae 100644 --- a/README.markdown +++ b/README.markdown @@ -159,6 +159,7 @@ Languages available: * `ar` *Arabic* * `hy` *Armenian* * `eu` *Basque* +* `be` *Belarusian* * `bg` *Bulgarian* * `ca` *Catalan* * `zh-cn` *Chinese* @@ -182,6 +183,7 @@ Languages available: * `hu` *Hungarian* * `is` *Icelandic* * `id` *Indonesian* +* `ga` *Irish* * `it` *Italian* * `ja` *Japanese* * `ko` *Korean* @@ -194,6 +196,7 @@ Languages available: * `pl` *Polish* * `pt` *Portuguese* * `pt-br` *Portuguese (Brazilian)* +* `ro` *Romanian* * `rm` *Romansh* * `ru` *Russian* * `sr-cy` *Serbian - Cyrillic* @@ -207,6 +210,7 @@ Languages available: * `ta` *Tamil* * `zh-tw` *Taiwanese* * `te` *Telugu* +* `th` *Thai* * `tr` *Turkish* * `uk` *Ukrainian* diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 1d0d857d6..832f3bebd 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 866c58648..6098d9ae3 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index 06b69dc4e..92e58adb5 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index fe090f90b..b09d20d0a 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index f941d8a8c..3c4f97fa9 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 826145146..8ea6f16b1 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index a01bdf427..58d544aee 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index 180b243a5..bfb4dbb85 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index 6f5c0f49c..99a88ef90 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index 998ed6727..69fc27666 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index f7c038c4b..0abd6472f 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index 4c12e8e75..0a8c46802 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 9c5fcca6c..f7dbb5de9 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 06e2efbb9..0ece81c73 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 6b600c02d..d6e0eea93 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 8363ef7b3..9eda94138 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 9e6d200f1..2893a2713 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 2437e4edd..5984ae73b 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 0561c476b..54d7b45a2 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index fa7c88d91..8a6406c52 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index b9725b183..d85c15940 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index 30195ae31..fe9a9dcbd 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js new file mode 100644 index 000000000..bb8630c24 --- /dev/null +++ b/build/js/locale/be.js @@ -0,0 +1,9 @@ +/* + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + Copyright (c) 2012-2013 Northwestern University + a project of the Northwestern University Knight Lab, originally created by Zach Wise + https://github.com/NUKnightLab/TimelineJS + This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. + If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. +*/ +if(typeof VMM!="undefined"){VMM.Language={lang:"be",api:{wikipedia:"be"},date:{month:["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"],month_abbr:["стд","лют","скв","крс","май","чрв","лпн","жнв","врс","кст","лст","снж"],day:["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"],day_abbr:["Нд.","Пн.","Аўт.","Ср.","Чц.","Пт.","Сб."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'd mmmm yyyy''",full_long:"d mmm yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
d mmm yyyy''"},messages:{loading_timeline:"Загрузка лініі часу... ",return_to_title:"Вярнуцца ў пачатак",expand_timeline:"Наблізіць лінію часу",contract_timeline:"Аддаліць лінію часу",wikipedia:"З Вікіпедыі, свабоднай энцыклапедыі",loading_content:"Загрузка зместу",loading:"Загрузка"}}} \ No newline at end of file diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index 354a795de..c637536b1 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index a0556cfdf..4538ff037 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index b1892650f..91bdeb709 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 882787249..a86d9e9f1 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 306e4706d..781f811e1 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,9 +1,9 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -if(typeof VMM!="undefined"){VMM.Language={lang:"de",api:{wikipedia:"de"},date:{month:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],month_abbr:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],day:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],day_abbr:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d. mmm",full:"d. mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd. mmmm yyyy''",full_long:"dddd',' d. mmm yyyy 'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d. mmm yyyy''"},messages:{loading_timeline:"Chronologie wird geladen...",return_to_title:"Zurück zum Anfang",expand_timeline:"Chronologie vergrößern",contract_timeline:"Chronologie verkleinern",wikipedia:"aus Wikipedia, der freien Enzyklopädie",loading_content:"Inhalte werden geladen...",loading:"Lädt...",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file +if(typeof VMM!="undefined"){VMM.Language={lang:"de",api:{wikipedia:"de"},date:{month:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],month_abbr:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],day:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],day_abbr:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d. mmm",full:"d. mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd. mmmm yyyy''",full_long:"dddd',' d. mmm yyyy 'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d. mmm yyyy''"},messages:{loading_timeline:"Chronologie wird geladen...",return_to_title:"Zurück zum Anfang",expand_timeline:"Chronologie vergrößern",contract_timeline:"Chronologie verkleinern",wikipedia:"aus Wikipedia, der freien Enzyklopädie",loading_content:"Inhalte werden geladen...",loading:"Lädt...",swipe_nav:"Wischen zum navigieren"}}} \ No newline at end of file diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 61b323722..f39f141d4 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index d1995beff..df4027755 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index 54e9b29e2..7e911aed9 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index 00446ea1d..0be478b1b 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 77b1d883f..5c350fa33 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 35edb5952..1dc441f0b 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index 8dac0eae8..d8ad7ba08 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 19e35a77b..0b8fd77eb 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index bf18a9ebe..37e6b1b0e 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 1f5d40f81..eb28de0bb 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 62631d32c..462ab7381 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 5d6453d0c..b16eeee62 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js new file mode 100644 index 000000000..4d60a17fd --- /dev/null +++ b/build/js/locale/ga.js @@ -0,0 +1,9 @@ +/* + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + Copyright (c) 2012-2013 Northwestern University + a project of the Northwestern University Knight Lab, originally created by Zach Wise + https://github.com/NUKnightLab/TimelineJS + This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. + If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. +*/ +if(typeof VMM!="undefined"){VMM.Language={lang:"ga",api:{wikipedia:"ga"},date:{month:["Eanair","Feabhra","Márta","Aibhreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Mí Na Nollag"],month_abbr:["Ean.","Fea.","Már.","Aibh.","Beal.","Meith.","Iúil","Lún.","MF.","DF.","Samh.","Noll."],day:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],day_abbr:["DéDom.","DéL.","DéM.","DéC.","DéarD.","DéhA.","DéSat."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"''d mmmm yyyy'' HH:MM",full_long:"dddd',' d mmm yyyy HH:MM",full_long_small_date:"HH:MM'
d mmm yyyy''"},messages:{loading_timeline:"Tá an Amlíne ag Lódáil... ",return_to_title:"Ar Ais go dtí an tideal",expand_timeline:"Leathnaigh An Amlíne",contract_timeline:"Coimrigh An Amlíne",wikipedia:"As Wikipedia, an ciclipéid saor",loading_content:"Ag Lódáil an",loading:"Ag Lódáil an Inneachar",swipe_nav:"Svaidhpeáil Chun Nascleanúint"}}} \ No newline at end of file diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index 066ddfa87..2be4ecf2a 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index eb79806e5..ff1806f61 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 0c49599d0..c7d0e96d0 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index c9d383597..72baeb38a 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 23e597c0a..d089f4987 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 06790f564..a9346307f 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 6bb49ec99..a457564b6 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index 2a264d8f2..f8d27f0af 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index e622368c1..6872fba9e 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index f2c05a822..bdcf229b0 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index c3d663aca..6fb9d8361 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 58f803acf..260719046 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index 481e19184..191da5d05 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 655fe04f8..fa5223dad 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index 301631a23..eba5e5787 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index c647acdc2..7ebcdff9f 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index bcbf76cae..f56118eb1 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index 5501259fe..ff080a276 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 7818872eb..24c0a4eec 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index 01ede3c45..bfd4a957b 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 365a7ea6a..efd034674 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index e28b68339..a123dc434 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index a852096bb..b7035d0b8 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index a14c0411c..935330cb1 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index faf4fe277..fa55d7081 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index c29f36c4e..288c2df9c 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 608884ad3..c017b4e2c 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index c57b472de..4177c5446 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index d7a206f82..b78ce5269 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 5fad5d548..67d2ebcc8 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index e6d973e92..d622a1a8e 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 7b04f35c7..0ac384b90 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 25d9d4797..ea00bef9b 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index c18a0d714..cb5f931ac 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 34adeea8c..05f9d6cc4 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index a2d1c35a2..5b02effd9 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 40f51d643..2c5bb7b98 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index 4e9fbfb05..f0b3c303b 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 529cf900b..bde373378 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 759859b03..810a76b6a 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index b5cd98115..532a3e4e2 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index dd26e7dd3..3f47fcc1c 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index d69055f55..2d2952df3 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline.js b/build/js/timeline.js index 5cb2a745e..6dd2fbdd9 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-12-22-19-24 - 2015-02-12 + TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/website/templates/_make.html b/website/templates/_make.html index 9b8f4ff1e..5c0faffd2 100644 --- a/website/templates/_make.html +++ b/website/templates/_make.html @@ -76,6 +76,7 @@

Customize (Optional)

+ @@ -97,6 +98,7 @@

Customize (Optional)

+ From 5d073fd9c8855d382626788d9975f3f6e53f2fba Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 14:48:03 -0600 Subject: [PATCH 23/95] note more changes --- CHANGELOG | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index a96b747a5..1597011b5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,6 +4,8 @@ #722 Support 'youtubeTheme' config option #732 Updated German Translations #733 Move "Swipe to Navigate" to I18N. Now we need translations for 55 languages! +#744 Hindi localization +#745 Update Icelandic date formats #749 Irish localization #762 Belarusian localization From 1ad8115ea3f405d01d4e2f54179bb85e7a010a63 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 14:52:38 -0600 Subject: [PATCH 24/95] related changes to #744 Hindi support --- README.markdown | 1 + build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 4 ++-- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 4 ++-- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 2 +- build/js/timeline.js | 2 +- website/templates/_make.html | 1 + 88 files changed, 90 insertions(+), 88 deletions(-) diff --git a/README.markdown b/README.markdown index 414b6a8ae..61ed6a074 100644 --- a/README.markdown +++ b/README.markdown @@ -180,6 +180,7 @@ Languages available: * `de` *German / Deutsch* * `el` *Greek* * `he` *Hebrew* +* `hi` *Hindi* * `hu` *Hungarian* * `is` *Icelandic* * `id` *Indonesian* diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 832f3bebd..e0f5b6837 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 6098d9ae3..372e17930 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index 92e58adb5..bbc486c7e 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index b09d20d0a..66f845e1c 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index 3c4f97fa9..de74b47a9 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 8ea6f16b1..75a248ed9 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index 58d544aee..9f2bf1b87 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index bfb4dbb85..2c2b11eca 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index 99a88ef90..0280cdb61 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index 69fc27666..b13fbad24 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 0abd6472f..d1d44c3c3 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index 0a8c46802..2532909c2 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index f7dbb5de9..0f0f618e0 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 0ece81c73..8a30e3af1 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index d6e0eea93..03b806713 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 9eda94138..4ff6e12a1 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 2893a2713..621d54d01 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 5984ae73b..a28c8064e 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 54d7b45a2..70afff806 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index 8a6406c52..fbe71338a 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index d85c15940..745050fa6 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index fe9a9dcbd..80563222d 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index bb8630c24..82dad8bde 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index c637536b1..790d6f289 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 4538ff037..4dec02bce 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index 91bdeb709..211f631d3 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index a86d9e9f1..2c1d4e576 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 781f811e1..220d44caa 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index f39f141d4..6a81ace2a 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index df4027755..a5199ee51 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index 7e911aed9..c92d5a881 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index 0be478b1b..f05fab175 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 5c350fa33..da9c3f634 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 1dc441f0b..0152ffbea 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index d8ad7ba08..2550495d8 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 0b8fd77eb..ae915465c 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 37e6b1b0e..e536c3bb5 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index eb28de0bb..d7970f709 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 462ab7381..43d6d4834 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index b16eeee62..4a70df0a2 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index 4d60a17fd..bc7be88ac 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index 2be4ecf2a..c6effde30 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index ff1806f61..8bb693683 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index abfcd3290..1bfbf1737 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,9 +1,9 @@ /* - TimelineJS - ver. 2014-12-09-18-51-25 - 2014-12-09 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -if(typeof VMM!="undefined"){VMM.Language={lang:"hi",api:{wikipedia:"hi"},date:{month:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],month_abbr:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],day:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],day_abbr:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"टाइमलाइन लोड हो रहा है",return_to_title:"शीर्षक पर लौटें",expand_timeline:"टाइमलाइन का विस्तार करें",contract_timeline:"टाइमलाइन का अनुबंध करें",wikipedia:"विकिपीडिया, मुक्त विश्वकोश से",loading_content:"लोड हो रहा है सामग्री",loading:"लोड हो रहा है",swipe_nav:"Swipe to Navigate",read_more:"और पढ़ें"}}} +if(typeof VMM!="undefined"){VMM.Language={lang:"hi",api:{wikipedia:"hi"},date:{month:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],month_abbr:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],day:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],day_abbr:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"टाइमलाइन लोड हो रहा है",return_to_title:"शीर्षक पर लौटें",expand_timeline:"टाइमलाइन का विस्तार करें",contract_timeline:"टाइमलाइन का अनुबंध करें",wikipedia:"विकिपीडिया, मुक्त विश्वकोश से",loading_content:"लोड हो रहा है सामग्री",loading:"लोड हो रहा है",swipe_nav:"Swipe to Navigate",read_more:"और पढ़ें"}}} \ No newline at end of file diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index c7d0e96d0..edaa7c9bd 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 72baeb38a..8566769d5 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index d089f4987..99314bfcf 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index a9346307f..41bd5793d 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index a457564b6..2aac507fa 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,9 +1,9 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -if(typeof VMM!="undefined"){VMM.Language={lang:"is",api:{wikipedia:"is"},date:{month:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],month_abbr:["jan.","feb.","mars","apríl","maí","júní","júlí","ágúst","sept.","okt.","nóv.","des."],day:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],day_abbr:["sun.","mán.","þri.","mið.","fim.","fös.","lau."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:SS TT",time_no_seconds_short:"hh:MM TT",time_no_seconds_small_date:"hh:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},messages:{loading_timeline:"Raða upp tímalínu... ",return_to_title:"Til baka á forsíðu",expand_timeline:"Stækka tímalínu",contract_timeline:"Minnka tímalínu",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Raða",loading:"Raða",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file +if(typeof VMM!="undefined"){VMM.Language={lang:"is",api:{wikipedia:"is"},date:{month:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],month_abbr:["jan.","feb.","mars","apríl","maí","júní","júlí","ágúst","sept.","okt.","nóv.","des."],day:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],day_abbr:["sun.","mán.","þri.","mið.","fim.","fös.","lau."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d'.' mmm",full:"d'.' mmmm yyyy",time_short:"h:MM:SS TT",time_no_seconds_short:"hh:MM TT",time_no_seconds_small_date:"hh:MM TT'
'd'.' mmmm yyyy''",full_long:"dddd',' d'.' mmm yyyy 'kl.' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' d'.' mmm yyyy''"},messages:{loading_timeline:"Raða upp tímalínu... ",return_to_title:"Til baka á forsíðu",expand_timeline:"Stækka tímalínu",contract_timeline:"Minnka tímalínu",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Raða",loading:"Raða",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/it.js b/build/js/locale/it.js index f8d27f0af..8368163e3 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index 6872fba9e..2081ec9bd 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index bdcf229b0..9a4028b88 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index 6fb9d8361..c1baac64a 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 260719046..4a015efce 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index 191da5d05..b7a167733 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index fa5223dad..2d9f7ebc4 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index eba5e5787..f36d28a86 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 7ebcdff9f..872f578ed 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index f56118eb1..a1169ae60 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index ff080a276..f579edfae 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 24c0a4eec..7c750a7a1 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index bfd4a957b..e7cddb9b1 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index efd034674..a8441dd6a 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index a123dc434..fe0460b26 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index b7035d0b8..68a9d2d30 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 935330cb1..8d965010e 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index fa55d7081..5d7d18a76 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index 288c2df9c..fe49d27ff 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index c017b4e2c..ecb68bbca 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 4177c5446..dd336f2c8 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index b78ce5269..17a23ccf5 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 67d2ebcc8..5de0a6b87 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index d622a1a8e..c6f430d87 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 0ac384b90..cef842ed1 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index ea00bef9b..ea0fb8acb 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index cb5f931ac..8932dcb83 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 05f9d6cc4..a6045ab80 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 5b02effd9..a472ea86d 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 2c5bb7b98..4c2a1a5fb 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index f0b3c303b..572c04764 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index bde373378..473c401e8 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 810a76b6a..2037e6367 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 532a3e4e2..b3051908f 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 3f47fcc1c..aca7c5014 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index 2d2952df3..9e1d3668c 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline.js b/build/js/timeline.js index 6dd2fbdd9..fed1557c2 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-33-25 - 2015-02-17 + TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/website/templates/_make.html b/website/templates/_make.html index 5c0faffd2..988bbb36b 100644 --- a/website/templates/_make.html +++ b/website/templates/_make.html @@ -95,6 +95,7 @@

Customize (Optional)

+ From 3affb73f5f67f1cc10aa5861388ce5739f9a8008 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 14:57:48 -0600 Subject: [PATCH 25/95] auxiliary changes for #705 Frisian localization --- CHANGELOG | 2 ++ README.markdown | 3 ++- website/templates/_make.html | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 1597011b5..187b54ccd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,8 @@ 2.35.3 (pending) ------ +#689 Update Thai locale #693 Update Polish locale +#705 Frisian localization #722 Support 'youtubeTheme' config option #732 Updated German Translations #733 Move "Swipe to Navigate" to I18N. Now we need translations for 55 languages! diff --git a/README.markdown b/README.markdown index 61ed6a074..a4e68b863 100644 --- a/README.markdown +++ b/README.markdown @@ -175,6 +175,7 @@ Languages available: * `fa` *Farsi* * `fi` *Finnish* * `fr` *French* +* `fy` *Frisian* * `gl` *Galician* * `ka` *Georgian* * `de` *German / Deutsch* @@ -217,7 +218,7 @@ Languages available: -Help us add more. Grab a copy of a language file and replace it with your language [Example language file](https://github.com/VeriteCo/StoryJS-Core/blob/master/Language/locale/en.js) and find your language's [two letter code here](http://spreadsheets.google.com/pub?key=p9pdwsai2hDMsLkXsoM05KQ&gid=1) +Help us add more. Grab a copy of a language file and replace it with your language [Example language file](https://github.com/VeriteCo/StoryJS-Core/blob/master/Language/locale/en.js) and find your language's [two letter code here](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) ###Start at End `start_at_end` diff --git a/website/templates/_make.html b/website/templates/_make.html index 988bbb36b..3304ef35c 100644 --- a/website/templates/_make.html +++ b/website/templates/_make.html @@ -90,6 +90,7 @@

Customize (Optional)

+ From 43dc671b05d02d493e81752224282bf2e420c8e6 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 15:00:50 -0600 Subject: [PATCH 26/95] put fy.js in correct location (#705) --- build/css/themes/dark.css | 2 +- .../css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- .../css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- .../themes/font/Merriweather-NewsCycle.css | 2 +- .../themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- .../css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 46 ++++--------------- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 4 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 2 +- build/js/timeline.js | 2 +- source/js/Core/Language/locale/fy.js | 37 +++++++++++++++ 88 files changed, 133 insertions(+), 124 deletions(-) create mode 100644 source/js/Core/Language/locale/fy.js diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index e0f5b6837..74d899e67 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 372e17930..c42b81936 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index bbc486c7e..b521ead37 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index 66f845e1c..3f50910dc 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index de74b47a9..24010de62 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 75a248ed9..518a0ab9e 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index 9f2bf1b87..d6fb68117 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index 2c2b11eca..3162f8ffc 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index 0280cdb61..dbca34926 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index b13fbad24..edd86a28b 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index d1d44c3c3..cac3d9609 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index 2532909c2..50b68480f 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 0f0f618e0..3184e4d12 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 8a30e3af1..a4d85d90c 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 03b806713..ee426be68 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 4ff6e12a1..8e91a77a6 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 621d54d01..aaf74837e 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index a28c8064e..f5a81d949 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 70afff806..045c0440b 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index fbe71338a..2a4bb14c6 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index 745050fa6..fbf5e1567 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index 80563222d..23733554b 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index 82dad8bde..ba5882cbb 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index 790d6f289..bc1f71b3a 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 4dec02bce..2f3687132 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index 211f631d3..6eff96a04 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 2c1d4e576..b1d6c39c0 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 220d44caa..b9fa47de2 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 6a81ace2a..e73b81250 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index a5199ee51..3252619e8 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index c92d5a881..5f70aec3c 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index f05fab175..8e4a3b4ed 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index da9c3f634..08a618327 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 0152ffbea..d2301d997 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index 2550495d8..207ae65c6 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index ae915465c..0a4da377a 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index e536c3bb5..13a0354df 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index d7970f709..38c361011 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 43d6d4834..4cfec3536 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 4a70df0a2..a8434ade6 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index df9dcc582..4ddfed55c 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,37 +1,9 @@ -/* Frisian LANGUAGE -================================================== */ -if(typeof VMM != 'undefined') { - VMM.Language = { - lang: "fy", - api: { - wikipedia: "fy" - }, - date: { - month: ["Jannewaris", "Febrewaris", "Maart", "April", "Maaie", "Juny", "July", "Augustus", "Septimber", "Oktober", "Novimber", "Desimber"], - month_abbr: ["Jan.", "Feb.", "Mar", "Apr", "Maaie", "July", "July", "Aug.", "Sept.", "Okt.", "Nov.", "Des."], - day: ["Snein","Moandei", "Tiisdei", "Woansdei", "Tongersdei", "Freed", "Sneon"], - day_abbr: ["Snein","Moandei", "Tiisdei", "Woansdei", "Tongersdei", "Freed", "Sneon"] - }, - dateformats: { - year: "yyyy", - month_short: "mmm", - month: "mmmm yyyy", - full_short: "d mmm", - full: "d mmmm yyyy", - time_short: "HH:MM:ss", - time_no_seconds_short: "HH:MM", - time_no_seconds_small_date: "HH:MM'
'd mmmm yyyy''", - full_long: "dddd',' d mmm yyyy 'om' HH:MM", - full_long_small_date: "HH:MM'
'dddd',' d mmm yyyy''" - }, - messages: { - loading_timeline: "Tiidline ynlade ... ", - return_to_title: "Wer werom nei it begjin", - expand_timeline: "Tiidline útzoomen", - contract_timeline: "Tiidline ynzoomen", - wikipedia: "Fan Wikipedia, de frije ensyklopedy", - loading_content: "Ynhâld ynlade", - loading: "Ynlade" - } - } -} \ No newline at end of file +/* + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + Copyright (c) 2012-2013 Northwestern University + a project of the Northwestern University Knight Lab, originally created by Zach Wise + https://github.com/NUKnightLab/TimelineJS + This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. + If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. +*/ +if(typeof VMM!="undefined"){VMM.Language={lang:"fy",api:{wikipedia:"fy"},date:{month:["Jannewaris","Febrewaris","Maart","April","Maaie","Juny","July","Augustus","Septimber","Oktober","Novimber","Desimber"],month_abbr:["Jan.","Feb.","Mar","Apr","Maaie","July","July","Aug.","Sept.","Okt.","Nov.","Des."],day:["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"],day_abbr:["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd mmmm yyyy''",full_long:"dddd',' d mmm yyyy 'om' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d mmm yyyy''"},messages:{loading_timeline:"Tiidline ynlade ... ",return_to_title:"Wer werom nei it begjin",expand_timeline:"Tiidline útzoomen",contract_timeline:"Tiidline ynzoomen",wikipedia:"Fan Wikipedia, de frije ensyklopedy",loading_content:"Ynhâld ynlade",loading:"Ynlade"}}} \ No newline at end of file diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index bc7be88ac..64d745d00 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index c6effde30..b6d110613 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index 8bb693683..cffb44700 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index 1bfbf1737..e67813932 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index edaa7c9bd..6360d93d1 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 8566769d5..0cf7e0db1 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 99314bfcf..0a9bcf719 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 41bd5793d..ae17f1000 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 2aac507fa..110fa9324 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index 8368163e3..64f305af4 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index 2081ec9bd..d2641af6b 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index 9a4028b88..6f34e0de9 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index c1baac64a..2adeaecf8 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 4a015efce..5796e035f 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index b7a167733..ae0de1b98 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 2d9f7ebc4..cd80ebb5b 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index f36d28a86..5a2173d3d 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 872f578ed..4197c58e6 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index a1169ae60..a06e79872 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index f579edfae..fdda1693a 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 7c750a7a1..53d06a82b 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index e7cddb9b1..e73537fbf 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index a8441dd6a..addcac405 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index fe0460b26..0f98509fb 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 68a9d2d30..9a4edda8c 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 8d965010e..dae49aa7c 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index 5d7d18a76..dc690482d 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index fe49d27ff..ee4b92271 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index ecb68bbca..b7e80a521 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index dd336f2c8..234479a41 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 17a23ccf5..0c2cc12c7 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 5de0a6b87..7e771ba11 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index c6f430d87..a4c235c66 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index cef842ed1..687b6f98c 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index ea0fb8acb..e6575f574 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 8932dcb83..110e31005 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,9 +1,9 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -if(typeof VMM!="undefined"){VMM.Language={lang:"th",api:{wikipedia:"th"},date:{month:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],month_abbr:["ม.ค.","ก.พ","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],day:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],day_abbr:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading"}}} \ No newline at end of file +if(typeof VMM!="undefined"){VMM.Language={lang:"th",api:{wikipedia:"th"},date:{month:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],month_abbr:["ม.ค.","ก.พ","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],day:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],day_abbr:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'd mmmm yyyy''",full_long:"d mmmm yyyy 'เวลา' h:MM TT",full_long_small_date:"h:MM TT'
d mmm yyyy''"},messages:{loading_timeline:"กำลังสร้างไทม์ไลน์... ",return_to_title:"กลับสู้หน้าหลัก",expand_timeline:"ขยายไทม์ไลน์",contract_timeline:"ย่อไทม์ไลน์",wikipedia:"จากวิกิพีเดีย สารานุกรมเสรี",loading_content:"กำลังโหลดข้อมูล",loading:"กำลังโหลด"}}} \ No newline at end of file diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index a6045ab80..2a74364a0 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index a472ea86d..169566bdb 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 4c2a1a5fb..900081010 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index 572c04764..d6a6a1117 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 473c401e8..97172103e 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 2037e6367..c9f5265e6 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index b3051908f..2aaaffa54 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index aca7c5014..ef400a13c 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index 9e1d3668c..d4a7548c3 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline.js b/build/js/timeline.js index fed1557c2..34d51e15f 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-20-52-05 - 2015-02-17 + TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/source/js/Core/Language/locale/fy.js b/source/js/Core/Language/locale/fy.js new file mode 100644 index 000000000..df9dcc582 --- /dev/null +++ b/source/js/Core/Language/locale/fy.js @@ -0,0 +1,37 @@ +/* Frisian LANGUAGE +================================================== */ +if(typeof VMM != 'undefined') { + VMM.Language = { + lang: "fy", + api: { + wikipedia: "fy" + }, + date: { + month: ["Jannewaris", "Febrewaris", "Maart", "April", "Maaie", "Juny", "July", "Augustus", "Septimber", "Oktober", "Novimber", "Desimber"], + month_abbr: ["Jan.", "Feb.", "Mar", "Apr", "Maaie", "July", "July", "Aug.", "Sept.", "Okt.", "Nov.", "Des."], + day: ["Snein","Moandei", "Tiisdei", "Woansdei", "Tongersdei", "Freed", "Sneon"], + day_abbr: ["Snein","Moandei", "Tiisdei", "Woansdei", "Tongersdei", "Freed", "Sneon"] + }, + dateformats: { + year: "yyyy", + month_short: "mmm", + month: "mmmm yyyy", + full_short: "d mmm", + full: "d mmmm yyyy", + time_short: "HH:MM:ss", + time_no_seconds_short: "HH:MM", + time_no_seconds_small_date: "HH:MM'
'd mmmm yyyy''", + full_long: "dddd',' d mmm yyyy 'om' HH:MM", + full_long_small_date: "HH:MM'
'dddd',' d mmm yyyy''" + }, + messages: { + loading_timeline: "Tiidline ynlade ... ", + return_to_title: "Wer werom nei it begjin", + expand_timeline: "Tiidline útzoomen", + contract_timeline: "Tiidline ynzoomen", + wikipedia: "Fan Wikipedia, de frije ensyklopedy", + loading_content: "Ynhâld ynlade", + loading: "Ynlade" + } + } +} \ No newline at end of file From 93039055fff4a94056032a1940091241d15991d8 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 15:15:52 -0600 Subject: [PATCH 27/95] set date for 2.35.3 --- CHANGELOG | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 187b54ccd..fd72384ec 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,6 @@ -2.35.3 (pending) +2.35.3 (2015-02-17) ------ +#673 Update Taiwanese locale #689 Update Thai locale #693 Update Polish locale #705 Frisian localization From 31de89be2a287cb818c7cd53a7614fb773d918fa Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 15:16:23 -0600 Subject: [PATCH 28/95] Release 2.35.3 --- build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 4 ++-- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 2 +- build/js/timeline.js | 2 +- 87 files changed, 88 insertions(+), 88 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 74d899e67..84ba8139a 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index c42b81936..4cccaa9b2 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index b521ead37..450c6d0ec 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index 3f50910dc..33f75f6b0 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index 24010de62..42536e600 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 518a0ab9e..42d220090 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index d6fb68117..fd53b0fe7 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index 3162f8ffc..c64352e06 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index dbca34926..0d73c5299 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index edd86a28b..a1cf942be 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index cac3d9609..2d444b4c4 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index 50b68480f..b0de09715 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 3184e4d12..f1bdc9ffa 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index a4d85d90c..9290654c1 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index ee426be68..457dfbcb8 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 8e91a77a6..71fba10be 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index aaf74837e..06f1cd3a8 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index f5a81d949..6a7511bdc 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 045c0440b..06b16f05f 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index 2a4bb14c6..dfc969742 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index fbf5e1567..fe8c35184 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index 23733554b..f2cfbfb77 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index ba5882cbb..994144e09 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index bc1f71b3a..05d353bc2 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 2f3687132..48b2943b7 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index 6eff96a04..f6cd53fd0 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index b1d6c39c0..ae2d58916 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index b9fa47de2..b439230a7 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index e73b81250..566a240e3 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index 3252619e8..c45036b70 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index 5f70aec3c..8210435a8 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index 8e4a3b4ed..873805ba4 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 08a618327..e5b40969a 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index d2301d997..a77769f02 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index 207ae65c6..fc9a2a84a 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 0a4da377a..54868e3b7 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 13a0354df..f191db539 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 38c361011..51028f7eb 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 4cfec3536..8e4da1a45 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index a8434ade6..158eb3e10 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index 4ddfed55c..150401ccb 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index 64d745d00..864b60b66 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index b6d110613..c8cefd296 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index cffb44700..e38cb7de2 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index e67813932..1d6766855 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 6360d93d1..9f766950e 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 0cf7e0db1..5e2a77698 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 0a9bcf719..92c9ee216 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index ae17f1000..e66e3b35c 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 110fa9324..374bcfd85 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index 64f305af4..f8bc77f50 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index d2641af6b..e9e1e9e49 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index 6f34e0de9..59a9b3c5b 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index 2adeaecf8..af44074b9 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 5796e035f..30aeda180 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index ae0de1b98..30fb7cb6a 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index cd80ebb5b..6ec8e212a 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index 5a2173d3d..152cac1a9 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 4197c58e6..36eea4b63 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index a06e79872..87b3f03ad 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index fdda1693a..c93317308 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 53d06a82b..aa7146a0c 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index e73537fbf..a096bab7e 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index addcac405..2ea454bbe 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index 0f98509fb..c731a4d53 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 9a4edda8c..6634e8141 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index dae49aa7c..ca8952463 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index dc690482d..f0de03c53 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index ee4b92271..c7679c108 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index b7e80a521..4e16d3ba8 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 234479a41..a18d2289d 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 0c2cc12c7..a91e5da1d 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 7e771ba11..e944a9e8b 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index a4c235c66..3e03f75ec 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 687b6f98c..7e0c400c5 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index e6575f574..5b6c45ddc 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 110e31005..2ad40bf5c 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 2a74364a0..2d2a27476 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 169566bdb..62d053075 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 900081010..827de5a20 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index d6a6a1117..fa5d60ebe 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 97172103e..8c3898caf 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,9 +1,9 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -if(typeof VMM!="undefined"){VMM.Language={lang:"zh-tw",api:{wikipedia:"zh"},date:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],month_abbr:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],day:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],day_abbr:["週日","週一","週二","週三","週四","週五","週六"]},dateformats:{year:"yyyy年",month_short:"mmm",month:"yyyy年 mmmm",full_short:"mmm d",full:"yyyy年mmmm d日",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy年mmmm d日''",full_long:"dddd',' yyyy年mmmm d日 'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' yyyy年mmmm d日''"},messages:{loading_timeline:"載入時間線... ",return_to_title:"回到開頭",expand_timeline:"展開時間",contract_timeline:"縮短時間",wikipedia:"擷取自維基百科, 自由之百科全書",loading_content:"載入內容",loading:"載入中",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file +if(typeof VMM!="undefined"){VMM.Language={lang:"zh-tw",api:{wikipedia:"zh"},date:{month:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],month_abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],day:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],day_abbr:["週日","週一","週二","週三","週四","週五","週六"]},dateformats:{year:"yyyy年",month_short:"mmm",month:"yyyy年 mmmm",full_short:"mmm d",full:"yyyy年mmmm d日",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy年mmmm d日''",full_long:"dddd',' yyyy年mmmm d日 'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' yyyy年mmmm d日''"},messages:{loading_timeline:"載入時間線... ",return_to_title:"回到開頭",expand_timeline:"展開時間",contract_timeline:"縮短時間",wikipedia:"擷取自維基百科, 自由之百科全書",loading_content:"載入內容",loading:"載入中",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index c9f5265e6..da0ce7954 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 2aaaffa54..1cca7e81d 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index ef400a13c..c52bcf559 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index d4a7548c3..ec13aff90 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline.js b/build/js/timeline.js index 34d51e15f..6276eaf7a 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-21-00-12 - 2015-02-17 + TimelineJS - ver. 2.35.3 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS From fa5dccbf3cc09c77c5c5b4b33238d001f939369b Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 16:02:04 -0600 Subject: [PATCH 29/95] resolve some quirks in tile subdomains --- build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 4 ++-- build/js/timeline.js | 12 ++++++------ source/js/Core/Media/VMM.ExternalAPI.js | 10 +++++----- 88 files changed, 98 insertions(+), 98 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 84ba8139a..5e5097753 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 4cccaa9b2..fc717606d 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index 450c6d0ec..6d030947c 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index 33f75f6b0..fe0479e80 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index 42536e600..c42e549b0 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 42d220090..f4c30b4f7 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index fd53b0fe7..5e3d3189c 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index c64352e06..99e021afa 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index 0d73c5299..fb7a05583 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index a1cf942be..a52e6775c 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 2d444b4c4..a2449a93f 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index b0de09715..91b035f15 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index f1bdc9ffa..ea5c28ff4 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 9290654c1..9f2352c6e 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 457dfbcb8..c4e3fe7a9 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 71fba10be..bea8043b9 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 06f1cd3a8..7d1e8a042 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 6a7511bdc..5ecaf72ec 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 06b16f05f..bea21b74c 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index dfc969742..1554636d5 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index fe8c35184..e134ac66a 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index f2cfbfb77..851798781 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index 994144e09..f9b54e852 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index 05d353bc2..d67b5b2ea 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 48b2943b7..ee4b49e18 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index f6cd53fd0..3ed982333 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index ae2d58916..8d610e932 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index b439230a7..f770306c9 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 566a240e3..7cee660d5 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index c45036b70..20501e914 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index 8210435a8..3b08cd9c2 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index 873805ba4..e6c47a106 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index e5b40969a..40512f77d 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index a77769f02..4591bb0b4 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index fc9a2a84a..b12e229f0 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 54868e3b7..c9da50f3c 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index f191db539..c279f7a7a 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 51028f7eb..30ad85274 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 8e4da1a45..220ea547b 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 158eb3e10..63bcec34d 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index 150401ccb..1925263ef 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index 864b60b66..cef427c79 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index c8cefd296..9a3b71dca 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index e38cb7de2..fefbc6b3e 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index 1d6766855..aee80b923 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 9f766950e..19b23eb4a 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 5e2a77698..5880177d6 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 92c9ee216..bc1bc5e94 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index e66e3b35c..498eea631 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 374bcfd85..e316d088d 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index f8bc77f50..ebc4af181 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index e9e1e9e49..d394288ed 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index 59a9b3c5b..d8a910566 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index af44074b9..f4e4358f0 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 30aeda180..0651bfa30 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index 30fb7cb6a..7b7ea170f 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 6ec8e212a..4f28458f6 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index 152cac1a9..bc9683845 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 36eea4b63..c1d4a55af 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index 87b3f03ad..4cbb8941c 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index c93317308..331cad39e 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index aa7146a0c..5ae1d5239 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index a096bab7e..f5b1fc136 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 2ea454bbe..4636253b6 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index c731a4d53..e593cfbe7 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 6634e8141..c4e75af2b 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index ca8952463..5bdb28175 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index f0de03c53..b43d6c220 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index c7679c108..18a873b81 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 4e16d3ba8..8d448defa 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index a18d2289d..b8c564ced 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index a91e5da1d..2b725db17 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index e944a9e8b..199b2aa45 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index 3e03f75ec..10ed8a826 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 7e0c400c5..42e98ded3 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 5b6c45ddc..295bda2b6 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 2ad40bf5c..afe0646a8 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 2d2a27476..4619a4067 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 62d053075..35293e7be 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 827de5a20..f2d2b3cc2 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index fa5d60ebe..4e44384b9 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 8c3898caf..c55f7ca2e 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index da0ce7954..97e308433 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 1cca7e81d..f24f8283f 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index c52bcf559..5c8c826f2 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index ec13aff90..cda62774a 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -7,7 +7,7 @@ If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ (function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi; -return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText); +return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText); trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature"); $slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours()); diff --git a/build/js/timeline.js b/build/js/timeline.js index 6276eaf7a..91f707184 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.3 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -3651,7 +3651,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { } }, - map_subdomains: ["", "a.", "b.", "c.", "d."], + map_subdomains: ["a", "b", "c", "d"], map_attribution: { "stamen": "Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.", @@ -3661,26 +3661,26 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { map_providers: { "toner": { - "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png", + "url": "https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "toner-lines": { - "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png", + "url": "https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "toner-labels": { - "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png", + "url": "https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "sterrain": { - "url": "https://stamen-tiles-{S}a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg", + "url": "https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg", "minZoom": 4, "maxZoom": 20, "attribution": "stamen" diff --git a/source/js/Core/Media/VMM.ExternalAPI.js b/source/js/Core/Media/VMM.ExternalAPI.js index faa7a5e9b..207e44086 100644 --- a/source/js/Core/Media/VMM.ExternalAPI.js +++ b/source/js/Core/Media/VMM.ExternalAPI.js @@ -898,7 +898,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { } }, - map_subdomains: ["", "a.", "b.", "c.", "d."], + map_subdomains: ["a", "b", "c", "d"], map_attribution: { "stamen": "Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.", @@ -908,26 +908,26 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { map_providers: { "toner": { - "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png", + "url": "https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "toner-lines": { - "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png", + "url": "https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "toner-labels": { - "url": "https://stamen-tiles-{S}a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png", + "url": "https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "sterrain": { - "url": "https://stamen-tiles-{S}a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg", + "url": "https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg", "minZoom": 4, "maxZoom": 20, "attribution": "stamen" From 945b91d9963bb810aff0d1773b938129573c2210 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 16:02:52 -0600 Subject: [PATCH 30/95] resolve some quirks in tile subdomains --- CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index fd72384ec..ad7658733 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +2.35.4 (2015-02-17) +------ +Fix Stamen map tile URL bug + + 2.35.3 (2015-02-17) ------ #673 Update Taiwanese locale From b91ebcd0cf5614fa8924fec5b2b6bab29eb24c1b Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 16:03:19 -0600 Subject: [PATCH 31/95] Release 2.35.4 --- build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 2 +- build/js/timeline.js | 2 +- 87 files changed, 87 insertions(+), 87 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 5e5097753..87528f4fa 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index fc717606d..7aacb77f8 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index 6d030947c..1bee32742 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index fe0479e80..b99e2df16 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index c42e549b0..d17b38872 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index f4c30b4f7..6d53643ea 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index 5e3d3189c..c97419b18 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index 99e021afa..87497efc5 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index fb7a05583..c909eebd5 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index a52e6775c..20679604c 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index a2449a93f..568c07df9 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index 91b035f15..d76dcf492 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index ea5c28ff4..e858c555e 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 9f2352c6e..2c91a4b7b 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index c4e3fe7a9..77f563529 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index bea8043b9..f19cf1be1 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 7d1e8a042..29a1f4340 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 5ecaf72ec..778f227c0 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index bea21b74c..b3c1fee46 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index 1554636d5..34083c38a 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index e134ac66a..c3c401215 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index 851798781..ac2d1c910 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index f9b54e852..3522976e1 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index d67b5b2ea..a39170faf 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index ee4b49e18..024d537b0 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index 3ed982333..2766a0c11 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 8d610e932..74d96c46e 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index f770306c9..bb9bde91a 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 7cee660d5..0ba1829e1 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index 20501e914..43b9f587f 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index 3b08cd9c2..87f6b7de0 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index e6c47a106..1f8e8c097 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 40512f77d..337285729 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 4591bb0b4..be51669c3 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index b12e229f0..c9c4a1f2a 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index c9da50f3c..f8019d140 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index c279f7a7a..a86327f87 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 30ad85274..db991cf01 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 220ea547b..c49fd963c 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 63bcec34d..46327ceef 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index 1925263ef..f9df90a99 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index cef427c79..bc0f55f16 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index 9a3b71dca..7a5031ead 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index fefbc6b3e..4f0ec08d5 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index aee80b923..bd60678ce 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 19b23eb4a..9dfabfc24 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 5880177d6..590f72adb 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index bc1bc5e94..c12cd9d7a 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 498eea631..810d7f4f9 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index e316d088d..d40a11b84 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index ebc4af181..604feb727 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index d394288ed..b7ed5c252 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index d8a910566..a37cf5774 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index f4e4358f0..e9031814e 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 0651bfa30..663074cb6 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index 7b7ea170f..dd2ddcc1d 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 4f28458f6..7375d2581 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index bc9683845..e73c53b67 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index c1d4a55af..02d1d5121 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index 4cbb8941c..f76ec41b6 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index 331cad39e..e9aadaac3 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 5ae1d5239..2e1209001 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index f5b1fc136..1de1cc833 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 4636253b6..446457ea5 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index e593cfbe7..7fde9f7da 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index c4e75af2b..ce8da0127 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 5bdb28175..0c7d2e57e 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index b43d6c220..000020469 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index 18a873b81..cdaf2222f 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 8d448defa..e411382e8 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index b8c564ced..cd17cd97c 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 2b725db17..9eea61fec 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 199b2aa45..6945c74ba 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index 10ed8a826..71722672f 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 42e98ded3..05b93ec51 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 295bda2b6..262c22397 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index afe0646a8..05a0d3e2f 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 4619a4067..58cb36f99 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 35293e7be..fed16d56a 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index f2d2b3cc2..f312a147a 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index 4e44384b9..8ffde150c 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index c55f7ca2e..2b447092b 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 97e308433..b73051e33 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index f24f8283f..e877ca8c2 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 5c8c826f2..18ce91187 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index cda62774a..a9fb344f3 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline.js b/build/js/timeline.js index 91f707184..6a6c19bf3 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-00-26 - 2015-02-17 + TimelineJS - ver. 2.35.4 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS From e8f861f4f6f0435a3ce2f6ab7ea17793dd236f79 Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Fri, 1 Aug 2014 18:15:13 -0400 Subject: [PATCH 32/95] Remove FancyBox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is unreferenced by anything else in the code and the missing images break deployment systems like Django’s staticfiles application which expect all referenced assets to exist. --- codekit-config.json | 17 -- source/less/Core/VMM.Core.less | 3 +- source/less/Core/VMM.FancyBox.less | 275 ----------------------------- 3 files changed, 1 insertion(+), 294 deletions(-) delete mode 100644 source/less/Core/VMM.FancyBox.less diff --git a/codekit-config.json b/codekit-config.json index 3317b1563..c280ca6e5 100644 --- a/codekit-config.json +++ b/codekit-config.json @@ -341,23 +341,6 @@ "outputAbbreviatedPath" : "\/compiled\/js\/locale\/ta.js", "fileType" : 64 }, - "\/source\/less\/Core\/VMM.FancyBox.less" : { - "ieCompatibility" : 1, - "inputAbbreviatedPath" : "\/source\/less\/Core\/VMM.FancyBox.less", - "outputAbbreviatedPath" : "\/source\/less\/css\/VMM.FancyBox.css", - "outputPathIsSetByUser" : 0, - "strictUnits" : 0, - "relativeURLS" : 0, - "ignore" : 1, - "strictImports" : 0, - "ignoreWasSetByUser" : 0, - "shouldRunBless" : 0, - "hidden" : 0, - "strictMath" : 0, - "outputStyle" : 1, - "fileType" : 1, - "debugStyle" : 0 - }, "\/source\/js\/VMM.Timeline.License.js" : { "ignoreWasSetByUser" : 0, "ignore" : 1, diff --git a/source/less/Core/VMM.Core.less b/source/less/Core/VMM.Core.less index b6a06328c..846e977e7 100644 --- a/source/less/Core/VMM.Core.less +++ b/source/less/Core/VMM.Core.less @@ -11,11 +11,10 @@ // Core variables and mixins @import "Font.Default.less"; @import "Variables.less"; -@import "Mixins.less"; +@import "Mixins.less"; @import "GFX.less"; @import "Typography.less"; @import "VMM.Tooltip.less"; -@import "VMM.FancyBox.less"; // Grid system and page structure @import "VMM.Slider.less"; diff --git a/source/less/Core/VMM.FancyBox.less b/source/less/Core/VMM.FancyBox.less deleted file mode 100644 index 344dd7617..000000000 --- a/source/less/Core/VMM.FancyBox.less +++ /dev/null @@ -1,275 +0,0 @@ -/* - * fancyBox - * fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license - * ------------------------------------------------------------------------------------------- */ - -.fancybox-wrap, -.fancybox-skin, -.fancybox-outer, -.fancybox-inner, -.fancybox-image, -.fancybox-wrap iframe, -.fancybox-wrap object, -.fancybox-nav, -.fancybox-nav span, -.fancybox-tmp -{ - padding: 0; - margin: 0; - border: 0; - outline: none; - vertical-align: top; -} - -.fancybox-wrap { - position: absolute; - top: 0; - left: 0; - z-index: 8020; -} - -.fancybox-skin { - position: relative; - background: #fff; - color: #444; - text-shadow: none; - //.border-radius(5px); -} - -.fancybox-opened { - z-index: 8030; -} - -.fancybox-opened .fancybox-skin { - //.box-shadow(0px 10px 25px rgba(0,0,0,0.5)); - //.box-shadow(); - .box-shadow(1px 1px 10px rgba(0,0,0,.50)); -} - -.fancybox-outer, .fancybox-inner { - position: relative; -} - -.fancybox-inner { - overflow: hidden; -} - -.fancybox-type-iframe .fancybox-inner { - -webkit-overflow-scrolling: touch; -} - -.fancybox-error { - color: #444; - font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; - margin: 0; - padding: 15px; - white-space: nowrap; -} - -.fancybox-image, .fancybox-iframe { - display: block; - width: 100%; - height: 100%; -} - -.fancybox-image { - max-width: 100%; - max-height: 100%; -} - -.fancybox-close, .fancybox-prev span, .fancybox-next span { - background-image: url('fancybox_sprite.png'); -} - -#fancybox-loading { - position: fixed; - top: 50%; - left: 50%; - margin-top: -14px; - margin-left: -14px; - background-position: 0 -108px; - opacity: 0.8; - cursor: pointer; - z-index: 8060; -} - -#fancybox-loading div { - width: 28px; - height: 28px; - background: url('loading.gif') center center no-repeat; -} - -.fancybox-close { - position: absolute; - top: -18px; - right: -18px; - width: 36px; - height: 36px; - cursor: pointer; - z-index: 8040; -} - -.fancybox-nav { - position: absolute; - top: 0; - width: 40%; - height: 100%; - cursor: pointer; - text-decoration: none; - background: transparent url('blank.gif'); /* helps IE */ - -webkit-tap-highlight-color: rgba(0,0,0,0); - z-index: 8040; -} - -.fancybox-prev { - left: 0; -} - -.fancybox-next { - right: 0; -} - -.fancybox-nav span { - position: absolute; - top: 50%; - width: 36px; - height: 34px; - margin-top: -18px; - cursor: pointer; - z-index: 8040; - visibility: hidden; -} - -.fancybox-prev span { - left: 10px; - background-position: 0 -36px; -} - -.fancybox-next span { - right: 10px; - background-position: 0 -72px; -} - -.fancybox-nav:hover span { - visibility: visible; -} - -.fancybox-tmp { - position: absolute; - top: -99999px; - left: -99999px; - visibility: hidden; - max-width: 99999px; - max-height: 99999px; - overflow: visible !important; -} - -/* Overlay helper */ - -.fancybox-lock { - overflow: hidden !important; - width: auto; -} - -.fancybox-lock body { - overflow: hidden !important; -} - -.fancybox-lock-test { - overflow-y: hidden !important; -} - -.fancybox-overlay { - position: absolute; - top: 0; - left: 0; - overflow: hidden; - display: none; - z-index: 8010; - background: url('overlay.png'); -} - -.fancybox-overlay-fixed { - position: fixed; - bottom: 0; - right: 0; -} - -.fancybox-lock .fancybox-overlay { - overflow: auto; - overflow-y: scroll; -} - -/* Title helper */ - -.fancybox-title { - visibility: hidden; - font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; - position: relative; - text-shadow: none; - z-index: 8050; -} - -.fancybox-opened .fancybox-title { - visibility: visible; -} - -.fancybox-title-float-wrap { - position: absolute; - bottom: 0; - right: 50%; - margin-bottom: -35px; - z-index: 8050; - text-align: center; - .child { - display: inline-block; - margin-right: -100%; - padding: 2px 20px; - background: transparent; /* Fallback for web browsers that doesn't support RGBa */ - background: rgba(0, 0, 0, 0.8); - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; - text-shadow: 0 1px 2px #222; - color: #FFF; - font-weight: bold; - line-height: 24px; - white-space: nowrap; - } -} - -.fancybox-title-outside-wrap { - position: relative; - margin-top: 10px; - color: #fff; -} - -.fancybox-title-inside-wrap { - padding-top: 10px; -} - -.fancybox-title-over-wrap { - position: absolute; - bottom: 0; - left: 0; - color: #fff; - padding: 10px; - background: #000; - background: rgba(0, 0, 0, .8); -} - -/*Retina graphics!*/ -@media only screen and (-webkit-min-device-pixel-ratio: 1.5), - only screen and (min--moz-device-pixel-ratio: 1.5), - only screen and (min-device-pixel-ratio: 1.5){ - - #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { - background-image: url('fancybox_sprite@2x.png'); - background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/ - } - - #fancybox-loading div { - background-image: url('loading@2x.gif'); - background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/ - } -} \ No newline at end of file From 5e401328760275d7155d5c0957e508ba5270d8f2 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 16:22:39 -0600 Subject: [PATCH 33/95] testing set of @acdha pulls --- build/css/themes/dark.css | 4 +- .../css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- .../css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- .../themes/font/Merriweather-NewsCycle.css | 2 +- .../themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- .../css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 4 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 14 +-- build/js/timeline.js | 94 +++++++++++++------ 87 files changed, 158 insertions(+), 124 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 87528f4fa..d054b85cc 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -15,4 +15,4 @@ License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/.vco-storyjs div *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6,.vco-storyjs p,.vco-storyjs blockquote,.vco-storyjs pre,.vco-storyjs a,.vco-storyjs abbr,.vco-storyjs acronym,.vco-storyjs address,.vco-storyjs cite,.vco-storyjs code,.vco-storyjs del,.vco-storyjs dfn,.vco-storyjs em,.vco-storyjs img,.vco-storyjs q,.vco-storyjs s,.vco-storyjs samp,.vco-storyjs small,.vco-storyjs strike,.vco-storyjs strong,.vco-storyjs sub,.vco-storyjs sup,.vco-storyjs tt,.vco-storyjs var,.vco-storyjs dd,.vco-storyjs dl,.vco-storyjs dt,.vco-storyjs li,.vco-storyjs ol,.vco-storyjs ul,.vco-storyjs fieldset,.vco-storyjs form,.vco-storyjs label,.vco-storyjs legend,.vco-storyjs button,.vco-storyjs table,.vco-storyjs caption,.vco-storyjs tbody,.vco-storyjs tfoot,.vco-storyjs thead,.vco-storyjs tr,.vco-storyjs th,.vco-storyjs td,.vco-storyjs .vco-container,.vco-storyjs .content-container,.vco-storyjs .media,.vco-storyjs .text,.vco-storyjs .vco-slider,.vco-storyjs .slider,.vco-storyjs .date,.vco-storyjs .title,.vco-storyjs .messege,.vco-storyjs .map,.vco-storyjs .credit,.vco-storyjs .caption,.vco-storyjs .vco-feedback,.vco-storyjs .vco-feature,.vco-storyjs .toolbar,.vco-storyjs .marker,.vco-storyjs .dot,.vco-storyjs .line,.vco-storyjs .flag,.vco-storyjs .time,.vco-storyjs .era,.vco-storyjs .major,.vco-storyjs .minor,.vco-storyjs .vco-navigation,.vco-storyjs .start,.vco-storyjs .active{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;font-size:100%;line-height:1;font-family:inherit;width:auto;float:none}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{clear:none}.vco-storyjs table{border-collapse:collapse;border-spacing:0}.vco-storyjs ol,.vco-storyjs ul{list-style:none}.vco-storyjs q:before,.vco-storyjs q:after,.vco-storyjs blockquote:before,.vco-storyjs blockquote:after{content:""}.vco-storyjs a:focus{outline:thin dotted}.vco-storyjs a:hover,.vco-storyjs a:active{outline:0}.vco-storyjs article,.vco-storyjs aside,.vco-storyjs details,.vco-storyjs figcaption,.vco-storyjs figure,.vco-storyjs footer,.vco-storyjs header,.vco-storyjs hgroup,.vco-storyjs nav,.vco-storyjs section{display:block}.vco-storyjs audio,.vco-storyjs canvas,.vco-storyjs video{display:inline-block;*display:inline;*zoom:1}.vco-storyjs audio:not([controls]){display:none}.vco-storyjs div{max-width:none}.vco-storyjs sub,.vco-storyjs sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.vco-storyjs sup{top:-0.5em}.vco-storyjs sub{bottom:-0.25em}.vco-storyjs img{border:0;-ms-interpolation-mode:bicubic}.vco-storyjs button,.vco-storyjs input,.vco-storyjs select,.vco-storyjs textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.vco-storyjs button,.vco-storyjs input{line-height:normal;*overflow:visible}.vco-storyjs button::-moz-focus-inner,.vco-storyjs input::-moz-focus-inner{border:0;padding:0}.vco-storyjs button,.vco-storyjs input[type="button"],.vco-storyjs input[type="reset"],.vco-storyjs input[type="submit"]{cursor:pointer;-webkit-appearance:button}.vco-storyjs input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}.vco-storyjs textarea{overflow:auto;vertical-align:top}.vco-storyjs{font-family:"Georgia",Times New Roman,Times,serif}.vco-storyjs .twitter,.vco-storyjs .vcard,.vco-storyjs .messege,.vco-storyjs .credit,.vco-storyjs .caption,.vco-storyjs .zoom-in,.vco-storyjs .zoom-out,.vco-storyjs .back-home,.vco-storyjs .time-interval div,.vco-storyjs .time-interval-major div,.vco-storyjs .nav-container{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs h1.date,.vco-storyjs h2.date,.vco-storyjs h3.date,.vco-storyjs h4.date,.vco-storyjs h5.date,.vco-storyjs h6.date{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs .timenav h1,.vco-storyjs .flag-content h1,.vco-storyjs .era h1,.vco-storyjs .timenav h2,.vco-storyjs .flag-content h2,.vco-storyjs .era h2,.vco-storyjs .timenav h3,.vco-storyjs .flag-content h3,.vco-storyjs .era h3,.vco-storyjs .timenav h4,.vco-storyjs .flag-content h4,.vco-storyjs .era h4,.vco-storyjs .timenav h5,.vco-storyjs .flag-content h5,.vco-storyjs .era h5,.vco-storyjs .timenav h6,.vco-storyjs .flag-content h6,.vco-storyjs .era h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs p,.vco-storyjs blockquote,.vco-storyjs blockquote p,.vco-storyjs .twitter blockquote p{font-family:"Georgia",Times New Roman,Times,serif !important}.vco-storyjs .vco-feature h1,.vco-storyjs .vco-feature h2,.vco-storyjs .vco-feature h3,.vco-storyjs .vco-feature h4,.vco-storyjs .vco-feature h5,.vco-storyjs .vco-feature h6{font-family:"Georgia",Times New Roman,Times,serif}.timeline-tooltip{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.vco-storyjs{font-size:15px;font-weight:normal;line-height:20px;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}.vco-storyjs p{font-size:15px;font-weight:normal;line-height:20px;margin-bottom:20px;color:#aaa}.vco-storyjs p small{font-size:12px;line-height:17px}.vco-storyjs p:first-child{margin-top:20px}.vco-storyjs .vco-navigation p{color:#999}.vco-storyjs .vco-feature h3,.vco-storyjs .vco-feature h4,.vco-storyjs .vco-feature h5,.vco-storyjs .vco-feature h6{margin-bottom:15px}.vco-storyjs .vco-feature p{color:#aaa}.vco-storyjs .vco-feature blockquote,.vco-storyjs .vco-feature blockquote p{color:#fff}.vco-storyjs .date a,.vco-storyjs .title a{color:#999}.vco-storyjs .hyphenate{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{font-weight:normal;color:#fff;text-transform:none}.vco-storyjs h1 a,.vco-storyjs h2 a,.vco-storyjs h3 a,.vco-storyjs h4 a,.vco-storyjs h5 a,.vco-storyjs h6 a{color:#999}.vco-storyjs h1 small,.vco-storyjs h2 small,.vco-storyjs h3 small,.vco-storyjs h4 small,.vco-storyjs h5 small,.vco-storyjs h6 small{color:#999}.vco-storyjs h1.date,.vco-storyjs h2.date,.vco-storyjs h3.date,.vco-storyjs h4.date,.vco-storyjs h5.date,.vco-storyjs h6.date{font-weight:bold}.vco-storyjs h2.start{font-size:36px;line-height:38px;margin-bottom:15px}.vco-storyjs h1{margin-bottom:15px;font-size:32px;line-height:34px}.vco-storyjs h1 small{font-size:18px}.vco-storyjs h2{margin-bottom:15px;font-size:28px;line-height:30px}.vco-storyjs h2 small{font-size:14px;line-height:16px}.vco-storyjs h2.date{font-size:16px;line-height:18px;margin-bottom:3.75px;color:#999}.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{line-height:40px}.vco-storyjs h3 .active,.vco-storyjs h4 .active,.vco-storyjs h5 .active,.vco-storyjs h6 .active{color:#0bd4e3}.vco-storyjs h3{font-size:28px;line-height:30px}.vco-storyjs h3 small{font-size:14px}.vco-storyjs h4{font-size:20px;line-height:22px}.vco-storyjs h4 small{font-size:12px}.vco-storyjs h5{font-size:16px;line-height:18px}.vco-storyjs h6{font-size:13px;line-height:14px;text-transform:uppercase}.vco-storyjs strong{font-weight:bold;font-style:inherit}.vco-storyjs em{font-style:italic;font-weight:inherit}.vco-storyjs Q{quotes:'„' '“';font-style:italic}.vco-storyjs blockquote,.vco-storyjs blockquote p{font-size:24px;line-height:32px;text-align:left;margin-bottom:6px;padding-top:10px;background-color:#1a1a1a;color:#fff}.vco-storyjs .credit{color:#999;text-align:right;font-size:10px;line-height:10px;display:block;margin:0 auto;clear:both}.vco-storyjs .caption{text-align:left;margin-top:5px;color:#aaa;font-size:11px;line-height:14px;clear:both}.vco-storyjs.vco-right-to-left h1,.vco-storyjs.vco-right-to-left h2,.vco-storyjs.vco-right-to-left h3,.vco-storyjs.vco-right-to-left h4,.vco-storyjs.vco-right-to-left h5,.vco-storyjs.vco-right-to-left h6,.vco-storyjs.vco-right-to-left p,.vco-storyjs.vco-right-to-left blockquote,.vco-storyjs.vco-right-to-left pre,.vco-storyjs.vco-right-to-left a,.vco-storyjs.vco-right-to-left abbr,.vco-storyjs.vco-right-to-left acronym,.vco-storyjs.vco-right-to-left address,.vco-storyjs.vco-right-to-left cite,.vco-storyjs.vco-right-to-left code,.vco-storyjs.vco-right-to-left del,.vco-storyjs.vco-right-to-left dfn,.vco-storyjs.vco-right-to-left em,.vco-storyjs.vco-right-to-left img,.vco-storyjs.vco-right-to-left q,.vco-storyjs.vco-right-to-left s,.vco-storyjs.vco-right-to-left samp,.vco-storyjs.vco-right-to-left small,.vco-storyjs.vco-right-to-left strike,.vco-storyjs.vco-right-to-left strong,.vco-storyjs.vco-right-to-left sub,.vco-storyjs.vco-right-to-left sup,.vco-storyjs.vco-right-to-left tt,.vco-storyjs.vco-right-to-left var,.vco-storyjs.vco-right-to-left dd,.vco-storyjs.vco-right-to-left dl,.vco-storyjs.vco-right-to-left dt,.vco-storyjs.vco-right-to-left li,.vco-storyjs.vco-right-to-left ol,.vco-storyjs.vco-right-to-left ul,.vco-storyjs.vco-right-to-left fieldset,.vco-storyjs.vco-right-to-left form,.vco-storyjs.vco-right-to-left label,.vco-storyjs.vco-right-to-left legend,.vco-storyjs.vco-right-to-left button,.vco-storyjs.vco-right-to-left table,.vco-storyjs.vco-right-to-left caption,.vco-storyjs.vco-right-to-left tbody,.vco-storyjs.vco-right-to-left tfoot,.vco-storyjs.vco-right-to-left thead,.vco-storyjs.vco-right-to-left tr,.vco-storyjs.vco-right-to-left th,.vco-storyjs.vco-right-to-left td{direction:rtl}.timeline-tooltip{position:absolute;z-index:205;display:block;visibility:visible;padding:5px;opacity:0;filter:alpha(opacity=0);font-size:15px;font-weight:bold;line-height:20px;font-size:12px;line-height:12px}.timeline-tooltip.in{opacity:.8;filter:alpha(opacity=80)}.timeline-tooltip.top{margin-top:-2px}.timeline-tooltip.right{margin-left:2px}.timeline-tooltip.bottom{margin-top:2px}.timeline-tooltip.left{margin-left:-2px}.timeline-tooltip.top .timeline-tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000}.timeline-tooltip.left .timeline-tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000}.timeline-tooltip.bottom .timeline-tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000}.timeline-tooltip.right .timeline-tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000}.timeline-tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.timeline-tooltip-arrow{position:absolute;width:0;height:0}.fancybox-wrap,.fancybox-skin,.fancybox-outer,.fancybox-inner,.fancybox-image,.fancybox-wrap iframe,.fancybox-wrap object,.fancybox-nav,.fancybox-nav span,.fancybox-tmp{padding:0;margin:0;border:0;outline:none;vertical-align:top}.fancybox-wrap{position:absolute;top:0;left:0;z-index:8020}.fancybox-skin{position:relative;background:#fff;color:#444;text-shadow:none}.fancybox-opened{z-index:8030}.fancybox-opened .fancybox-skin{-webkit-box-shadow:1px 1px 10px rgba(0,0,0,0.5);-moz-box-shadow:1px 1px 10px rgba(0,0,0,0.5);box-shadow:1px 1px 10px rgba(0,0,0,0.5)}.fancybox-outer,.fancybox-inner{position:relative}.fancybox-inner{overflow:hidden}.fancybox-type-iframe .fancybox-inner{-webkit-overflow-scrolling:touch}.fancybox-error{color:#444;font:14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;padding:15px;white-space:nowrap}.fancybox-image,.fancybox-iframe{display:block;width:100%;height:100%}.fancybox-image{max-width:100%;max-height:100%}.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url('fancybox_sprite.png')}#fancybox-loading{position:fixed;top:50%;left:50%;margin-top:-14px;margin-left:-14px;background-position:0 -108px;opacity:.8;cursor:pointer;z-index:8060}#fancybox-loading div{width:28px;height:28px;background:url('loading.gif') center center no-repeat}.fancybox-close{position:absolute;top:-18px;right:-18px;width:36px;height:36px;cursor:pointer;z-index:8040}.fancybox-nav{position:absolute;top:0;width:40%;height:100%;cursor:pointer;text-decoration:none;background:transparent url('blank.gif');-webkit-tap-highlight-color:rgba(0,0,0,0);z-index:8040}.fancybox-prev{left:0}.fancybox-next{right:0}.fancybox-nav span{position:absolute;top:50%;width:36px;height:34px;margin-top:-18px;cursor:pointer;z-index:8040;visibility:hidden}.fancybox-prev span{left:10px;background-position:0 -36px}.fancybox-next span{right:10px;background-position:0 -72px}.fancybox-nav:hover span{visibility:visible}.fancybox-tmp{position:absolute;top:-99999px;left:-99999px;visibility:hidden;max-width:99999px;max-height:99999px;overflow:visible !important}.fancybox-lock{overflow:hidden !important;width:auto}.fancybox-lock body{overflow:hidden !important}.fancybox-lock-test{overflow-y:hidden !important}.fancybox-overlay{position:absolute;top:0;left:0;overflow:hidden;display:none;z-index:8010;background:url('overlay.png')}.fancybox-overlay-fixed{position:fixed;bottom:0;right:0}.fancybox-lock .fancybox-overlay{overflow:auto;overflow-y:scroll}.fancybox-title{visibility:hidden;font:normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;position:relative;text-shadow:none;z-index:8050}.fancybox-opened .fancybox-title{visibility:visible}.fancybox-title-float-wrap{position:absolute;bottom:0;right:50%;margin-bottom:-35px;z-index:8050;text-align:center}.fancybox-title-float-wrap .child{display:inline-block;margin-right:-100%;padding:2px 20px;background:transparent;background:rgba(0,0,0,0.8);-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;text-shadow:0 1px 2px #222;color:#fff;font-weight:bold;line-height:24px;white-space:nowrap}.fancybox-title-outside-wrap{position:relative;margin-top:10px;color:#fff}.fancybox-title-inside-wrap{padding-top:10px}.fancybox-title-over-wrap{position:absolute;bottom:0;left:0;color:#fff;padding:10px;background:#000;background:rgba(0,0,0,0.8)}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){#fancybox-loading,.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url('fancybox_sprite@2x.png');background-size:44px 152px}#fancybox-loading div{background-image:url('loading@2x.gif');background-size:24px 24px}}@media only screen and (max-width:480px),only screen and (max-device-width:480px){.vco-slider .nav-next,.vco-slider .nav-previous{display:none}}.vco-skinny .vco-slider .slider-item .content .layout-text-media .text .container{text-align:center !important}.vco-skinny .vco-slider .slider-item .content .layout-text-media h2,.vco-skinny .vco-slider .slider-item .content .layout-text-media h3{display:block !important;width:100% !important;text-align:center !important}.vco-skinny .vco-slider .slider-item .content .content-container{display:block}.vco-skinny .vco-slider .slider-item .content .content-container .text{width:100%;max-width:100%;min-width:120px;display:block}.vco-skinny .vco-slider .slider-item .content .content-container .text .container{display:block;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-skinny .vco-slider .slider-item .content .content-container .media{width:100%;min-width:50%;float:none}.vco-skinny .vco-slider .slider-item .content .content-container .media .media-wrapper{margin-left:0;margin-right:0;width:100%;display:block}.vco-skinny.vco-notouch .vco-slider .nav-previous,.vco-skinny.vco-notouch .vco-slider .nav-next{z-index:203}.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .title{filter:alpha(opacity=1);-khtml-opacity:.01;-moz-opacity:.01;opacity:.01}.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .icon{filter:alpha(opacity=15);-khtml-opacity:.15;-moz-opacity:.15;opacity:.15}.vco-skinny.vco-notouch .vco-slider .nav-previous .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px 0;width:24px;height:24px;overflow:hidden;margin-left:10px}.vco-skinny.vco-notouch .vco-slider .nav-next .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-232px 0;width:24px;height:24px;overflow:hidden;margin-left:66px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover,.vco-skinny.vco-notouch .vco-slider .nav-next:hover{color:#aaa !important;background-color:#aaa;background-color:rgba(255,255,255,0.65);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;font-weight:bold;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{padding-bottom:5px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{padding-left:5px;padding-right:5px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-skinny.vco-notouch .vco-slider .nav-previous .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-208px 0;width:24px;height:24px;overflow:hidden}.vco-skinny.vco-notouch .vco-slider .nav-next .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-232px 0;width:24px;height:24px;overflow:hidden}}.vco-slider{width:100%;height:100%;overflow:hidden}.vco-slider .slider-container-mask{text-align:center;width:100%;height:100%;overflow:hidden}.vco-slider .slider-container-mask .slider-container{position:absolute;top:0;left:-2160px;width:100%;height:100%;text-align:center;display:block}.vco-slider .slider-container-mask .slider-container .slider-item-container{display:table-cell;vertical-align:middle}.vco-notouch .vco-slider .nav-previous:hover,.vco-notouch .vco-slider .nav-next:hover{color:#aaa;cursor:pointer}.vco-notouch .vco-slider .nav-previous:hover .icon{margin-left:10px}.vco-notouch .vco-slider .nav-next:hover .icon{margin-left:66px}.vco-notouch .vco-slider .slider-item .content .content-container .media .media-container .wikipedia h4 a:hover{color:#0bd4e3;text-decoration:none}.vco-notouch .vco-slider .slider-item .content .content-container .created-at:hover{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments a:hover{text-decoration:none}.vco-notouch .vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments a:hover h5{text-decoration:underline}.vco-slider img,.vco-slider embed,.vco-slider object,.vco-slider video,.vco-slider iframe{max-width:100%}.vco-slider .nav-previous,.vco-slider .nav-next{position:absolute;top:0;width:100px;color:#dbdbdb;font-size:11px}.vco-slider .nav-previous .nav-container,.vco-slider .nav-next .nav-container{height:100px;width:100px;position:absolute}.vco-slider .nav-previous .icon,.vco-slider .nav-next .icon{margin-top:12px;margin-bottom:15px}.vco-slider .nav-previous .date,.vco-slider .nav-next .date,.vco-slider .nav-previous .title,.vco-slider .nav-next .title{line-height:14px}.vco-slider .nav-previous .date a,.vco-slider .nav-next .date a,.vco-slider .nav-previous .title a,.vco-slider .nav-next .title a{color:#999}.vco-slider .nav-previous .date small,.vco-slider .nav-next .date small,.vco-slider .nav-previous .title small,.vco-slider .nav-next .title small{display:none}.vco-slider .nav-previous .date,.vco-slider .nav-next .date{font-size:13px;line-height:13px;font-weight:bold;text-transform:uppercase;margin-bottom:5px}.vco-slider .nav-previous .title,.vco-slider .nav-next .title{font-size:11px;line-height:13px}.vco-slider .nav-previous{float:left;text-align:left}.vco-slider .nav-previous .icon{margin-left:15px;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-160px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-previous .date,.vco-slider .nav-previous .title{text-align:left;padding-left:15px}.vco-slider .nav-next{float:right;text-align:right}.vco-slider .nav-next .icon{margin-left:61px;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-184px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-next .date,.vco-slider .nav-next .title{text-align:right;padding-right:15px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-slider .nav-previous .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-160px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-next .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-184px 0;width:24px;height:24px;overflow:hidden}}.vco-slider .slider-item{position:absolute;width:700px;height:100%;padding:0;margin:0;display:table;overflow-y:auto}.vco-slider .slider-item .content{display:table-cell;vertical-align:middle}.vco-slider .slider-item .content .pad-top .text .container{padding-top:15px}.vco-slider .slider-item .content .pad-right .text .container{padding-right:15px}.vco-slider .slider-item .content .pad-left .text .container{padding-left:30px}.vco-slider .slider-item .content .pad-left .media.text-media .media-wrapper .media-container{border:none;background-color:#1a1a1a}.vco-slider .slider-item .content .content-container{display:table;vertical-align:middle}.vco-slider .slider-item .content .content-container .text{width:40%;max-width:50%;min-width:120px;display:table-cell;vertical-align:middle}.vco-slider .slider-item .content .content-container .text .container{display:table-cell;vertical-align:middle;text-align:left}.vco-slider .slider-item .content .content-container .text .container p{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-slider .slider-item .content .content-container .text .container h2.date{font-size:15px;line-height:15px;font-weight:normal}.vco-slider .slider-item .content .content-container .text .container .slide-tag{font-size:11px;font-weight:bold;color:#1a1a1a;background-color:#ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;vertical-align:baseline;white-space:nowrap;line-height:11px;padding:1px 3px 1px;margin-left:7.5px;margin-bottom:7.5px}.vco-slider .slider-item .content .content-container .media{width:100%;min-width:50%;float:left}.vco-slider .slider-item .content .content-container .media .media-wrapper{display:inline-block;margin-left:auto;margin-right:auto}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container{display:inline-block;line-height:0;padding:0;max-height:100%}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-frame,.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-image img{border:1px solid;border-color:#333 #999 #999 #333;background-color:#1a1a1a}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-frame iframe{background-color:#1a1a1a}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .soundcloud{border:0}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-image{display:inline-block}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow{position:relative;z-index:1;background:#1a1a1a}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow:before,.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow:after{z-index:-1;position:absolute;content:"";bottom:15px;left:10px;width:50%;top:80%;max-width:300px;background:#999;-webkit-box-shadow:0 15px 10px #999;-moz-box-shadow:0 15px 10px #999;box-shadow:0 15px 10px #999;-webkit-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-ms-transform:rotate(-2deg);-o-transform:rotate(-2deg);transform:rotate(-2deg)}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow::after{-webkit-transform:rotate(2deg);-moz-transform:rotate(2deg);-ms-transform:rotate(2deg);-o-transform:rotate(2deg);transform:rotate(2deg);right:10px;left:auto}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text{display:table}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text .container{display:table-cell;vertical-align:middle;font-size:15px;line-height:20px;color:#aaa}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text .container p{margin-bottom:20px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia{font-size:15px;line-height:20px;text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia .wiki-source{margin-bottom:15px;font-size:13px;line-height:19px;font-style:italic}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4{border-bottom:1px solid #333;margin-bottom:5px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4 a{color:#fff}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia p{font-size:13px;line-height:19px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map{line-height:normal;z-index:200;text-align:left;background-color:#1a1a1a}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map img{max-height:none !important;max-width:none !important;border:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .google-map{height:100%;width:100%}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution{position:absolute;z-index:201;bottom:0;width:100%;overflow:hidden}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution .attribution-text{height:19px;overflow:hidden;-webkit-user-select:none;line-height:19px;margin-right:60px;padding-left:65px;font-family:Arial,sans-serif;font-size:10px;color:#444;white-space:nowrap;color:#1a1a1a;text-shadow:1px 1px 1px #aaa;text-align:center}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution .attribution-text a{color:#1a1a1a !important}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .credit{color:#999;text-align:right;display:block;margin:0 auto;margin-top:6px;font-size:10px;line-height:13px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .caption{text-align:left;margin-top:10px;color:#aaa;font-size:11px;line-height:14px;text-rendering:optimizeLegibility;word-wrap:break-word}.vco-slider .slider-item .content .content-container .media.text-media .media-wrapper .media-container{border:none;background-color:#1a1a1a}.vco-slider .slider-item .content .content-container .created-at{width:24px;height:24px;overflow:hidden;margin-left:7.5px;margin-top:2px;display:inline-block;float:right;filter:alpha(opacity=25);-khtml-opacity:.25;-moz-opacity:.25;opacity:.25}.vco-slider .slider-item .content .content-container .storify .created-at{background-repeat:no-repeat;background-position:-328px -96px}.vco-slider .slider-item .content .content-container .twitter .created-at{background-repeat:no-repeat;background-position:-256px -24px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content{font-size:13px;line-height:19px;margin-bottom:6px;padding-top:10px;background-color:#1a1a1a;color:#aaa}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content p{font-size:13px;line-height:19px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-title{font-size:24px;line-height:32px;margin-bottom:6px;padding-top:10px;background-color:#1a1a1a;color:#fff}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-annotation{font-size:15px;line-height:20px;color:#fff;border-bottom:1px solid #e3e3e3;padding-bottom:7.5px;margin-bottom:7.5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments{border-top:1px solid #e3e3e3;padding-top:15px;margin-top:15px;border-bottom:1px solid #e3e3e3;padding-bottom:15px;margin-bottom:15px;*zoom:1}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:before,.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:after{display:table;content:""}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:after{clear:both}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments h5{margin-bottom:5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments div{width:50%;padding-left:15px;display:inline-block}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments p{font-size:11px;line-height:14px;margin-bottom:5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments img{float:left;display:block;bottom:0;left:0;margin:auto;position:relative;right:0;top:0;width:40%}.vco-slider .slider-item .content .content-container .googleplus .proflinkPrefix{color:#0bd4e3}.vco-slider .slider-item .content .content-container .googleplus .created-at{background-repeat:no-repeat;background-position:-208px -72px}.vco-slider .slider-item .content .content-container .twitter,.vco-slider .slider-item .content .content-container .plain-text-quote,.vco-slider .slider-item .content .content-container .storify,.vco-slider .slider-item .content .content-container .googleplus{text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both}.vco-slider .slider-item .content .content-container .twitter blockquote,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote,.vco-slider .slider-item .content .content-container .storify blockquote,.vco-slider .slider-item .content .content-container .googleplus blockquote{color:#aaa}.vco-slider .slider-item .content .content-container .twitter blockquote p,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote p,.vco-slider .slider-item .content .content-container .storify blockquote p,.vco-slider .slider-item .content .content-container .googleplus blockquote p{font-size:24px;line-height:32px;margin-bottom:6px;padding-top:10px;background-color:#1a1a1a;color:#fff}.vco-slider .slider-item .content .content-container .twitter blockquote .quote-mark,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote .quote-mark,.vco-slider .slider-item .content .content-container .storify blockquote .quote-mark,.vco-slider .slider-item .content .content-container .googleplus blockquote .quote-mark{color:#aaa}.vco-slider .slider-item .content .content-container .twitter blockquote{font-size:15px}.vco-slider .slider-item .content .content-container .twitter blockquote p{font-size:24px}.vco-slider .slider-item .content .content-container.layout-text-media .text-media{border-top:1px solid #e3e3e3;padding-top:15px;padding-right:0}.vco-slider .slider-item .content .content-container.layout-text-media.pad-left .text-media{padding-right:15px;padding-top:0;border-right:1px solid #e3e3e3;border-top:0 solid #e3e3e3}.vco-slider .slider-item .content .content-container.layout-text{width:100%}.vco-slider .slider-item .content .content-container.layout-text .text{width:100%;max-width:100%}.vco-slider .slider-item .content .content-container.layout-text .text .container{display:block;vertical-align:middle;padding:0;width:90%;text-align:left;margin-left:auto;margin-right:auto}.vco-slider .slider-item .content .content-container.layout-media{width:100%}.vco-slider .slider-item .content .content-container.layout-media .text{width:100%;height:100%;max-width:100%;display:block;text-align:center}.vco-slider .slider-item .content .content-container.layout-media .text .container{display:block;text-align:center;width:100%;margin-left:none;margin-right:none}.vco-slider .slider-item .content .content-container.layout-media .media{width:100%;min-width:50%;float:none}.vco-slider .slider-item .content .content-container.layout-media .media .media-wrapper .media-container{margin-left:auto;margin-right:auto;line-height:0;padding:0}.vco-slider .slider-item .content .content-container.layout-media .twitter,.vco-slider .slider-item .content .content-container.layout-media .wikipedia,.vco-slider .slider-item .content .content-container.layout-media .googleplus{max-width:70%}.storyjs-embed{background-color:#1a1a1a;margin-bottom:20px;border:1px solid #333;padding-top:20px;padding-bottom:20px;clear:both;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.35);-moz-box-shadow:1px 1px 3px rgba(0,0,0,0.35);box-shadow:1px 1px 3px rgba(0,0,0,0.35)}.storyjs-embed.full-embed{overflow:hidden;border:0 !important;padding:0 !important;margin:0 !important;clear:both;-webkit-border-radius:0 !important;-moz-border-radius:0 !important;border-radius:0 !important;-webkit-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;-moz-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;box-shadow:0 0 0 rgba(0,0,0,0.25) !important}.storyjs-embed.sized-embed{overflow:hidden;border:1px solid #333;padding-top:7px;padding-bottom:7px;margin:0 !important;clear:both;-webkit-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;-moz-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;box-shadow:0 0 0 rgba(0,0,0,0.25) !important}.vco-storyjs{width:100%;height:100%;padding:0;margin:0;background-color:#1a1a1a;position:absolute;z-index:100;clear:both;overflow:hidden}.vco-storyjs .vmm-clear:before,.vco-storyjs .vmm-clear:after{content:"";display:table}.vco-storyjs .vmm-clear:after{clear:both}.vco-storyjs .vmm-clear{*zoom:1}.vco-storyjs .vco-feature{width:100%}.vco-storyjs .vco-feature .slider,.vco-storyjs .vco-feature .vco-slider{width:100%;float:left;position:relative;z-index:10;padding-top:15px;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,0.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,0.3);box-shadow:1px 1px 7px rgba(0,0,0,0.3)}.vco-storyjs .vco-feedback{position:absolute;display:table;overflow:hidden;top:0;left:0;z-index:205;width:100%;height:100%}.vco-storyjs div.vco-loading,.vco-storyjs div.vco-explainer{display:table;text-align:center;min-width:100px;margin-top:15px;height:100%;width:100%;background-color:#1a1a1a}.vco-storyjs div.vco-loading .vco-loading-container,.vco-storyjs div.vco-explainer .vco-loading-container,.vco-storyjs div.vco-loading .vco-explainer-container,.vco-storyjs div.vco-explainer .vco-explainer-container{display:table-cell;vertical-align:middle}.vco-storyjs div.vco-loading .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-loading-icon{display:block;background-repeat:no-repeat;vertical-align:middle;margin-left:auto;margin-right:auto;text-align:center;background-image:url(loading.gif?v3.4);width:28px;height:28px}.vco-storyjs div.vco-loading .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-gesture-icon{display:block;vertical-align:middle;margin-left:auto;margin-right:auto;text-align:center;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-160px -160px;width:48px;height:48px}.vco-storyjs div.vco-loading .vco-loading-container .vco-message,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message{display:block}.vco-storyjs div.vco-loading .vco-loading-container .vco-message,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message,.vco-storyjs div.vco-loading .vco-loading-container .vco-message p,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message p,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message p,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message p{text-align:center;font-size:11px;line-height:13px;text-transform:uppercase;margin-top:7.5px;margin-bottom:7.5px}.vco-storyjs div.vco-explainer{background-color:transparent}.vco-storyjs .vco-bezel{background-color:#aaa;background-color:rgba(255,255,255,0.8);width:80px;height:50px;padding:50px;padding-top:25px;padding:25px 20px 50px 20px;margin:auto;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.vco-storyjs .vco-bezel .vco-message,.vco-storyjs .vco-bezel .vco-message p{color:#1a1a1a;font-weight:bold}.vco-storyjs .vco-container.vco-main{position:absolute;top:0;left:0;padding-bottom:3px;width:auto;height:auto;margin:0;clear:both}.vco-storyjs img,.vco-storyjs embed,.vco-storyjs object,.vco-storyjs video,.vco-storyjs iframe{max-width:100%}.vco-storyjs img{max-height:100%;border:1px solid #999}.vco-storyjs a{color:#0bd4e3;text-decoration:none}.vco-storyjs a:hover{color:#07909a;text-decoration:underline}.vco-storyjs .vcard{float:right;margin-bottom:15px}.vco-storyjs .vcard a{color:#aaa}.vco-storyjs .vcard a:hover{text-decoration:none}.vco-storyjs .vcard a:hover .fn{text-decoration:underline}.vco-storyjs .vcard .fn,.vco-storyjs .vcard .nickname{padding-left:42px}.vco-storyjs .vcard .fn{display:block;font-weight:bold}.vco-storyjs .vcard .nickname{margin-top:1px;display:block;color:#aaa}.vco-storyjs .vcard .avatar{float:left;display:block;width:32px;height:32px}.vco-storyjs .vcard .avatar img{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.vco-storyjs .thumbnail{width:24px;height:24px;overflow:hidden;float:left;margin:0;margin-right:1px;margin-top:6px;border:0;padding:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-storyjs a.thumbnail:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-storyjs .thumbnail.thumb-plaintext{background-repeat:no-repeat;background-position:-280px -48px}.vco-storyjs .thumbnail.thumb-quote{background-repeat:no-repeat;background-position:-232px -48px}.vco-storyjs .thumbnail.thumb-document{background-repeat:no-repeat;background-position:-256px -48px}.vco-storyjs .thumbnail.thumb-photo{background-repeat:no-repeat;background-position:-280px -24px;border:0}.vco-storyjs .thumbnail.thumb-photo img{border:0 none #333 !important}.vco-storyjs .thumbnail.thumb-twitter{background-repeat:no-repeat;background-position:-256px -24px}.vco-storyjs .thumbnail.thumb-vimeo{background-repeat:no-repeat;background-position:-328px -48px}.vco-storyjs .thumbnail.thumb-vine{background-repeat:no-repeat;background-position:-232px -72px}.vco-storyjs .thumbnail.thumb-youtube{background-repeat:no-repeat;background-position:-328px -72px}.vco-storyjs .thumbnail.thumb-video{background-repeat:no-repeat;background-position:-328px -24px}.vco-storyjs .thumbnail.thumb-audio{background-repeat:no-repeat;background-position:-304px -24px}.vco-storyjs .thumbnail.thumb-map{background-repeat:no-repeat;background-position:-208px -48px}.vco-storyjs .thumbnail.thumb-website{background-repeat:no-repeat;background-position:-232px -24px}.vco-storyjs .thumbnail.thumb-link{background-repeat:no-repeat;background-position:-184px -72px}.vco-storyjs .thumbnail.thumb-wikipedia{background-repeat:no-repeat;background-position:-184px -48px}.vco-storyjs .thumbnail.thumb-storify{background-repeat:no-repeat;background-position:-328px -96px}.vco-storyjs .thumbnail.thumb-googleplus{background-repeat:no-repeat;background-position:-208px -72px}.vco-storyjs thumbnail.thumb-instagram{background-repeat:no-repeat;background-position:-208px -96px}.vco-storyjs thumbnail.thumb-instagram-full{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-232px -96px;width:48px;height:24px}.vco-storyjs .thumb-storify-full{height:12px;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-280px -96px;width:48px}.vco-storyjs .thumbnail-inline{width:16px;height:14px;overflow:hidden;display:inline-block;margin-right:1px;margin-left:3px;margin-top:2px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-storyjs .twitter .thumbnail-inline{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-160px -96px}.vco-storyjs .storify .thumbnail-inline{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-184px -96px}.vco-storyjs .googleplus .thumbnail-inline{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px -96px}.vco-storyjs .zFront{z-index:204}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-storyjs div.vco-loading .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-loading-icon{background-image:url(loading@2x.gif?v3.4)}.vco-storyjs div.vco-loading .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-gesture-icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-160px -160px;width:48px;height:48px}}.vco-notouch .vco-navigation .vco-toolbar .zoom-in:hover,.vco-notouch .vco-navigation .vco-toolbar .zoom-out:hover,.vco-notouch .vco-navigation .vco-toolbar .back-home:hover{color:#0bd4e3;cursor:pointer;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-navigation .timenav .content .marker.active:hover{cursor:default}.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag .flag-content h3,.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag-small .flag-content h3{color:#0bd4e3}.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag .flag-content h4,.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag-small .flag-content h4{color:#999}.vco-notouch .vco-navigation .timenav .content .marker:hover .line{z-index:24;background:#999}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{cursor:pointer}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content h3,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h3{color:#aaa}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content h4,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h4{color:#aaa}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content .thumbnail,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content .thumbnail{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{height:56px;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content{height:36px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h3{margin-top:5px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover .flag-content{height:14px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation{clear:both;cursor:move;width:100%;height:200px;border-top:1px solid #e3e3e3;position:relative}.vco-timeline .vco-navigation .vco-toolbar{position:absolute;top:45px;left:0;z-index:202;background-color:#1a1a1a;border:1px solid #333;-webkit-box-shadow:1px 1px 0 rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 0 rgba(0,0,0,0.2);box-shadow:1px 1px 0 rgba(0,0,0,0.2)}.vco-timeline .vco-navigation .vco-toolbar .zoom-in,.vco-timeline .vco-navigation .vco-toolbar .zoom-out,.vco-timeline .vco-navigation .vco-toolbar .back-home{font-weight:normal;font-size:10px;line-height:20px;top:0;z-index:202;width:18px;height:18px;color:#aaa;text-align:center;font-weight:bold;border:1px solid #1a1a1a;padding:5px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .vco-toolbar .zoom-in .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-256px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar .zoom-out .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-280px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar .back-home .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-328px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar.touch{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;background-color:transparent;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-in,.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-out,.vco-timeline .vco-navigation .vco-toolbar.touch .back-home{width:40px;height:40px;padding:5px;background-color:#1a1a1a;border:1px solid #333;-webkit-box-shadow:1px 1px 0 rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 0 rgba(0,0,0,0.2);box-shadow:1px 1px 0 rgba(0,0,0,0.2);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-in .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-out .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-256px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .vco-toolbar.touch .back-home .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-304px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .timenav-background{position:absolute;cursor:move;top:0;left:0;height:150px;width:100%;background-color:#262626}.vco-timeline .vco-navigation .timenav-background .timenav-interval-background{position:absolute;top:151px;left:0;background:#1a1a1a;width:100%;height:49px;-webkit-box-shadow:-1px -1px 7px rgba(0,0,0,0.1);-moz-box-shadow:-1px -1px 7px rgba(0,0,0,0.1);box-shadow:-1px -1px 7px rgba(0,0,0,0.1)}.vco-timeline .vco-navigation .timenav-background .timenav-interval-background .top-highlight{position:absolute;top:-1px;left:0;z-index:30;width:100%;height:1px;background:#1a1a1a;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5;-webkit-box-shadow:1px 1px 5px rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 5px rgba(0,0,0,0.2);box-shadow:1px 1px 5px rgba(0,0,0,0.2)}.vco-timeline .vco-navigation .timenav-background .timenav-line{position:absolute;top:0;left:50%;width:3px;height:150px;background-color:#0bd4e3;z-index:1;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,0.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,0.3);box-shadow:1px 1px 7px rgba(0,0,0,0.3)}.vco-timeline .vco-navigation .timenav-background .timenav-indicator{position:absolute;top:-1px;left:50%;z-index:202;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-160px -48px;width:24px;height:24px}.vco-timeline .vco-navigation .timenav-background .timenav-tag div{height:50px;display:table}.vco-timeline .vco-navigation .timenav-background .timenav-tag div h3{display:table-cell;vertical-align:middle;padding-left:65px;font-size:15px;color:#0c0c0c;font-weight:bold;text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-half{height:25px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-half div{height:25px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-full{height:50px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-full div{height:50px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-2,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-4,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-6{background:#2e2e2e}.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-1,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-3,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-5{background:#262626}.vco-timeline .vco-navigation .timenav{position:absolute;top:0;left:-250px;z-index:1}.vco-timeline .vco-navigation .timenav .content{position:relative}.vco-timeline .vco-navigation .timenav .content .marker.start{display:none}.vco-timeline .vco-navigation .timenav .content .marker.active .dot{background:#0bd4e3;z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .line{z-index:199;background:#0bd4e3;width:1px}.vco-timeline .vco-navigation .timenav .content .marker.active .line .event-line{background:#0bd4e3;filter:alpha(opacity=75);-khtml-opacity:.75;-moz-opacity:.75;opacity:.75}.vco-timeline .vco-navigation .timenav .content .marker.active .flag,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small{z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content{height:36px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content h3,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content h3{color:#0bd4e3;margin-top:5px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content .thumbnail,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content .thumbnail{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row1,.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row2,.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row3,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row1,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row2,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row3{z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .flag{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content{height:14px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation .timenav .content .marker{position:absolute;top:0;left:150px;display:block}.vco-timeline .vco-navigation .timenav .content .marker .dot{position:absolute;top:150px;left:0;display:block;width:6px;height:6px;background:#aaa;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;z-index:21}.vco-timeline .vco-navigation .timenav .content .marker .line{position:absolute;top:0;left:3px;width:1px;height:150px;background-color:#333;background-color:rgba(51,51,51,0.5);-webkit-box-shadow:1px 0 0 rgba(26,26,26,0.5);-moz-box-shadow:1px 0 0 rgba(26,26,26,0.5);box-shadow:1px 0 0 rgba(26,26,26,0.5);z-index:22}.vco-timeline .vco-navigation .timenav .content .marker .line .event-line{position:absolute;z-index:22;left:0;height:1px;width:1px;background:#0bd4e3;filter:alpha(opacity=15);-khtml-opacity:.15;-moz-opacity:.15;opacity:.15}.vco-timeline .vco-navigation .timenav .content .marker .flag,.vco-timeline .vco-navigation .timenav .content .marker .flag-small{position:absolute;top:15px;left:3px;padding:0;display:block;z-index:23;width:153px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content{padding:0 7px 2px 6px;overflow:hidden}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3{font-weight:bold;font-size:15px;line-height:20px;font-size:11px;line-height:11px;color:#999;margin-bottom:2px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3 small,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3 small{display:none}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h4,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h4{display:none;font-weight:normal;font-size:15px;line-height:20px;margin-top:5px;font-size:10px;line-height:10px;color:#aaa}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h4 small,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h4 small{display:none}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content .thumbnail,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail{margin-bottom:15px;margin-right:3px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content .thumbnail img,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail img{width:22px;height:22px;max-height:none;max-width:none;border:0;border:1px solid #999;padding:0;margin:0}.vco-timeline .vco-navigation .timenav .content .marker .flag{height:56px;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 0;width:153px;height:53px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content{height:36px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3{margin-top:5px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -135px;width:153px;height:26px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content{height:14px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail{width:16px;height:10px;margin-right:1px;margin-top:6px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-plaintext{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-280px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-quote{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-232px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-document{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-256px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-photo{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-280px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-twitter{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-256px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-vimeo{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-328px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-vine{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-160px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-youtube{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-304px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-video{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-328px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-audio{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-304px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-map{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-website{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-232px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-link{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-232px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-wikipedia{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-184px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-storify{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-184px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-googleplus{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content thumbnail.thumb-instagram{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px -96px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row1{z-index:25;top:48px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row2{z-index:24;top:96px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row3{z-index:23;top:1px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row1{z-index:28;top:24px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row2{z-index:27;top:48px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row3{z-index:26;top:72px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row4{z-index:25;top:96px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row5{z-index:24;top:120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row6{z-index:23;top:1px}.vco-timeline .vco-navigation .timenav .content .marker .flag.zFront,.vco-timeline .vco-navigation .timenav .content .marker .flag-small.zFront{z-index:201}.vco-timeline .vco-navigation .timenav .content .era{position:absolute;top:138px;left:150px;height:12px;display:block;overflow:hidden}.vco-timeline .vco-navigation .timenav .content .era div{height:50px;width:100%;height:100%;line-height:0;background:#262626;background:rgba(38,38,38,0.33)}.vco-timeline .vco-navigation .timenav .content .era div h3,.vco-timeline .vco-navigation .timenav .content .era div h4{position:absolute;bottom:1px;padding-left:15px;font-size:15px;font-weight:bold;color:rgba(11,212,227,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era1 div{background:#e31a0b;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(227,26,11,0.1);border-right:1px solid rgba(245,58,44,0.05)}.vco-timeline .vco-navigation .timenav .content .era1 div h3,.vco-timeline .vco-navigation .timenav .content .era1 div h4{color:rgba(227,26,11,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era2 div{background:#e30b68;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(227,11,104,0.1);border-right:1px solid rgba(245,44,131,0.05)}.vco-timeline .vco-navigation .timenav .content .era2 div h3,.vco-timeline .vco-navigation .timenav .content .era2 div h4{color:rgba(227,11,104,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era3 div{background:#0b68e3;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(11,104,227,0.1);border-right:1px solid rgba(44,131,245,0.05)}.vco-timeline .vco-navigation .timenav .content .era3 div h3,.vco-timeline .vco-navigation .timenav .content .era3 div h4{color:rgba(11,104,227,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era4 div{background:#e3860b;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(227,134,11,0.1);border-right:1px solid rgba(245,158,44,0.05)}.vco-timeline .vco-navigation .timenav .content .era4 div h3,.vco-timeline .vco-navigation .timenav .content .era4 div h4{color:rgba(227,134,11,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era5 div{background:#0be386;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(11,227,134,0.1);border-right:1px solid rgba(44,245,158,0.05)}.vco-timeline .vco-navigation .timenav .content .era5 div h3,.vco-timeline .vco-navigation .timenav .content .era5 div h4{color:rgba(11,227,134,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era6 div{background:#0bd4e3;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(11,212,227,0.1);border-right:1px solid rgba(44,231,245,0.05)}.vco-timeline .vco-navigation .timenav .content .era6 div h3,.vco-timeline .vco-navigation .timenav .content .era6 div h4{color:rgba(11,212,227,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .time{position:absolute;left:0;top:150px;height:50px;background-color:#1a1a1a;line-height:0}.vco-timeline .vco-navigation .timenav .time .time-interval-minor{max-width:none;height:6px;white-space:nowrap;position:absolute;top:-2px;left:8px;z-index:10}.vco-timeline .vco-navigation .timenav .time .time-interval-minor .minor{position:relative;top:2px;display:inline-block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAMCAMAAACdvocfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFzMzM////040VdgAAAAJ0Uk5T/wDltzBKAAAAEklEQVR42mJgYAQCBopJgAADAAbwADHy2qHzAAAAAElFTkSuQmCC);width:100px;height:6px;background-position:center top;white-space:nowrap;color:#aaa;margin-top:0;padding-top:0}.vco-timeline .vco-navigation .timenav .time .time-interval{white-space:nowrap;position:absolute;top:5px;left:0}.vco-timeline .vco-navigation .timenav .time .time-interval div{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAMCAMAAACdvocfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFzMzM////040VdgAAAAJ0Uk5T/wDltzBKAAAAEklEQVR42mJgYAQCBopJgAADAAbwADHy2qHzAAAAAElFTkSuQmCC);background-position:left top;background-repeat:no-repeat;padding-top:6px;position:absolute;height:3px;left:0;display:block;font-weight:normal;font-size:10px;line-height:20px;text-transform:uppercase;text-align:left;text-indent:0;white-space:nowrap;color:#aaa;margin-left:0;margin-right:0;margin-top:0;z-index:2}.vco-timeline .vco-navigation .timenav .time .time-interval div strong{font-weight:bold;color:#fff}.vco-timeline .vco-navigation .timenav .time .time-interval div.era{font-weight:bold;padding-top:0;margin-top:-3px;margin-left:2px;background-image:none}.vco-timeline .vco-navigation .timenav .time .time-interval .era1{color:#e31a0b;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era2{color:#e30b68;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era3{color:#0b68e3;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era4{color:#e3860b;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era5{color:#0be386;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era6{color:#0bd4e3;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval-major{white-space:nowrap;position:absolute;top:5px;left:0}.vco-timeline .vco-navigation .timenav .time .time-interval-major div{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQAQMAAADtUYf0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyOTAzRjI3REIzNDcxMUUxQUQ3QUZCOThEODQ1NDhCNyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyOTAzRjI3RUIzNDcxMUUxQUQ3QUZCOThEODQ1NDhCNyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjI5MDNGMjdCQjM0NzExRTFBRDdBRkI5OEQ4NDU0OEI3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjI5MDNGMjdDQjM0NzExRTFBRDdBRkI5OEQ4NDU0OEI3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+DPWNfQAAAANQTFRFzMzMylJEJwAAAAtJREFUCB1jYMAPAAAgAAHDvpOtAAAAAElFTkSuQmCC);background-position:left top;background-repeat:no-repeat;padding-top:15px;position:absolute;height:15px;left:0;display:block;font-weight:bold;font-size:12px;line-height:20px;text-transform:uppercase;text-align:left;text-indent:0;white-space:nowrap;color:#aaa;margin-left:0;margin-right:0;margin-top:1px;z-index:5}.vco-timeline .vco-navigation .timenav .time .time-interval-major div strong{font-weight:bold;color:#fff}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-notouch .vco-navigation .vco-toolbar .zoom-in .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-256px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar .zoom-out .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-280px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar .back-home .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-328px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar.touch .zoom-in .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-208px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .vco-toolbar.touch .zoom-out .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-256px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .vco-toolbar.touch .back-home .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-304px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-notouch .vco-navigation .timenav-background .timenav-indicator{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-160px -48px;width:24px;height:24px}} \ No newline at end of file +*/.vco-storyjs div *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6,.vco-storyjs p,.vco-storyjs blockquote,.vco-storyjs pre,.vco-storyjs a,.vco-storyjs abbr,.vco-storyjs acronym,.vco-storyjs address,.vco-storyjs cite,.vco-storyjs code,.vco-storyjs del,.vco-storyjs dfn,.vco-storyjs em,.vco-storyjs img,.vco-storyjs q,.vco-storyjs s,.vco-storyjs samp,.vco-storyjs small,.vco-storyjs strike,.vco-storyjs strong,.vco-storyjs sub,.vco-storyjs sup,.vco-storyjs tt,.vco-storyjs var,.vco-storyjs dd,.vco-storyjs dl,.vco-storyjs dt,.vco-storyjs li,.vco-storyjs ol,.vco-storyjs ul,.vco-storyjs fieldset,.vco-storyjs form,.vco-storyjs label,.vco-storyjs legend,.vco-storyjs button,.vco-storyjs table,.vco-storyjs caption,.vco-storyjs tbody,.vco-storyjs tfoot,.vco-storyjs thead,.vco-storyjs tr,.vco-storyjs th,.vco-storyjs td,.vco-storyjs .vco-container,.vco-storyjs .content-container,.vco-storyjs .media,.vco-storyjs .text,.vco-storyjs .vco-slider,.vco-storyjs .slider,.vco-storyjs .date,.vco-storyjs .title,.vco-storyjs .messege,.vco-storyjs .map,.vco-storyjs .credit,.vco-storyjs .caption,.vco-storyjs .vco-feedback,.vco-storyjs .vco-feature,.vco-storyjs .toolbar,.vco-storyjs .marker,.vco-storyjs .dot,.vco-storyjs .line,.vco-storyjs .flag,.vco-storyjs .time,.vco-storyjs .era,.vco-storyjs .major,.vco-storyjs .minor,.vco-storyjs .vco-navigation,.vco-storyjs .start,.vco-storyjs .active{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;font-size:100%;line-height:1;font-family:inherit;width:auto;float:none}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{clear:none}.vco-storyjs table{border-collapse:collapse;border-spacing:0}.vco-storyjs ol,.vco-storyjs ul{list-style:none}.vco-storyjs q:before,.vco-storyjs q:after,.vco-storyjs blockquote:before,.vco-storyjs blockquote:after{content:""}.vco-storyjs a:focus{outline:thin dotted}.vco-storyjs a:hover,.vco-storyjs a:active{outline:0}.vco-storyjs article,.vco-storyjs aside,.vco-storyjs details,.vco-storyjs figcaption,.vco-storyjs figure,.vco-storyjs footer,.vco-storyjs header,.vco-storyjs hgroup,.vco-storyjs nav,.vco-storyjs section{display:block}.vco-storyjs audio,.vco-storyjs canvas,.vco-storyjs video{display:inline-block;*display:inline;*zoom:1}.vco-storyjs audio:not([controls]){display:none}.vco-storyjs div{max-width:none}.vco-storyjs sub,.vco-storyjs sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.vco-storyjs sup{top:-0.5em}.vco-storyjs sub{bottom:-0.25em}.vco-storyjs img{border:0;-ms-interpolation-mode:bicubic}.vco-storyjs button,.vco-storyjs input,.vco-storyjs select,.vco-storyjs textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.vco-storyjs button,.vco-storyjs input{line-height:normal;*overflow:visible}.vco-storyjs button::-moz-focus-inner,.vco-storyjs input::-moz-focus-inner{border:0;padding:0}.vco-storyjs button,.vco-storyjs input[type="button"],.vco-storyjs input[type="reset"],.vco-storyjs input[type="submit"]{cursor:pointer;-webkit-appearance:button}.vco-storyjs input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}.vco-storyjs textarea{overflow:auto;vertical-align:top}.vco-storyjs{font-family:"Georgia",Times New Roman,Times,serif}.vco-storyjs .twitter,.vco-storyjs .vcard,.vco-storyjs .messege,.vco-storyjs .credit,.vco-storyjs .caption,.vco-storyjs .zoom-in,.vco-storyjs .zoom-out,.vco-storyjs .back-home,.vco-storyjs .time-interval div,.vco-storyjs .time-interval-major div,.vco-storyjs .nav-container{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs h1.date,.vco-storyjs h2.date,.vco-storyjs h3.date,.vco-storyjs h4.date,.vco-storyjs h5.date,.vco-storyjs h6.date{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs .timenav h1,.vco-storyjs .flag-content h1,.vco-storyjs .era h1,.vco-storyjs .timenav h2,.vco-storyjs .flag-content h2,.vco-storyjs .era h2,.vco-storyjs .timenav h3,.vco-storyjs .flag-content h3,.vco-storyjs .era h3,.vco-storyjs .timenav h4,.vco-storyjs .flag-content h4,.vco-storyjs .era h4,.vco-storyjs .timenav h5,.vco-storyjs .flag-content h5,.vco-storyjs .era h5,.vco-storyjs .timenav h6,.vco-storyjs .flag-content h6,.vco-storyjs .era h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs p,.vco-storyjs blockquote,.vco-storyjs blockquote p,.vco-storyjs .twitter blockquote p{font-family:"Georgia",Times New Roman,Times,serif !important}.vco-storyjs .vco-feature h1,.vco-storyjs .vco-feature h2,.vco-storyjs .vco-feature h3,.vco-storyjs .vco-feature h4,.vco-storyjs .vco-feature h5,.vco-storyjs .vco-feature h6{font-family:"Georgia",Times New Roman,Times,serif}.timeline-tooltip{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.vco-storyjs{font-size:15px;font-weight:normal;line-height:20px;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}.vco-storyjs p{font-size:15px;font-weight:normal;line-height:20px;margin-bottom:20px;color:#aaa}.vco-storyjs p small{font-size:12px;line-height:17px}.vco-storyjs p:first-child{margin-top:20px}.vco-storyjs .vco-navigation p{color:#999}.vco-storyjs .vco-feature h3,.vco-storyjs .vco-feature h4,.vco-storyjs .vco-feature h5,.vco-storyjs .vco-feature h6{margin-bottom:15px}.vco-storyjs .vco-feature p{color:#aaa}.vco-storyjs .vco-feature blockquote,.vco-storyjs .vco-feature blockquote p{color:#fff}.vco-storyjs .date a,.vco-storyjs .title a{color:#999}.vco-storyjs .hyphenate{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{font-weight:normal;color:#fff;text-transform:none}.vco-storyjs h1 a,.vco-storyjs h2 a,.vco-storyjs h3 a,.vco-storyjs h4 a,.vco-storyjs h5 a,.vco-storyjs h6 a{color:#999}.vco-storyjs h1 small,.vco-storyjs h2 small,.vco-storyjs h3 small,.vco-storyjs h4 small,.vco-storyjs h5 small,.vco-storyjs h6 small{color:#999}.vco-storyjs h1.date,.vco-storyjs h2.date,.vco-storyjs h3.date,.vco-storyjs h4.date,.vco-storyjs h5.date,.vco-storyjs h6.date{font-weight:bold}.vco-storyjs h2.start{font-size:36px;line-height:38px;margin-bottom:15px}.vco-storyjs h1{margin-bottom:15px;font-size:32px;line-height:34px}.vco-storyjs h1 small{font-size:18px}.vco-storyjs h2{margin-bottom:15px;font-size:28px;line-height:30px}.vco-storyjs h2 small{font-size:14px;line-height:16px}.vco-storyjs h2.date{font-size:16px;line-height:18px;margin-bottom:3.75px;color:#999}.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{line-height:40px}.vco-storyjs h3 .active,.vco-storyjs h4 .active,.vco-storyjs h5 .active,.vco-storyjs h6 .active{color:#0bd4e3}.vco-storyjs h3{font-size:28px;line-height:30px}.vco-storyjs h3 small{font-size:14px}.vco-storyjs h4{font-size:20px;line-height:22px}.vco-storyjs h4 small{font-size:12px}.vco-storyjs h5{font-size:16px;line-height:18px}.vco-storyjs h6{font-size:13px;line-height:14px;text-transform:uppercase}.vco-storyjs strong{font-weight:bold;font-style:inherit}.vco-storyjs em{font-style:italic;font-weight:inherit}.vco-storyjs Q{quotes:'„' '“';font-style:italic}.vco-storyjs blockquote,.vco-storyjs blockquote p{font-size:24px;line-height:32px;text-align:left;margin-bottom:6px;padding-top:10px;background-color:#1a1a1a;color:#fff}.vco-storyjs .credit{color:#999;text-align:right;font-size:10px;line-height:10px;display:block;margin:0 auto;clear:both}.vco-storyjs .caption{text-align:left;margin-top:5px;color:#aaa;font-size:11px;line-height:14px;clear:both}[dir=rtl] .vco-storyjs.vco-right-to-left,.vco-storyjs.vco-right-to-left[dir=rtl]{direction:ltr}.vco-storyjs.vco-right-to-left h1,.vco-storyjs.vco-right-to-left h2,.vco-storyjs.vco-right-to-left h3,.vco-storyjs.vco-right-to-left h4,.vco-storyjs.vco-right-to-left h5,.vco-storyjs.vco-right-to-left h6,.vco-storyjs.vco-right-to-left p,.vco-storyjs.vco-right-to-left blockquote,.vco-storyjs.vco-right-to-left pre,.vco-storyjs.vco-right-to-left a,.vco-storyjs.vco-right-to-left abbr,.vco-storyjs.vco-right-to-left acronym,.vco-storyjs.vco-right-to-left address,.vco-storyjs.vco-right-to-left cite,.vco-storyjs.vco-right-to-left code,.vco-storyjs.vco-right-to-left del,.vco-storyjs.vco-right-to-left dfn,.vco-storyjs.vco-right-to-left em,.vco-storyjs.vco-right-to-left img,.vco-storyjs.vco-right-to-left q,.vco-storyjs.vco-right-to-left s,.vco-storyjs.vco-right-to-left samp,.vco-storyjs.vco-right-to-left small,.vco-storyjs.vco-right-to-left strike,.vco-storyjs.vco-right-to-left strong,.vco-storyjs.vco-right-to-left sub,.vco-storyjs.vco-right-to-left sup,.vco-storyjs.vco-right-to-left tt,.vco-storyjs.vco-right-to-left var,.vco-storyjs.vco-right-to-left dd,.vco-storyjs.vco-right-to-left dl,.vco-storyjs.vco-right-to-left dt,.vco-storyjs.vco-right-to-left li,.vco-storyjs.vco-right-to-left ol,.vco-storyjs.vco-right-to-left ul,.vco-storyjs.vco-right-to-left fieldset,.vco-storyjs.vco-right-to-left form,.vco-storyjs.vco-right-to-left label,.vco-storyjs.vco-right-to-left legend,.vco-storyjs.vco-right-to-left button,.vco-storyjs.vco-right-to-left table,.vco-storyjs.vco-right-to-left caption,.vco-storyjs.vco-right-to-left tbody,.vco-storyjs.vco-right-to-left tfoot,.vco-storyjs.vco-right-to-left thead,.vco-storyjs.vco-right-to-left tr,.vco-storyjs.vco-right-to-left th,.vco-storyjs.vco-right-to-left td{direction:rtl}.timeline-tooltip{position:absolute;z-index:205;display:block;visibility:visible;padding:5px;opacity:0;filter:alpha(opacity=0);font-size:15px;font-weight:bold;line-height:20px;font-size:12px;line-height:12px}.timeline-tooltip.in{opacity:.8;filter:alpha(opacity=80)}.timeline-tooltip.top{margin-top:-2px}.timeline-tooltip.right{margin-left:2px}.timeline-tooltip.bottom{margin-top:2px}.timeline-tooltip.left{margin-left:-2px}.timeline-tooltip.top .timeline-tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000}.timeline-tooltip.left .timeline-tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000}.timeline-tooltip.bottom .timeline-tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000}.timeline-tooltip.right .timeline-tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000}.timeline-tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.timeline-tooltip-arrow{position:absolute;width:0;height:0}@media only screen and (max-width:480px),only screen and (max-device-width:480px){.vco-slider .nav-next,.vco-slider .nav-previous{display:none}}.vco-skinny .vco-slider .slider-item .content .layout-text-media .text .container{text-align:center !important}.vco-skinny .vco-slider .slider-item .content .layout-text-media h2,.vco-skinny .vco-slider .slider-item .content .layout-text-media h3{display:block !important;width:100% !important;text-align:center !important}.vco-skinny .vco-slider .slider-item .content .content-container{display:block}.vco-skinny .vco-slider .slider-item .content .content-container .text{width:100%;max-width:100%;min-width:120px;display:block}.vco-skinny .vco-slider .slider-item .content .content-container .text .container{display:block;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-skinny .vco-slider .slider-item .content .content-container .media{width:100%;min-width:50%;float:none}.vco-skinny .vco-slider .slider-item .content .content-container .media .media-wrapper{margin-left:0;margin-right:0;width:100%;display:block}.vco-skinny.vco-notouch .vco-slider .nav-previous,.vco-skinny.vco-notouch .vco-slider .nav-next{z-index:203}.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .title{filter:alpha(opacity=1);-khtml-opacity:.01;-moz-opacity:.01;opacity:.01}.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .icon{filter:alpha(opacity=15);-khtml-opacity:.15;-moz-opacity:.15;opacity:.15}.vco-skinny.vco-notouch .vco-slider .nav-previous .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px 0;width:24px;height:24px;overflow:hidden;margin-left:10px}.vco-skinny.vco-notouch .vco-slider .nav-next .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-232px 0;width:24px;height:24px;overflow:hidden;margin-left:66px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover,.vco-skinny.vco-notouch .vco-slider .nav-next:hover{color:#aaa !important;background-color:#aaa;background-color:rgba(255,255,255,0.65);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;font-weight:bold;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{padding-bottom:5px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{padding-left:5px;padding-right:5px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-skinny.vco-notouch .vco-slider .nav-previous .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-208px 0;width:24px;height:24px;overflow:hidden}.vco-skinny.vco-notouch .vco-slider .nav-next .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-232px 0;width:24px;height:24px;overflow:hidden}}.vco-slider{width:100%;height:100%;overflow:hidden}.vco-slider .slider-container-mask{text-align:center;width:100%;height:100%;overflow:hidden}.vco-slider .slider-container-mask .slider-container{position:absolute;top:0;left:-2160px;width:100%;height:100%;text-align:center;display:block}.vco-slider .slider-container-mask .slider-container .slider-item-container{display:table-cell;vertical-align:middle}.vco-notouch .vco-slider .nav-previous:hover,.vco-notouch .vco-slider .nav-next:hover{color:#aaa;cursor:pointer}.vco-notouch .vco-slider .nav-previous:hover .icon{margin-left:10px}.vco-notouch .vco-slider .nav-next:hover .icon{margin-left:66px}.vco-notouch .vco-slider .slider-item .content .content-container .media .media-container .wikipedia h4 a:hover{color:#0bd4e3;text-decoration:none}.vco-notouch .vco-slider .slider-item .content .content-container .created-at:hover{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments a:hover{text-decoration:none}.vco-notouch .vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments a:hover h5{text-decoration:underline}.vco-slider img,.vco-slider embed,.vco-slider object,.vco-slider video,.vco-slider iframe{max-width:100%}.vco-slider .nav-previous,.vco-slider .nav-next{position:absolute;top:0;width:100px;color:#dbdbdb;font-size:11px}.vco-slider .nav-previous .nav-container,.vco-slider .nav-next .nav-container{height:100px;width:100px;position:absolute}.vco-slider .nav-previous .icon,.vco-slider .nav-next .icon{margin-top:12px;margin-bottom:15px}.vco-slider .nav-previous .date,.vco-slider .nav-next .date,.vco-slider .nav-previous .title,.vco-slider .nav-next .title{line-height:14px}.vco-slider .nav-previous .date a,.vco-slider .nav-next .date a,.vco-slider .nav-previous .title a,.vco-slider .nav-next .title a{color:#999}.vco-slider .nav-previous .date small,.vco-slider .nav-next .date small,.vco-slider .nav-previous .title small,.vco-slider .nav-next .title small{display:none}.vco-slider .nav-previous .date,.vco-slider .nav-next .date{font-size:13px;line-height:13px;font-weight:bold;text-transform:uppercase;margin-bottom:5px}.vco-slider .nav-previous .title,.vco-slider .nav-next .title{font-size:11px;line-height:13px}.vco-slider .nav-previous{float:left;text-align:left}.vco-slider .nav-previous .icon{margin-left:15px;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-160px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-previous .date,.vco-slider .nav-previous .title{text-align:left;padding-left:15px}.vco-slider .nav-next{float:right;text-align:right}.vco-slider .nav-next .icon{margin-left:61px;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-184px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-next .date,.vco-slider .nav-next .title{text-align:right;padding-right:15px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-slider .nav-previous .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-160px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-next .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-184px 0;width:24px;height:24px;overflow:hidden}}.vco-slider .slider-item{position:absolute;width:700px;height:100%;padding:0;margin:0;display:table;overflow-y:auto}.vco-slider .slider-item .content{display:table-cell;vertical-align:middle}.vco-slider .slider-item .content .pad-top .text .container{padding-top:15px}.vco-slider .slider-item .content .pad-right .text .container{padding-right:15px}.vco-slider .slider-item .content .pad-left .text .container{padding-left:30px}.vco-slider .slider-item .content .pad-left .media.text-media .media-wrapper .media-container{border:none;background-color:#1a1a1a}.vco-slider .slider-item .content .content-container{display:table;vertical-align:middle}.vco-slider .slider-item .content .content-container .text{width:40%;max-width:50%;min-width:120px;display:table-cell;vertical-align:middle}.vco-slider .slider-item .content .content-container .text .container{display:table-cell;vertical-align:middle;text-align:left}.vco-slider .slider-item .content .content-container .text .container p{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-slider .slider-item .content .content-container .text .container h2.date{font-size:15px;line-height:15px;font-weight:normal}.vco-slider .slider-item .content .content-container .text .container .slide-tag{font-size:11px;font-weight:bold;color:#1a1a1a;background-color:#ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;vertical-align:baseline;white-space:nowrap;line-height:11px;padding:1px 3px 1px;margin-left:7.5px;margin-bottom:7.5px}.vco-slider .slider-item .content .content-container .media{width:100%;min-width:50%;float:left}.vco-slider .slider-item .content .content-container .media .media-wrapper{display:inline-block;margin-left:auto;margin-right:auto}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container{display:inline-block;line-height:0;padding:0;max-height:100%}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-frame,.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-image img{border:1px solid;border-color:#333 #999 #999 #333;background-color:#1a1a1a}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-frame iframe{background-color:#1a1a1a}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .soundcloud{border:0}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-image{display:inline-block}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow{position:relative;z-index:1;background:#1a1a1a}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow:before,.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow:after{z-index:-1;position:absolute;content:"";bottom:15px;left:10px;width:50%;top:80%;max-width:300px;background:#999;-webkit-box-shadow:0 15px 10px #999;-moz-box-shadow:0 15px 10px #999;box-shadow:0 15px 10px #999;-webkit-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-ms-transform:rotate(-2deg);-o-transform:rotate(-2deg);transform:rotate(-2deg)}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow::after{-webkit-transform:rotate(2deg);-moz-transform:rotate(2deg);-ms-transform:rotate(2deg);-o-transform:rotate(2deg);transform:rotate(2deg);right:10px;left:auto}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text{display:table}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text .container{display:table-cell;vertical-align:middle;font-size:15px;line-height:20px;color:#aaa}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text .container p{margin-bottom:20px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia{font-size:15px;line-height:20px;text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia .wiki-source{margin-bottom:15px;font-size:13px;line-height:19px;font-style:italic}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4{border-bottom:1px solid #333;margin-bottom:5px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4 a{color:#fff}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia p{font-size:13px;line-height:19px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map{line-height:normal;z-index:200;text-align:left;background-color:#1a1a1a}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map img{max-height:none !important;max-width:none !important;border:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .google-map{height:100%;width:100%}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution{position:absolute;z-index:201;bottom:0;width:100%;overflow:hidden}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution .attribution-text{height:19px;overflow:hidden;-webkit-user-select:none;line-height:19px;margin-right:60px;padding-left:65px;font-family:Arial,sans-serif;font-size:10px;color:#444;white-space:nowrap;color:#1a1a1a;text-shadow:1px 1px 1px #aaa;text-align:center}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution .attribution-text a{color:#1a1a1a !important}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .credit{color:#999;text-align:right;display:block;margin:0 auto;margin-top:6px;font-size:10px;line-height:13px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .caption{text-align:left;margin-top:10px;color:#aaa;font-size:11px;line-height:14px;text-rendering:optimizeLegibility;word-wrap:break-word}.vco-slider .slider-item .content .content-container .media.text-media .media-wrapper .media-container{border:none;background-color:#1a1a1a}.vco-slider .slider-item .content .content-container .created-at{width:24px;height:24px;overflow:hidden;margin-left:7.5px;margin-top:2px;display:inline-block;float:right;filter:alpha(opacity=25);-khtml-opacity:.25;-moz-opacity:.25;opacity:.25}.vco-slider .slider-item .content .content-container .storify .created-at{background-repeat:no-repeat;background-position:-328px -96px}.vco-slider .slider-item .content .content-container .twitter .created-at{background-repeat:no-repeat;background-position:-256px -24px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content{font-size:13px;line-height:19px;margin-bottom:6px;padding-top:10px;background-color:#1a1a1a;color:#aaa}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content p{font-size:13px;line-height:19px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-title{font-size:24px;line-height:32px;margin-bottom:6px;padding-top:10px;background-color:#1a1a1a;color:#fff}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-annotation{font-size:15px;line-height:20px;color:#fff;border-bottom:1px solid #e3e3e3;padding-bottom:7.5px;margin-bottom:7.5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments{border-top:1px solid #e3e3e3;padding-top:15px;margin-top:15px;border-bottom:1px solid #e3e3e3;padding-bottom:15px;margin-bottom:15px;*zoom:1}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:before,.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:after{display:table;content:""}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:after{clear:both}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments h5{margin-bottom:5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments div{width:50%;padding-left:15px;display:inline-block}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments p{font-size:11px;line-height:14px;margin-bottom:5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments img{float:left;display:block;bottom:0;left:0;margin:auto;position:relative;right:0;top:0;width:40%}.vco-slider .slider-item .content .content-container .googleplus .proflinkPrefix{color:#0bd4e3}.vco-slider .slider-item .content .content-container .googleplus .created-at{background-repeat:no-repeat;background-position:-208px -72px}.vco-slider .slider-item .content .content-container .twitter,.vco-slider .slider-item .content .content-container .plain-text-quote,.vco-slider .slider-item .content .content-container .storify,.vco-slider .slider-item .content .content-container .googleplus{text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both}.vco-slider .slider-item .content .content-container .twitter blockquote,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote,.vco-slider .slider-item .content .content-container .storify blockquote,.vco-slider .slider-item .content .content-container .googleplus blockquote{color:#aaa}.vco-slider .slider-item .content .content-container .twitter blockquote p,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote p,.vco-slider .slider-item .content .content-container .storify blockquote p,.vco-slider .slider-item .content .content-container .googleplus blockquote p{font-size:24px;line-height:32px;margin-bottom:6px;padding-top:10px;background-color:#1a1a1a;color:#fff}.vco-slider .slider-item .content .content-container .twitter blockquote .quote-mark,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote .quote-mark,.vco-slider .slider-item .content .content-container .storify blockquote .quote-mark,.vco-slider .slider-item .content .content-container .googleplus blockquote .quote-mark{color:#aaa}.vco-slider .slider-item .content .content-container .twitter blockquote{font-size:15px}.vco-slider .slider-item .content .content-container .twitter blockquote p{font-size:24px}.vco-slider .slider-item .content .content-container.layout-text-media .text-media{border-top:1px solid #e3e3e3;padding-top:15px;padding-right:0}.vco-slider .slider-item .content .content-container.layout-text-media.pad-left .text-media{padding-right:15px;padding-top:0;border-right:1px solid #e3e3e3;border-top:0 solid #e3e3e3}.vco-slider .slider-item .content .content-container.layout-text{width:100%}.vco-slider .slider-item .content .content-container.layout-text .text{width:100%;max-width:100%}.vco-slider .slider-item .content .content-container.layout-text .text .container{display:block;vertical-align:middle;padding:0;width:90%;text-align:left;margin-left:auto;margin-right:auto}.vco-slider .slider-item .content .content-container.layout-media{width:100%}.vco-slider .slider-item .content .content-container.layout-media .text{width:100%;height:100%;max-width:100%;display:block;text-align:center}.vco-slider .slider-item .content .content-container.layout-media .text .container{display:block;text-align:center;width:100%;margin-left:none;margin-right:none}.vco-slider .slider-item .content .content-container.layout-media .media{width:100%;min-width:50%;float:none}.vco-slider .slider-item .content .content-container.layout-media .media .media-wrapper .media-container{margin-left:auto;margin-right:auto;line-height:0;padding:0}.vco-slider .slider-item .content .content-container.layout-media .twitter,.vco-slider .slider-item .content .content-container.layout-media .wikipedia,.vco-slider .slider-item .content .content-container.layout-media .googleplus{max-width:70%}.storyjs-embed{background-color:#1a1a1a;margin-bottom:20px;border:1px solid #333;padding-top:20px;padding-bottom:20px;clear:both;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.35);-moz-box-shadow:1px 1px 3px rgba(0,0,0,0.35);box-shadow:1px 1px 3px rgba(0,0,0,0.35)}.storyjs-embed.full-embed{overflow:hidden;border:0 !important;padding:0 !important;margin:0 !important;clear:both;-webkit-border-radius:0 !important;-moz-border-radius:0 !important;border-radius:0 !important;-webkit-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;-moz-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;box-shadow:0 0 0 rgba(0,0,0,0.25) !important}.storyjs-embed.sized-embed{overflow:hidden;border:1px solid #333;padding-top:7px;padding-bottom:7px;margin:0 !important;clear:both;-webkit-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;-moz-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;box-shadow:0 0 0 rgba(0,0,0,0.25) !important}.vco-storyjs{width:100%;height:100%;padding:0;margin:0;background-color:#1a1a1a;position:absolute;z-index:100;clear:both;overflow:hidden}.vco-storyjs .vmm-clear:before,.vco-storyjs .vmm-clear:after{content:"";display:table}.vco-storyjs .vmm-clear:after{clear:both}.vco-storyjs .vmm-clear{*zoom:1}.vco-storyjs .vco-feature{width:100%}.vco-storyjs .vco-feature .slider,.vco-storyjs .vco-feature .vco-slider{width:100%;float:left;position:relative;z-index:10;padding-top:15px;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,0.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,0.3);box-shadow:1px 1px 7px rgba(0,0,0,0.3)}.vco-storyjs .vco-feedback{position:absolute;display:table;overflow:hidden;top:0;left:0;z-index:205;width:100%;height:100%}.vco-storyjs div.vco-loading,.vco-storyjs div.vco-explainer{display:table;text-align:center;min-width:100px;margin-top:15px;height:100%;width:100%;background-color:#1a1a1a}.vco-storyjs div.vco-loading .vco-loading-container,.vco-storyjs div.vco-explainer .vco-loading-container,.vco-storyjs div.vco-loading .vco-explainer-container,.vco-storyjs div.vco-explainer .vco-explainer-container{display:table-cell;vertical-align:middle}.vco-storyjs div.vco-loading .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-loading-icon{display:block;background-repeat:no-repeat;vertical-align:middle;margin-left:auto;margin-right:auto;text-align:center;background-image:url(loading.gif?v3.4);width:28px;height:28px}.vco-storyjs div.vco-loading .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-gesture-icon{display:block;vertical-align:middle;margin-left:auto;margin-right:auto;text-align:center;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-160px -160px;width:48px;height:48px}.vco-storyjs div.vco-loading .vco-loading-container .vco-message,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message{display:block}.vco-storyjs div.vco-loading .vco-loading-container .vco-message,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message,.vco-storyjs div.vco-loading .vco-loading-container .vco-message p,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message p,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message p,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message p{text-align:center;font-size:11px;line-height:13px;text-transform:uppercase;margin-top:7.5px;margin-bottom:7.5px}.vco-storyjs div.vco-explainer{background-color:transparent}.vco-storyjs .vco-bezel{background-color:#aaa;background-color:rgba(255,255,255,0.8);width:80px;height:50px;padding:50px;padding-top:25px;padding:25px 20px 50px 20px;margin:auto;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.vco-storyjs .vco-bezel .vco-message,.vco-storyjs .vco-bezel .vco-message p{color:#1a1a1a;font-weight:bold}.vco-storyjs .vco-container.vco-main{position:absolute;top:0;left:0;padding-bottom:3px;width:auto;height:auto;margin:0;clear:both}.vco-storyjs img,.vco-storyjs embed,.vco-storyjs object,.vco-storyjs video,.vco-storyjs iframe{max-width:100%}.vco-storyjs img{max-height:100%;border:1px solid #999}.vco-storyjs a{color:#0bd4e3;text-decoration:none}.vco-storyjs a:hover{color:#07909a;text-decoration:underline}.vco-storyjs .vcard{float:right;margin-bottom:15px}.vco-storyjs .vcard a{color:#aaa}.vco-storyjs .vcard a:hover{text-decoration:none}.vco-storyjs .vcard a:hover .fn{text-decoration:underline}.vco-storyjs .vcard .fn,.vco-storyjs .vcard .nickname{padding-left:42px}.vco-storyjs .vcard .fn{display:block;font-weight:bold}.vco-storyjs .vcard .nickname{margin-top:1px;display:block;color:#aaa}.vco-storyjs .vcard .avatar{float:left;display:block;width:32px;height:32px}.vco-storyjs .vcard .avatar img{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.vco-storyjs .thumbnail{width:24px;height:24px;overflow:hidden;float:left;margin:0;margin-right:1px;margin-top:6px;border:0;padding:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-storyjs a.thumbnail:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-storyjs .thumbnail.thumb-plaintext{background-repeat:no-repeat;background-position:-280px -48px}.vco-storyjs .thumbnail.thumb-quote{background-repeat:no-repeat;background-position:-232px -48px}.vco-storyjs .thumbnail.thumb-document{background-repeat:no-repeat;background-position:-256px -48px}.vco-storyjs .thumbnail.thumb-photo{background-repeat:no-repeat;background-position:-280px -24px;border:0}.vco-storyjs .thumbnail.thumb-photo img{border:0 none #333 !important}.vco-storyjs .thumbnail.thumb-twitter{background-repeat:no-repeat;background-position:-256px -24px}.vco-storyjs .thumbnail.thumb-vimeo{background-repeat:no-repeat;background-position:-328px -48px}.vco-storyjs .thumbnail.thumb-vine{background-repeat:no-repeat;background-position:-232px -72px}.vco-storyjs .thumbnail.thumb-youtube{background-repeat:no-repeat;background-position:-328px -72px}.vco-storyjs .thumbnail.thumb-video{background-repeat:no-repeat;background-position:-328px -24px}.vco-storyjs .thumbnail.thumb-audio{background-repeat:no-repeat;background-position:-304px -24px}.vco-storyjs .thumbnail.thumb-map{background-repeat:no-repeat;background-position:-208px -48px}.vco-storyjs .thumbnail.thumb-website{background-repeat:no-repeat;background-position:-232px -24px}.vco-storyjs .thumbnail.thumb-link{background-repeat:no-repeat;background-position:-184px -72px}.vco-storyjs .thumbnail.thumb-wikipedia{background-repeat:no-repeat;background-position:-184px -48px}.vco-storyjs .thumbnail.thumb-storify{background-repeat:no-repeat;background-position:-328px -96px}.vco-storyjs .thumbnail.thumb-googleplus{background-repeat:no-repeat;background-position:-208px -72px}.vco-storyjs thumbnail.thumb-instagram{background-repeat:no-repeat;background-position:-208px -96px}.vco-storyjs thumbnail.thumb-instagram-full{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-232px -96px;width:48px;height:24px}.vco-storyjs .thumb-storify-full{height:12px;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-280px -96px;width:48px}.vco-storyjs .thumbnail-inline{width:16px;height:14px;overflow:hidden;display:inline-block;margin-right:1px;margin-left:3px;margin-top:2px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-storyjs .twitter .thumbnail-inline{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-160px -96px}.vco-storyjs .storify .thumbnail-inline{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-184px -96px}.vco-storyjs .googleplus .thumbnail-inline{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px -96px}.vco-storyjs .zFront{z-index:204}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-storyjs div.vco-loading .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-loading-icon{background-image:url(loading@2x.gif?v3.4)}.vco-storyjs div.vco-loading .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-gesture-icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-160px -160px;width:48px;height:48px}}.vco-notouch .vco-navigation .vco-toolbar .zoom-in:hover,.vco-notouch .vco-navigation .vco-toolbar .zoom-out:hover,.vco-notouch .vco-navigation .vco-toolbar .back-home:hover{color:#0bd4e3;cursor:pointer;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-navigation .timenav .content .marker.active:hover{cursor:default}.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag .flag-content h3,.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag-small .flag-content h3{color:#0bd4e3}.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag .flag-content h4,.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag-small .flag-content h4{color:#999}.vco-notouch .vco-navigation .timenav .content .marker:hover .line{z-index:24;background:#999}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{cursor:pointer}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content h3,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h3{color:#aaa}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content h4,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h4{color:#aaa}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content .thumbnail,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content .thumbnail{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{height:56px;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content{height:36px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h3{margin-top:5px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover .flag-content{height:14px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation{clear:both;cursor:move;width:100%;height:200px;border-top:1px solid #e3e3e3;position:relative}.vco-timeline .vco-navigation .vco-toolbar{position:absolute;top:45px;left:0;z-index:202;background-color:#1a1a1a;border:1px solid #333;-webkit-box-shadow:1px 1px 0 rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 0 rgba(0,0,0,0.2);box-shadow:1px 1px 0 rgba(0,0,0,0.2)}.vco-timeline .vco-navigation .vco-toolbar .zoom-in,.vco-timeline .vco-navigation .vco-toolbar .zoom-out,.vco-timeline .vco-navigation .vco-toolbar .back-home{font-weight:normal;font-size:10px;line-height:20px;top:0;z-index:202;width:18px;height:18px;color:#aaa;text-align:center;font-weight:bold;border:1px solid #1a1a1a;padding:5px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .vco-toolbar .zoom-in .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-256px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar .zoom-out .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-280px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar .back-home .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-328px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar.touch{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;background-color:transparent;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-in,.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-out,.vco-timeline .vco-navigation .vco-toolbar.touch .back-home{width:40px;height:40px;padding:5px;background-color:#1a1a1a;border:1px solid #333;-webkit-box-shadow:1px 1px 0 rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 0 rgba(0,0,0,0.2);box-shadow:1px 1px 0 rgba(0,0,0,0.2);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-in .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-out .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-256px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .vco-toolbar.touch .back-home .icon{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-304px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .timenav-background{position:absolute;cursor:move;top:0;left:0;height:150px;width:100%;background-color:#262626}.vco-timeline .vco-navigation .timenav-background .timenav-interval-background{position:absolute;top:151px;left:0;background:#1a1a1a;width:100%;height:49px;-webkit-box-shadow:-1px -1px 7px rgba(0,0,0,0.1);-moz-box-shadow:-1px -1px 7px rgba(0,0,0,0.1);box-shadow:-1px -1px 7px rgba(0,0,0,0.1)}.vco-timeline .vco-navigation .timenav-background .timenav-interval-background .top-highlight{position:absolute;top:-1px;left:0;z-index:30;width:100%;height:1px;background:#1a1a1a;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5;-webkit-box-shadow:1px 1px 5px rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 5px rgba(0,0,0,0.2);box-shadow:1px 1px 5px rgba(0,0,0,0.2)}.vco-timeline .vco-navigation .timenav-background .timenav-line{position:absolute;top:0;left:50%;width:3px;height:150px;background-color:#0bd4e3;z-index:1;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,0.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,0.3);box-shadow:1px 1px 7px rgba(0,0,0,0.3)}.vco-timeline .vco-navigation .timenav-background .timenav-indicator{position:absolute;top:-1px;left:50%;z-index:202;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-160px -48px;width:24px;height:24px}.vco-timeline .vco-navigation .timenav-background .timenav-tag div{height:50px;display:table}.vco-timeline .vco-navigation .timenav-background .timenav-tag div h3{display:table-cell;vertical-align:middle;padding-left:65px;font-size:15px;color:#0c0c0c;font-weight:bold;text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-half{height:25px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-half div{height:25px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-full{height:50px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-full div{height:50px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-2,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-4,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-6{background:#2e2e2e}.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-1,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-3,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-5{background:#262626}.vco-timeline .vco-navigation .timenav{position:absolute;top:0;left:-250px;z-index:1}.vco-timeline .vco-navigation .timenav .content{position:relative}.vco-timeline .vco-navigation .timenav .content .marker.start{display:none}.vco-timeline .vco-navigation .timenav .content .marker.active .dot{background:#0bd4e3;z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .line{z-index:199;background:#0bd4e3;width:1px}.vco-timeline .vco-navigation .timenav .content .marker.active .line .event-line{background:#0bd4e3;filter:alpha(opacity=75);-khtml-opacity:.75;-moz-opacity:.75;opacity:.75}.vco-timeline .vco-navigation .timenav .content .marker.active .flag,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small{z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content{height:36px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content h3,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content h3{color:#0bd4e3;margin-top:5px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content .thumbnail,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content .thumbnail{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row1,.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row2,.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row3,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row1,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row2,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row3{z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .flag{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content{height:14px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation .timenav .content .marker{position:absolute;top:0;left:150px;display:block}.vco-timeline .vco-navigation .timenav .content .marker .dot{position:absolute;top:150px;left:0;display:block;width:6px;height:6px;background:#aaa;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;z-index:21}.vco-timeline .vco-navigation .timenav .content .marker .line{position:absolute;top:0;left:3px;width:1px;height:150px;background-color:#333;background-color:rgba(51,51,51,0.5);-webkit-box-shadow:1px 0 0 rgba(26,26,26,0.5);-moz-box-shadow:1px 0 0 rgba(26,26,26,0.5);box-shadow:1px 0 0 rgba(26,26,26,0.5);z-index:22}.vco-timeline .vco-navigation .timenav .content .marker .line .event-line{position:absolute;z-index:22;left:0;height:1px;width:1px;background:#0bd4e3;filter:alpha(opacity=15);-khtml-opacity:.15;-moz-opacity:.15;opacity:.15}.vco-timeline .vco-navigation .timenav .content .marker .flag,.vco-timeline .vco-navigation .timenav .content .marker .flag-small{position:absolute;top:15px;left:3px;padding:0;display:block;z-index:23;width:153px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content{padding:0 7px 2px 6px;overflow:hidden}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3{font-weight:bold;font-size:15px;line-height:20px;font-size:11px;line-height:11px;color:#999;margin-bottom:2px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3 small,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3 small{display:none}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h4,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h4{display:none;font-weight:normal;font-size:15px;line-height:20px;margin-top:5px;font-size:10px;line-height:10px;color:#aaa}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h4 small,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h4 small{display:none}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content .thumbnail,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail{margin-bottom:15px;margin-right:3px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content .thumbnail img,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail img{width:22px;height:22px;max-height:none;max-width:none;border:0;border:1px solid #999;padding:0;margin:0}.vco-timeline .vco-navigation .timenav .content .marker .flag{height:56px;background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 0;width:153px;height:53px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content{height:36px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3{margin-top:5px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:0 -135px;width:153px;height:26px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content{height:14px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail{width:16px;height:10px;margin-right:1px;margin-top:6px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-plaintext{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-280px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-quote{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-232px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-document{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-256px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-photo{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-280px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-twitter{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-256px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-vimeo{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-328px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-vine{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-160px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-youtube{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-304px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-video{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-328px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-audio{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-304px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-map{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-website{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-232px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-link{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-232px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-wikipedia{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-184px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-storify{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-184px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-googleplus{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content thumbnail.thumb-instagram{background-image:url(timeline-dark.png?v3.4);background-repeat:no-repeat;background-position:-208px -96px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row1{z-index:25;top:48px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row2{z-index:24;top:96px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row3{z-index:23;top:1px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row1{z-index:28;top:24px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row2{z-index:27;top:48px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row3{z-index:26;top:72px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row4{z-index:25;top:96px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row5{z-index:24;top:120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row6{z-index:23;top:1px}.vco-timeline .vco-navigation .timenav .content .marker .flag.zFront,.vco-timeline .vco-navigation .timenav .content .marker .flag-small.zFront{z-index:201}.vco-timeline .vco-navigation .timenav .content .era{position:absolute;top:138px;left:150px;height:12px;display:block;overflow:hidden}.vco-timeline .vco-navigation .timenav .content .era div{height:50px;width:100%;height:100%;line-height:0;background:#262626;background:rgba(38,38,38,0.33)}.vco-timeline .vco-navigation .timenav .content .era div h3,.vco-timeline .vco-navigation .timenav .content .era div h4{position:absolute;bottom:1px;padding-left:15px;font-size:15px;font-weight:bold;color:rgba(11,212,227,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era1 div{background:#e31a0b;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(227,26,11,0.1);border-right:1px solid rgba(245,58,44,0.05)}.vco-timeline .vco-navigation .timenav .content .era1 div h3,.vco-timeline .vco-navigation .timenav .content .era1 div h4{color:rgba(227,26,11,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era2 div{background:#e30b68;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(227,11,104,0.1);border-right:1px solid rgba(245,44,131,0.05)}.vco-timeline .vco-navigation .timenav .content .era2 div h3,.vco-timeline .vco-navigation .timenav .content .era2 div h4{color:rgba(227,11,104,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era3 div{background:#0b68e3;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(11,104,227,0.1);border-right:1px solid rgba(44,131,245,0.05)}.vco-timeline .vco-navigation .timenav .content .era3 div h3,.vco-timeline .vco-navigation .timenav .content .era3 div h4{color:rgba(11,104,227,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era4 div{background:#e3860b;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(227,134,11,0.1);border-right:1px solid rgba(245,158,44,0.05)}.vco-timeline .vco-navigation .timenav .content .era4 div h3,.vco-timeline .vco-navigation .timenav .content .era4 div h4{color:rgba(227,134,11,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era5 div{background:#0be386;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(11,227,134,0.1);border-right:1px solid rgba(44,245,158,0.05)}.vco-timeline .vco-navigation .timenav .content .era5 div h3,.vco-timeline .vco-navigation .timenav .content .era5 div h4{color:rgba(11,227,134,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .content .era6 div{background:#0bd4e3;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(11,212,227,0.1);border-right:1px solid rgba(44,231,245,0.05)}.vco-timeline .vco-navigation .timenav .content .era6 div h3,.vco-timeline .vco-navigation .timenav .content .era6 div h4{color:rgba(11,212,227,0.35);text-shadow:0 1px 1px #727272}.vco-timeline .vco-navigation .timenav .time{position:absolute;left:0;top:150px;height:50px;background-color:#1a1a1a;line-height:0}.vco-timeline .vco-navigation .timenav .time .time-interval-minor{max-width:none;height:6px;white-space:nowrap;position:absolute;top:-2px;left:8px;z-index:10}.vco-timeline .vco-navigation .timenav .time .time-interval-minor .minor{position:relative;top:2px;display:inline-block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAMCAMAAACdvocfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFzMzM////040VdgAAAAJ0Uk5T/wDltzBKAAAAEklEQVR42mJgYAQCBopJgAADAAbwADHy2qHzAAAAAElFTkSuQmCC);width:100px;height:6px;background-position:center top;white-space:nowrap;color:#aaa;margin-top:0;padding-top:0}.vco-timeline .vco-navigation .timenav .time .time-interval{white-space:nowrap;position:absolute;top:5px;left:0}.vco-timeline .vco-navigation .timenav .time .time-interval div{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAMCAMAAACdvocfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFzMzM////040VdgAAAAJ0Uk5T/wDltzBKAAAAEklEQVR42mJgYAQCBopJgAADAAbwADHy2qHzAAAAAElFTkSuQmCC);background-position:left top;background-repeat:no-repeat;padding-top:6px;position:absolute;height:3px;left:0;display:block;font-weight:normal;font-size:10px;line-height:20px;text-transform:uppercase;text-align:left;text-indent:0;white-space:nowrap;color:#aaa;margin-left:0;margin-right:0;margin-top:0;z-index:2}.vco-timeline .vco-navigation .timenav .time .time-interval div strong{font-weight:bold;color:#fff}.vco-timeline .vco-navigation .timenav .time .time-interval div.era{font-weight:bold;padding-top:0;margin-top:-3px;margin-left:2px;background-image:none}.vco-timeline .vco-navigation .timenav .time .time-interval .era1{color:#e31a0b;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era2{color:#e30b68;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era3{color:#0b68e3;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era4{color:#e3860b;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era5{color:#0be386;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era6{color:#0bd4e3;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval-major{white-space:nowrap;position:absolute;top:5px;left:0}.vco-timeline .vco-navigation .timenav .time .time-interval-major div{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQAQMAAADtUYf0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyOTAzRjI3REIzNDcxMUUxQUQ3QUZCOThEODQ1NDhCNyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyOTAzRjI3RUIzNDcxMUUxQUQ3QUZCOThEODQ1NDhCNyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjI5MDNGMjdCQjM0NzExRTFBRDdBRkI5OEQ4NDU0OEI3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjI5MDNGMjdDQjM0NzExRTFBRDdBRkI5OEQ4NDU0OEI3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+DPWNfQAAAANQTFRFzMzMylJEJwAAAAtJREFUCB1jYMAPAAAgAAHDvpOtAAAAAElFTkSuQmCC);background-position:left top;background-repeat:no-repeat;padding-top:15px;position:absolute;height:15px;left:0;display:block;font-weight:bold;font-size:12px;line-height:20px;text-transform:uppercase;text-align:left;text-indent:0;white-space:nowrap;color:#aaa;margin-left:0;margin-right:0;margin-top:1px;z-index:5}.vco-timeline .vco-navigation .timenav .time .time-interval-major div strong{font-weight:bold;color:#fff}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-notouch .vco-navigation .vco-toolbar .zoom-in .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-256px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar .zoom-out .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-280px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar .back-home .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-328px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar.touch .zoom-in .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-208px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .vco-toolbar.touch .zoom-out .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-256px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .vco-toolbar.touch .back-home .icon{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-304px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-notouch .vco-navigation .timenav-background .timenav-indicator{background-image:url(timeline-dark@2x.png?v4.3);background-repeat:no-repeat;background-position:-160px -48px;width:24px;height:24px}} \ No newline at end of file diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 7aacb77f8..10a717e9e 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index 1bee32742..019d72cdf 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index b99e2df16..f7e80d213 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index d17b38872..4a5477c5e 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 6d53643ea..8e3bdfb1d 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index c97419b18..da09e2b09 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index 87497efc5..c3d34fc87 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index c909eebd5..19fe58053 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index 20679604c..dcb845e8f 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 568c07df9..2af6d24db 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index d76dcf492..12ec3a9ba 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index e858c555e..2e0a527a1 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 2c91a4b7b..6a698f621 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 77f563529..141b433c8 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index f19cf1be1..82d1656b1 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 29a1f4340..45264c48c 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 778f227c0..557154ca1 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index b3c1fee46..d0d99ccc2 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index 34083c38a..34e4a2c2f 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -15,4 +15,4 @@ License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/.vco-storyjs div *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6,.vco-storyjs p,.vco-storyjs blockquote,.vco-storyjs pre,.vco-storyjs a,.vco-storyjs abbr,.vco-storyjs acronym,.vco-storyjs address,.vco-storyjs cite,.vco-storyjs code,.vco-storyjs del,.vco-storyjs dfn,.vco-storyjs em,.vco-storyjs img,.vco-storyjs q,.vco-storyjs s,.vco-storyjs samp,.vco-storyjs small,.vco-storyjs strike,.vco-storyjs strong,.vco-storyjs sub,.vco-storyjs sup,.vco-storyjs tt,.vco-storyjs var,.vco-storyjs dd,.vco-storyjs dl,.vco-storyjs dt,.vco-storyjs li,.vco-storyjs ol,.vco-storyjs ul,.vco-storyjs fieldset,.vco-storyjs form,.vco-storyjs label,.vco-storyjs legend,.vco-storyjs button,.vco-storyjs table,.vco-storyjs caption,.vco-storyjs tbody,.vco-storyjs tfoot,.vco-storyjs thead,.vco-storyjs tr,.vco-storyjs th,.vco-storyjs td,.vco-storyjs .vco-container,.vco-storyjs .content-container,.vco-storyjs .media,.vco-storyjs .text,.vco-storyjs .vco-slider,.vco-storyjs .slider,.vco-storyjs .date,.vco-storyjs .title,.vco-storyjs .messege,.vco-storyjs .map,.vco-storyjs .credit,.vco-storyjs .caption,.vco-storyjs .vco-feedback,.vco-storyjs .vco-feature,.vco-storyjs .toolbar,.vco-storyjs .marker,.vco-storyjs .dot,.vco-storyjs .line,.vco-storyjs .flag,.vco-storyjs .time,.vco-storyjs .era,.vco-storyjs .major,.vco-storyjs .minor,.vco-storyjs .vco-navigation,.vco-storyjs .start,.vco-storyjs .active{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;font-size:100%;line-height:1;font-family:inherit;width:auto;float:none}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{clear:none}.vco-storyjs table{border-collapse:collapse;border-spacing:0}.vco-storyjs ol,.vco-storyjs ul{list-style:none}.vco-storyjs q:before,.vco-storyjs q:after,.vco-storyjs blockquote:before,.vco-storyjs blockquote:after{content:""}.vco-storyjs a:focus{outline:thin dotted}.vco-storyjs a:hover,.vco-storyjs a:active{outline:0}.vco-storyjs article,.vco-storyjs aside,.vco-storyjs details,.vco-storyjs figcaption,.vco-storyjs figure,.vco-storyjs footer,.vco-storyjs header,.vco-storyjs hgroup,.vco-storyjs nav,.vco-storyjs section{display:block}.vco-storyjs audio,.vco-storyjs canvas,.vco-storyjs video{display:inline-block;*display:inline;*zoom:1}.vco-storyjs audio:not([controls]){display:none}.vco-storyjs div{max-width:none}.vco-storyjs sub,.vco-storyjs sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.vco-storyjs sup{top:-0.5em}.vco-storyjs sub{bottom:-0.25em}.vco-storyjs img{border:0;-ms-interpolation-mode:bicubic}.vco-storyjs button,.vco-storyjs input,.vco-storyjs select,.vco-storyjs textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.vco-storyjs button,.vco-storyjs input{line-height:normal;*overflow:visible}.vco-storyjs button::-moz-focus-inner,.vco-storyjs input::-moz-focus-inner{border:0;padding:0}.vco-storyjs button,.vco-storyjs input[type="button"],.vco-storyjs input[type="reset"],.vco-storyjs input[type="submit"]{cursor:pointer;-webkit-appearance:button}.vco-storyjs input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}.vco-storyjs textarea{overflow:auto;vertical-align:top}.vco-storyjs{font-family:"Georgia",Times New Roman,Times,serif}.vco-storyjs .twitter,.vco-storyjs .vcard,.vco-storyjs .messege,.vco-storyjs .credit,.vco-storyjs .caption,.vco-storyjs .zoom-in,.vco-storyjs .zoom-out,.vco-storyjs .back-home,.vco-storyjs .time-interval div,.vco-storyjs .time-interval-major div,.vco-storyjs .nav-container{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs h1.date,.vco-storyjs h2.date,.vco-storyjs h3.date,.vco-storyjs h4.date,.vco-storyjs h5.date,.vco-storyjs h6.date{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs .timenav h1,.vco-storyjs .flag-content h1,.vco-storyjs .era h1,.vco-storyjs .timenav h2,.vco-storyjs .flag-content h2,.vco-storyjs .era h2,.vco-storyjs .timenav h3,.vco-storyjs .flag-content h3,.vco-storyjs .era h3,.vco-storyjs .timenav h4,.vco-storyjs .flag-content h4,.vco-storyjs .era h4,.vco-storyjs .timenav h5,.vco-storyjs .flag-content h5,.vco-storyjs .era h5,.vco-storyjs .timenav h6,.vco-storyjs .flag-content h6,.vco-storyjs .era h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs p,.vco-storyjs blockquote,.vco-storyjs blockquote p,.vco-storyjs .twitter blockquote p{font-family:"Georgia",Times New Roman,Times,serif !important}.vco-storyjs .vco-feature h1,.vco-storyjs .vco-feature h2,.vco-storyjs .vco-feature h3,.vco-storyjs .vco-feature h4,.vco-storyjs .vco-feature h5,.vco-storyjs .vco-feature h6{font-family:"Georgia",Times New Roman,Times,serif}.timeline-tooltip{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.vco-storyjs{font-size:15px;font-weight:normal;line-height:20px;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}.vco-storyjs p{font-size:15px;font-weight:normal;line-height:20px;margin-bottom:20px;color:#666}.vco-storyjs p small{font-size:12px;line-height:17px}.vco-storyjs p:first-child{margin-top:20px}.vco-storyjs .vco-navigation p{color:#999}.vco-storyjs .vco-feature h3,.vco-storyjs .vco-feature h4,.vco-storyjs .vco-feature h5,.vco-storyjs .vco-feature h6{margin-bottom:15px}.vco-storyjs .vco-feature p{color:#666}.vco-storyjs .vco-feature blockquote,.vco-storyjs .vco-feature blockquote p{color:#000}.vco-storyjs .date a,.vco-storyjs .title a{color:#999}.vco-storyjs .hyphenate{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{font-weight:normal;color:#000;text-transform:none}.vco-storyjs h1 a,.vco-storyjs h2 a,.vco-storyjs h3 a,.vco-storyjs h4 a,.vco-storyjs h5 a,.vco-storyjs h6 a{color:#999}.vco-storyjs h1 small,.vco-storyjs h2 small,.vco-storyjs h3 small,.vco-storyjs h4 small,.vco-storyjs h5 small,.vco-storyjs h6 small{color:#999}.vco-storyjs h1.date,.vco-storyjs h2.date,.vco-storyjs h3.date,.vco-storyjs h4.date,.vco-storyjs h5.date,.vco-storyjs h6.date{font-weight:bold}.vco-storyjs h2.start{font-size:36px;line-height:38px;margin-bottom:15px}.vco-storyjs h1{margin-bottom:15px;font-size:32px;line-height:34px}.vco-storyjs h1 small{font-size:18px}.vco-storyjs h2{margin-bottom:15px;font-size:28px;line-height:30px}.vco-storyjs h2 small{font-size:14px;line-height:16px}.vco-storyjs h2.date{font-size:16px;line-height:18px;margin-bottom:3.75px;color:#999}.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{line-height:40px}.vco-storyjs h3 .active,.vco-storyjs h4 .active,.vco-storyjs h5 .active,.vco-storyjs h6 .active{color:#08c}.vco-storyjs h3{font-size:28px;line-height:30px}.vco-storyjs h3 small{font-size:14px}.vco-storyjs h4{font-size:20px;line-height:22px}.vco-storyjs h4 small{font-size:12px}.vco-storyjs h5{font-size:16px;line-height:18px}.vco-storyjs h6{font-size:13px;line-height:14px;text-transform:uppercase}.vco-storyjs strong{font-weight:bold;font-style:inherit}.vco-storyjs em{font-style:italic;font-weight:inherit}.vco-storyjs Q{quotes:'„' '“';font-style:italic}.vco-storyjs blockquote,.vco-storyjs blockquote p{font-size:24px;line-height:32px;text-align:left;margin-bottom:6px;padding-top:10px;background-color:#fff;color:#000}.vco-storyjs .credit{color:#999;text-align:right;font-size:10px;line-height:10px;display:block;margin:0 auto;clear:both}.vco-storyjs .caption{text-align:left;margin-top:5px;color:#666;font-size:11px;line-height:14px;clear:both}.vco-storyjs.vco-right-to-left h1,.vco-storyjs.vco-right-to-left h2,.vco-storyjs.vco-right-to-left h3,.vco-storyjs.vco-right-to-left h4,.vco-storyjs.vco-right-to-left h5,.vco-storyjs.vco-right-to-left h6,.vco-storyjs.vco-right-to-left p,.vco-storyjs.vco-right-to-left blockquote,.vco-storyjs.vco-right-to-left pre,.vco-storyjs.vco-right-to-left a,.vco-storyjs.vco-right-to-left abbr,.vco-storyjs.vco-right-to-left acronym,.vco-storyjs.vco-right-to-left address,.vco-storyjs.vco-right-to-left cite,.vco-storyjs.vco-right-to-left code,.vco-storyjs.vco-right-to-left del,.vco-storyjs.vco-right-to-left dfn,.vco-storyjs.vco-right-to-left em,.vco-storyjs.vco-right-to-left img,.vco-storyjs.vco-right-to-left q,.vco-storyjs.vco-right-to-left s,.vco-storyjs.vco-right-to-left samp,.vco-storyjs.vco-right-to-left small,.vco-storyjs.vco-right-to-left strike,.vco-storyjs.vco-right-to-left strong,.vco-storyjs.vco-right-to-left sub,.vco-storyjs.vco-right-to-left sup,.vco-storyjs.vco-right-to-left tt,.vco-storyjs.vco-right-to-left var,.vco-storyjs.vco-right-to-left dd,.vco-storyjs.vco-right-to-left dl,.vco-storyjs.vco-right-to-left dt,.vco-storyjs.vco-right-to-left li,.vco-storyjs.vco-right-to-left ol,.vco-storyjs.vco-right-to-left ul,.vco-storyjs.vco-right-to-left fieldset,.vco-storyjs.vco-right-to-left form,.vco-storyjs.vco-right-to-left label,.vco-storyjs.vco-right-to-left legend,.vco-storyjs.vco-right-to-left button,.vco-storyjs.vco-right-to-left table,.vco-storyjs.vco-right-to-left caption,.vco-storyjs.vco-right-to-left tbody,.vco-storyjs.vco-right-to-left tfoot,.vco-storyjs.vco-right-to-left thead,.vco-storyjs.vco-right-to-left tr,.vco-storyjs.vco-right-to-left th,.vco-storyjs.vco-right-to-left td{direction:rtl}.timeline-tooltip{position:absolute;z-index:205;display:block;visibility:visible;padding:5px;opacity:0;filter:alpha(opacity=0);font-size:15px;font-weight:bold;line-height:20px;font-size:12px;line-height:12px}.timeline-tooltip.in{opacity:.8;filter:alpha(opacity=80)}.timeline-tooltip.top{margin-top:-2px}.timeline-tooltip.right{margin-left:2px}.timeline-tooltip.bottom{margin-top:2px}.timeline-tooltip.left{margin-left:-2px}.timeline-tooltip.top .timeline-tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000}.timeline-tooltip.left .timeline-tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000}.timeline-tooltip.bottom .timeline-tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000}.timeline-tooltip.right .timeline-tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000}.timeline-tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.timeline-tooltip-arrow{position:absolute;width:0;height:0}.fancybox-wrap,.fancybox-skin,.fancybox-outer,.fancybox-inner,.fancybox-image,.fancybox-wrap iframe,.fancybox-wrap object,.fancybox-nav,.fancybox-nav span,.fancybox-tmp{padding:0;margin:0;border:0;outline:none;vertical-align:top}.fancybox-wrap{position:absolute;top:0;left:0;z-index:8020}.fancybox-skin{position:relative;background:#fff;color:#444;text-shadow:none}.fancybox-opened{z-index:8030}.fancybox-opened .fancybox-skin{-webkit-box-shadow:1px 1px 10px rgba(0,0,0,0.5);-moz-box-shadow:1px 1px 10px rgba(0,0,0,0.5);box-shadow:1px 1px 10px rgba(0,0,0,0.5)}.fancybox-outer,.fancybox-inner{position:relative}.fancybox-inner{overflow:hidden}.fancybox-type-iframe .fancybox-inner{-webkit-overflow-scrolling:touch}.fancybox-error{color:#444;font:14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;padding:15px;white-space:nowrap}.fancybox-image,.fancybox-iframe{display:block;width:100%;height:100%}.fancybox-image{max-width:100%;max-height:100%}.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url('fancybox_sprite.png')}#fancybox-loading{position:fixed;top:50%;left:50%;margin-top:-14px;margin-left:-14px;background-position:0 -108px;opacity:.8;cursor:pointer;z-index:8060}#fancybox-loading div{width:28px;height:28px;background:url('loading.gif') center center no-repeat}.fancybox-close{position:absolute;top:-18px;right:-18px;width:36px;height:36px;cursor:pointer;z-index:8040}.fancybox-nav{position:absolute;top:0;width:40%;height:100%;cursor:pointer;text-decoration:none;background:transparent url('blank.gif');-webkit-tap-highlight-color:rgba(0,0,0,0);z-index:8040}.fancybox-prev{left:0}.fancybox-next{right:0}.fancybox-nav span{position:absolute;top:50%;width:36px;height:34px;margin-top:-18px;cursor:pointer;z-index:8040;visibility:hidden}.fancybox-prev span{left:10px;background-position:0 -36px}.fancybox-next span{right:10px;background-position:0 -72px}.fancybox-nav:hover span{visibility:visible}.fancybox-tmp{position:absolute;top:-99999px;left:-99999px;visibility:hidden;max-width:99999px;max-height:99999px;overflow:visible !important}.fancybox-lock{overflow:hidden !important;width:auto}.fancybox-lock body{overflow:hidden !important}.fancybox-lock-test{overflow-y:hidden !important}.fancybox-overlay{position:absolute;top:0;left:0;overflow:hidden;display:none;z-index:8010;background:url('overlay.png')}.fancybox-overlay-fixed{position:fixed;bottom:0;right:0}.fancybox-lock .fancybox-overlay{overflow:auto;overflow-y:scroll}.fancybox-title{visibility:hidden;font:normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;position:relative;text-shadow:none;z-index:8050}.fancybox-opened .fancybox-title{visibility:visible}.fancybox-title-float-wrap{position:absolute;bottom:0;right:50%;margin-bottom:-35px;z-index:8050;text-align:center}.fancybox-title-float-wrap .child{display:inline-block;margin-right:-100%;padding:2px 20px;background:transparent;background:rgba(0,0,0,0.8);-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;text-shadow:0 1px 2px #222;color:#fff;font-weight:bold;line-height:24px;white-space:nowrap}.fancybox-title-outside-wrap{position:relative;margin-top:10px;color:#fff}.fancybox-title-inside-wrap{padding-top:10px}.fancybox-title-over-wrap{position:absolute;bottom:0;left:0;color:#fff;padding:10px;background:#000;background:rgba(0,0,0,0.8)}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){#fancybox-loading,.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url('fancybox_sprite@2x.png');background-size:44px 152px}#fancybox-loading div{background-image:url('loading@2x.gif');background-size:24px 24px}}@media only screen and (max-width:480px),only screen and (max-device-width:480px){.vco-slider .nav-next,.vco-slider .nav-previous{display:none}}.vco-skinny .vco-slider .slider-item .content .layout-text-media .text .container{text-align:center !important}.vco-skinny .vco-slider .slider-item .content .layout-text-media h2,.vco-skinny .vco-slider .slider-item .content .layout-text-media h3{display:block !important;width:100% !important;text-align:center !important}.vco-skinny .vco-slider .slider-item .content .content-container{display:block}.vco-skinny .vco-slider .slider-item .content .content-container .text{width:100%;max-width:100%;min-width:120px;display:block}.vco-skinny .vco-slider .slider-item .content .content-container .text .container{display:block;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-skinny .vco-slider .slider-item .content .content-container .media{width:100%;min-width:50%;float:none}.vco-skinny .vco-slider .slider-item .content .content-container .media .media-wrapper{margin-left:0;margin-right:0;width:100%;display:block}.vco-skinny.vco-notouch .vco-slider .nav-previous,.vco-skinny.vco-notouch .vco-slider .nav-next{z-index:203}.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .title{filter:alpha(opacity=1);-khtml-opacity:.01;-moz-opacity:.01;opacity:.01}.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .icon{filter:alpha(opacity=15);-khtml-opacity:.15;-moz-opacity:.15;opacity:.15}.vco-skinny.vco-notouch .vco-slider .nav-previous .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px 0;width:24px;height:24px;overflow:hidden;margin-left:10px}.vco-skinny.vco-notouch .vco-slider .nav-next .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-232px 0;width:24px;height:24px;overflow:hidden;margin-left:66px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover,.vco-skinny.vco-notouch .vco-slider .nav-next:hover{color:#aaa !important;background-color:#333;background-color:rgba(0,0,0,0.65);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;font-weight:bold;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{padding-bottom:5px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{padding-left:5px;padding-right:5px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-skinny.vco-notouch .vco-slider .nav-previous .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-208px 0;width:24px;height:24px;overflow:hidden}.vco-skinny.vco-notouch .vco-slider .nav-next .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-232px 0;width:24px;height:24px;overflow:hidden}}.vco-slider{width:100%;height:100%;overflow:hidden}.vco-slider .slider-container-mask{text-align:center;width:100%;height:100%;overflow:hidden}.vco-slider .slider-container-mask .slider-container{position:absolute;top:0;left:-2160px;width:100%;height:100%;text-align:center;display:block}.vco-slider .slider-container-mask .slider-container .slider-item-container{display:table-cell;vertical-align:middle}.vco-notouch .vco-slider .nav-previous:hover,.vco-notouch .vco-slider .nav-next:hover{color:#333;cursor:pointer}.vco-notouch .vco-slider .nav-previous:hover .icon{margin-left:10px}.vco-notouch .vco-slider .nav-next:hover .icon{margin-left:66px}.vco-notouch .vco-slider .slider-item .content .content-container .media .media-container .wikipedia h4 a:hover{color:#08c;text-decoration:none}.vco-notouch .vco-slider .slider-item .content .content-container .created-at:hover{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments a:hover{text-decoration:none}.vco-notouch .vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments a:hover h5{text-decoration:underline}.vco-slider img,.vco-slider embed,.vco-slider object,.vco-slider video,.vco-slider iframe{max-width:100%}.vco-slider .nav-previous,.vco-slider .nav-next{position:absolute;top:0;width:100px;color:#dbdbdb;font-size:11px}.vco-slider .nav-previous .nav-container,.vco-slider .nav-next .nav-container{height:100px;width:100px;position:absolute}.vco-slider .nav-previous .icon,.vco-slider .nav-next .icon{margin-top:12px;margin-bottom:15px}.vco-slider .nav-previous .date,.vco-slider .nav-next .date,.vco-slider .nav-previous .title,.vco-slider .nav-next .title{line-height:14px}.vco-slider .nav-previous .date a,.vco-slider .nav-next .date a,.vco-slider .nav-previous .title a,.vco-slider .nav-next .title a{color:#999}.vco-slider .nav-previous .date small,.vco-slider .nav-next .date small,.vco-slider .nav-previous .title small,.vco-slider .nav-next .title small{display:none}.vco-slider .nav-previous .date,.vco-slider .nav-next .date{font-size:13px;line-height:13px;font-weight:bold;text-transform:uppercase;margin-bottom:5px}.vco-slider .nav-previous .title,.vco-slider .nav-next .title{font-size:11px;line-height:13px}.vco-slider .nav-previous{float:left;text-align:left}.vco-slider .nav-previous .icon{margin-left:15px;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-160px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-previous .date,.vco-slider .nav-previous .title{text-align:left;padding-left:15px}.vco-slider .nav-next{float:right;text-align:right}.vco-slider .nav-next .icon{margin-left:61px;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-184px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-next .date,.vco-slider .nav-next .title{text-align:right;padding-right:15px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-slider .nav-previous .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-160px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-next .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-184px 0;width:24px;height:24px;overflow:hidden}}.vco-slider .slider-item{position:absolute;width:700px;height:100%;padding:0;margin:0;display:table;overflow-y:auto}.vco-slider .slider-item .content{display:table-cell;vertical-align:middle}.vco-slider .slider-item .content .pad-top .text .container{padding-top:15px}.vco-slider .slider-item .content .pad-right .text .container{padding-right:15px}.vco-slider .slider-item .content .pad-left .text .container{padding-left:30px}.vco-slider .slider-item .content .pad-left .media.text-media .media-wrapper .media-container{border:none;background-color:#fff}.vco-slider .slider-item .content .content-container{display:table;vertical-align:middle}.vco-slider .slider-item .content .content-container .text{width:40%;max-width:50%;min-width:120px;display:table-cell;vertical-align:middle}.vco-slider .slider-item .content .content-container .text .container{display:table-cell;vertical-align:middle;text-align:left}.vco-slider .slider-item .content .content-container .text .container p{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-slider .slider-item .content .content-container .text .container h2.date{font-size:15px;line-height:15px;font-weight:normal}.vco-slider .slider-item .content .content-container .text .container .slide-tag{font-size:11px;font-weight:bold;color:#fff;background-color:#ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;vertical-align:baseline;white-space:nowrap;line-height:11px;padding:1px 3px 1px;margin-left:7.5px;margin-bottom:7.5px}.vco-slider .slider-item .content .content-container .media{width:100%;min-width:50%;float:left}.vco-slider .slider-item .content .content-container .media .media-wrapper{display:inline-block;margin-left:auto;margin-right:auto}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container{display:inline-block;line-height:0;padding:0;max-height:100%}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-frame,.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-image img{border:1px solid;border-color:#ccc #999 #999 #ccc;background-color:#fff}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-frame iframe{background-color:#fff}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .soundcloud{border:0}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-image{display:inline-block}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow{position:relative;z-index:1;background:#fff}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow:before,.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow:after{z-index:-1;position:absolute;content:"";bottom:15px;left:10px;width:50%;top:80%;max-width:300px;background:#999;-webkit-box-shadow:0 15px 10px #999;-moz-box-shadow:0 15px 10px #999;box-shadow:0 15px 10px #999;-webkit-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-ms-transform:rotate(-2deg);-o-transform:rotate(-2deg);transform:rotate(-2deg)}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow::after{-webkit-transform:rotate(2deg);-moz-transform:rotate(2deg);-ms-transform:rotate(2deg);-o-transform:rotate(2deg);transform:rotate(2deg);right:10px;left:auto}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text{display:table}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text .container{display:table-cell;vertical-align:middle;font-size:15px;line-height:20px;color:#666}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text .container p{margin-bottom:20px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia{font-size:15px;line-height:20px;text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia .wiki-source{margin-bottom:15px;font-size:13px;line-height:19px;font-style:italic}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4{border-bottom:1px solid #ccc;margin-bottom:5px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4 a{color:#000}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia p{font-size:13px;line-height:19px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map{line-height:normal;z-index:200;text-align:left;background-color:#fff}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map img{max-height:none !important;max-width:none !important;border:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .google-map{height:100%;width:100%}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution{position:absolute;z-index:201;bottom:0;width:100%;overflow:hidden}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution .attribution-text{height:19px;overflow:hidden;-webkit-user-select:none;line-height:19px;margin-right:60px;padding-left:65px;font-family:Arial,sans-serif;font-size:10px;color:#444;white-space:nowrap;color:#fff;text-shadow:1px 1px 1px #333;text-align:center}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution .attribution-text a{color:#fff !important}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .credit{color:#999;text-align:right;display:block;margin:0 auto;margin-top:6px;font-size:10px;line-height:13px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .caption{text-align:left;margin-top:10px;color:#666;font-size:11px;line-height:14px;text-rendering:optimizeLegibility;word-wrap:break-word}.vco-slider .slider-item .content .content-container .media.text-media .media-wrapper .media-container{border:none;background-color:#fff}.vco-slider .slider-item .content .content-container .created-at{width:24px;height:24px;overflow:hidden;margin-left:7.5px;margin-top:2px;display:inline-block;float:right;filter:alpha(opacity=25);-khtml-opacity:.25;-moz-opacity:.25;opacity:.25}.vco-slider .slider-item .content .content-container .storify .created-at{background-repeat:no-repeat;background-position:-328px -96px}.vco-slider .slider-item .content .content-container .twitter .created-at{background-repeat:no-repeat;background-position:-256px -24px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content{font-size:13px;line-height:19px;margin-bottom:6px;padding-top:10px;background-color:#fff;color:#666}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content p{font-size:13px;line-height:19px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-title{font-size:24px;line-height:32px;margin-bottom:6px;padding-top:10px;background-color:#fff;color:#000}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-annotation{font-size:15px;line-height:20px;color:#000;border-bottom:1px solid #e3e3e3;padding-bottom:7.5px;margin-bottom:7.5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments{border-top:1px solid #e3e3e3;padding-top:15px;margin-top:15px;border-bottom:1px solid #e3e3e3;padding-bottom:15px;margin-bottom:15px;*zoom:1}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:before,.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:after{display:table;content:""}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:after{clear:both}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments h5{margin-bottom:5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments div{width:50%;padding-left:15px;display:inline-block}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments p{font-size:11px;line-height:14px;margin-bottom:5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments img{float:left;display:block;bottom:0;left:0;margin:auto;position:relative;right:0;top:0;width:40%}.vco-slider .slider-item .content .content-container .googleplus .proflinkPrefix{color:#08c}.vco-slider .slider-item .content .content-container .googleplus .created-at{background-repeat:no-repeat;background-position:-208px -72px}.vco-slider .slider-item .content .content-container .twitter,.vco-slider .slider-item .content .content-container .plain-text-quote,.vco-slider .slider-item .content .content-container .storify,.vco-slider .slider-item .content .content-container .googleplus{text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both}.vco-slider .slider-item .content .content-container .twitter blockquote,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote,.vco-slider .slider-item .content .content-container .storify blockquote,.vco-slider .slider-item .content .content-container .googleplus blockquote{color:#666}.vco-slider .slider-item .content .content-container .twitter blockquote p,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote p,.vco-slider .slider-item .content .content-container .storify blockquote p,.vco-slider .slider-item .content .content-container .googleplus blockquote p{font-size:24px;line-height:32px;margin-bottom:6px;padding-top:10px;background-color:#fff;color:#000}.vco-slider .slider-item .content .content-container .twitter blockquote .quote-mark,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote .quote-mark,.vco-slider .slider-item .content .content-container .storify blockquote .quote-mark,.vco-slider .slider-item .content .content-container .googleplus blockquote .quote-mark{color:#666}.vco-slider .slider-item .content .content-container .twitter blockquote{font-size:15px}.vco-slider .slider-item .content .content-container .twitter blockquote p{font-size:24px}.vco-slider .slider-item .content .content-container.layout-text-media .text-media{border-top:1px solid #e3e3e3;padding-top:15px;padding-right:0}.vco-slider .slider-item .content .content-container.layout-text-media.pad-left .text-media{padding-right:15px;padding-top:0;border-right:1px solid #e3e3e3;border-top:0 solid #e3e3e3}.vco-slider .slider-item .content .content-container.layout-text{width:100%}.vco-slider .slider-item .content .content-container.layout-text .text{width:100%;max-width:100%}.vco-slider .slider-item .content .content-container.layout-text .text .container{display:block;vertical-align:middle;padding:0;width:90%;text-align:left;margin-left:auto;margin-right:auto}.vco-slider .slider-item .content .content-container.layout-media{width:100%}.vco-slider .slider-item .content .content-container.layout-media .text{width:100%;height:100%;max-width:100%;display:block;text-align:center}.vco-slider .slider-item .content .content-container.layout-media .text .container{display:block;text-align:center;width:100%;margin-left:none;margin-right:none}.vco-slider .slider-item .content .content-container.layout-media .media{width:100%;min-width:50%;float:none}.vco-slider .slider-item .content .content-container.layout-media .media .media-wrapper .media-container{margin-left:auto;margin-right:auto;line-height:0;padding:0}.vco-slider .slider-item .content .content-container.layout-media .twitter,.vco-slider .slider-item .content .content-container.layout-media .wikipedia,.vco-slider .slider-item .content .content-container.layout-media .googleplus{max-width:70%}.storyjs-embed{background-color:#fff;margin-bottom:20px;border:1px solid #ccc;padding-top:20px;padding-bottom:20px;clear:both;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.35);-moz-box-shadow:1px 1px 3px rgba(0,0,0,0.35);box-shadow:1px 1px 3px rgba(0,0,0,0.35)}.storyjs-embed.full-embed{overflow:hidden;border:0 !important;padding:0 !important;margin:0 !important;clear:both;-webkit-border-radius:0 !important;-moz-border-radius:0 !important;border-radius:0 !important;-webkit-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;-moz-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;box-shadow:0 0 0 rgba(0,0,0,0.25) !important}.storyjs-embed.sized-embed{overflow:hidden;border:1px solid #ccc;padding-top:7px;padding-bottom:7px;margin:0 !important;clear:both;-webkit-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;-moz-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;box-shadow:0 0 0 rgba(0,0,0,0.25) !important}.vco-storyjs{width:100%;height:100%;padding:0;margin:0;background-color:#fff;position:absolute;z-index:100;clear:both;overflow:hidden}.vco-storyjs .vmm-clear:before,.vco-storyjs .vmm-clear:after{content:"";display:table}.vco-storyjs .vmm-clear:after{clear:both}.vco-storyjs .vmm-clear{*zoom:1}.vco-storyjs .vco-feature{width:100%}.vco-storyjs .vco-feature .slider,.vco-storyjs .vco-feature .vco-slider{width:100%;float:left;position:relative;z-index:10;padding-top:15px;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,0.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,0.3);box-shadow:1px 1px 7px rgba(0,0,0,0.3)}.vco-storyjs .vco-feedback{position:absolute;display:table;overflow:hidden;top:0;left:0;z-index:205;width:100%;height:100%}.vco-storyjs div.vco-loading,.vco-storyjs div.vco-explainer{display:table;text-align:center;min-width:100px;margin-top:15px;height:100%;width:100%;background-color:#fff}.vco-storyjs div.vco-loading .vco-loading-container,.vco-storyjs div.vco-explainer .vco-loading-container,.vco-storyjs div.vco-loading .vco-explainer-container,.vco-storyjs div.vco-explainer .vco-explainer-container{display:table-cell;vertical-align:middle}.vco-storyjs div.vco-loading .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-loading-icon{display:block;background-repeat:no-repeat;vertical-align:middle;margin-left:auto;margin-right:auto;text-align:center;background-image:url(loading.gif?v3.4);width:28px;height:28px}.vco-storyjs div.vco-loading .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-gesture-icon{display:block;vertical-align:middle;margin-left:auto;margin-right:auto;text-align:center;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-160px -160px;width:48px;height:48px}.vco-storyjs div.vco-loading .vco-loading-container .vco-message,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message{display:block}.vco-storyjs div.vco-loading .vco-loading-container .vco-message,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message,.vco-storyjs div.vco-loading .vco-loading-container .vco-message p,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message p,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message p,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message p{text-align:center;font-size:11px;line-height:13px;text-transform:uppercase;margin-top:7.5px;margin-bottom:7.5px}.vco-storyjs div.vco-explainer{background-color:transparent}.vco-storyjs .vco-bezel{background-color:#333;background-color:rgba(0,0,0,0.8);width:80px;height:50px;padding:50px;padding-top:25px;padding:25px 20px 50px 20px;margin:auto;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.vco-storyjs .vco-bezel .vco-message,.vco-storyjs .vco-bezel .vco-message p{color:#fff;font-weight:bold}.vco-storyjs .vco-container.vco-main{position:absolute;top:0;left:0;padding-bottom:3px;width:auto;height:auto;margin:0;clear:both}.vco-storyjs img,.vco-storyjs embed,.vco-storyjs object,.vco-storyjs video,.vco-storyjs iframe{max-width:100%}.vco-storyjs img{max-height:100%;border:1px solid #999}.vco-storyjs a{color:#08c;text-decoration:none}.vco-storyjs a:hover{color:#005580;text-decoration:underline}.vco-storyjs .vcard{float:right;margin-bottom:15px}.vco-storyjs .vcard a{color:#333}.vco-storyjs .vcard a:hover{text-decoration:none}.vco-storyjs .vcard a:hover .fn{text-decoration:underline}.vco-storyjs .vcard .fn,.vco-storyjs .vcard .nickname{padding-left:42px}.vco-storyjs .vcard .fn{display:block;font-weight:bold}.vco-storyjs .vcard .nickname{margin-top:1px;display:block;color:#666}.vco-storyjs .vcard .avatar{float:left;display:block;width:32px;height:32px}.vco-storyjs .vcard .avatar img{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.vco-storyjs .thumbnail{width:24px;height:24px;overflow:hidden;float:left;margin:0;margin-right:1px;margin-top:6px;border:0;padding:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-storyjs a.thumbnail:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-storyjs .thumbnail.thumb-plaintext{background-repeat:no-repeat;background-position:-280px -48px}.vco-storyjs .thumbnail.thumb-quote{background-repeat:no-repeat;background-position:-232px -48px}.vco-storyjs .thumbnail.thumb-document{background-repeat:no-repeat;background-position:-256px -48px}.vco-storyjs .thumbnail.thumb-photo{background-repeat:no-repeat;background-position:-280px -24px;border:0}.vco-storyjs .thumbnail.thumb-photo img{border:0 none #ccc !important}.vco-storyjs .thumbnail.thumb-twitter{background-repeat:no-repeat;background-position:-256px -24px}.vco-storyjs .thumbnail.thumb-vimeo{background-repeat:no-repeat;background-position:-328px -48px}.vco-storyjs .thumbnail.thumb-vine{background-repeat:no-repeat;background-position:-232px -72px}.vco-storyjs .thumbnail.thumb-youtube{background-repeat:no-repeat;background-position:-328px -72px}.vco-storyjs .thumbnail.thumb-video{background-repeat:no-repeat;background-position:-328px -24px}.vco-storyjs .thumbnail.thumb-audio{background-repeat:no-repeat;background-position:-304px -24px}.vco-storyjs .thumbnail.thumb-map{background-repeat:no-repeat;background-position:-208px -48px}.vco-storyjs .thumbnail.thumb-website{background-repeat:no-repeat;background-position:-232px -24px}.vco-storyjs .thumbnail.thumb-link{background-repeat:no-repeat;background-position:-184px -72px}.vco-storyjs .thumbnail.thumb-wikipedia{background-repeat:no-repeat;background-position:-184px -48px}.vco-storyjs .thumbnail.thumb-storify{background-repeat:no-repeat;background-position:-328px -96px}.vco-storyjs .thumbnail.thumb-googleplus{background-repeat:no-repeat;background-position:-208px -72px}.vco-storyjs thumbnail.thumb-instagram{background-repeat:no-repeat;background-position:-208px -96px}.vco-storyjs thumbnail.thumb-instagram-full{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-232px -96px;width:48px;height:24px}.vco-storyjs .thumb-storify-full{height:12px;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-280px -96px;width:48px}.vco-storyjs .thumbnail-inline{width:16px;height:14px;overflow:hidden;display:inline-block;margin-right:1px;margin-left:3px;margin-top:2px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-storyjs .twitter .thumbnail-inline{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-160px -96px}.vco-storyjs .storify .thumbnail-inline{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-184px -96px}.vco-storyjs .googleplus .thumbnail-inline{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px -96px}.vco-storyjs .zFront{z-index:204}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-storyjs div.vco-loading .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-loading-icon{background-image:url(loading@2x.gif?v3.4)}.vco-storyjs div.vco-loading .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-gesture-icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-160px -160px;width:48px;height:48px}}.vco-notouch .vco-navigation .vco-toolbar .zoom-in:hover,.vco-notouch .vco-navigation .vco-toolbar .zoom-out:hover,.vco-notouch .vco-navigation .vco-toolbar .back-home:hover{color:#08c;cursor:pointer;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-navigation .timenav .content .marker.active:hover{cursor:default}.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag .flag-content h3,.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag-small .flag-content h3{color:#08c}.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag .flag-content h4,.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag-small .flag-content h4{color:#999}.vco-notouch .vco-navigation .timenav .content .marker:hover .line{z-index:24;background:#999}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{cursor:pointer}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content h3,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h3{color:#333}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content h4,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h4{color:#aaa}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content .thumbnail,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content .thumbnail{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{height:56px;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content{height:36px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h3{margin-top:5px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover .flag-content{height:14px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation{clear:both;cursor:move;width:100%;height:200px;border-top:1px solid #e3e3e3;position:relative}.vco-timeline .vco-navigation .vco-toolbar{position:absolute;top:45px;left:0;z-index:202;background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:1px 1px 0 rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 0 rgba(0,0,0,0.2);box-shadow:1px 1px 0 rgba(0,0,0,0.2)}.vco-timeline .vco-navigation .vco-toolbar .zoom-in,.vco-timeline .vco-navigation .vco-toolbar .zoom-out,.vco-timeline .vco-navigation .vco-toolbar .back-home{font-weight:normal;font-size:10px;line-height:20px;top:0;z-index:202;width:18px;height:18px;color:#333;text-align:center;font-weight:bold;border:1px solid #fff;padding:5px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .vco-toolbar .zoom-in .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-256px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar .zoom-out .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-280px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar .back-home .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-328px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar.touch{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;background-color:transparent;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-in,.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-out,.vco-timeline .vco-navigation .vco-toolbar.touch .back-home{width:40px;height:40px;padding:5px;background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:1px 1px 0 rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 0 rgba(0,0,0,0.2);box-shadow:1px 1px 0 rgba(0,0,0,0.2);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-in .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-out .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-256px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .vco-toolbar.touch .back-home .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-304px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .timenav-background{position:absolute;cursor:move;top:0;left:0;height:150px;width:100%;background-color:#e9e9e9}.vco-timeline .vco-navigation .timenav-background .timenav-interval-background{position:absolute;top:151px;left:0;background:#fff;width:100%;height:49px;-webkit-box-shadow:-1px -1px 7px rgba(0,0,0,0.1);-moz-box-shadow:-1px -1px 7px rgba(0,0,0,0.1);box-shadow:-1px -1px 7px rgba(0,0,0,0.1)}.vco-timeline .vco-navigation .timenav-background .timenav-interval-background .top-highlight{position:absolute;top:-1px;left:0;z-index:30;width:100%;height:1px;background:#fff;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5;-webkit-box-shadow:1px 1px 5px rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 5px rgba(0,0,0,0.2);box-shadow:1px 1px 5px rgba(0,0,0,0.2)}.vco-timeline .vco-navigation .timenav-background .timenav-line{position:absolute;top:0;left:50%;width:3px;height:150px;background-color:#08c;z-index:1;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,0.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,0.3);box-shadow:1px 1px 7px rgba(0,0,0,0.3)}.vco-timeline .vco-navigation .timenav-background .timenav-indicator{position:absolute;top:-1px;left:50%;z-index:202;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-160px -48px;width:24px;height:24px}.vco-timeline .vco-navigation .timenav-background .timenav-tag div{height:50px;display:table}.vco-timeline .vco-navigation .timenav-background .timenav-tag div h3{display:table-cell;vertical-align:middle;padding-left:65px;font-size:15px;color:#d0d0d0;font-weight:bold;text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-half{height:25px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-half div{height:25px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-full{height:50px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-full div{height:50px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-2,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-4,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-6{background:#f1f1f1}.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-1,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-3,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-5{background:#e9e9e9}.vco-timeline .vco-navigation .timenav{position:absolute;top:0;left:-250px;z-index:1}.vco-timeline .vco-navigation .timenav .content{position:relative}.vco-timeline .vco-navigation .timenav .content .marker.start{display:none}.vco-timeline .vco-navigation .timenav .content .marker.active .dot{background:#08c;z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .line{z-index:199;background:#08c;width:1px}.vco-timeline .vco-navigation .timenav .content .marker.active .line .event-line{background:#08c;filter:alpha(opacity=75);-khtml-opacity:.75;-moz-opacity:.75;opacity:.75}.vco-timeline .vco-navigation .timenav .content .marker.active .flag,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small{z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content{height:36px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content h3,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content h3{color:#08c;margin-top:5px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content .thumbnail,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content .thumbnail{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row1,.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row2,.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row3,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row1,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row2,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row3{z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .flag{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content{height:14px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation .timenav .content .marker{position:absolute;top:0;left:150px;display:block}.vco-timeline .vco-navigation .timenav .content .marker .dot{position:absolute;top:150px;left:0;display:block;width:6px;height:6px;background:#333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;z-index:21}.vco-timeline .vco-navigation .timenav .content .marker .line{position:absolute;top:0;left:3px;width:1px;height:150px;background-color:#ccc;background-color:rgba(204,204,204,0.5);-webkit-box-shadow:1px 0 0 rgba(255,255,255,0.5);-moz-box-shadow:1px 0 0 rgba(255,255,255,0.5);box-shadow:1px 0 0 rgba(255,255,255,0.5);z-index:22}.vco-timeline .vco-navigation .timenav .content .marker .line .event-line{position:absolute;z-index:22;left:0;height:1px;width:1px;background:#08c;filter:alpha(opacity=15);-khtml-opacity:.15;-moz-opacity:.15;opacity:.15}.vco-timeline .vco-navigation .timenav .content .marker .flag,.vco-timeline .vco-navigation .timenav .content .marker .flag-small{position:absolute;top:15px;left:3px;padding:0;display:block;z-index:23;width:153px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content{padding:0 7px 2px 6px;overflow:hidden}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3{font-weight:bold;font-size:15px;line-height:20px;font-size:11px;line-height:11px;color:#999;margin-bottom:2px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3 small,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3 small{display:none}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h4,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h4{display:none;font-weight:normal;font-size:15px;line-height:20px;margin-top:5px;font-size:10px;line-height:10px;color:#aaa}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h4 small,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h4 small{display:none}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content .thumbnail,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail{margin-bottom:15px;margin-right:3px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content .thumbnail img,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail img{width:22px;height:22px;max-height:none;max-width:none;border:0;border:1px solid #999;padding:0;margin:0}.vco-timeline .vco-navigation .timenav .content .marker .flag{height:56px;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 0;width:153px;height:53px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content{height:36px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3{margin-top:5px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -135px;width:153px;height:26px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content{height:14px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail{width:16px;height:10px;margin-right:1px;margin-top:6px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-plaintext{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-280px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-quote{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-232px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-document{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-256px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-photo{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-280px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-twitter{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-256px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-vimeo{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-328px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-vine{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-160px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-youtube{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-304px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-video{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-328px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-audio{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-304px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-map{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-website{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-232px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-link{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-232px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-wikipedia{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-184px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-storify{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-184px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-googleplus{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content thumbnail.thumb-instagram{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px -96px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row1{z-index:25;top:48px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row2{z-index:24;top:96px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row3{z-index:23;top:1px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row1{z-index:28;top:24px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row2{z-index:27;top:48px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row3{z-index:26;top:72px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row4{z-index:25;top:96px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row5{z-index:24;top:120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row6{z-index:23;top:1px}.vco-timeline .vco-navigation .timenav .content .marker .flag.zFront,.vco-timeline .vco-navigation .timenav .content .marker .flag-small.zFront{z-index:201}.vco-timeline .vco-navigation .timenav .content .era{position:absolute;top:138px;left:150px;height:12px;display:block;overflow:hidden}.vco-timeline .vco-navigation .timenav .content .era div{height:50px;width:100%;height:100%;line-height:0;background:#e9e9e9;background:rgba(233,233,233,0.33)}.vco-timeline .vco-navigation .timenav .content .era div h3,.vco-timeline .vco-navigation .timenav .content .era div h4{position:absolute;bottom:1px;padding-left:15px;font-size:15px;font-weight:bold;color:rgba(0,136,204,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era1 div{background:#c40;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(204,68,0,0.1);border-right:1px solid rgba(255,85,0,0.05)}.vco-timeline .vco-navigation .timenav .content .era1 div h3,.vco-timeline .vco-navigation .timenav .content .era1 div h4{color:rgba(204,68,0,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era2 div{background:#c02;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(204,0,34,0.1);border-right:1px solid rgba(255,0,43,0.05)}.vco-timeline .vco-navigation .timenav .content .era2 div h3,.vco-timeline .vco-navigation .timenav .content .era2 div h4{color:rgba(204,0,34,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era3 div{background:#02c;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(0,34,204,0.1);border-right:1px solid rgba(0,43,255,0.05)}.vco-timeline .vco-navigation .timenav .content .era3 div h3,.vco-timeline .vco-navigation .timenav .content .era3 div h4{color:rgba(0,34,204,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era4 div{background:#ca0;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(204,170,0,0.1);border-right:1px solid rgba(255,213,0,0.05)}.vco-timeline .vco-navigation .timenav .content .era4 div h3,.vco-timeline .vco-navigation .timenav .content .era4 div h4{color:rgba(204,170,0,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era5 div{background:#0ca;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(0,204,170,0.1);border-right:1px solid rgba(0,255,213,0.05)}.vco-timeline .vco-navigation .timenav .content .era5 div h3,.vco-timeline .vco-navigation .timenav .content .era5 div h4{color:rgba(0,204,170,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era6 div{background:#08c;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(0,136,204,0.1);border-right:1px solid rgba(0,170,255,0.05)}.vco-timeline .vco-navigation .timenav .content .era6 div h3,.vco-timeline .vco-navigation .timenav .content .era6 div h4{color:rgba(0,136,204,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .time{position:absolute;left:0;top:150px;height:50px;background-color:#fff;line-height:0}.vco-timeline .vco-navigation .timenav .time .time-interval-minor{max-width:none;height:6px;white-space:nowrap;position:absolute;top:-2px;left:8px;z-index:10}.vco-timeline .vco-navigation .timenav .time .time-interval-minor .minor{position:relative;top:2px;display:inline-block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAMCAMAAACdvocfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFzMzM////040VdgAAAAJ0Uk5T/wDltzBKAAAAEklEQVR42mJgYAQCBopJgAADAAbwADHy2qHzAAAAAElFTkSuQmCC);width:100px;height:6px;background-position:center top;white-space:nowrap;color:#666;margin-top:0;padding-top:0}.vco-timeline .vco-navigation .timenav .time .time-interval{white-space:nowrap;position:absolute;top:5px;left:0}.vco-timeline .vco-navigation .timenav .time .time-interval div{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAMCAMAAACdvocfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFzMzM////040VdgAAAAJ0Uk5T/wDltzBKAAAAEklEQVR42mJgYAQCBopJgAADAAbwADHy2qHzAAAAAElFTkSuQmCC);background-position:left top;background-repeat:no-repeat;padding-top:6px;position:absolute;height:3px;left:0;display:block;font-weight:normal;font-size:10px;line-height:20px;text-transform:uppercase;text-align:left;text-indent:0;white-space:nowrap;color:#666;margin-left:0;margin-right:0;margin-top:0;z-index:2}.vco-timeline .vco-navigation .timenav .time .time-interval div strong{font-weight:bold;color:#000}.vco-timeline .vco-navigation .timenav .time .time-interval div.era{font-weight:bold;padding-top:0;margin-top:-3px;margin-left:2px;background-image:none}.vco-timeline .vco-navigation .timenav .time .time-interval .era1{color:#c40;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era2{color:#c02;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era3{color:#02c;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era4{color:#ca0;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era5{color:#0ca;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era6{color:#08c;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval-major{white-space:nowrap;position:absolute;top:5px;left:0}.vco-timeline .vco-navigation .timenav .time .time-interval-major div{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQAQMAAADtUYf0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyOTAzRjI3REIzNDcxMUUxQUQ3QUZCOThEODQ1NDhCNyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyOTAzRjI3RUIzNDcxMUUxQUQ3QUZCOThEODQ1NDhCNyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjI5MDNGMjdCQjM0NzExRTFBRDdBRkI5OEQ4NDU0OEI3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjI5MDNGMjdDQjM0NzExRTFBRDdBRkI5OEQ4NDU0OEI3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+DPWNfQAAAANQTFRFzMzMylJEJwAAAAtJREFUCB1jYMAPAAAgAAHDvpOtAAAAAElFTkSuQmCC);background-position:left top;background-repeat:no-repeat;padding-top:15px;position:absolute;height:15px;left:0;display:block;font-weight:bold;font-size:12px;line-height:20px;text-transform:uppercase;text-align:left;text-indent:0;white-space:nowrap;color:#333;margin-left:0;margin-right:0;margin-top:1px;z-index:5}.vco-timeline .vco-navigation .timenav .time .time-interval-major div strong{font-weight:bold;color:#000}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-notouch .vco-navigation .vco-toolbar .zoom-in .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-256px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar .zoom-out .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-280px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar .back-home .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-328px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar.touch .zoom-in .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-208px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .vco-toolbar.touch .zoom-out .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-256px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .vco-toolbar.touch .back-home .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-304px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-notouch .vco-navigation .timenav-background .timenav-indicator{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-160px -48px;width:24px;height:24px}}@media screen and (max-device-width:480px) and (orientation:portrait){.storyjs-embed.full-embed{width:100%}}@media screen and (max-device-width:480px) and (orientation:landscape){.storyjs-embed.full-embed{width:100%}} \ No newline at end of file +*/.vco-storyjs div *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6,.vco-storyjs p,.vco-storyjs blockquote,.vco-storyjs pre,.vco-storyjs a,.vco-storyjs abbr,.vco-storyjs acronym,.vco-storyjs address,.vco-storyjs cite,.vco-storyjs code,.vco-storyjs del,.vco-storyjs dfn,.vco-storyjs em,.vco-storyjs img,.vco-storyjs q,.vco-storyjs s,.vco-storyjs samp,.vco-storyjs small,.vco-storyjs strike,.vco-storyjs strong,.vco-storyjs sub,.vco-storyjs sup,.vco-storyjs tt,.vco-storyjs var,.vco-storyjs dd,.vco-storyjs dl,.vco-storyjs dt,.vco-storyjs li,.vco-storyjs ol,.vco-storyjs ul,.vco-storyjs fieldset,.vco-storyjs form,.vco-storyjs label,.vco-storyjs legend,.vco-storyjs button,.vco-storyjs table,.vco-storyjs caption,.vco-storyjs tbody,.vco-storyjs tfoot,.vco-storyjs thead,.vco-storyjs tr,.vco-storyjs th,.vco-storyjs td,.vco-storyjs .vco-container,.vco-storyjs .content-container,.vco-storyjs .media,.vco-storyjs .text,.vco-storyjs .vco-slider,.vco-storyjs .slider,.vco-storyjs .date,.vco-storyjs .title,.vco-storyjs .messege,.vco-storyjs .map,.vco-storyjs .credit,.vco-storyjs .caption,.vco-storyjs .vco-feedback,.vco-storyjs .vco-feature,.vco-storyjs .toolbar,.vco-storyjs .marker,.vco-storyjs .dot,.vco-storyjs .line,.vco-storyjs .flag,.vco-storyjs .time,.vco-storyjs .era,.vco-storyjs .major,.vco-storyjs .minor,.vco-storyjs .vco-navigation,.vco-storyjs .start,.vco-storyjs .active{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;font-size:100%;line-height:1;font-family:inherit;width:auto;float:none}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{clear:none}.vco-storyjs table{border-collapse:collapse;border-spacing:0}.vco-storyjs ol,.vco-storyjs ul{list-style:none}.vco-storyjs q:before,.vco-storyjs q:after,.vco-storyjs blockquote:before,.vco-storyjs blockquote:after{content:""}.vco-storyjs a:focus{outline:thin dotted}.vco-storyjs a:hover,.vco-storyjs a:active{outline:0}.vco-storyjs article,.vco-storyjs aside,.vco-storyjs details,.vco-storyjs figcaption,.vco-storyjs figure,.vco-storyjs footer,.vco-storyjs header,.vco-storyjs hgroup,.vco-storyjs nav,.vco-storyjs section{display:block}.vco-storyjs audio,.vco-storyjs canvas,.vco-storyjs video{display:inline-block;*display:inline;*zoom:1}.vco-storyjs audio:not([controls]){display:none}.vco-storyjs div{max-width:none}.vco-storyjs sub,.vco-storyjs sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.vco-storyjs sup{top:-0.5em}.vco-storyjs sub{bottom:-0.25em}.vco-storyjs img{border:0;-ms-interpolation-mode:bicubic}.vco-storyjs button,.vco-storyjs input,.vco-storyjs select,.vco-storyjs textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.vco-storyjs button,.vco-storyjs input{line-height:normal;*overflow:visible}.vco-storyjs button::-moz-focus-inner,.vco-storyjs input::-moz-focus-inner{border:0;padding:0}.vco-storyjs button,.vco-storyjs input[type="button"],.vco-storyjs input[type="reset"],.vco-storyjs input[type="submit"]{cursor:pointer;-webkit-appearance:button}.vco-storyjs input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}.vco-storyjs textarea{overflow:auto;vertical-align:top}.vco-storyjs{font-family:"Georgia",Times New Roman,Times,serif}.vco-storyjs .twitter,.vco-storyjs .vcard,.vco-storyjs .messege,.vco-storyjs .credit,.vco-storyjs .caption,.vco-storyjs .zoom-in,.vco-storyjs .zoom-out,.vco-storyjs .back-home,.vco-storyjs .time-interval div,.vco-storyjs .time-interval-major div,.vco-storyjs .nav-container{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs h1.date,.vco-storyjs h2.date,.vco-storyjs h3.date,.vco-storyjs h4.date,.vco-storyjs h5.date,.vco-storyjs h6.date{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs .timenav h1,.vco-storyjs .flag-content h1,.vco-storyjs .era h1,.vco-storyjs .timenav h2,.vco-storyjs .flag-content h2,.vco-storyjs .era h2,.vco-storyjs .timenav h3,.vco-storyjs .flag-content h3,.vco-storyjs .era h3,.vco-storyjs .timenav h4,.vco-storyjs .flag-content h4,.vco-storyjs .era h4,.vco-storyjs .timenav h5,.vco-storyjs .flag-content h5,.vco-storyjs .era h5,.vco-storyjs .timenav h6,.vco-storyjs .flag-content h6,.vco-storyjs .era h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important}.vco-storyjs p,.vco-storyjs blockquote,.vco-storyjs blockquote p,.vco-storyjs .twitter blockquote p{font-family:"Georgia",Times New Roman,Times,serif !important}.vco-storyjs .vco-feature h1,.vco-storyjs .vco-feature h2,.vco-storyjs .vco-feature h3,.vco-storyjs .vco-feature h4,.vco-storyjs .vco-feature h5,.vco-storyjs .vco-feature h6{font-family:"Georgia",Times New Roman,Times,serif}.timeline-tooltip{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.vco-storyjs{font-size:15px;font-weight:normal;line-height:20px;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}.vco-storyjs p{font-size:15px;font-weight:normal;line-height:20px;margin-bottom:20px;color:#666}.vco-storyjs p small{font-size:12px;line-height:17px}.vco-storyjs p:first-child{margin-top:20px}.vco-storyjs .vco-navigation p{color:#999}.vco-storyjs .vco-feature h3,.vco-storyjs .vco-feature h4,.vco-storyjs .vco-feature h5,.vco-storyjs .vco-feature h6{margin-bottom:15px}.vco-storyjs .vco-feature p{color:#666}.vco-storyjs .vco-feature blockquote,.vco-storyjs .vco-feature blockquote p{color:#000}.vco-storyjs .date a,.vco-storyjs .title a{color:#999}.vco-storyjs .hyphenate{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{font-weight:normal;color:#000;text-transform:none}.vco-storyjs h1 a,.vco-storyjs h2 a,.vco-storyjs h3 a,.vco-storyjs h4 a,.vco-storyjs h5 a,.vco-storyjs h6 a{color:#999}.vco-storyjs h1 small,.vco-storyjs h2 small,.vco-storyjs h3 small,.vco-storyjs h4 small,.vco-storyjs h5 small,.vco-storyjs h6 small{color:#999}.vco-storyjs h1.date,.vco-storyjs h2.date,.vco-storyjs h3.date,.vco-storyjs h4.date,.vco-storyjs h5.date,.vco-storyjs h6.date{font-weight:bold}.vco-storyjs h2.start{font-size:36px;line-height:38px;margin-bottom:15px}.vco-storyjs h1{margin-bottom:15px;font-size:32px;line-height:34px}.vco-storyjs h1 small{font-size:18px}.vco-storyjs h2{margin-bottom:15px;font-size:28px;line-height:30px}.vco-storyjs h2 small{font-size:14px;line-height:16px}.vco-storyjs h2.date{font-size:16px;line-height:18px;margin-bottom:3.75px;color:#999}.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{line-height:40px}.vco-storyjs h3 .active,.vco-storyjs h4 .active,.vco-storyjs h5 .active,.vco-storyjs h6 .active{color:#08c}.vco-storyjs h3{font-size:28px;line-height:30px}.vco-storyjs h3 small{font-size:14px}.vco-storyjs h4{font-size:20px;line-height:22px}.vco-storyjs h4 small{font-size:12px}.vco-storyjs h5{font-size:16px;line-height:18px}.vco-storyjs h6{font-size:13px;line-height:14px;text-transform:uppercase}.vco-storyjs strong{font-weight:bold;font-style:inherit}.vco-storyjs em{font-style:italic;font-weight:inherit}.vco-storyjs Q{quotes:'„' '“';font-style:italic}.vco-storyjs blockquote,.vco-storyjs blockquote p{font-size:24px;line-height:32px;text-align:left;margin-bottom:6px;padding-top:10px;background-color:#fff;color:#000}.vco-storyjs .credit{color:#999;text-align:right;font-size:10px;line-height:10px;display:block;margin:0 auto;clear:both}.vco-storyjs .caption{text-align:left;margin-top:5px;color:#666;font-size:11px;line-height:14px;clear:both}[dir=rtl] .vco-storyjs.vco-right-to-left,.vco-storyjs.vco-right-to-left[dir=rtl]{direction:ltr}.vco-storyjs.vco-right-to-left h1,.vco-storyjs.vco-right-to-left h2,.vco-storyjs.vco-right-to-left h3,.vco-storyjs.vco-right-to-left h4,.vco-storyjs.vco-right-to-left h5,.vco-storyjs.vco-right-to-left h6,.vco-storyjs.vco-right-to-left p,.vco-storyjs.vco-right-to-left blockquote,.vco-storyjs.vco-right-to-left pre,.vco-storyjs.vco-right-to-left a,.vco-storyjs.vco-right-to-left abbr,.vco-storyjs.vco-right-to-left acronym,.vco-storyjs.vco-right-to-left address,.vco-storyjs.vco-right-to-left cite,.vco-storyjs.vco-right-to-left code,.vco-storyjs.vco-right-to-left del,.vco-storyjs.vco-right-to-left dfn,.vco-storyjs.vco-right-to-left em,.vco-storyjs.vco-right-to-left img,.vco-storyjs.vco-right-to-left q,.vco-storyjs.vco-right-to-left s,.vco-storyjs.vco-right-to-left samp,.vco-storyjs.vco-right-to-left small,.vco-storyjs.vco-right-to-left strike,.vco-storyjs.vco-right-to-left strong,.vco-storyjs.vco-right-to-left sub,.vco-storyjs.vco-right-to-left sup,.vco-storyjs.vco-right-to-left tt,.vco-storyjs.vco-right-to-left var,.vco-storyjs.vco-right-to-left dd,.vco-storyjs.vco-right-to-left dl,.vco-storyjs.vco-right-to-left dt,.vco-storyjs.vco-right-to-left li,.vco-storyjs.vco-right-to-left ol,.vco-storyjs.vco-right-to-left ul,.vco-storyjs.vco-right-to-left fieldset,.vco-storyjs.vco-right-to-left form,.vco-storyjs.vco-right-to-left label,.vco-storyjs.vco-right-to-left legend,.vco-storyjs.vco-right-to-left button,.vco-storyjs.vco-right-to-left table,.vco-storyjs.vco-right-to-left caption,.vco-storyjs.vco-right-to-left tbody,.vco-storyjs.vco-right-to-left tfoot,.vco-storyjs.vco-right-to-left thead,.vco-storyjs.vco-right-to-left tr,.vco-storyjs.vco-right-to-left th,.vco-storyjs.vco-right-to-left td{direction:rtl}.timeline-tooltip{position:absolute;z-index:205;display:block;visibility:visible;padding:5px;opacity:0;filter:alpha(opacity=0);font-size:15px;font-weight:bold;line-height:20px;font-size:12px;line-height:12px}.timeline-tooltip.in{opacity:.8;filter:alpha(opacity=80)}.timeline-tooltip.top{margin-top:-2px}.timeline-tooltip.right{margin-left:2px}.timeline-tooltip.bottom{margin-top:2px}.timeline-tooltip.left{margin-left:-2px}.timeline-tooltip.top .timeline-tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000}.timeline-tooltip.left .timeline-tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000}.timeline-tooltip.bottom .timeline-tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000}.timeline-tooltip.right .timeline-tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000}.timeline-tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.timeline-tooltip-arrow{position:absolute;width:0;height:0}@media only screen and (max-width:480px),only screen and (max-device-width:480px){.vco-slider .nav-next,.vco-slider .nav-previous{display:none}}.vco-skinny .vco-slider .slider-item .content .layout-text-media .text .container{text-align:center !important}.vco-skinny .vco-slider .slider-item .content .layout-text-media h2,.vco-skinny .vco-slider .slider-item .content .layout-text-media h3{display:block !important;width:100% !important;text-align:center !important}.vco-skinny .vco-slider .slider-item .content .content-container{display:block}.vco-skinny .vco-slider .slider-item .content .content-container .text{width:100%;max-width:100%;min-width:120px;display:block}.vco-skinny .vco-slider .slider-item .content .content-container .text .container{display:block;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-skinny .vco-slider .slider-item .content .content-container .media{width:100%;min-width:50%;float:none}.vco-skinny .vco-slider .slider-item .content .content-container .media .media-wrapper{margin-left:0;margin-right:0;width:100%;display:block}.vco-skinny.vco-notouch .vco-slider .nav-previous,.vco-skinny.vco-notouch .vco-slider .nav-next{z-index:203}.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .title{filter:alpha(opacity=1);-khtml-opacity:.01;-moz-opacity:.01;opacity:.01}.vco-skinny.vco-notouch .vco-slider .nav-previous .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-next .nav-container .icon{filter:alpha(opacity=15);-khtml-opacity:.15;-moz-opacity:.15;opacity:.15}.vco-skinny.vco-notouch .vco-slider .nav-previous .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px 0;width:24px;height:24px;overflow:hidden;margin-left:10px}.vco-skinny.vco-notouch .vco-slider .nav-next .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-232px 0;width:24px;height:24px;overflow:hidden;margin-left:66px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover,.vco-skinny.vco-notouch .vco-slider .nav-next:hover{color:#aaa !important;background-color:#333;background-color:rgba(0,0,0,0.65);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .icon,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;font-weight:bold;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{padding-bottom:5px}.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .date,.vco-skinny.vco-notouch .vco-slider .nav-previous:hover .nav-container .title,.vco-skinny.vco-notouch .vco-slider .nav-next:hover .nav-container .title{padding-left:5px;padding-right:5px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-skinny.vco-notouch .vco-slider .nav-previous .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-208px 0;width:24px;height:24px;overflow:hidden}.vco-skinny.vco-notouch .vco-slider .nav-next .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-232px 0;width:24px;height:24px;overflow:hidden}}.vco-slider{width:100%;height:100%;overflow:hidden}.vco-slider .slider-container-mask{text-align:center;width:100%;height:100%;overflow:hidden}.vco-slider .slider-container-mask .slider-container{position:absolute;top:0;left:-2160px;width:100%;height:100%;text-align:center;display:block}.vco-slider .slider-container-mask .slider-container .slider-item-container{display:table-cell;vertical-align:middle}.vco-notouch .vco-slider .nav-previous:hover,.vco-notouch .vco-slider .nav-next:hover{color:#333;cursor:pointer}.vco-notouch .vco-slider .nav-previous:hover .icon{margin-left:10px}.vco-notouch .vco-slider .nav-next:hover .icon{margin-left:66px}.vco-notouch .vco-slider .slider-item .content .content-container .media .media-container .wikipedia h4 a:hover{color:#08c;text-decoration:none}.vco-notouch .vco-slider .slider-item .content .content-container .created-at:hover{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments a:hover{text-decoration:none}.vco-notouch .vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments a:hover h5{text-decoration:underline}.vco-slider img,.vco-slider embed,.vco-slider object,.vco-slider video,.vco-slider iframe{max-width:100%}.vco-slider .nav-previous,.vco-slider .nav-next{position:absolute;top:0;width:100px;color:#dbdbdb;font-size:11px}.vco-slider .nav-previous .nav-container,.vco-slider .nav-next .nav-container{height:100px;width:100px;position:absolute}.vco-slider .nav-previous .icon,.vco-slider .nav-next .icon{margin-top:12px;margin-bottom:15px}.vco-slider .nav-previous .date,.vco-slider .nav-next .date,.vco-slider .nav-previous .title,.vco-slider .nav-next .title{line-height:14px}.vco-slider .nav-previous .date a,.vco-slider .nav-next .date a,.vco-slider .nav-previous .title a,.vco-slider .nav-next .title a{color:#999}.vco-slider .nav-previous .date small,.vco-slider .nav-next .date small,.vco-slider .nav-previous .title small,.vco-slider .nav-next .title small{display:none}.vco-slider .nav-previous .date,.vco-slider .nav-next .date{font-size:13px;line-height:13px;font-weight:bold;text-transform:uppercase;margin-bottom:5px}.vco-slider .nav-previous .title,.vco-slider .nav-next .title{font-size:11px;line-height:13px}.vco-slider .nav-previous{float:left;text-align:left}.vco-slider .nav-previous .icon{margin-left:15px;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-160px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-previous .date,.vco-slider .nav-previous .title{text-align:left;padding-left:15px}.vco-slider .nav-next{float:right;text-align:right}.vco-slider .nav-next .icon{margin-left:61px;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-184px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-next .date,.vco-slider .nav-next .title{text-align:right;padding-right:15px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-slider .nav-previous .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-160px 0;width:24px;height:24px;overflow:hidden}.vco-slider .nav-next .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-184px 0;width:24px;height:24px;overflow:hidden}}.vco-slider .slider-item{position:absolute;width:700px;height:100%;padding:0;margin:0;display:table;overflow-y:auto}.vco-slider .slider-item .content{display:table-cell;vertical-align:middle}.vco-slider .slider-item .content .pad-top .text .container{padding-top:15px}.vco-slider .slider-item .content .pad-right .text .container{padding-right:15px}.vco-slider .slider-item .content .pad-left .text .container{padding-left:30px}.vco-slider .slider-item .content .pad-left .media.text-media .media-wrapper .media-container{border:none;background-color:#fff}.vco-slider .slider-item .content .content-container{display:table;vertical-align:middle}.vco-slider .slider-item .content .content-container .text{width:40%;max-width:50%;min-width:120px;display:table-cell;vertical-align:middle}.vco-slider .slider-item .content .content-container .text .container{display:table-cell;vertical-align:middle;text-align:left}.vco-slider .slider-item .content .content-container .text .container p{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-wrap:break-word}.vco-slider .slider-item .content .content-container .text .container h2.date{font-size:15px;line-height:15px;font-weight:normal}.vco-slider .slider-item .content .content-container .text .container .slide-tag{font-size:11px;font-weight:bold;color:#fff;background-color:#ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;vertical-align:baseline;white-space:nowrap;line-height:11px;padding:1px 3px 1px;margin-left:7.5px;margin-bottom:7.5px}.vco-slider .slider-item .content .content-container .media{width:100%;min-width:50%;float:left}.vco-slider .slider-item .content .content-container .media .media-wrapper{display:inline-block;margin-left:auto;margin-right:auto}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container{display:inline-block;line-height:0;padding:0;max-height:100%}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-frame,.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-image img{border:1px solid;border-color:#ccc #999 #999 #ccc;background-color:#fff}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-frame iframe{background-color:#fff}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .soundcloud{border:0}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-image{display:inline-block}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow{position:relative;z-index:1;background:#fff}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow:before,.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow:after{z-index:-1;position:absolute;content:"";bottom:15px;left:10px;width:50%;top:80%;max-width:300px;background:#999;-webkit-box-shadow:0 15px 10px #999;-moz-box-shadow:0 15px 10px #999;box-shadow:0 15px 10px #999;-webkit-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-ms-transform:rotate(-2deg);-o-transform:rotate(-2deg);transform:rotate(-2deg)}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow::after{-webkit-transform:rotate(2deg);-moz-transform:rotate(2deg);-ms-transform:rotate(2deg);-o-transform:rotate(2deg);transform:rotate(2deg);right:10px;left:auto}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text{display:table}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text .container{display:table-cell;vertical-align:middle;font-size:15px;line-height:20px;color:#666}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text .container p{margin-bottom:20px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia{font-size:15px;line-height:20px;text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia .wiki-source{margin-bottom:15px;font-size:13px;line-height:19px;font-style:italic}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4{border-bottom:1px solid #ccc;margin-bottom:5px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4 a{color:#000}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia p{font-size:13px;line-height:19px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map{line-height:normal;z-index:200;text-align:left;background-color:#fff}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map img{max-height:none !important;max-width:none !important;border:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .google-map{height:100%;width:100%}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution{position:absolute;z-index:201;bottom:0;width:100%;overflow:hidden}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution .attribution-text{height:19px;overflow:hidden;-webkit-user-select:none;line-height:19px;margin-right:60px;padding-left:65px;font-family:Arial,sans-serif;font-size:10px;color:#444;white-space:nowrap;color:#fff;text-shadow:1px 1px 1px #333;text-align:center}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .map .map-attribution .attribution-text a{color:#fff !important}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .credit{color:#999;text-align:right;display:block;margin:0 auto;margin-top:6px;font-size:10px;line-height:13px}.vco-slider .slider-item .content .content-container .media .media-wrapper .media-container .caption{text-align:left;margin-top:10px;color:#666;font-size:11px;line-height:14px;text-rendering:optimizeLegibility;word-wrap:break-word}.vco-slider .slider-item .content .content-container .media.text-media .media-wrapper .media-container{border:none;background-color:#fff}.vco-slider .slider-item .content .content-container .created-at{width:24px;height:24px;overflow:hidden;margin-left:7.5px;margin-top:2px;display:inline-block;float:right;filter:alpha(opacity=25);-khtml-opacity:.25;-moz-opacity:.25;opacity:.25}.vco-slider .slider-item .content .content-container .storify .created-at{background-repeat:no-repeat;background-position:-328px -96px}.vco-slider .slider-item .content .content-container .twitter .created-at{background-repeat:no-repeat;background-position:-256px -24px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content{font-size:13px;line-height:19px;margin-bottom:6px;padding-top:10px;background-color:#fff;color:#666}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content p{font-size:13px;line-height:19px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-title{font-size:24px;line-height:32px;margin-bottom:6px;padding-top:10px;background-color:#fff;color:#000}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-annotation{font-size:15px;line-height:20px;color:#000;border-bottom:1px solid #e3e3e3;padding-bottom:7.5px;margin-bottom:7.5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments{border-top:1px solid #e3e3e3;padding-top:15px;margin-top:15px;border-bottom:1px solid #e3e3e3;padding-bottom:15px;margin-bottom:15px;*zoom:1}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:before,.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:after{display:table;content:""}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments:after{clear:both}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments h5{margin-bottom:5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments div{width:50%;padding-left:15px;display:inline-block}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments p{font-size:11px;line-height:14px;margin-bottom:5px}.vco-slider .slider-item .content .content-container .googleplus .googleplus-content .googleplus-attachments img{float:left;display:block;bottom:0;left:0;margin:auto;position:relative;right:0;top:0;width:40%}.vco-slider .slider-item .content .content-container .googleplus .proflinkPrefix{color:#08c}.vco-slider .slider-item .content .content-container .googleplus .created-at{background-repeat:no-repeat;background-position:-208px -72px}.vco-slider .slider-item .content .content-container .twitter,.vco-slider .slider-item .content .content-container .plain-text-quote,.vco-slider .slider-item .content .content-container .storify,.vco-slider .slider-item .content .content-container .googleplus{text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both}.vco-slider .slider-item .content .content-container .twitter blockquote,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote,.vco-slider .slider-item .content .content-container .storify blockquote,.vco-slider .slider-item .content .content-container .googleplus blockquote{color:#666}.vco-slider .slider-item .content .content-container .twitter blockquote p,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote p,.vco-slider .slider-item .content .content-container .storify blockquote p,.vco-slider .slider-item .content .content-container .googleplus blockquote p{font-size:24px;line-height:32px;margin-bottom:6px;padding-top:10px;background-color:#fff;color:#000}.vco-slider .slider-item .content .content-container .twitter blockquote .quote-mark,.vco-slider .slider-item .content .content-container .plain-text-quote blockquote .quote-mark,.vco-slider .slider-item .content .content-container .storify blockquote .quote-mark,.vco-slider .slider-item .content .content-container .googleplus blockquote .quote-mark{color:#666}.vco-slider .slider-item .content .content-container .twitter blockquote{font-size:15px}.vco-slider .slider-item .content .content-container .twitter blockquote p{font-size:24px}.vco-slider .slider-item .content .content-container.layout-text-media .text-media{border-top:1px solid #e3e3e3;padding-top:15px;padding-right:0}.vco-slider .slider-item .content .content-container.layout-text-media.pad-left .text-media{padding-right:15px;padding-top:0;border-right:1px solid #e3e3e3;border-top:0 solid #e3e3e3}.vco-slider .slider-item .content .content-container.layout-text{width:100%}.vco-slider .slider-item .content .content-container.layout-text .text{width:100%;max-width:100%}.vco-slider .slider-item .content .content-container.layout-text .text .container{display:block;vertical-align:middle;padding:0;width:90%;text-align:left;margin-left:auto;margin-right:auto}.vco-slider .slider-item .content .content-container.layout-media{width:100%}.vco-slider .slider-item .content .content-container.layout-media .text{width:100%;height:100%;max-width:100%;display:block;text-align:center}.vco-slider .slider-item .content .content-container.layout-media .text .container{display:block;text-align:center;width:100%;margin-left:none;margin-right:none}.vco-slider .slider-item .content .content-container.layout-media .media{width:100%;min-width:50%;float:none}.vco-slider .slider-item .content .content-container.layout-media .media .media-wrapper .media-container{margin-left:auto;margin-right:auto;line-height:0;padding:0}.vco-slider .slider-item .content .content-container.layout-media .twitter,.vco-slider .slider-item .content .content-container.layout-media .wikipedia,.vco-slider .slider-item .content .content-container.layout-media .googleplus{max-width:70%}.storyjs-embed{background-color:#fff;margin-bottom:20px;border:1px solid #ccc;padding-top:20px;padding-bottom:20px;clear:both;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.35);-moz-box-shadow:1px 1px 3px rgba(0,0,0,0.35);box-shadow:1px 1px 3px rgba(0,0,0,0.35)}.storyjs-embed.full-embed{overflow:hidden;border:0 !important;padding:0 !important;margin:0 !important;clear:both;-webkit-border-radius:0 !important;-moz-border-radius:0 !important;border-radius:0 !important;-webkit-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;-moz-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;box-shadow:0 0 0 rgba(0,0,0,0.25) !important}.storyjs-embed.sized-embed{overflow:hidden;border:1px solid #ccc;padding-top:7px;padding-bottom:7px;margin:0 !important;clear:both;-webkit-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;-moz-box-shadow:0 0 0 rgba(0,0,0,0.25) !important;box-shadow:0 0 0 rgba(0,0,0,0.25) !important}.vco-storyjs{width:100%;height:100%;padding:0;margin:0;background-color:#fff;position:absolute;z-index:100;clear:both;overflow:hidden}.vco-storyjs .vmm-clear:before,.vco-storyjs .vmm-clear:after{content:"";display:table}.vco-storyjs .vmm-clear:after{clear:both}.vco-storyjs .vmm-clear{*zoom:1}.vco-storyjs .vco-feature{width:100%}.vco-storyjs .vco-feature .slider,.vco-storyjs .vco-feature .vco-slider{width:100%;float:left;position:relative;z-index:10;padding-top:15px;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,0.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,0.3);box-shadow:1px 1px 7px rgba(0,0,0,0.3)}.vco-storyjs .vco-feedback{position:absolute;display:table;overflow:hidden;top:0;left:0;z-index:205;width:100%;height:100%}.vco-storyjs div.vco-loading,.vco-storyjs div.vco-explainer{display:table;text-align:center;min-width:100px;margin-top:15px;height:100%;width:100%;background-color:#fff}.vco-storyjs div.vco-loading .vco-loading-container,.vco-storyjs div.vco-explainer .vco-loading-container,.vco-storyjs div.vco-loading .vco-explainer-container,.vco-storyjs div.vco-explainer .vco-explainer-container{display:table-cell;vertical-align:middle}.vco-storyjs div.vco-loading .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-loading-icon{display:block;background-repeat:no-repeat;vertical-align:middle;margin-left:auto;margin-right:auto;text-align:center;background-image:url(loading.gif?v3.4);width:28px;height:28px}.vco-storyjs div.vco-loading .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-gesture-icon{display:block;vertical-align:middle;margin-left:auto;margin-right:auto;text-align:center;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-160px -160px;width:48px;height:48px}.vco-storyjs div.vco-loading .vco-loading-container .vco-message,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message{display:block}.vco-storyjs div.vco-loading .vco-loading-container .vco-message,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message,.vco-storyjs div.vco-loading .vco-loading-container .vco-message p,.vco-storyjs div.vco-explainer .vco-loading-container .vco-message p,.vco-storyjs div.vco-loading .vco-explainer-container .vco-message p,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-message p{text-align:center;font-size:11px;line-height:13px;text-transform:uppercase;margin-top:7.5px;margin-bottom:7.5px}.vco-storyjs div.vco-explainer{background-color:transparent}.vco-storyjs .vco-bezel{background-color:#333;background-color:rgba(0,0,0,0.8);width:80px;height:50px;padding:50px;padding-top:25px;padding:25px 20px 50px 20px;margin:auto;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.vco-storyjs .vco-bezel .vco-message,.vco-storyjs .vco-bezel .vco-message p{color:#fff;font-weight:bold}.vco-storyjs .vco-container.vco-main{position:absolute;top:0;left:0;padding-bottom:3px;width:auto;height:auto;margin:0;clear:both}.vco-storyjs img,.vco-storyjs embed,.vco-storyjs object,.vco-storyjs video,.vco-storyjs iframe{max-width:100%}.vco-storyjs img{max-height:100%;border:1px solid #999}.vco-storyjs a{color:#08c;text-decoration:none}.vco-storyjs a:hover{color:#005580;text-decoration:underline}.vco-storyjs .vcard{float:right;margin-bottom:15px}.vco-storyjs .vcard a{color:#333}.vco-storyjs .vcard a:hover{text-decoration:none}.vco-storyjs .vcard a:hover .fn{text-decoration:underline}.vco-storyjs .vcard .fn,.vco-storyjs .vcard .nickname{padding-left:42px}.vco-storyjs .vcard .fn{display:block;font-weight:bold}.vco-storyjs .vcard .nickname{margin-top:1px;display:block;color:#666}.vco-storyjs .vcard .avatar{float:left;display:block;width:32px;height:32px}.vco-storyjs .vcard .avatar img{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.vco-storyjs .thumbnail{width:24px;height:24px;overflow:hidden;float:left;margin:0;margin-right:1px;margin-top:6px;border:0;padding:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-storyjs a.thumbnail:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-storyjs .thumbnail.thumb-plaintext{background-repeat:no-repeat;background-position:-280px -48px}.vco-storyjs .thumbnail.thumb-quote{background-repeat:no-repeat;background-position:-232px -48px}.vco-storyjs .thumbnail.thumb-document{background-repeat:no-repeat;background-position:-256px -48px}.vco-storyjs .thumbnail.thumb-photo{background-repeat:no-repeat;background-position:-280px -24px;border:0}.vco-storyjs .thumbnail.thumb-photo img{border:0 none #ccc !important}.vco-storyjs .thumbnail.thumb-twitter{background-repeat:no-repeat;background-position:-256px -24px}.vco-storyjs .thumbnail.thumb-vimeo{background-repeat:no-repeat;background-position:-328px -48px}.vco-storyjs .thumbnail.thumb-vine{background-repeat:no-repeat;background-position:-232px -72px}.vco-storyjs .thumbnail.thumb-youtube{background-repeat:no-repeat;background-position:-328px -72px}.vco-storyjs .thumbnail.thumb-video{background-repeat:no-repeat;background-position:-328px -24px}.vco-storyjs .thumbnail.thumb-audio{background-repeat:no-repeat;background-position:-304px -24px}.vco-storyjs .thumbnail.thumb-map{background-repeat:no-repeat;background-position:-208px -48px}.vco-storyjs .thumbnail.thumb-website{background-repeat:no-repeat;background-position:-232px -24px}.vco-storyjs .thumbnail.thumb-link{background-repeat:no-repeat;background-position:-184px -72px}.vco-storyjs .thumbnail.thumb-wikipedia{background-repeat:no-repeat;background-position:-184px -48px}.vco-storyjs .thumbnail.thumb-storify{background-repeat:no-repeat;background-position:-328px -96px}.vco-storyjs .thumbnail.thumb-googleplus{background-repeat:no-repeat;background-position:-208px -72px}.vco-storyjs thumbnail.thumb-instagram{background-repeat:no-repeat;background-position:-208px -96px}.vco-storyjs thumbnail.thumb-instagram-full{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-232px -96px;width:48px;height:24px}.vco-storyjs .thumb-storify-full{height:12px;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-280px -96px;width:48px}.vco-storyjs .thumbnail-inline{width:16px;height:14px;overflow:hidden;display:inline-block;margin-right:1px;margin-left:3px;margin-top:2px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-storyjs .twitter .thumbnail-inline{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-160px -96px}.vco-storyjs .storify .thumbnail-inline{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-184px -96px}.vco-storyjs .googleplus .thumbnail-inline{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px -96px}.vco-storyjs .zFront{z-index:204}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-storyjs div.vco-loading .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-loading-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-loading-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-loading-icon{background-image:url(loading@2x.gif?v3.4)}.vco-storyjs div.vco-loading .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-loading-container .vco-gesture-icon,.vco-storyjs div.vco-loading .vco-explainer-container .vco-gesture-icon,.vco-storyjs div.vco-explainer .vco-explainer-container .vco-gesture-icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-160px -160px;width:48px;height:48px}}.vco-notouch .vco-navigation .vco-toolbar .zoom-in:hover,.vco-notouch .vco-navigation .vco-toolbar .zoom-out:hover,.vco-notouch .vco-navigation .vco-toolbar .back-home:hover{color:#08c;cursor:pointer;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-navigation .timenav .content .marker.active:hover{cursor:default}.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag .flag-content h3,.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag-small .flag-content h3{color:#08c}.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag .flag-content h4,.vco-notouch .vco-navigation .timenav .content .marker.active:hover .flag-small .flag-content h4{color:#999}.vco-notouch .vco-navigation .timenav .content .marker:hover .line{z-index:24;background:#999}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{cursor:pointer}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content h3,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h3{color:#333}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content h4,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h4{color:#aaa}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover .flag-content .thumbnail,.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content .thumbnail{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{height:56px;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content{height:36px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover .flag-content h3{margin-top:5px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover .flag-content{height:14px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation{clear:both;cursor:move;width:100%;height:200px;border-top:1px solid #e3e3e3;position:relative}.vco-timeline .vco-navigation .vco-toolbar{position:absolute;top:45px;left:0;z-index:202;background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:1px 1px 0 rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 0 rgba(0,0,0,0.2);box-shadow:1px 1px 0 rgba(0,0,0,0.2)}.vco-timeline .vco-navigation .vco-toolbar .zoom-in,.vco-timeline .vco-navigation .vco-toolbar .zoom-out,.vco-timeline .vco-navigation .vco-toolbar .back-home{font-weight:normal;font-size:10px;line-height:20px;top:0;z-index:202;width:18px;height:18px;color:#333;text-align:center;font-weight:bold;border:1px solid #fff;padding:5px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .vco-toolbar .zoom-in .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-256px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar .zoom-out .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-280px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar .back-home .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-328px 0;width:24px;height:24px}.vco-timeline .vco-navigation .vco-toolbar.touch{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;background-color:transparent;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-in,.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-out,.vco-timeline .vco-navigation .vco-toolbar.touch .back-home{width:40px;height:40px;padding:5px;background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:1px 1px 0 rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 0 rgba(0,0,0,0.2);box-shadow:1px 1px 0 rgba(0,0,0,0.2);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-in .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .vco-toolbar.touch .zoom-out .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-256px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .vco-toolbar.touch .back-home .icon{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-304px -160px;width:40px;height:40px}.vco-timeline .vco-navigation .timenav-background{position:absolute;cursor:move;top:0;left:0;height:150px;width:100%;background-color:#e9e9e9}.vco-timeline .vco-navigation .timenav-background .timenav-interval-background{position:absolute;top:151px;left:0;background:#fff;width:100%;height:49px;-webkit-box-shadow:-1px -1px 7px rgba(0,0,0,0.1);-moz-box-shadow:-1px -1px 7px rgba(0,0,0,0.1);box-shadow:-1px -1px 7px rgba(0,0,0,0.1)}.vco-timeline .vco-navigation .timenav-background .timenav-interval-background .top-highlight{position:absolute;top:-1px;left:0;z-index:30;width:100%;height:1px;background:#fff;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5;-webkit-box-shadow:1px 1px 5px rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 5px rgba(0,0,0,0.2);box-shadow:1px 1px 5px rgba(0,0,0,0.2)}.vco-timeline .vco-navigation .timenav-background .timenav-line{position:absolute;top:0;left:50%;width:3px;height:150px;background-color:#08c;z-index:1;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,0.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,0.3);box-shadow:1px 1px 7px rgba(0,0,0,0.3)}.vco-timeline .vco-navigation .timenav-background .timenav-indicator{position:absolute;top:-1px;left:50%;z-index:202;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-160px -48px;width:24px;height:24px}.vco-timeline .vco-navigation .timenav-background .timenav-tag div{height:50px;display:table}.vco-timeline .vco-navigation .timenav-background .timenav-tag div h3{display:table-cell;vertical-align:middle;padding-left:65px;font-size:15px;color:#d0d0d0;font-weight:bold;text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-half{height:25px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-half div{height:25px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-full{height:50px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-size-full div{height:50px}.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-2,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-4,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-6{background:#f1f1f1}.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-1,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-3,.vco-timeline .vco-navigation .timenav-background .timenav-tag-row-5{background:#e9e9e9}.vco-timeline .vco-navigation .timenav{position:absolute;top:0;left:-250px;z-index:1}.vco-timeline .vco-navigation .timenav .content{position:relative}.vco-timeline .vco-navigation .timenav .content .marker.start{display:none}.vco-timeline .vco-navigation .timenav .content .marker.active .dot{background:#08c;z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .line{z-index:199;background:#08c;width:1px}.vco-timeline .vco-navigation .timenav .content .marker.active .line .event-line{background:#08c;filter:alpha(opacity=75);-khtml-opacity:.75;-moz-opacity:.75;opacity:.75}.vco-timeline .vco-navigation .timenav .content .marker.active .flag,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small{z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content{height:36px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content h3,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content h3{color:#08c;margin-top:5px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag .flag-content .thumbnail,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content .thumbnail{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row1,.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row2,.vco-timeline .vco-navigation .timenav .content .marker.active .flag.row3,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row1,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row2,.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small.row3{z-index:200}.vco-timeline .vco-navigation .timenav .content .marker.active .flag{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content{height:14px}.vco-timeline .vco-navigation .timenav .content .marker.active .flag-small .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation .timenav .content .marker{position:absolute;top:0;left:150px;display:block}.vco-timeline .vco-navigation .timenav .content .marker .dot{position:absolute;top:150px;left:0;display:block;width:6px;height:6px;background:#333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;z-index:21}.vco-timeline .vco-navigation .timenav .content .marker .line{position:absolute;top:0;left:3px;width:1px;height:150px;background-color:#ccc;background-color:rgba(204,204,204,0.5);-webkit-box-shadow:1px 0 0 rgba(255,255,255,0.5);-moz-box-shadow:1px 0 0 rgba(255,255,255,0.5);box-shadow:1px 0 0 rgba(255,255,255,0.5);z-index:22}.vco-timeline .vco-navigation .timenav .content .marker .line .event-line{position:absolute;z-index:22;left:0;height:1px;width:1px;background:#08c;filter:alpha(opacity=15);-khtml-opacity:.15;-moz-opacity:.15;opacity:.15}.vco-timeline .vco-navigation .timenav .content .marker .flag,.vco-timeline .vco-navigation .timenav .content .marker .flag-small{position:absolute;top:15px;left:3px;padding:0;display:block;z-index:23;width:153px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content{padding:0 7px 2px 6px;overflow:hidden}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3{font-weight:bold;font-size:15px;line-height:20px;font-size:11px;line-height:11px;color:#999;margin-bottom:2px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3 small,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3 small{display:none}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h4,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h4{display:none;font-weight:normal;font-size:15px;line-height:20px;margin-top:5px;font-size:10px;line-height:10px;color:#aaa}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h4 small,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h4 small{display:none}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content .thumbnail,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail{margin-bottom:15px;margin-right:3px;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content .thumbnail img,.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail img{width:22px;height:22px;max-height:none;max-width:none;border:0;border:1px solid #999;padding:0;margin:0}.vco-timeline .vco-navigation .timenav .content .marker .flag{height:56px;background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 0;width:153px;height:53px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content{height:36px}.vco-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3{margin-top:5px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:0 -135px;width:153px;height:26px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content{height:14px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content h3{margin-top:4px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail{width:16px;height:10px;margin-right:1px;margin-top:6px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-plaintext{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-280px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-quote{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-232px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-document{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-256px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-photo{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-280px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-twitter{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-256px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-vimeo{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-328px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-vine{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-160px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-youtube{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-304px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-video{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-328px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-audio{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-304px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-map{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-website{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-232px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-link{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-232px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-wikipedia{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-184px -120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-storify{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-184px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content .thumbnail.thumb-googleplus{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px -130px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small .flag-content thumbnail.thumb-instagram{background-image:url(timeline.png?v4.4);background-repeat:no-repeat;background-position:-208px -96px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row1{z-index:25;top:48px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row2{z-index:24;top:96px}.vco-timeline .vco-navigation .timenav .content .marker .flag.row3{z-index:23;top:1px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row1{z-index:28;top:24px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row2{z-index:27;top:48px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row3{z-index:26;top:72px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row4{z-index:25;top:96px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row5{z-index:24;top:120px}.vco-timeline .vco-navigation .timenav .content .marker .flag-small.row6{z-index:23;top:1px}.vco-timeline .vco-navigation .timenav .content .marker .flag.zFront,.vco-timeline .vco-navigation .timenav .content .marker .flag-small.zFront{z-index:201}.vco-timeline .vco-navigation .timenav .content .era{position:absolute;top:138px;left:150px;height:12px;display:block;overflow:hidden}.vco-timeline .vco-navigation .timenav .content .era div{height:50px;width:100%;height:100%;line-height:0;background:#e9e9e9;background:rgba(233,233,233,0.33)}.vco-timeline .vco-navigation .timenav .content .era div h3,.vco-timeline .vco-navigation .timenav .content .era div h4{position:absolute;bottom:1px;padding-left:15px;font-size:15px;font-weight:bold;color:rgba(0,136,204,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era1 div{background:#c40;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(204,68,0,0.1);border-right:1px solid rgba(255,85,0,0.05)}.vco-timeline .vco-navigation .timenav .content .era1 div h3,.vco-timeline .vco-navigation .timenav .content .era1 div h4{color:rgba(204,68,0,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era2 div{background:#c02;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(204,0,34,0.1);border-right:1px solid rgba(255,0,43,0.05)}.vco-timeline .vco-navigation .timenav .content .era2 div h3,.vco-timeline .vco-navigation .timenav .content .era2 div h4{color:rgba(204,0,34,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era3 div{background:#02c;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(0,34,204,0.1);border-right:1px solid rgba(0,43,255,0.05)}.vco-timeline .vco-navigation .timenav .content .era3 div h3,.vco-timeline .vco-navigation .timenav .content .era3 div h4{color:rgba(0,34,204,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era4 div{background:#ca0;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(204,170,0,0.1);border-right:1px solid rgba(255,213,0,0.05)}.vco-timeline .vco-navigation .timenav .content .era4 div h3,.vco-timeline .vco-navigation .timenav .content .era4 div h4{color:rgba(204,170,0,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era5 div{background:#0ca;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(0,204,170,0.1);border-right:1px solid rgba(0,255,213,0.05)}.vco-timeline .vco-navigation .timenav .content .era5 div h3,.vco-timeline .vco-navigation .timenav .content .era5 div h4{color:rgba(0,204,170,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .content .era6 div{background:#08c;filter:alpha(opacity=10);-khtml-opacity:.1;-moz-opacity:.1;opacity:.1;border-left:1px solid rgba(0,136,204,0.1);border-right:1px solid rgba(0,170,255,0.05)}.vco-timeline .vco-navigation .timenav .content .era6 div h3,.vco-timeline .vco-navigation .timenav .content .era6 div h4{color:rgba(0,136,204,0.35);text-shadow:0 1px 1px #fff}.vco-timeline .vco-navigation .timenav .time{position:absolute;left:0;top:150px;height:50px;background-color:#fff;line-height:0}.vco-timeline .vco-navigation .timenav .time .time-interval-minor{max-width:none;height:6px;white-space:nowrap;position:absolute;top:-2px;left:8px;z-index:10}.vco-timeline .vco-navigation .timenav .time .time-interval-minor .minor{position:relative;top:2px;display:inline-block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAMCAMAAACdvocfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFzMzM////040VdgAAAAJ0Uk5T/wDltzBKAAAAEklEQVR42mJgYAQCBopJgAADAAbwADHy2qHzAAAAAElFTkSuQmCC);width:100px;height:6px;background-position:center top;white-space:nowrap;color:#666;margin-top:0;padding-top:0}.vco-timeline .vco-navigation .timenav .time .time-interval{white-space:nowrap;position:absolute;top:5px;left:0}.vco-timeline .vco-navigation .timenav .time .time-interval div{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAMCAMAAACdvocfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFzMzM////040VdgAAAAJ0Uk5T/wDltzBKAAAAEklEQVR42mJgYAQCBopJgAADAAbwADHy2qHzAAAAAElFTkSuQmCC);background-position:left top;background-repeat:no-repeat;padding-top:6px;position:absolute;height:3px;left:0;display:block;font-weight:normal;font-size:10px;line-height:20px;text-transform:uppercase;text-align:left;text-indent:0;white-space:nowrap;color:#666;margin-left:0;margin-right:0;margin-top:0;z-index:2}.vco-timeline .vco-navigation .timenav .time .time-interval div strong{font-weight:bold;color:#000}.vco-timeline .vco-navigation .timenav .time .time-interval div.era{font-weight:bold;padding-top:0;margin-top:-3px;margin-left:2px;background-image:none}.vco-timeline .vco-navigation .timenav .time .time-interval .era1{color:#c40;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era2{color:#c02;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era3{color:#02c;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era4{color:#ca0;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era5{color:#0ca;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval .era6{color:#08c;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5}.vco-timeline .vco-navigation .timenav .time .time-interval-major{white-space:nowrap;position:absolute;top:5px;left:0}.vco-timeline .vco-navigation .timenav .time .time-interval-major div{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQAQMAAADtUYf0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyOTAzRjI3REIzNDcxMUUxQUQ3QUZCOThEODQ1NDhCNyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyOTAzRjI3RUIzNDcxMUUxQUQ3QUZCOThEODQ1NDhCNyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjI5MDNGMjdCQjM0NzExRTFBRDdBRkI5OEQ4NDU0OEI3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjI5MDNGMjdDQjM0NzExRTFBRDdBRkI5OEQ4NDU0OEI3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+DPWNfQAAAANQTFRFzMzMylJEJwAAAAtJREFUCB1jYMAPAAAgAAHDvpOtAAAAAElFTkSuQmCC);background-position:left top;background-repeat:no-repeat;padding-top:15px;position:absolute;height:15px;left:0;display:block;font-weight:bold;font-size:12px;line-height:20px;text-transform:uppercase;text-align:left;text-indent:0;white-space:nowrap;color:#333;margin-left:0;margin-right:0;margin-top:1px;z-index:5}.vco-timeline .vco-navigation .timenav .time .time-interval-major div strong{font-weight:bold;color:#000}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.vco-notouch .vco-navigation .vco-toolbar .zoom-in .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-256px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar .zoom-out .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-280px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar .back-home .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-328px 0;width:24px;height:24px}.vco-notouch .vco-navigation .vco-toolbar.touch .zoom-in .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-208px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .vco-toolbar.touch .zoom-out .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-256px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .vco-toolbar.touch .back-home .icon{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-304px -160px;width:40px;height:40px}.vco-notouch .vco-navigation .timenav .content .marker .flag:hover{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small:hover{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px}.vco-notouch .vco-navigation .timenav .content .marker .flag-small.flag-small-last:hover{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:0 -109px;width:153px;height:26px}.vco-notouch .vco-navigation .timenav-background .timenav-indicator{background-image:url(timeline@2x.png?v4.4);background-size:352px 260px;background-repeat:no-repeat;background-position:-160px -48px;width:24px;height:24px}}@media screen and (max-device-width:480px) and (orientation:portrait){.storyjs-embed.full-embed{width:100%}}@media screen and (max-device-width:480px) and (orientation:landscape){.storyjs-embed.full-embed{width:100%}} \ No newline at end of file diff --git a/build/js/locale/af.js b/build/js/locale/af.js index c3c401215..265bb8583 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index ac2d1c910..f96e67d2e 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index 3522976e1..bd13c6f4a 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index a39170faf..93d4b58a7 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 024d537b0..ce43bcd48 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index 2766a0c11..b1a8f1127 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 74d96c46e..2efbc4b8f 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index bb9bde91a..3ea514596 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 0ba1829e1..4a43d7580 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index 43b9f587f..46da2faf0 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index 87f6b7de0..ee9265b8b 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index 1f8e8c097..f6b8cbd7a 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 337285729..30334b8dc 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index be51669c3..7b0f45574 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index c9c4a1f2a..de658eea6 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index f8019d140..06490af9a 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index a86327f87..0bb75ae27 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index db991cf01..cb9f0e04d 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index c49fd963c..c83dbb040 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 46327ceef..2e28df50e 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index f9df90a99..e56bb0021 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index bc0f55f16..269f458c1 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index 7a5031ead..fa48625c2 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index 4f0ec08d5..a1c30d62b 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index bd60678ce..e574863c6 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 9dfabfc24..85c140bae 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 590f72adb..309e32905 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index c12cd9d7a..910b8c3f0 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 810d7f4f9..7ff883c56 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index d40a11b84..bbcf2e5d9 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index 604feb727..ce193a162 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index b7ed5c252..4d7e019df 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index a37cf5774..3827b81d2 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index e9031814e..0ea4d1383 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 663074cb6..2b8269d0f 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index dd2ddcc1d..d4aed5d42 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 7375d2581..7f0af1be0 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index e73c53b67..d979121e6 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 02d1d5121..241db9992 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index f76ec41b6..a3b064cc8 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index e9aadaac3..6e983b2d2 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 2e1209001..ab8f235bb 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index 1de1cc833..65bf3ce43 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 446457ea5..937bd1b25 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index 7fde9f7da..a11937150 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index ce8da0127..d24eb20d3 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 0c7d2e57e..2708fa685 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index 000020469..92e555023 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index cdaf2222f..d9a277c2e 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index e411382e8..9802a5e3c 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index cd17cd97c..3c9d675ea 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 9eea61fec..b1cf80227 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 6945c74ba..76fcc2422 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index 71722672f..29f81085a 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 05b93ec51..09d55d272 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 262c22397..29ed397a2 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 05a0d3e2f..6f0d9c06e 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 58cb36f99..89e1a9512 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index fed16d56a..7226e14ef 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index f312a147a..1a023f359 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index 8ffde150c..010c09d91 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 2b447092b..fdf4d44e5 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index b73051e33..1a1fbaac7 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index e877ca8c2..25525004b 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 18ce91187..df4b82e14 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index a9fb344f3..3d029b819 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,14 +1,14 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi; -return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText); -trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature"); -$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours()); -int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file +(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!("prop"in jQuery.fn)){return VMM.Lib.attribute(element,aName,value)}else if(typeof value!="undefined"){return jQuery(element).prop(aName,value)}else{return jQuery(element).prop(aName)}},attribute:function(element,aName,value){if(typeof jQuery!="undefined"){if(typeof value!="undefined"&&value!=null&&value!=""){return jQuery(element).attr(aName,value)}else{return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.features.css.transitions&&!("scrollTop"in _att)){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.features.css.transitions&&!("scrollTop"in _att)){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(var x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation);this.features={css:{transitions:this.cssTransitionSupport()}}},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim; +var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi;return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege() +}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key +}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours() +}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file diff --git a/build/js/timeline.js b/build/js/timeline.js index 6a6c19bf3..8e30cdd89 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.4 - 2015-02-17 + TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -666,28 +666,27 @@ if(typeof VMM != 'undefined') { } } }, - + prop: function(element, aName, value) { - if (typeof jQuery == 'undefined' || !/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)) { - VMM.Lib.attribute(element, aName, value); + if (typeof jQuery == 'undefined' || !('prop' in jQuery.fn)) { + return VMM.Lib.attribute(element, aName, value); + } else if (typeof value != 'undefined') { + return jQuery(element).prop(aName, value); } else { - jQuery(element).prop(aName, value); + return jQuery(element).prop(aName); } }, - + attribute: function(element, aName, value) { - - if (value != null && value != "") { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).attr(aName, value); - } - } else { - if( typeof( jQuery ) != 'undefined' ){ + if (typeof(jQuery) != 'undefined') { + if (typeof(value) != 'undefined' && value != null && value != "") { + return jQuery(element).attr(aName, value); + } else { return jQuery(element).attr(aName); } } }, - + visible: function(element, show) { if (show != null) { if( typeof( jQuery ) != 'undefined' ){ @@ -813,9 +812,10 @@ if(typeof VMM != 'undefined') { jQuery(element).stop(); } }, - + + // TODO: Consider removing this as it's referenced by one commented line delay_animate: function(delay, element, duration, ease, att, callback_function) { - if (VMM.Browser.device == "mobile" || VMM.Browser.device == "tablet") { + if (VMM.Browser.features.css.transitions && !('scrollTop' in _att)) { var _tdd = Math.round((duration/1500)*10)/10, __duration = _tdd + 's'; @@ -838,8 +838,8 @@ if(typeof VMM != 'undefined') { var _ease = "easein", _que = false, _duration = 1000, - _att = {}; - + _att; + if (duration != null) { if (duration < 1) { _duration = 1; @@ -859,20 +859,18 @@ if(typeof VMM != 'undefined') { if (att != null) { - _att = att + _att = att; } else { - _att = {opacity: 0} + _att = {opacity: 0}; } - - - if (VMM.Browser.device == "mobile" || VMM.Browser.device == "tablet") { - + + if (VMM.Browser.features.css.transitions && !('scrollTop' in _att)) { var _tdd = Math.round((_duration/1500)*10)/10, __duration = _tdd + 's'; _ease = " cubic-bezier(0.33, 0.66, 0.66, 1)"; //_ease = " ease-in-out"; - for (x in _att) { + for (var x in _att) { if (Object.prototype.hasOwnProperty.call(_att, x)) { trace(x + " to " + _att[x]); VMM.Lib.css(element, '-webkit-transition', x + ' ' + __duration + _ease); @@ -1004,12 +1002,17 @@ if(typeof VMM != 'undefined' && typeof VMM.Browser == 'undefined') { this.OS = this.searchString(this.dataOS) || "an unknown OS"; this.device = this.searchDevice(navigator.userAgent); this.orientation = this.searchOrientation(window.orientation); + this.features = { + css: { + transitions: this.cssTransitionSupport() + } + }; }, searchOrientation: function(orientation) { var orient = ""; - if ( orientation == 0 || orientation == 180) { + if ( orientation == 0 || orientation == 180) { orient = "portrait"; - } else if ( orientation == 90 || orientation == -90) { + } else if ( orientation == 90 || orientation == -90) { orient = "landscape"; } else { orient = "normal"; @@ -1147,9 +1150,30 @@ if(typeof VMM != 'undefined' && typeof VMM.Browser == 'undefined') { subString: "Linux", identity: "Linux" } - ] + ], + cssTransitionSupport: function () { + // See https://gist.github.com/jackfuchs/556448 + var b = document.body || document.documentElement, + s = b.style, + p = 'transition'; - } + if (typeof s[p] == 'string') { + return true; + } + + // Tests for vendor specific prop + var v = ['Moz', 'webkit', 'Webkit', 'Khtml', 'O', 'ms']; + p = p.charAt(0).toUpperCase() + p.substr(1); + + for (var i=0; i 3) { config.nav.rows.current = config.nav.rows.half; } else { From ec2037dd8b60695e4feca86d316063eb73ed702d Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 17 Feb 2015 16:24:25 -0600 Subject: [PATCH 34/95] note contributions from @acdha --- CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index ad7658733..46bad26b5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +2.35.5 (pending) +------ +#672,679,681,683 a series of presentation/performance tweaks from @acdha + + 2.35.4 (2015-02-17) ------ Fix Stamen map tile URL bug From 77d726e806c82f950a866d0c35b5e934ea34edba Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Thu, 26 Feb 2015 15:48:59 -0600 Subject: [PATCH 35/95] fix regression introduced in a211265133ad6f88188e257671d41ba7941b1d32 breaking auto-linking --- build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 12 ++++++------ build/js/timeline.js | 8 ++++++-- source/js/Core/Core/VMM.Util.js | 6 +++++- 88 files changed, 102 insertions(+), 94 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index d054b85cc..6e01cd0b4 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 10a717e9e..e3864dcfc 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index 019d72cdf..16b9460b5 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index f7e80d213..0f48ae823 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index 4a5477c5e..76abe8fd6 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 8e3bdfb1d..34d8fec7b 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index da09e2b09..b8a510420 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index c3d34fc87..ff9e1a7f2 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index 19fe58053..adc8ee300 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index dcb845e8f..9a3450c16 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 2af6d24db..42ee97968 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index 12ec3a9ba..b4ab6a0ea 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 2e0a527a1..8e9c40430 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 6a698f621..a60ffa6d0 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 141b433c8..de64e9523 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 82d1656b1..5fc5b9975 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 45264c48c..b2ff16a44 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 557154ca1..94012ae86 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index d0d99ccc2..15a333c48 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index 34e4a2c2f..00c3a639f 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index 265bb8583..5345cf588 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index f96e67d2e..6f4ac99b4 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index bd13c6f4a..5db63d9d4 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index 93d4b58a7..e2ce9d29c 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index ce43bcd48..7a71d2570 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index b1a8f1127..e66d2d67f 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 2efbc4b8f..95c721dc7 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 3ea514596..01fe90cc5 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 4a43d7580..750db8565 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index 46da2faf0..34517e5c0 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index ee9265b8b..476cc2717 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index f6b8cbd7a..006438b73 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 30334b8dc..e0577ba91 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 7b0f45574..057c74c0b 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index de658eea6..dc15b404d 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 06490af9a..61f95660b 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 0bb75ae27..40b6ac5f4 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index cb9f0e04d..7beeed5fa 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index c83dbb040..05cd0851e 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 2e28df50e..186ba3af6 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index e56bb0021..ff93bf6ef 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index 269f458c1..229b7c79c 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index fa48625c2..ed6e76570 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index a1c30d62b..ea1683cda 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index e574863c6..978171066 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 85c140bae..4e94f4cac 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 309e32905..b9930055e 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 910b8c3f0..8907a1722 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 7ff883c56..e76846684 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index bbcf2e5d9..870b94433 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index ce193a162..fc94a246d 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index 4d7e019df..36dc39959 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index 3827b81d2..e5a21068f 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index 0ea4d1383..8da2f50e1 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 2b8269d0f..7799ca28f 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index d4aed5d42..f38305a9b 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 7f0af1be0..9213a33a6 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index d979121e6..9709a6a2e 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 241db9992..d76ea529c 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index a3b064cc8..8043cb824 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index 6e983b2d2..01a1cd529 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index ab8f235bb..cb3407b4e 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index 65bf3ce43..7de8e3279 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 937bd1b25..0a0add69c 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index a11937150..23e8c311a 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index d24eb20d3..14e441a3f 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 2708fa685..a8b6d0c4e 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index 92e555023..5b81145a5 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index d9a277c2e..8fb79518f 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 9802a5e3c..4271a1733 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 3c9d675ea..7a3579eed 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index b1cf80227..5efb2f222 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 76fcc2422..73d121f2c 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index 29f81085a..549ef1f6a 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 09d55d272..c47055429 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 29ed397a2..6c3436553 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 6f0d9c06e..74365715e 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 89e1a9512..002a4956d 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 7226e14ef..1a190bb98 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 1a023f359..a9eb877fd 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index 010c09d91..eb5e78181 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index fdf4d44e5..582852422 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 1a1fbaac7..2f2bac7b6 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 25525004b..8305b6b4b 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index df4b82e14..9735e7ec2 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index 3d029b819..19a099ac6 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -7,8 +7,8 @@ If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ (function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!("prop"in jQuery.fn)){return VMM.Lib.attribute(element,aName,value)}else if(typeof value!="undefined"){return jQuery(element).prop(aName,value)}else{return jQuery(element).prop(aName)}},attribute:function(element,aName,value){if(typeof jQuery!="undefined"){if(typeof value!="undefined"&&value!=null&&value!=""){return jQuery(element).attr(aName,value)}else{return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.features.css.transitions&&!("scrollTop"in _att)){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.features.css.transitions&&!("scrollTop"in _att)){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(var x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation);this.features={css:{transitions:this.cssTransitionSupport()}}},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim; -var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi;return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege() -}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key -}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours() -}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file +var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi;return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top}) +}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config; +this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time) +}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file diff --git a/build/js/timeline.js b/build/js/timeline.js index 8e30cdd89..3ded7c38f 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-17-22-18-48 - 2015-02-17 + TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -2025,12 +2025,16 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') { return text.replace(exp, "$3"); } // Email addresses - var emailAddressPattern = /([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim; + var emailAddressPattern = /([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim; + //var twitterHandlePattern = /(@([\w]+))/g; var twitterHandlePattern = /\B@([\w-]+)/gm; var twitterSearchPattern = /(#([\w]+))/g; return text + //.replace(urlPattern, "$&") + .replace(url_pattern, url_replace) + .replace(pseudoUrlPattern, "$1$2") .replace(emailAddressPattern, "$1") .replace(twitterHandlePattern, "@$1"); diff --git a/source/js/Core/Core/VMM.Util.js b/source/js/Core/Core/VMM.Util.js index 8c09f0b71..afa98758c 100644 --- a/source/js/Core/Core/VMM.Util.js +++ b/source/js/Core/Core/VMM.Util.js @@ -236,12 +236,16 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') { return text.replace(exp, "$3"); } // Email addresses - var emailAddressPattern = /([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim; + var emailAddressPattern = /([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim; + //var twitterHandlePattern = /(@([\w]+))/g; var twitterHandlePattern = /\B@([\w-]+)/gm; var twitterSearchPattern = /(#([\w]+))/g; return text + //.replace(urlPattern, "$&") + .replace(url_pattern, url_replace) + .replace(pseudoUrlPattern, "$1$2") .replace(emailAddressPattern, "$1") .replace(twitterHandlePattern, "@$1"); From c7200d5984dbde3d8d670e7db104b2fd6ea199d6 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Thu, 26 Feb 2015 15:49:59 -0600 Subject: [PATCH 36/95] update CHANGELOG for 2.35.5 --- CHANGELOG | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 46bad26b5..dbb43561f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,7 @@ -2.35.5 (pending) +2.35.5 (2015-02-26) ------ #672,679,681,683 a series of presentation/performance tweaks from @acdha - +Fix auto-linking regression 2.35.4 (2015-02-17) ------ From 76ae13ea840202e71a6e02ba928f5a74dbb568f8 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Thu, 26 Feb 2015 15:50:34 -0600 Subject: [PATCH 37/95] Release 2.35.5 --- build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 2 +- build/js/timeline.js | 2 +- 87 files changed, 87 insertions(+), 87 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 6e01cd0b4..8b61dd02b 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index e3864dcfc..04abcf76e 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index 16b9460b5..fa8c506f2 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index 0f48ae823..8b548b46d 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index 76abe8fd6..88eda1f81 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 34d8fec7b..4f93baf87 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index b8a510420..4c370ecd3 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index ff9e1a7f2..aa659abee 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index adc8ee300..eb1766a58 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index 9a3450c16..80b916202 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 42ee97968..071399c54 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index b4ab6a0ea..e3fcf9672 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 8e9c40430..4cca05e4f 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index a60ffa6d0..31fcda951 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index de64e9523..23402abc7 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 5fc5b9975..8a1f6d9ad 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index b2ff16a44..f871df80e 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 94012ae86..876630772 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 15a333c48..c2f838504 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index 00c3a639f..6d9a56585 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index 5345cf588..035bdbbe1 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index 6f4ac99b4..844e4f8bd 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index 5db63d9d4..da4a887e2 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index e2ce9d29c..557889cac 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 7a71d2570..ea243892a 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index e66d2d67f..1ee8fd0f3 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 95c721dc7..753e3405b 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 01fe90cc5..0884cb01e 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 750db8565..cd5971912 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index 34517e5c0..c9353b3ab 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index 476cc2717..d26604790 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index 006438b73..473e9e7dc 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index e0577ba91..8994fa695 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 057c74c0b..167f3a1a7 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index dc15b404d..17d2dc9b6 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 61f95660b..878693e50 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 40b6ac5f4..f48d9f138 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 7beeed5fa..362c39d30 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 05cd0851e..fecb41823 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 186ba3af6..514cb5aa9 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index ff93bf6ef..c048167da 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index 229b7c79c..1b51a06b7 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index ed6e76570..09102a349 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index ea1683cda..e7b930280 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index 978171066..1dd8176f5 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 4e94f4cac..e51ec0566 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index b9930055e..d18db1b49 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 8907a1722..2319aea27 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index e76846684..b80aee2c1 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 870b94433..7e0dd55be 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index fc94a246d..1fddde23c 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index 36dc39959..e7d72f7ef 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index e5a21068f..38411b3e2 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index 8da2f50e1..2bd9a6dfb 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 7799ca28f..b10dbb9d1 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index f38305a9b..cba231010 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 9213a33a6..95ad34e51 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index 9709a6a2e..643fd38e9 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index d76ea529c..718bdc2d0 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index 8043cb824..24b7fc183 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index 01a1cd529..dcdaab468 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index cb3407b4e..8f805d798 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index 7de8e3279..3f8f0ec05 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 0a0add69c..830d423a9 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index 23e8c311a..655ddc9f0 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 14e441a3f..d95b789ab 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index a8b6d0c4e..a5dd01429 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index 5b81145a5..5fee4eaf2 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index 8fb79518f..01e0339da 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 4271a1733..f1f8cb133 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 7a3579eed..852fe313b 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 5efb2f222..db33de1ca 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 73d121f2c..63742bcfb 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index 549ef1f6a..d8a9e2cc1 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index c47055429..c62f4b9ca 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 6c3436553..21e15f75e 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 74365715e..73845603b 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 002a4956d..8b112b78f 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 1a190bb98..cd721d04d 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index a9eb877fd..1d595737e 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index eb5e78181..f39205aac 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 582852422..09862278c 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 2f2bac7b6..710dacced 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 8305b6b4b..415a0f39a 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 9735e7ec2..06db34708 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index 19a099ac6..59ba20883 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline.js b/build/js/timeline.js index 3ded7c38f..d958c215a 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-02-26-21-41-00 - 2015-02-26 + TimelineJS - ver. 2.35.5 - 2015-02-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS From a8c29b3c459c93d65c4c6372930d0615f54badad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Saraos=20Luna?= Date: Wed, 11 Mar 2015 13:58:19 +0100 Subject: [PATCH 38/95] Corrected language link --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 20e0a2b60..8be450573 100644 --- a/README.markdown +++ b/README.markdown @@ -218,7 +218,7 @@ Languages available: -Help us add more. Grab a copy of a language file and replace it with your language [Example language file](https://github.com/VeriteCo/StoryJS-Core/blob/master/Language/locale/en.js) and find your language's [two letter code here](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) +Help us add more. Grab a copy of a language file and replace it with your language [Example language file](https://github.com/NUKnightLab/TimelineJS/blob/master/source/js/Core/Language/locale/en.js) and find your language's [two letter code here](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) ###Start at End `start_at_end` From c3015db225b0d9f09fb21b5c8657b7534f6e39ca Mon Sep 17 00:00:00 2001 From: cnoize Date: Sun, 15 Mar 2015 00:31:31 +0800 Subject: [PATCH 39/95] Update zh-cn.js It is better remove space between month and day with chinese. --- build/js/locale/zh-cn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index f39205aac..c5a21e89a 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -6,4 +6,4 @@ This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -if(typeof VMM!="undefined"){VMM.Language={lang:"zh-cn",api:{wikipedia:"zh"},date:{month:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],month_abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],day:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],day_abbr:["周日","周一","周二","周三","周四","周五","周六"]},dateformats:{year:"yyyy年",month_short:"mmm",month:"yyyy年 mmmm",full_short:"mmm d日",full:"yyyy年mmmm d日",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy年mmmm d日''",full_long:"dddd',' yyyy年 mmm d日'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' yyyy年 mmm d日''"},messages:{loading_timeline:"加载时间线... ",return_to_title:"回到开头",expand_timeline:"伸展时间",contract_timeline:"缩短时间",wikipedia:"来自维基百科,自由的百科全书",loading_content:"正在加载内容",loading:"加载中",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file +if(typeof VMM!="undefined"){VMM.Language={lang:"zh-cn",api:{wikipedia:"zh"},date:{month:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],month_abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],day:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],day_abbr:["周日","周一","周二","周三","周四","周五","周六"]},dateformats:{year:"yyyy年",month_short:"mmm",month:"yyyy年 mmmm",full_short:"mmm d日",full:"yyyy年mmmmd日",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy年mmmmd日''",full_long:"dddd',' yyyy年mmmd日'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' yyyy年mmmd日''"},messages:{loading_timeline:"加载时间线... ",return_to_title:"回到开头",expand_timeline:"伸展时间",contract_timeline:"缩短时间",wikipedia:"来自维基百科,自由的百科全书",loading_content:"正在加载内容",loading:"加载中",swipe_nav:"Swipe to Navigate"}}} From 30c38330265d1f8589d798b7572cfceb769f3503 Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Mon, 16 Mar 2015 13:37:48 +0200 Subject: [PATCH 40/95] Translate "swipe_nav" in Bulgarian The new key "swipe_nav" was not translated in Bulgarian. "Swipe to navigate" has no good translation in Bulgarian. I've translated the rough meaning. --- source/js/Core/Language/locale/bg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/Core/Language/locale/bg.js b/source/js/Core/Language/locale/bg.js index 6b3d30fde..ea1f151d9 100644 --- a/source/js/Core/Language/locale/bg.js +++ b/source/js/Core/Language/locale/bg.js @@ -32,6 +32,6 @@ if(typeof VMM != 'undefined') { wikipedia: "От Уикипедия, свободната енциклопедия", loading_content: "Съдържанието се зарежда", loading: "Зарежда се", - swipe_nav: "Swipe to Navigate" } + swipe_nav: "Сменяйте с плъзгане настрани" } } } \ No newline at end of file From a408b0217779ad26aa8405b7b33963680f6f2f65 Mon Sep 17 00:00:00 2001 From: Luke Rague Date: Tue, 24 Mar 2015 17:11:30 +0000 Subject: [PATCH 41/95] nav icons white to black for skinny mode non-hover --- source/less/Core/VMM.Slider.less | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/source/less/Core/VMM.Slider.less b/source/less/Core/VMM.Slider.less index fdbf8f5c9..7dbc9114f 100644 --- a/source/less/Core/VMM.Slider.less +++ b/source/less/Core/VMM.Slider.less @@ -98,11 +98,23 @@ } .nav-previous { .icon { - .icon-previous-light(); + .icon-previous(); margin-left: @base-space - 5; } } .nav-next { + .icon { + .icon-next(); + margin-left: @feature-nav-width - @base-space - @feature-nav-icon-wh + 5; + } + } + .nav-previous:hover { + .icon { + .icon-previous-light(); + margin-left: @base-space - 5; + } + } + .nav-next:hover { .icon { .icon-next-light(); margin-left: @feature-nav-width - @base-space - @feature-nav-icon-wh + 5; From d408270f62bf32303fd4dd19d65e2a588456224a Mon Sep 17 00:00:00 2001 From: Luke Rague Date: Tue, 24 Mar 2015 17:23:22 +0000 Subject: [PATCH 42/95] did nto realize I was in master, reverting changes. will recommit in branch --- source/less/Core/VMM.Slider.less | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/source/less/Core/VMM.Slider.less b/source/less/Core/VMM.Slider.less index 7dbc9114f..fdbf8f5c9 100644 --- a/source/less/Core/VMM.Slider.less +++ b/source/less/Core/VMM.Slider.less @@ -97,24 +97,12 @@ } } .nav-previous { - .icon { - .icon-previous(); - margin-left: @base-space - 5; - } - } - .nav-next { - .icon { - .icon-next(); - margin-left: @feature-nav-width - @base-space - @feature-nav-icon-wh + 5; - } - } - .nav-previous:hover { .icon { .icon-previous-light(); margin-left: @base-space - 5; } } - .nav-next:hover { + .nav-next { .icon { .icon-next-light(); margin-left: @feature-nav-width - @base-space - @feature-nav-icon-wh + 5; From bd934f4c24e177f314f4d04e8f4b9d5dabd4d22b Mon Sep 17 00:00:00 2001 From: Luke Rague Date: Tue, 24 Mar 2015 17:25:13 +0000 Subject: [PATCH 43/95] nav icons whit to black in skinny mode no-hover --- source/less/Core/VMM.Slider.less | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/source/less/Core/VMM.Slider.less b/source/less/Core/VMM.Slider.less index fdbf8f5c9..7dbc9114f 100644 --- a/source/less/Core/VMM.Slider.less +++ b/source/less/Core/VMM.Slider.less @@ -98,11 +98,23 @@ } .nav-previous { .icon { - .icon-previous-light(); + .icon-previous(); margin-left: @base-space - 5; } } .nav-next { + .icon { + .icon-next(); + margin-left: @feature-nav-width - @base-space - @feature-nav-icon-wh + 5; + } + } + .nav-previous:hover { + .icon { + .icon-previous-light(); + margin-left: @base-space - 5; + } + } + .nav-next:hover { .icon { .icon-next-light(); margin-left: @feature-nav-width - @base-space - @feature-nav-icon-wh + 5; From e5f295e893afdfb98cb5f215620a7c48a9132525 Mon Sep 17 00:00:00 2001 From: Luke Rague Date: Tue, 24 Mar 2015 17:28:02 +0000 Subject: [PATCH 44/95] well this is an embarassing repeat --- source/less/Core/VMM.Slider.less | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/source/less/Core/VMM.Slider.less b/source/less/Core/VMM.Slider.less index 7dbc9114f..fdbf8f5c9 100644 --- a/source/less/Core/VMM.Slider.less +++ b/source/less/Core/VMM.Slider.less @@ -97,24 +97,12 @@ } } .nav-previous { - .icon { - .icon-previous(); - margin-left: @base-space - 5; - } - } - .nav-next { - .icon { - .icon-next(); - margin-left: @feature-nav-width - @base-space - @feature-nav-icon-wh + 5; - } - } - .nav-previous:hover { .icon { .icon-previous-light(); margin-left: @base-space - 5; } } - .nav-next:hover { + .nav-next { .icon { .icon-next-light(); margin-left: @feature-nav-width - @base-space - @feature-nav-icon-wh + 5; From 79339066810a79c45aa3cf723da20938af19b8c1 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 25 Mar 2015 10:04:43 -0500 Subject: [PATCH 45/95] =?UTF-8?q?Revert=20"Allow=20Chrome=20to=20optimize?= =?UTF-8?q?=20for=E2=80=A6in=20loop=20in=20animate()"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit cabe8f42e63151a8ca5a6d47a5751e28a3f97fd9. --- source/js/Core/Core/VMM.Library.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/Core/Core/VMM.Library.js b/source/js/Core/Core/VMM.Library.js index 8b15ecadd..25d82234d 100644 --- a/source/js/Core/Core/VMM.Library.js +++ b/source/js/Core/Core/VMM.Library.js @@ -478,7 +478,7 @@ if(typeof VMM != 'undefined') { _ease = " cubic-bezier(0.33, 0.66, 0.66, 1)"; //_ease = " ease-in-out"; - for (var x in _att) { + for (x in _att) { if (Object.prototype.hasOwnProperty.call(_att, x)) { trace(x + " to " + _att[x]); VMM.Lib.css(element, '-webkit-transition', x + ' ' + __duration + _ease); From f4765cbe4362e90b37908637bdf4beff78ae6574 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 25 Mar 2015 10:05:02 -0500 Subject: [PATCH 46/95] Revert "placeholder for future optimization" This reverts commit cadd7574692e4bba6c7188e717947c3848f8cc56. --- source/js/Core/Slider/VMM.Slider.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/js/Core/Slider/VMM.Slider.js b/source/js/Core/Slider/VMM.Slider.js index 4a4abcb43..fe149c8e8 100644 --- a/source/js/Core/Slider/VMM.Slider.js +++ b/source/js/Core/Slider/VMM.Slider.js @@ -689,8 +689,6 @@ if(typeof VMM != 'undefined' && typeof VMM.Slider == 'undefined') { } else { VMM.Lib.css(layout, "overflow-y", "hidden" ); var scroll_height = 0; - - // FIXME: Chrome cannot optimize this try/catch block, which appears to be unnecessary – see https://github.com/NUKnightLab/TimelineJS/pull/681#issuecomment-52365420 try { scroll_height = VMM.Lib.prop(layout, "scrollHeight"); VMM.Lib.animate(layout, _duration, _ease, {scrollTop: scroll_height - VMM.Lib.height(layout) }); From 46fb960d801d4d5493f520bd16ec319e7d26f69e Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 25 Mar 2015 10:05:12 -0500 Subject: [PATCH 47/95] =?UTF-8?q?Revert=20"VMM.Library.animate():=20don?= =?UTF-8?q?=E2=80=99t=20churn=20object=20copies"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5c4edc9502d282da0b2b5bd1cdec95764dcfa53c. --- source/js/Core/Core/VMM.Library.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/js/Core/Core/VMM.Library.js b/source/js/Core/Core/VMM.Library.js index 25d82234d..1b4a08894 100644 --- a/source/js/Core/Core/VMM.Library.js +++ b/source/js/Core/Core/VMM.Library.js @@ -446,8 +446,8 @@ if(typeof VMM != 'undefined') { var _ease = "easein", _que = false, _duration = 1000, - _att; - + _att = {}; + if (duration != null) { if (duration < 1) { _duration = 1; @@ -467,9 +467,9 @@ if(typeof VMM != 'undefined') { if (att != null) { - _att = att; + _att = att } else { - _att = {opacity: 0}; + _att = {opacity: 0} } if (VMM.Browser.features.css.transitions && !('scrollTop' in _att)) { From 31fccd351bdc41e04d3015a4b0fab1300e804ebc Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 25 Mar 2015 10:05:21 -0500 Subject: [PATCH 48/95] Revert "Fix VMM.Library.prop and VMM.Library.attribute" This reverts commit facd6fa7db1ea7f88e517f93dc564cbcfea95aa6. --- source/js/Core/Core/VMM.Library.js | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/source/js/Core/Core/VMM.Library.js b/source/js/Core/Core/VMM.Library.js index 1b4a08894..b40aecda4 100644 --- a/source/js/Core/Core/VMM.Library.js +++ b/source/js/Core/Core/VMM.Library.js @@ -274,27 +274,28 @@ if(typeof VMM != 'undefined') { } } }, - + prop: function(element, aName, value) { - if (typeof jQuery == 'undefined' || !('prop' in jQuery.fn)) { - return VMM.Lib.attribute(element, aName, value); - } else if (typeof value != 'undefined') { - return jQuery(element).prop(aName, value); + if (typeof jQuery == 'undefined' || !/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)) { + VMM.Lib.attribute(element, aName, value); } else { - return jQuery(element).prop(aName); + jQuery(element).prop(aName, value); } }, - + attribute: function(element, aName, value) { - if (typeof(jQuery) != 'undefined') { - if (typeof(value) != 'undefined' && value != null && value != "") { - return jQuery(element).attr(aName, value); - } else { + + if (value != null && value != "") { + if( typeof( jQuery ) != 'undefined' ){ + jQuery(element).attr(aName, value); + } + } else { + if( typeof( jQuery ) != 'undefined' ){ return jQuery(element).attr(aName); } } }, - + visible: function(element, show) { if (show != null) { if( typeof( jQuery ) != 'undefined' ){ From c6197210d82a1fb3226d0f01bedd325086beae3a Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 25 Mar 2015 10:05:29 -0500 Subject: [PATCH 49/95] Revert "Use the slow jQuery path to animate scrollTop" This reverts commit 5f71cf63ce018bc1631a2946c67f1edb0e89fe35. --- source/js/Core/Core/VMM.Library.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/js/Core/Core/VMM.Library.js b/source/js/Core/Core/VMM.Library.js index b40aecda4..6de96b3ed 100644 --- a/source/js/Core/Core/VMM.Library.js +++ b/source/js/Core/Core/VMM.Library.js @@ -421,10 +421,9 @@ if(typeof VMM != 'undefined') { jQuery(element).stop(); } }, - - // TODO: Consider removing this as it's referenced by one commented line + delay_animate: function(delay, element, duration, ease, att, callback_function) { - if (VMM.Browser.features.css.transitions && !('scrollTop' in _att)) { + if (VMM.Browser.features.css.transitions) { var _tdd = Math.round((duration/1500)*10)/10, __duration = _tdd + 's'; @@ -473,7 +472,9 @@ if(typeof VMM != 'undefined') { _att = {opacity: 0} } - if (VMM.Browser.features.css.transitions && !('scrollTop' in _att)) { + + if (VMM.Browser.features.css.transitions) { + var _tdd = Math.round((_duration/1500)*10)/10, __duration = _tdd + 's'; From 19aa1b8e0abd3f0ec2fce920944817b6061fe52f Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 25 Mar 2015 10:05:35 -0500 Subject: [PATCH 50/95] Revert "Always use CSS transitions when available" This reverts commit 2d925f8fa09f6f879b7f5e5d451bd0d113e6638d. --- source/js/Core/Core/VMM.Browser.js | 34 ++++-------------------------- source/js/Core/Core/VMM.Library.js | 10 ++++----- 2 files changed, 9 insertions(+), 35 deletions(-) diff --git a/source/js/Core/Core/VMM.Browser.js b/source/js/Core/Core/VMM.Browser.js index a04aaf0e8..d26940aab 100644 --- a/source/js/Core/Core/VMM.Browser.js +++ b/source/js/Core/Core/VMM.Browser.js @@ -12,17 +12,12 @@ if(typeof VMM != 'undefined' && typeof VMM.Browser == 'undefined') { this.OS = this.searchString(this.dataOS) || "an unknown OS"; this.device = this.searchDevice(navigator.userAgent); this.orientation = this.searchOrientation(window.orientation); - this.features = { - css: { - transitions: this.cssTransitionSupport() - } - }; }, searchOrientation: function(orientation) { var orient = ""; - if ( orientation == 0 || orientation == 180) { + if ( orientation == 0 || orientation == 180) { orient = "portrait"; - } else if ( orientation == 90 || orientation == -90) { + } else if ( orientation == 90 || orientation == -90) { orient = "landscape"; } else { orient = "normal"; @@ -160,29 +155,8 @@ if(typeof VMM != 'undefined' && typeof VMM.Browser == 'undefined') { subString: "Linux", identity: "Linux" } - ], - cssTransitionSupport: function () { - // See https://gist.github.com/jackfuchs/556448 - var b = document.body || document.documentElement, - s = b.style, - p = 'transition'; - - if (typeof s[p] == 'string') { - return true; - } - - // Tests for vendor specific prop - var v = ['Moz', 'webkit', 'Webkit', 'Khtml', 'O', 'ms']; - p = p.charAt(0).toUpperCase() + p.substr(1); - - for (var i=0; i Date: Wed, 25 Mar 2015 10:09:33 -0500 Subject: [PATCH 51/95] build for dev deploy --- build/css/themes/dark.css | 2 +- .../css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- .../css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- .../themes/font/Merriweather-NewsCycle.css | 2 +- .../themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- .../css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 14 ++-- build/js/timeline.js | 84 +++++++------------ 87 files changed, 121 insertions(+), 147 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 8b61dd02b..775f64f04 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 04abcf76e..766f99d45 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index fa8c506f2..29f435e5f 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index 8b548b46d..3ad0fbc33 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index 88eda1f81..c3aecf3f8 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 4f93baf87..e934d4938 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index 4c370ecd3..f30320830 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index aa659abee..ca3b37b66 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index eb1766a58..9d6d83985 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index 80b916202..49a6f4360 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 071399c54..f79e8adff 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index e3fcf9672..52d0a5a82 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 4cca05e4f..902b6e3a2 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 31fcda951..3758fd25e 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 23402abc7..47817a8d3 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 8a1f6d9ad..77e540635 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index f871df80e..1a50700ab 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 876630772..79ceb84e4 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index c2f838504..7a84428d1 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index 6d9a56585..84110e8db 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index 035bdbbe1..f4a754371 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index 844e4f8bd..a7460b6f7 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index da4a887e2..958b510fb 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index 557889cac..7924bd690 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index ea243892a..7784392ac 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index 1ee8fd0f3..b6b26a1fa 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 753e3405b..54929a77b 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 0884cb01e..448df761c 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index cd5971912..388384d09 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index c9353b3ab..cd6496936 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index d26604790..aa1f5a1ad 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index 473e9e7dc..ea4395f4e 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 8994fa695..8584cc13c 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 167f3a1a7..5cc1bb55b 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index 17d2dc9b6..ffd570baf 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 878693e50..d173a9fa3 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index f48d9f138..4122e3076 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 362c39d30..d43f71e1d 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index fecb41823..848064bea 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 514cb5aa9..791d28849 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index c048167da..c34987ce5 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index 1b51a06b7..6cee5ac91 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index 09102a349..96fe9d5a3 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index e7b930280..2f8dba411 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index 1dd8176f5..d95fac61a 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index e51ec0566..2e541f211 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index d18db1b49..2f8331b30 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 2319aea27..1b5fc83ef 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index b80aee2c1..134ebcac5 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 7e0dd55be..d23ce503e 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index 1fddde23c..2bad0d733 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index e7d72f7ef..16da52915 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index 38411b3e2..701c663d4 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index 2bd9a6dfb..019db4ae4 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index b10dbb9d1..cfb3143e9 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index cba231010..fc89c8b8f 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 95ad34e51..66015efee 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index 643fd38e9..9be005a0a 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 718bdc2d0..eaec762ec 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index 24b7fc183..d11fed1f6 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index dcdaab468..571a54f43 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 8f805d798..8183e0b50 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index 3f8f0ec05..a3dc8b3d9 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 830d423a9..c9a06e924 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index 655ddc9f0..b69acaa2c 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index d95b789ab..5236589e6 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index a5dd01429..fd4dd95c1 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index 5fee4eaf2..e57fddb02 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index 01e0339da..d67aa1c73 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index f1f8cb133..48bc234f9 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 852fe313b..7233585f5 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index db33de1ca..ef8fc0a26 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 63742bcfb..b5f946c49 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index d8a9e2cc1..0a56ab607 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index c62f4b9ca..7574603ce 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 21e15f75e..4c978e2c9 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 73845603b..12a0ac218 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 8b112b78f..db444aff8 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index cd721d04d..6f134e184 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 1d595737e..60585878f 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index f39205aac..c25ad2c3b 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 09862278c..09ee6a731 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 710dacced..931f149aa 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 415a0f39a..c09905dd9 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 06db34708..507683b71 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index 59ba20883..c9cf5c95e 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,14 +1,14 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!("prop"in jQuery.fn)){return VMM.Lib.attribute(element,aName,value)}else if(typeof value!="undefined"){return jQuery(element).prop(aName,value)}else{return jQuery(element).prop(aName)}},attribute:function(element,aName,value){if(typeof jQuery!="undefined"){if(typeof value!="undefined"&&value!=null&&value!=""){return jQuery(element).attr(aName,value)}else{return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.features.css.transitions&&!("scrollTop"in _att)){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.features.css.transitions&&!("scrollTop"in _att)){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(var x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation);this.features={css:{transitions:this.cssTransitionSupport()}}},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim; -var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi;return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top}) -}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config; -this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time) -}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file +(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi; +return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0; +VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id); +VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time) +}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file diff --git a/build/js/timeline.js b/build/js/timeline.js index d958c215a..c39738666 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.5 - 2015-02-26 + TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -666,27 +666,28 @@ if(typeof VMM != 'undefined') { } } }, - + prop: function(element, aName, value) { - if (typeof jQuery == 'undefined' || !('prop' in jQuery.fn)) { - return VMM.Lib.attribute(element, aName, value); - } else if (typeof value != 'undefined') { - return jQuery(element).prop(aName, value); + if (typeof jQuery == 'undefined' || !/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)) { + VMM.Lib.attribute(element, aName, value); } else { - return jQuery(element).prop(aName); + jQuery(element).prop(aName, value); } }, - + attribute: function(element, aName, value) { - if (typeof(jQuery) != 'undefined') { - if (typeof(value) != 'undefined' && value != null && value != "") { - return jQuery(element).attr(aName, value); - } else { + + if (value != null && value != "") { + if( typeof( jQuery ) != 'undefined' ){ + jQuery(element).attr(aName, value); + } + } else { + if( typeof( jQuery ) != 'undefined' ){ return jQuery(element).attr(aName); } } }, - + visible: function(element, show) { if (show != null) { if( typeof( jQuery ) != 'undefined' ){ @@ -812,10 +813,9 @@ if(typeof VMM != 'undefined') { jQuery(element).stop(); } }, - - // TODO: Consider removing this as it's referenced by one commented line + delay_animate: function(delay, element, duration, ease, att, callback_function) { - if (VMM.Browser.features.css.transitions && !('scrollTop' in _att)) { + if (VMM.Browser.device == "mobile" || VMM.Browser.device == "tablet") { var _tdd = Math.round((duration/1500)*10)/10, __duration = _tdd + 's'; @@ -838,8 +838,8 @@ if(typeof VMM != 'undefined') { var _ease = "easein", _que = false, _duration = 1000, - _att; - + _att = {}; + if (duration != null) { if (duration < 1) { _duration = 1; @@ -859,18 +859,20 @@ if(typeof VMM != 'undefined') { if (att != null) { - _att = att; + _att = att } else { - _att = {opacity: 0}; + _att = {opacity: 0} } - - if (VMM.Browser.features.css.transitions && !('scrollTop' in _att)) { + + + if (VMM.Browser.device == "mobile" || VMM.Browser.device == "tablet") { + var _tdd = Math.round((_duration/1500)*10)/10, __duration = _tdd + 's'; _ease = " cubic-bezier(0.33, 0.66, 0.66, 1)"; //_ease = " ease-in-out"; - for (var x in _att) { + for (x in _att) { if (Object.prototype.hasOwnProperty.call(_att, x)) { trace(x + " to " + _att[x]); VMM.Lib.css(element, '-webkit-transition', x + ' ' + __duration + _ease); @@ -1002,17 +1004,12 @@ if(typeof VMM != 'undefined' && typeof VMM.Browser == 'undefined') { this.OS = this.searchString(this.dataOS) || "an unknown OS"; this.device = this.searchDevice(navigator.userAgent); this.orientation = this.searchOrientation(window.orientation); - this.features = { - css: { - transitions: this.cssTransitionSupport() - } - }; }, searchOrientation: function(orientation) { var orient = ""; - if ( orientation == 0 || orientation == 180) { + if ( orientation == 0 || orientation == 180) { orient = "portrait"; - } else if ( orientation == 90 || orientation == -90) { + } else if ( orientation == 90 || orientation == -90) { orient = "landscape"; } else { orient = "normal"; @@ -1150,30 +1147,9 @@ if(typeof VMM != 'undefined' && typeof VMM.Browser == 'undefined') { subString: "Linux", identity: "Linux" } - ], - cssTransitionSupport: function () { - // See https://gist.github.com/jackfuchs/556448 - var b = document.body || document.documentElement, - s = b.style, - p = 'transition'; - - if (typeof s[p] == 'string') { - return true; - } - - // Tests for vendor specific prop - var v = ['Moz', 'webkit', 'Webkit', 'Khtml', 'O', 'ms']; - p = p.charAt(0).toUpperCase() + p.substr(1); - - for (var i=0; i Date: Wed, 25 Mar 2015 10:14:25 -0500 Subject: [PATCH 52/95] steps towards fixing changes added in #681 --- build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 2 +- build/js/timeline.js | 2 +- 87 files changed, 87 insertions(+), 87 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 775f64f04..ca8a15800 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 766f99d45..a9ab21dab 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index 29f435e5f..37e967fe6 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index 3ad0fbc33..202fc51ba 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index c3aecf3f8..e4627134f 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index e934d4938..a86dfe895 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index f30320830..2de40eecd 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index ca3b37b66..37e7bfb9c 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index 9d6d83985..d7c91bd4d 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index 49a6f4360..7649f9c17 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index f79e8adff..1082ee808 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index 52d0a5a82..7a68bed27 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 902b6e3a2..aea6921ca 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 3758fd25e..7b8618680 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 47817a8d3..38737de3c 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 77e540635..bc5f0c046 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 1a50700ab..b896c4961 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 79ceb84e4..edccbba6e 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 7a84428d1..0a4a2ecb2 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index 84110e8db..d772a35e0 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index f4a754371..b70c6913f 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index a7460b6f7..e9ddb9f24 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index 958b510fb..488b68ab4 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index 7924bd690..491ce593c 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 7784392ac..09b22a058 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index b6b26a1fa..67d2f5683 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 54929a77b..fceb7d7b7 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 448df761c..d0bc93992 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 388384d09..e87a009cb 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index cd6496936..e35b99f8a 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index aa1f5a1ad..e04d520b3 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index ea4395f4e..599e04260 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 8584cc13c..3294db47e 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 5cc1bb55b..565f1ee19 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index ffd570baf..e4ee651de 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index d173a9fa3..124c815e9 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 4122e3076..de6dc4419 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index d43f71e1d..054046a7a 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 848064bea..c35f47bea 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 791d28849..93896c253 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index c34987ce5..935de572f 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index 6cee5ac91..f6982aca3 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index 96fe9d5a3..44614950b 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index 2f8dba411..4d62b4bd8 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index d95fac61a..85b872e1b 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 2e541f211..2e11b0cab 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 2f8331b30..2624d1bce 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 1b5fc83ef..331e9800d 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 134ebcac5..bdb9483a6 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index d23ce503e..b8ad09169 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index 2bad0d733..f13a9fe59 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index 16da52915..9a42bf62d 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index 701c663d4..dc232cbd8 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index 019db4ae4..4ed12de2a 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index cfb3143e9..54c2c737d 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index fc89c8b8f..a4e2c1875 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 66015efee..6cfee5b50 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index 9be005a0a..b6001987c 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index eaec762ec..b948e2815 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index d11fed1f6..0639cdac2 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index 571a54f43..3d3fa360e 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 8183e0b50..be3fddd25 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index a3dc8b3d9..62f419d9d 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index c9a06e924..932a45d69 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index b69acaa2c..46a3eb7d0 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 5236589e6..282f366aa 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index fd4dd95c1..d2337bac1 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index e57fddb02..241ab9f7e 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index d67aa1c73..d25e91242 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 48bc234f9..2e75124c8 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 7233585f5..eaa561151 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index ef8fc0a26..4a2cccb46 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index b5f946c49..0a4a3eeb1 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index 0a56ab607..096de9c69 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 7574603ce..1fbd72ed1 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 4c978e2c9..3e10fed75 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 12a0ac218..bb5ea87b4 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index db444aff8..fa3b3e93a 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 6f134e184..698fc0473 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 60585878f..5ca767c09 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index c25ad2c3b..2e99a262f 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 09ee6a731..21860314e 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 931f149aa..a84b20471 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index c09905dd9..a6b844d67 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 507683b71..012f71f3d 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index c9cf5c95e..ed9d34e13 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline.js b/build/js/timeline.js index c39738666..70a13bf35 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-07-05 - 2015-03-25 + TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS From 5ecc053fe4b6ee6fedd2f6f0ac437312a4202dd5 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 25 Mar 2015 10:34:57 -0500 Subject: [PATCH 53/95] support dev deployment --- config.json | 6 +++--- website/templates/_demo.html | 2 +- website/templates/base.html | 2 +- website/templates/examples/houston/index.html | 2 +- website/templates/examples/republican/index.html | 2 +- website/templates/examples/shit-people-say/index.html | 2 +- website/templates/examples/user-interface/index.html | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config.json b/config.json index 55e1a9468..9c879b31c 100644 --- a/config.json +++ b/config.json @@ -175,8 +175,8 @@ // - copy website/static >> build/website/static // - run usemin on all html in build/website // - sync build/website with bucket - "deploy": { - "stg": {"bucket": "timeline.knilab.com"}, - "prd": {"bucket": "timeline.knightlab.com"} + "deploy": { + "stg": {"bucket": "timeline.knilab.com", "usemin_context": {"cdn": "dev"}}, + "prd": {"bucket": "timeline.knightlab.com", "usemin_context": {"cdn": "latest"}} } } \ No newline at end of file diff --git a/website/templates/_demo.html b/website/templates/_demo.html index 3ed9cd871..e08f30e57 100644 --- a/website/templates/_demo.html +++ b/website/templates/_demo.html @@ -14,7 +14,7 @@ font: 'NewsCycle-Merriweather', }; - + diff --git a/website/templates/base.html b/website/templates/base.html index dd3f65802..edf6b0221 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -144,7 +144,7 @@ - + diff --git a/website/templates/examples/houston/index.html b/website/templates/examples/houston/index.html index c1c434409..ec814db86 100644 --- a/website/templates/examples/houston/index.html +++ b/website/templates/examples/houston/index.html @@ -41,7 +41,7 @@ font: 'Bevan-PotanoSans' } - + diff --git a/website/templates/examples/republican/index.html b/website/templates/examples/republican/index.html index 357caca79..717726682 100644 --- a/website/templates/examples/republican/index.html +++ b/website/templates/examples/republican/index.html @@ -41,7 +41,7 @@ font: 'PT' } - + diff --git a/website/templates/examples/shit-people-say/index.html b/website/templates/examples/shit-people-say/index.html index 69034e653..fec98da9a 100644 --- a/website/templates/examples/shit-people-say/index.html +++ b/website/templates/examples/shit-people-say/index.html @@ -41,7 +41,7 @@ font: 'Pacifico-Arimo' } - + diff --git a/website/templates/examples/user-interface/index.html b/website/templates/examples/user-interface/index.html index a91679f5e..3f9dabfb7 100644 --- a/website/templates/examples/user-interface/index.html +++ b/website/templates/examples/user-interface/index.html @@ -41,7 +41,7 @@ font: 'SansitaOne-Kameron' } - + From 13c994dcb0b4994a2e0a4d4d8f9f419861502546 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 25 Mar 2015 10:46:52 -0500 Subject: [PATCH 54/95] for release 2.35.6 --- CHANGELOG | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index dbb43561f..1a1176208 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +2.35.6 (2015-03-25) +------ +Restore original animation/easing (revert pull #681) + 2.35.5 (2015-02-26) ------ #672,679,681,683 a series of presentation/performance tweaks from @acdha From 4101236347af3713287e2cc898f3a72d53a0bccb Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 25 Mar 2015 10:47:21 -0500 Subject: [PATCH 55/95] Release 2.35.6 --- build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 2 +- build/js/timeline.js | 2 +- 87 files changed, 87 insertions(+), 87 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index ca8a15800..14003d74d 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index a9ab21dab..7c7eca5ec 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index 37e967fe6..cdd613830 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index 202fc51ba..433668fa4 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index e4627134f..8cf94a4d3 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index a86dfe895..61c79b893 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index 2de40eecd..2fc775368 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index 37e7bfb9c..779e1cd2d 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index d7c91bd4d..f6096a726 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index 7649f9c17..d23efea4d 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 1082ee808..4bdf54cfb 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index 7a68bed27..e88549b93 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index aea6921ca..f1a9ad149 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 7b8618680..c6601aac8 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 38737de3c..411e93774 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index bc5f0c046..c7f939ca6 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index b896c4961..8de7c2f5f 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index edccbba6e..6095418c9 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 0a4a2ecb2..94b6653d3 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index d772a35e0..c3add4bb0 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index b70c6913f..0dcc935ae 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index e9ddb9f24..cc4532a53 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index 488b68ab4..244a91dae 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index 491ce593c..e50a3f31d 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 09b22a058..8a9675899 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index 67d2f5683..6062a4310 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index fceb7d7b7..9e5e5fb47 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index d0bc93992..7b8901cd2 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index e87a009cb..7d753a035 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index e35b99f8a..64f5e86a5 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index e04d520b3..d8426b071 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index 599e04260..41b484ced 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 3294db47e..732980a1f 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 565f1ee19..9322e6d55 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index e4ee651de..f67847a9d 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 124c815e9..1d04e6be9 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index de6dc4419..d6f544877 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 054046a7a..01f801b85 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index c35f47bea..daf3d9876 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 93896c253..36c7af5a2 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index 935de572f..1e85bf65c 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index f6982aca3..8e78b4c06 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index 44614950b..601cfdcb0 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index 4d62b4bd8..76f7764e6 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index 85b872e1b..2d700c794 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 2e11b0cab..9baa58b7f 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 2624d1bce..a906c8db9 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 331e9800d..4c26c5dd9 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index bdb9483a6..4da2518b6 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index b8ad09169..45941cc30 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index f13a9fe59..525736d16 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index 9a42bf62d..12779251d 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index dc232cbd8..5c8de2540 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index 4ed12de2a..cc16e0f5e 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 54c2c737d..479ccc6f8 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index a4e2c1875..d1dc87a64 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 6cfee5b50..6366202a0 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index b6001987c..4346d930c 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index b948e2815..6e8d661cb 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index 0639cdac2..bb70f9c70 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index 3d3fa360e..06044ec3a 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index be3fddd25..fd97627fe 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index 62f419d9d..b39be41c5 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 932a45d69..0da62c940 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index 46a3eb7d0..b7c72bce8 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 282f366aa..29c65f985 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index d2337bac1..986d3b6d8 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index 241ab9f7e..cb2180684 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index d25e91242..7ce924fc2 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 2e75124c8..fc637f8b7 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index eaa561151..0ec189d9b 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 4a2cccb46..bf6fb29b8 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 0a4a3eeb1..7a719b196 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index 096de9c69..ba11a833c 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 1fbd72ed1..ccc4084c1 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 3e10fed75..46215de69 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index bb5ea87b4..5fe1a888f 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index fa3b3e93a..b61b0792b 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 698fc0473..3caf4899f 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 5ca767c09..8e455b7c0 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index 2e99a262f..427cc4817 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 21860314e..209f240e9 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index a84b20471..052eb250d 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index a6b844d67..9a0c0c66e 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 012f71f3d..45f06ebc1 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index ed9d34e13..44f059e3b 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline.js b/build/js/timeline.js index 70a13bf35..1ff00f0d1 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-03-25-15-09-49 - 2015-03-25 + TimelineJS - ver. 2.35.6 - 2015-03-25 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS From 18e247f74f0f42892d7c5863cc714130b940ce47 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 8 Apr 2015 11:12:58 -0500 Subject: [PATCH 56/95] update banner copyright --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 9c879b31c..dde225e2f 100644 --- a/config.json +++ b/config.json @@ -147,7 +147,7 @@ "template": [ "/*", " TimelineJS - ver. %(version)s - %(date)s", - " Copyright (c) 2012-2013 Northwestern University", + " Copyright (c) 2012-2015 Northwestern University", " a project of the Northwestern University Knight Lab, originally created by Zach Wise", " https://github.com/NUKnightLab/TimelineJS", " This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.", From 5aa103b161b668e632d2c71c81d97d9a60ae38c7 Mon Sep 17 00:00:00 2001 From: Alaa Ali Date: Tue, 21 Apr 2015 13:15:36 +0200 Subject: [PATCH 57/95] Update VMM.ExternalAPI.js replace the protocol-relative twitter API URL.. with explicit secured protocol (https) for twitter calls, as it doesn't accept non-SSL calls. --- source/js/Core/Media/VMM.ExternalAPI.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/js/Core/Media/VMM.ExternalAPI.js b/source/js/Core/Media/VMM.ExternalAPI.js index 207e44086..c0342debf 100644 --- a/source/js/Core/Media/VMM.ExternalAPI.js +++ b/source/js/Core/Media/VMM.ExternalAPI.js @@ -166,7 +166,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { getOEmbed: function(tweet, callback) { - var the_url = "//api.twitter.com/1/statuses/oembed.json?id=" + tweet.mid + "&omit_script=true&include_entities=true&callback=?", + var the_url = "https://api.twitter.com/1/statuses/oembed.json?id=" + tweet.mid + "&omit_script=true&include_entities=true&callback=?", twitter_timeout = setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed, VMM.master_config.timers.api, tweet); //callback_timeout= setTimeout(callback, VMM.master_config.timers.api, tweet); @@ -210,7 +210,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { getHTML: function(id) { //var the_url = document.location.protocol + "//api.twitter.com/1/statuses/oembed.json?id=" + id+ "&callback=?"; - var the_url = "//api.twitter.com/1/statuses/oembed.json?id=" + id+ "&omit_script=true&include_entities=true&callback=?"; + var the_url = "https://api.twitter.com/1/statuses/oembed.json?id=" + id+ "&omit_script=true&include_entities=true&callback=?"; VMM.getJSON(the_url, VMM.ExternalAPI.twitter.onJSONLoaded); }, From fb4b9a9cc6161073ed80fd5f482060ab5c97c0c3 Mon Sep 17 00:00:00 2001 From: Alaa Ali Date: Tue, 21 Apr 2015 13:42:47 +0200 Subject: [PATCH 58/95] Update timeline.js replace the protocol-relative twitter API URL.. with explicit secured protocol (https) for twitter calls, as it doesn't accept non-SSL calls. --- build/js/timeline.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/js/timeline.js b/build/js/timeline.js index 1ff00f0d1..e8a4c4313 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -2923,7 +2923,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { getOEmbed: function(tweet, callback) { - var the_url = "//api.twitter.com/1/statuses/oembed.json?id=" + tweet.mid + "&omit_script=true&include_entities=true&callback=?", + var the_url = "https://api.twitter.com/1/statuses/oembed.json?id=" + tweet.mid + "&omit_script=true&include_entities=true&callback=?", twitter_timeout = setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed, VMM.master_config.timers.api, tweet); //callback_timeout= setTimeout(callback, VMM.master_config.timers.api, tweet); @@ -2967,7 +2967,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { getHTML: function(id) { //var the_url = document.location.protocol + "//api.twitter.com/1/statuses/oembed.json?id=" + id+ "&callback=?"; - var the_url = "//api.twitter.com/1/statuses/oembed.json?id=" + id+ "&omit_script=true&include_entities=true&callback=?"; + var the_url = "https://api.twitter.com/1/statuses/oembed.json?id=" + id+ "&omit_script=true&include_entities=true&callback=?"; VMM.getJSON(the_url, VMM.ExternalAPI.twitter.onJSONLoaded); }, From 3703dfb542c02dcc21d68e663b6865a4ab88fea5 Mon Sep 17 00:00:00 2001 From: Alaa Ali Date: Tue, 21 Apr 2015 14:15:56 +0200 Subject: [PATCH 59/95] Update timeline-min.js replace the protocol-relative twitter API URL.. with explicit secured protocol (https) for twitter calls, as it doesn't accept non-SSL calls. --- build/js/timeline-min.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index 44f059e3b..3b0b21365 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -7,8 +7,8 @@ If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ (function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi; -return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="//api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="
";mediaElem+="";mediaElem+=""+a_data.actor.displayName+"";mediaElem+=""; +return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0; VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id); VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time) -}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file +}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; From d8dcf8552caab8715f59676657b77709384f9efd Mon Sep 17 00:00:00 2001 From: Julien Elbaz Date: Wed, 22 Apr 2015 09:38:57 +0200 Subject: [PATCH 60/95] Https media type When a media url (json conf : assets / media) starting with https:// is parsed, the determined type is "unknown media" which leads to a plain text url in the timeline. --- source/js/Core/Media/VMM.MediaType.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/js/Core/Media/VMM.MediaType.js b/source/js/Core/Media/VMM.MediaType.js index fee7c9675..f8f3e8e70 100644 --- a/source/js/Core/Media/VMM.MediaType.js +++ b/source/js/Core/Media/VMM.MediaType.js @@ -133,7 +133,7 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') { media.id = wiki_id.replace(" ", "%20"); media.lang = d.split("//")[1].split(".wikipedia")[0]; success = true; - } else if (d.indexOf('http://') == 0) { + } else if (d.indexOf('http://') == 0 || d.indexOf('https://') == 0) { media.type = "website"; media.id = d; success = true; @@ -156,4 +156,4 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') { } return false; } -} \ No newline at end of file +} From 9c45291ad30db7d6c924fe03f92afb855c39eef9 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 22 Apr 2015 12:14:22 -0500 Subject: [PATCH 61/95] copy fix from #772 to correct file --- source/js/Core/Language/locale/zh-cn.js | 74 ++++++++++++------------- 1 file changed, 36 insertions(+), 38 deletions(-) diff --git a/source/js/Core/Language/locale/zh-cn.js b/source/js/Core/Language/locale/zh-cn.js index a9b37452b..7a0849e58 100644 --- a/source/js/Core/Language/locale/zh-cn.js +++ b/source/js/Core/Language/locale/zh-cn.js @@ -1,38 +1,36 @@ -/* Chinese LANGUAGE -================================================== */ -if(typeof VMM != 'undefined') { - VMM.Language = { - lang: "zh-cn", - api: { - wikipedia: "zh" - }, - date: { - month: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], - month_abbr: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], - day: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], - day_abbr: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"] - }, - dateformats: { - year: "yyyy年", - month_short: "mmm", - month: "yyyy年 mmmm", - full_short: "mmm d日", - full: "yyyy年mmmm d日", - time_short: "HH:MM:ss", - time_no_seconds_short: "HH:MM", - time_no_seconds_small_date: "HH:MM'
'yyyy年mmmm d日''", - full_long: "dddd',' yyyy年 mmm d日'um' HH:MM", - full_long_small_date: "HH:MM'
'dddd',' yyyy年 mmm d日''" - }, - messages: { - loading_timeline: "加载时间线... ", - return_to_title: "回到开头", - expand_timeline: "伸展时间", - contract_timeline: "缩短时间", - wikipedia: "来自维基百科,自由的百科全书", - loading_content: "正在加载内容", - loading: "加载中", - swipe_nav: "Swipe to Navigate" - } - } -} +if (typeof VMM != "undefined") { + VMM.Language = { + lang: "zh-cn", + api: { + wikipedia: "zh" + }, + date: { + month: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], + month_abbr: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], + day: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], + day_abbr: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"] + }, + dateformats: { + year: "yyyy年", + month_short: "mmm", + month: "yyyy年 mmmm", + full_short: "mmm d日", + full: "yyyy年mmmmd日", + time_short: "HH:MM:ss", + time_no_seconds_short: "HH:MM", + time_no_seconds_small_date: "HH:MM'
'yyyy年mmmmd日''", + full_long: "dddd',' yyyy年mmmd日'um' HH:MM", + full_long_small_date: "HH:MM'
'dddd',' yyyy年mmmd日''" + }, + messages: { + loading_timeline: "加载时间线... ", + return_to_title: "回到开头", + expand_timeline: "伸展时间", + contract_timeline: "缩短时间", + wikipedia: "来自维基百科,自由的百科全书", + loading_content: "正在加载内容", + loading: "加载中", + swipe_nav: "Swipe to Navigate" + } + } +} \ No newline at end of file From bd8f036a984397ded759c50045de85bd762d1519 Mon Sep 17 00:00:00 2001 From: jywsn Date: Fri, 8 May 2015 13:27:47 -0500 Subject: [PATCH 62/95] ssl test --- source/embed/index.html | 2 +- website/app.py | 24 +++++++++++++++++++++++- website/templates/_demo.html | 2 +- website/templates/_description.html | 2 +- website/templates/_make.html | 2 +- website/templates/base.html | 8 ++++---- website/website.crt | 14 ++++++++++++++ website/website.key | 15 +++++++++++++++ 8 files changed, 60 insertions(+), 9 deletions(-) create mode 100644 website/website.crt create mode 100644 website/website.key diff --git a/source/embed/index.html b/source/embed/index.html index 6d9769e38..e7b2f98c7 100644 --- a/source/embed/index.html +++ b/source/embed/index.html @@ -43,7 +43,7 @@ if (trim_point > 0) { var embed_path = window.location.href.substring(0,trim_point); // supports https access via https://s3.amazonaws.com/cdn.knightlab.com/libs/timeline/latest/embed/index.html } else { - var embed_path = "http://cdn.knightlab.com/libs/timeline/latest/"; + var embed_path = "//test.knightlab.com/libs/timeline/latest/"; } diff --git a/website/app.py b/website/app.py index 078d50e0b..8f988ab2c 100644 --- a/website/app.py +++ b/website/app.py @@ -83,4 +83,26 @@ def catch_all(path='index.html'): if __name__ == "__main__": - app.run(host='0.0.0.0', port=5000, debug=True) + import getopt + + ssl_context = None + port = 5000 + + try: + opts, args = getopt.getopt(sys.argv[1:], "sp:", ["port="]) + for opt, arg in opts: + if opt == '-s': + ssl_context = ( + os.path.join(site_dir, 'website.crt'), + os.path.join(site_dir, 'website.key')) + + elif opt in ('-p', '--port'): + port = int(arg) + else: + print 'Usage: app.py [-s]' + sys.exit(1) + except getopt.GetoptError: + print 'Usage: app.py [-s] [-p port]' + sys.exit(1) + + app.run(host='0.0.0.0', port=5000, debug=True, ssl_context=ssl_context) diff --git a/website/templates/_demo.html b/website/templates/_demo.html index e08f30e57..211c2192b 100644 --- a/website/templates/_demo.html +++ b/website/templates/_demo.html @@ -14,7 +14,7 @@ font: 'NewsCycle-Merriweather', }; - + diff --git a/website/templates/_description.html b/website/templates/_description.html index 4eb27476e..8423ba5d1 100644 --- a/website/templates/_description.html +++ b/website/templates/_description.html @@ -20,7 +20,7 @@

Sign up for updates

Get updates, tips and news by email. No Spam.

-
+
diff --git a/website/templates/_make.html b/website/templates/_make.html index 3304ef35c..938307007 100644 --- a/website/templates/_make.html +++ b/website/templates/_make.html @@ -231,7 +231,7 @@

4

Embed the code into your website

Grab the embed code and paste it on your site where you want your TimelineJS to appear (just like a YouTube video).

-

+

Preview Link to Preview

diff --git a/website/templates/base.html b/website/templates/base.html index edf6b0221..9997bd311 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -26,9 +26,9 @@ meta name="viewport" content="initial-scale=1,width=device-width" someone needs to go through Blueline and fix the small viewport CSS details before we can turn this on. --> - + - + @@ -138,11 +138,11 @@ {% block scripts %} - + "); + VMM.attachElement("#" + m.uid, ""); }, From 45deb210358cd340c990df6806744c40cd35c531 Mon Sep 17 00:00:00 2001 From: jywsn Date: Fri, 8 May 2015 15:24:25 -0500 Subject: [PATCH 65/95] Use protocol-relative URL for dailymotion media --- source/js/Core/Media/VMM.MediaElement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/Core/Media/VMM.MediaElement.js b/source/js/Core/Media/VMM.MediaElement.js index 6a1fde0e5..2d1f6f5ce 100644 --- a/source/js/Core/Media/VMM.MediaElement.js +++ b/source/js/Core/Media/VMM.MediaElement.js @@ -145,7 +145,7 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') { VMM.ExternalAPI.vimeo.get(m); // DAILYMOTION } else if (m.type == "dailymotion") { - mediaElem = "
"; + mediaElem = "
"; // VINE } else if (m.type == "vine") { mediaElem = "
" + loading_messege + "
"; From 481023a2309f79ccf5290c1940bd912927da4cb7 Mon Sep 17 00:00:00 2001 From: jywsn Date: Fri, 8 May 2015 15:27:24 -0500 Subject: [PATCH 66/95] Fix misplaced closing html tag --- source/embed/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/embed/index.html b/source/embed/index.html index e7b2f98c7..513b3660e 100644 --- a/source/embed/index.html +++ b/source/embed/index.html @@ -33,7 +33,6 @@ -
@@ -54,3 +53,4 @@ + From a2b2d441ff9ceb952bf035c5e1352dcb7f4a8732 Mon Sep 17 00:00:00 2001 From: jywsn Date: Fri, 8 May 2015 15:32:42 -0500 Subject: [PATCH 67/95] update build --- build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/embed/index.html | 4 ++-- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 4 ++-- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 4 ++-- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 10 +++++----- build/js/timeline.js | 9 +++++---- 88 files changed, 99 insertions(+), 98 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 14003d74d..e07944c95 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 7c7eca5ec..0ce86873f 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index cdd613830..1c2d2a906 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index 433668fa4..bfef759aa 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index 8cf94a4d3..3f9fd5e4f 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 61c79b893..da4c2f339 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index 2fc775368..8d872836b 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index 779e1cd2d..d5cb5b6f8 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index f6096a726..1080b721b 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index d23efea4d..d81940036 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 4bdf54cfb..54db8533e 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index e88549b93..91e3978e0 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index f1a9ad149..50c389507 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index c6601aac8..7ff2a18a4 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 411e93774..2f7c79fd3 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index c7f939ca6..cfae88ed3 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 8de7c2f5f..5e6107b20 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 6095418c9..d3fbe04ff 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 94b6653d3..9cd473797 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index c3add4bb0..c61c13fb6 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/embed/index.html b/build/embed/index.html index 11b191ab3..d35e3467c 100644 --- a/build/embed/index.html +++ b/build/embed/index.html @@ -33,7 +33,6 @@ -
@@ -43,9 +42,10 @@ if (trim_point > 0) { var embed_path = window.location.href.substring(0,trim_point); // supports https access via https://s3.amazonaws.com/cdn.knightlab.com/libs/timeline/latest/embed/index.html } else { - var embed_path = "http://cdn.knightlab.com/libs/timeline/latest/"; + var embed_path = "//test.knightlab.com/libs/timeline/latest/"; } + diff --git a/build/js/locale/af.js b/build/js/locale/af.js index 0dcc935ae..6079d5b2c 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index cc4532a53..dc0db7253 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index 244a91dae..60ebe9d2f 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index e50a3f31d..08877bf32 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,9 +1,9 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -if(typeof VMM!="undefined"){VMM.Language={lang:"bg",api:{wikipedia:"bg"},date:{month:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],month_abbr:["Ян.","Фев.","Март","Апр.","Май","Юни","Юли","Авг.","Септ.","Окт.","Ноем.","Дек."],day:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],day_abbr:["Нед.","Пон.","Вт.","Ср.","Четв.","Пет.","Съб."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"h:MM:SS TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'd mmmm yyyy''",full_long:"d mmm yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
d mmm yyyy''"},messages:{loading_timeline:"Зареждане... ",return_to_title:"В началото",expand_timeline:"Разширяване",contract_timeline:"Свиване",wikipedia:"От Уикипедия, свободната енциклопедия",loading_content:"Съдържанието се зарежда",loading:"Зарежда се",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file +if(typeof VMM!="undefined"){VMM.Language={lang:"bg",api:{wikipedia:"bg"},date:{month:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],month_abbr:["Ян.","Фев.","Март","Апр.","Май","Юни","Юли","Авг.","Септ.","Окт.","Ноем.","Дек."],day:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],day_abbr:["Нед.","Пон.","Вт.","Ср.","Четв.","Пет.","Съб."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"h:MM:SS TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'd mmmm yyyy''",full_long:"d mmm yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
d mmm yyyy''"},messages:{loading_timeline:"Зареждане... ",return_to_title:"В началото",expand_timeline:"Разширяване",contract_timeline:"Свиване",wikipedia:"От Уикипедия, свободната енциклопедия",loading_content:"Съдържанието се зарежда",loading:"Зарежда се",swipe_nav:"Сменяйте с плъзгане настрани"}}} \ No newline at end of file diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 8a9675899..98093b95c 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index 6062a4310..f207c2f26 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 9e5e5fb47..cec889adb 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 7b8901cd2..145e43339 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 7d753a035..d1bdcbde6 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index 64f5e86a5..f558544b3 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index d8426b071..4003b34f7 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index 41b484ced..d92c36c1c 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 732980a1f..0a3001515 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 9322e6d55..ae3c14854 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index f67847a9d..58a125058 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 1d04e6be9..e60f74223 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index d6f544877..4c1b6b272 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 01f801b85..ac03a3dd1 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index daf3d9876..66e5efb21 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 36c7af5a2..5467a883e 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index 1e85bf65c..e2b74a15a 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index 8e78b4c06..4a90d245d 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index 601cfdcb0..ede810756 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index 76f7764e6..b3151bfb7 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index 2d700c794..ef02a2490 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 9baa58b7f..d15650e86 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index a906c8db9..14fc5886b 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 4c26c5dd9..8c8d78dba 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 4da2518b6..d6bf766c5 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 45941cc30..29b0802a0 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index 525736d16..b0df693ea 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index 12779251d..b46b71636 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index 5c8de2540..791d3ffa2 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index cc16e0f5e..b5eceffe5 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 479ccc6f8..650ed1d4e 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index d1dc87a64..a7ebcd36f 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 6366202a0..10d5edc85 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index 4346d930c..b46e3de44 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 6e8d661cb..cbdd17f20 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index bb70f9c70..2740299cd 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index 06044ec3a..e175ffac5 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index fd97627fe..148778209 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index b39be41c5..a11bfa083 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 0da62c940..0cfbf0c94 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index b7c72bce8..1d951bc1f 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 29c65f985..d3387bccf 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 986d3b6d8..06afe71bf 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index cb2180684..85ef7da87 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index 7ce924fc2..225e381d7 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index fc637f8b7..79e48b970 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 0ec189d9b..e9d6fc633 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index bf6fb29b8..422c86ac1 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 7a719b196..2bef1ef21 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index ba11a833c..67d390fb1 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index ccc4084c1..6ba806159 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 46215de69..f5997897a 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 5fe1a888f..90a00d971 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index b61b0792b..03ad56fdc 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 3caf4899f..11a46d247 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 8e455b7c0..2ceab7560 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index d289174fa..f01b9dfe9 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,9 +1,9 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -if(typeof VMM!="undefined"){VMM.Language={lang:"zh-cn",api:{wikipedia:"zh"},date:{month:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],month_abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],day:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],day_abbr:["周日","周一","周二","周三","周四","周五","周六"]},dateformats:{year:"yyyy年",month_short:"mmm",month:"yyyy年 mmmm",full_short:"mmm d日",full:"yyyy年mmmmd日",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy年mmmmd日''",full_long:"dddd',' yyyy年mmmd日'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' yyyy年mmmd日''"},messages:{loading_timeline:"加载时间线... ",return_to_title:"回到开头",expand_timeline:"伸展时间",contract_timeline:"缩短时间",wikipedia:"来自维基百科,自由的百科全书",loading_content:"正在加载内容",loading:"加载中",swipe_nav:"Swipe to Navigate"}}} +if(typeof VMM!="undefined"){VMM.Language={lang:"zh-cn",api:{wikipedia:"zh"},date:{month:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],month_abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],day:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],day_abbr:["周日","周一","周二","周三","周四","周五","周六"]},dateformats:{year:"yyyy年",month_short:"mmm",month:"yyyy年 mmmm",full_short:"mmm d日",full:"yyyy年mmmm d日",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy年mmmm d日''",full_long:"dddd',' yyyy年 mmm d日'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' yyyy年 mmm d日''"},messages:{loading_timeline:"加载时间线... ",return_to_title:"回到开头",expand_timeline:"伸展时间",contract_timeline:"缩短时间",wikipedia:"来自维基百科,自由的百科全书",loading_content:"正在加载内容",loading:"加载中",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 209f240e9..bf31672d7 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 052eb250d..118d59bc7 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 9a0c0c66e..53fce0531 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 45f06ebc1..2b6b8a223 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index 3b0b21365..f7fd45c90 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -8,7 +8,7 @@ */ (function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi; return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0; -VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id); -VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time) -}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; +mediaElem+="
";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d +}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version +}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth()); +int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file diff --git a/build/js/timeline.js b/build/js/timeline.js index e8a4c4313..c3a006a1a 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2.35.6 - 2015-03-25 + TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -4323,7 +4323,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') { // VIDEO // TODO: NEED TO ADD ASYNC SCRIPT TO TIMELINE FLOW - VMM.attachElement("#" + m.uid, ""); + VMM.attachElement("#" + m.uid, ""); }, @@ -4542,7 +4542,7 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') { VMM.ExternalAPI.vimeo.get(m); // DAILYMOTION } else if (m.type == "dailymotion") { - mediaElem = "
"; + mediaElem = "
"; // VINE } else if (m.type == "vine") { mediaElem = "
" + loading_messege + "
"; @@ -4760,7 +4760,7 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') { media.id = wiki_id.replace(" ", "%20"); media.lang = d.split("//")[1].split(".wikipedia")[0]; success = true; - } else if (d.indexOf('http://') == 0) { + } else if (d.indexOf('http://') == 0 || d.indexOf('https://') == 0) { media.type = "website"; media.id = d; success = true; @@ -4785,6 +4785,7 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') { } } + /* ********************************************** Begin VMM.TextElement.js ********************************************** */ From d543c758f42ca523426915cb30ff86b367cb1cbe Mon Sep 17 00:00:00 2001 From: jywsn Date: Fri, 8 May 2015 15:52:15 -0500 Subject: [PATCH 68/95] Fix usemin urls for testing --- website/templates/base.html | 2 +- website/templates/examples/houston/index.html | 2 +- website/templates/examples/republican/index.html | 2 +- website/templates/examples/shit-people-say/index.html | 2 +- website/templates/examples/user-interface/index.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/website/templates/base.html b/website/templates/base.html index 9997bd311..524a8f2fe 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -144,7 +144,7 @@ - + diff --git a/website/templates/examples/houston/index.html b/website/templates/examples/houston/index.html index ec814db86..1214a28d8 100644 --- a/website/templates/examples/houston/index.html +++ b/website/templates/examples/houston/index.html @@ -41,7 +41,7 @@ font: 'Bevan-PotanoSans' } - + diff --git a/website/templates/examples/republican/index.html b/website/templates/examples/republican/index.html index 717726682..6e320a777 100644 --- a/website/templates/examples/republican/index.html +++ b/website/templates/examples/republican/index.html @@ -41,7 +41,7 @@ font: 'PT' } - + diff --git a/website/templates/examples/shit-people-say/index.html b/website/templates/examples/shit-people-say/index.html index fec98da9a..63526b335 100644 --- a/website/templates/examples/shit-people-say/index.html +++ b/website/templates/examples/shit-people-say/index.html @@ -41,7 +41,7 @@ font: 'Pacifico-Arimo' } - + diff --git a/website/templates/examples/user-interface/index.html b/website/templates/examples/user-interface/index.html index 3f9dabfb7..f76938e41 100644 --- a/website/templates/examples/user-interface/index.html +++ b/website/templates/examples/user-interface/index.html @@ -41,7 +41,7 @@ font: 'SansitaOne-Kameron' } - + From dec15498f01494f6d0471811844fd9d45b635d3b Mon Sep 17 00:00:00 2001 From: jywsn Date: Mon, 11 May 2015 10:00:54 -0500 Subject: [PATCH 69/95] Add deploy_context for generator_embed_path --- config.json | 20 ++++++++++++++++++-- website/app.py | 6 +++--- website/templates/base.html | 2 +- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/config.json b/config.json index 9c879b31c..d7c1576d2 100644 --- a/config.json +++ b/config.json @@ -176,7 +176,23 @@ // - run usemin on all html in build/website // - sync build/website with bucket "deploy": { - "stg": {"bucket": "timeline.knilab.com", "usemin_context": {"cdn": "dev"}}, - "prd": {"bucket": "timeline.knightlab.com", "usemin_context": {"cdn": "latest"}} + "stg": { + "bucket": "timeline.knilab.com", + "usemin_context": { + "cdn": "dev" + }, + "deploy_context": { + "generator_embed_path": "//test.knightlab.com/libs/timeline/dev/embed/index.html" + } + }, + "prd": { + "bucket": "timeline.knightlab.com", + "usemin_context": { + "cdn": "latest" + }, + "deploy_context": { + "generator_embed_path": "//test.knightlab.com/libs/timeline/latest/embed/index.html" + } + } } } \ No newline at end of file diff --git a/website/app.py b/website/app.py index 8f988ab2c..d84ebe253 100644 --- a/website/app.py +++ b/website/app.py @@ -74,12 +74,12 @@ def catch_source(path): @app.route('/') @app.route('/') -def catch_all(path='index.html'): +def catch_all(path='index.html', context=None): """Catch-all function which serves every URL.""" - + context = context or {} if not os.path.splitext(path)[1]: path = os.path.join(path, 'index.html') - return render_template(path) + return render_template(path, **context) if __name__ == "__main__": diff --git a/website/templates/base.html b/website/templates/base.html index 524a8f2fe..3b6ae478e 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -142,7 +142,7 @@ diff --git a/build/js/locale/af.js b/build/js/locale/af.js index 6079d5b2c..006eac35f 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index dc0db7253..b5e866795 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index 60ebe9d2f..a1c5680aa 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index 08877bf32..c09af4d9c 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 98093b95c..9c176ed3b 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index f207c2f26..c49bf2489 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index cec889adb..b641594cb 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 145e43339..41234256e 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index d1bdcbde6..19cccdafc 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index f558544b3..bcc24d412 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index 4003b34f7..aeb333401 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index d92c36c1c..58bc99964 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 0a3001515..8dc7ef2e6 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index ae3c14854..035c3b868 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index 58a125058..5cc8eefd2 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index e60f74223..19503490b 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 4c1b6b272..7030399bc 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index ac03a3dd1..e80817d2c 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 66e5efb21..e17938319 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 5467a883e..64af9500f 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index e2b74a15a..fe7f015b5 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index 4a90d245d..ba28b8345 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index ede810756..676b9ebab 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index b3151bfb7..52dd2f70c 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index ef02a2490..e97c65b87 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index d15650e86..6574309f2 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 14fc5886b..b0c17e587 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 8c8d78dba..3f923e118 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index d6bf766c5..2d7bc4167 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 29b0802a0..7103da7a2 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index b0df693ea..6df2acc0b 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index b46b71636..48c2539d3 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index 791d3ffa2..d35429de5 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index b5eceffe5..a6e10d5be 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 650ed1d4e..3a8cf141a 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index a7ebcd36f..340d2b18f 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 10d5edc85..94fdcb55d 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index b46e3de44..e458f0868 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index cbdd17f20..cbd9b80e2 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index 2740299cd..f4f0ae24e 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index e175ffac5..1d12f059d 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 148778209..d0a28b54b 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index a11bfa083..5b01bc6f0 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 0cfbf0c94..27e192e7e 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index 1d951bc1f..c41eff795 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index d3387bccf..99104843a 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 06afe71bf..f806accc7 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index 85ef7da87..eef643091 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index 225e381d7..d06ed4269 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 79e48b970..2d96724d9 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index e9d6fc633..99a9a6bc0 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 422c86ac1..0f0524055 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 2bef1ef21..8a0c3c4a1 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index 67d390fb1..d261f2aee 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 6ba806159..3244ce5e7 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index f5997897a..ad481da7f 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 90a00d971..6acf3b8f8 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 03ad56fdc..6f7b6660f 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 11a46d247..0830c0949 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 2ceab7560..4bf193692 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index f01b9dfe9..27de3fce5 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index bf31672d7..25e1ed4d4 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 118d59bc7..f6d3d8576 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 53fce0531..5a64e336c 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 2b6b8a223..064d7875f 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index f7fd45c90..43dbe3771 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline.js b/build/js/timeline.js index c3a006a1a..787224999 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-08-20-30-57 - 2015-05-08 + TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/config.json b/config.json index d7c1576d2..3a3f3861e 100644 --- a/config.json +++ b/config.json @@ -182,7 +182,7 @@ "cdn": "dev" }, "deploy_context": { - "generator_embed_path": "//test.knightlab.com/libs/timeline/dev/embed/index.html" + "generator_embed_path": "//cdn.knightlab.com/libs/timeline/dev/embed/index.html" } }, "prd": { @@ -191,7 +191,7 @@ "cdn": "latest" }, "deploy_context": { - "generator_embed_path": "//test.knightlab.com/libs/timeline/latest/embed/index.html" + "generator_embed_path": "//cdn.knightlab.com/libs/timeline/latest/embed/index.html" } } } diff --git a/source/embed/index.html b/source/embed/index.html index 513b3660e..37718985e 100644 --- a/source/embed/index.html +++ b/source/embed/index.html @@ -42,7 +42,7 @@ if (trim_point > 0) { var embed_path = window.location.href.substring(0,trim_point); // supports https access via https://s3.amazonaws.com/cdn.knightlab.com/libs/timeline/latest/embed/index.html } else { - var embed_path = "//test.knightlab.com/libs/timeline/latest/"; + var embed_path = "//cdn.knightlab.com/libs/timeline/latest/"; } diff --git a/website/templates/_demo.html b/website/templates/_demo.html index 211c2192b..7d14f20d9 100644 --- a/website/templates/_demo.html +++ b/website/templates/_demo.html @@ -14,7 +14,7 @@ font: 'NewsCycle-Merriweather', }; - + diff --git a/website/templates/_make.html b/website/templates/_make.html index 938307007..bcda468f0 100644 --- a/website/templates/_make.html +++ b/website/templates/_make.html @@ -231,7 +231,7 @@

4

Embed the code into your website

Grab the embed code and paste it on your site where you want your TimelineJS to appear (just like a YouTube video).

-

+

Preview Link to Preview

diff --git a/website/templates/base.html b/website/templates/base.html index 3b6ae478e..3253ed111 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -26,9 +26,9 @@ meta name="viewport" content="initial-scale=1,width=device-width" someone needs to go through Blueline and fix the small viewport CSS details before we can turn this on. --> - + - + @@ -138,13 +138,13 @@ {% block scripts %} - + - + diff --git a/website/templates/examples/houston/index.html b/website/templates/examples/houston/index.html index 1214a28d8..dd97c42f4 100644 --- a/website/templates/examples/houston/index.html +++ b/website/templates/examples/houston/index.html @@ -41,7 +41,7 @@ font: 'Bevan-PotanoSans' } - + diff --git a/website/templates/examples/republican/index.html b/website/templates/examples/republican/index.html index 6e320a777..11d4cf73d 100644 --- a/website/templates/examples/republican/index.html +++ b/website/templates/examples/republican/index.html @@ -41,7 +41,7 @@ font: 'PT' } - + diff --git a/website/templates/examples/shit-people-say/index.html b/website/templates/examples/shit-people-say/index.html index 63526b335..214f09962 100644 --- a/website/templates/examples/shit-people-say/index.html +++ b/website/templates/examples/shit-people-say/index.html @@ -41,7 +41,7 @@ font: 'Pacifico-Arimo' } - + diff --git a/website/templates/examples/user-interface/index.html b/website/templates/examples/user-interface/index.html index f76938e41..efec3d1af 100644 --- a/website/templates/examples/user-interface/index.html +++ b/website/templates/examples/user-interface/index.html @@ -41,7 +41,7 @@ font: 'SansitaOne-Kameron' } - + From 1e11e61f2b515fc3c568786ac5ad7d2c934ebfcf Mon Sep 17 00:00:00 2001 From: jywsn Date: Tue, 12 May 2015 10:08:13 -0500 Subject: [PATCH 71/95] Release 2.36.0 --- build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 2 +- build/js/timeline.js | 2 +- 87 files changed, 87 insertions(+), 87 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 1a2d000b9..26743ebf8 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 27e4c73b5..d0bd8a1b3 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index 2b405d691..d762a6d3c 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index 4bb78e827..b883c04cf 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index a59d64d32..990b83c11 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index cd9d41a22..f1ead02ee 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index f39212d06..25713a867 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index 75cd9dc1d..60177e93a 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index 3e19998d5..b099443ee 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index a8881e7c7..397a99837 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 88aae822d..6047abb0e 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index d2731a444..608f318e3 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 6252f27e3..9cd5fe2b3 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 912a85616..be1ddb17b 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index cdf2c7d42..215f23cfb 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 966953e5e..1d01d5fc4 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index df77152bc..8827f6602 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 17af73f4c..166921b53 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 6a0de8f51..717a0ef1a 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index ecd01a2ad..868c738a5 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index 006eac35f..e3077cb67 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index b5e866795..9a8a246fc 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index a1c5680aa..0bb193122 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index c09af4d9c..99baadcc0 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 9c176ed3b..564d6578d 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index c49bf2489..eceb8eb12 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index b641594cb..0f61e6121 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 41234256e..7294c04a9 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 19cccdafc..3e95c3f7e 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index bcc24d412..bc86074c5 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index aeb333401..f9bc699f3 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index 58bc99964..ada4dbaf8 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 8dc7ef2e6..b9c7cbcb2 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 035c3b868..354ed0f92 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index 5cc8eefd2..c3ffdc982 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 19503490b..9f21ec1b1 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 7030399bc..29d5cfabc 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index e80817d2c..ceeec0ea3 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index e17938319..313e2ac87 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 64af9500f..64d38924b 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index fe7f015b5..fe918a06a 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index ba28b8345..fffebb97e 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index 676b9ebab..a51056caa 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index 52dd2f70c..475316dea 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index e97c65b87..02acb69df 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 6574309f2..45ef86725 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index b0c17e587..28fe0506f 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 3f923e118..7851987af 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 2d7bc4167..3b0f9e9da 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 7103da7a2..2067841ae 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index 6df2acc0b..7088f6a9a 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index 48c2539d3..eca927dd5 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index d35429de5..caabfface 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index a6e10d5be..d3f14fb77 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 3a8cf141a..5f3c39c57 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index 340d2b18f..990742598 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 94fdcb55d..bd7ca5d9a 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index e458f0868..8955155d6 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index cbd9b80e2..03c5d79a1 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index f4f0ae24e..04e1336cf 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index 1d12f059d..954fcc472 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index d0a28b54b..b7609546c 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index 5b01bc6f0..dbc358227 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 27e192e7e..e4b9fda96 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index c41eff795..b93980488 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 99104843a..57b51e234 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index f806accc7..7cb481123 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index eef643091..c202829d8 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index d06ed4269..da4460043 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 2d96724d9..0cf48f2f7 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 99a9a6bc0..55b74a837 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 0f0524055..2985e0b51 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 8a0c3c4a1..f79c92792 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index d261f2aee..95ad803b1 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 3244ce5e7..1defc3c35 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index ad481da7f..39a826d25 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 6acf3b8f8..167eb7435 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 6f7b6660f..1d59e1292 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 0830c0949..39934a58d 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 4bf193692..f7532053e 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index 27de3fce5..108fdf123 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index 25e1ed4d4..c8087929c 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index f6d3d8576..648b703ea 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 5a64e336c..9df1f1f72 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 064d7875f..007cd5c49 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index 43dbe3771..40fbd2b97 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline.js b/build/js/timeline.js index 787224999..7bace4d35 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-05-11-15-36-39 - 2015-05-11 + TimelineJS - ver. 2.36.0 - 2015-05-12 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS From 2411eb97131f096216a8a19260de8d3c7f859a41 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Fri, 22 May 2015 09:36:48 -0500 Subject: [PATCH 72/95] translate 'swipe to navigate' --- source/js/Core/Language/locale/es.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/Core/Language/locale/es.js b/source/js/Core/Language/locale/es.js index 75d478696..3a81b8f51 100644 --- a/source/js/Core/Language/locale/es.js +++ b/source/js/Core/Language/locale/es.js @@ -32,6 +32,6 @@ if(typeof VMM != 'undefined') { wikipedia: "Desde Wikipedia, la enciclopedia libre", loading_content: "cargando", loading: "cargando", - swipe_nav: "Swipe to Navigate" } + swipe_nav: "Desliza para ver" } } } \ No newline at end of file From 785e72c3402ecf5726f1fc3cf87295eb4a26836a Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Fri, 22 May 2015 10:04:23 -0500 Subject: [PATCH 73/95] s/equivilent/equivalent/g --- README.markdown | 2 +- website/templates/_make.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 8be450573..12d55412f 100644 --- a/README.markdown +++ b/README.markdown @@ -232,7 +232,7 @@ You can tell TimelineJS to start at a specific slide number ###Start Zoom Adjust `start_zoom_adjust` -This will tweak the default zoom level. Equivilent to pressing the zoom in or zoom out button the specified number of times. Negative numbers zoom out. +This will tweak the default zoom level. Equivalent to pressing the zoom in or zoom out button the specified number of times. Negative numbers zoom out. *default is 0* ###Hash Bookmark diff --git a/website/templates/_make.html b/website/templates/_make.html index bcda468f0..7ed1ab6f0 100644 --- a/website/templates/_make.html +++ b/website/templates/_make.html @@ -207,7 +207,7 @@

Customize (Optional)

-

This will tweak the default zoom level. Equivilent to pressing the zoom in or zoom out button the specified number of times. Negative numbers zoom out.

+

This will tweak the default zoom level. Equivalent to pressing the zoom in or zoom out button the specified number of times. Negative numbers zoom out.

From 067a098538c58f8b9e337a6ede14371a6a1deb49 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 9 Jun 2015 13:27:40 -0500 Subject: [PATCH 74/95] don't silently fail on invalid date formats --- build/css/themes/dark.css | 4 ++-- build/css/themes/font/AbrilFatface-Average.css | 4 ++-- build/css/themes/font/Arvo-PTSans.css | 4 ++-- build/css/themes/font/Bevan-PotanoSans.css | 4 ++-- build/css/themes/font/BreeSerif-OpenSans.css | 4 ++-- build/css/themes/font/DroidSerif-DroidSans.css | 4 ++-- build/css/themes/font/Georgia-Helvetica.css | 4 ++-- build/css/themes/font/Lekton-Molengo.css | 4 ++-- build/css/themes/font/Lora-Istok.css | 4 ++-- .../css/themes/font/Merriweather-NewsCycle.css | 4 ++-- .../css/themes/font/NewsCycle-Merriweather.css | 4 ++-- build/css/themes/font/NixieOne-Ledger.css | 4 ++-- build/css/themes/font/PT.css | 4 ++-- build/css/themes/font/PTSerif-PTSans.css | 4 ++-- build/css/themes/font/Pacifico-Arimo.css | 4 ++-- build/css/themes/font/PlayfairDisplay-Muli.css | 4 ++-- build/css/themes/font/PoiretOne-Molengo.css | 4 ++-- build/css/themes/font/Rancho-Gudea.css | 4 ++-- build/css/themes/font/SansitaOne-Kameron.css | 4 ++-- build/css/timeline.css | 4 ++-- build/js/locale/af.js | 4 ++-- build/js/locale/ar.js | 4 ++-- build/js/locale/be.js | 4 ++-- build/js/locale/bg.js | 4 ++-- build/js/locale/ca.js | 4 ++-- build/js/locale/cz.js | 4 ++-- build/js/locale/da.js | 4 ++-- build/js/locale/de.js | 4 ++-- build/js/locale/el.js | 4 ++-- build/js/locale/en-24hr.js | 4 ++-- build/js/locale/en-week.js | 4 ++-- build/js/locale/en.js | 4 ++-- build/js/locale/eo.js | 4 ++-- build/js/locale/es.js | 6 +++--- build/js/locale/et.js | 4 ++-- build/js/locale/eu.js | 4 ++-- build/js/locale/fa.js | 4 ++-- build/js/locale/fi.js | 4 ++-- build/js/locale/fo.js | 4 ++-- build/js/locale/fr.js | 4 ++-- build/js/locale/fy.js | 4 ++-- build/js/locale/ga.js | 4 ++-- build/js/locale/gl.js | 4 ++-- build/js/locale/he.js | 4 ++-- build/js/locale/hi.js | 4 ++-- build/js/locale/hr.js | 4 ++-- build/js/locale/hu.js | 4 ++-- build/js/locale/hy.js | 4 ++-- build/js/locale/id.js | 4 ++-- build/js/locale/is.js | 4 ++-- build/js/locale/it.js | 4 ++-- build/js/locale/iw.js | 4 ++-- build/js/locale/ja.js | 4 ++-- build/js/locale/ka.js | 4 ++-- build/js/locale/ko.js | 4 ++-- build/js/locale/lb.js | 4 ++-- build/js/locale/lt.js | 4 ++-- build/js/locale/lv.js | 4 ++-- build/js/locale/ms.js | 4 ++-- build/js/locale/ne.js | 4 ++-- build/js/locale/nl.js | 4 ++-- build/js/locale/no.js | 4 ++-- build/js/locale/pl.js | 4 ++-- build/js/locale/pt-br.js | 4 ++-- build/js/locale/pt.js | 4 ++-- build/js/locale/rm.js | 4 ++-- build/js/locale/ro.js | 4 ++-- build/js/locale/ru.js | 4 ++-- build/js/locale/si.js | 4 ++-- build/js/locale/sk.js | 4 ++-- build/js/locale/sl.js | 4 ++-- build/js/locale/sr-cy.js | 4 ++-- build/js/locale/sr.js | 4 ++-- build/js/locale/sv.js | 4 ++-- build/js/locale/ta.js | 4 ++-- build/js/locale/te.js | 4 ++-- build/js/locale/th.js | 4 ++-- build/js/locale/tl.js | 4 ++-- build/js/locale/tr.js | 4 ++-- build/js/locale/uk.js | 4 ++-- build/js/locale/zh-cn.js | 6 +++--- build/js/locale/zh-tw.js | 4 ++-- build/js/storyjs-embed-cdn.js | 4 ++-- build/js/storyjs-embed-generator.js | 4 ++-- build/js/storyjs-embed.js | 4 ++-- build/js/timeline-min.js | 8 ++++---- build/js/timeline.js | 18 ++++++++++++++---- source/js/VMM.Timeline.js | 14 ++++++++++++-- 88 files changed, 202 insertions(+), 182 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 26743ebf8..6ce7f8eee 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index d0bd8a1b3..73d334f7f 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index d762a6d3c..df1566b13 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index b883c04cf..ae56453ba 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index 990b83c11..d6b758b67 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index f1ead02ee..304035386 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index 25713a867..6091bfea8 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index 60177e93a..4f67c0c82 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index b099443ee..28efebd54 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index 397a99837..cfe2332a2 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index 6047abb0e..d604d8960 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index 608f318e3..b37464ce5 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 9cd5fe2b3..429d4e074 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index be1ddb17b..4c1c62851 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 215f23cfb..a7536f0b0 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 1d01d5fc4..b9b7b92d1 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 8827f6602..575b3c4f9 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index 166921b53..a57591e6b 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 717a0ef1a..6cb1eee2f 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/css/timeline.css b/build/css/timeline.css index 868c738a5..4715c4505 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/af.js b/build/js/locale/af.js index e3077cb67..41b4fed20 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index 9a8a246fc..29c9be848 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/be.js b/build/js/locale/be.js index 0bb193122..ce3a75acb 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index 99baadcc0..d84887dd8 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 564d6578d..87f9ad9fd 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index eceb8eb12..b787088ce 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 0f61e6121..4de34367c 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 7294c04a9..1041cb2f0 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 3e95c3f7e..881b6ba66 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index bc86074c5..67ff08be6 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index f9bc699f3..eedfaa909 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/en.js b/build/js/locale/en.js index ada4dbaf8..b15a79057 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index b9c7cbcb2..7d0b07866 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 354ed0f92..8b961f05f 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,9 +1,9 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -if(typeof VMM!="undefined"){VMM.Language={lang:"es",api:{wikipedia:"es"},date:{month:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],month_abbr:["Ene.","Feb.","Mar.","Abr.","May.","Jun.","Jul.","Ago.","Sep.","Oct.","Nov.","Dic."],day:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],day_abbr:["Dom.","Lun.","Mar.","Mié.","Jue.","Vie.","Sáb."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"''d mmmm yyyy'' HH:MM",full_long:"dddd',' d mmm yyyy HH:MM",full_long_small_date:"HH:MM'
d mmm yyyy''"},messages:{loading_timeline:"La cronología esta cargando",return_to_title:"Volver al título",expand_timeline:"Expandir la cronología",contract_timeline:"Reducir la cronología",wikipedia:"Desde Wikipedia, la enciclopedia libre",loading_content:"cargando",loading:"cargando",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file +if(typeof VMM!="undefined"){VMM.Language={lang:"es",api:{wikipedia:"es"},date:{month:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],month_abbr:["Ene.","Feb.","Mar.","Abr.","May.","Jun.","Jul.","Ago.","Sep.","Oct.","Nov.","Dic."],day:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],day_abbr:["Dom.","Lun.","Mar.","Mié.","Jue.","Vie.","Sáb."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"''d mmmm yyyy'' HH:MM",full_long:"dddd',' d mmm yyyy HH:MM",full_long_small_date:"HH:MM'
d mmm yyyy''"},messages:{loading_timeline:"La cronología esta cargando",return_to_title:"Volver al título",expand_timeline:"Expandir la cronología",contract_timeline:"Reducir la cronología",wikipedia:"Desde Wikipedia, la enciclopedia libre",loading_content:"cargando",loading:"cargando",swipe_nav:"Desliza para ver"}}} \ No newline at end of file diff --git a/build/js/locale/et.js b/build/js/locale/et.js index c3ffdc982..333235b6b 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 9f21ec1b1..4b493cd43 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 29d5cfabc..82a91e020 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index ceeec0ea3..30c146d63 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 313e2ac87..c600b437a 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 64d38924b..27141672d 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index fe918a06a..eae29bd0e 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index fffebb97e..e53e469a8 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index a51056caa..fdc640747 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/he.js b/build/js/locale/he.js index 475316dea..155ceb7a4 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index 02acb69df..54a914b8e 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 45ef86725..745433433 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 28fe0506f..d7340f18e 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 7851987af..2e70fc1c3 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 3b0f9e9da..812b5c214 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 2067841ae..5b411f70a 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/it.js b/build/js/locale/it.js index 7088f6a9a..a63cc6c96 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index eca927dd5..be091269c 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index caabfface..cecc35516 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index d3f14fb77..117a2493d 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 5f3c39c57..87792c9cf 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index 990742598..b6fdd7501 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index bd7ca5d9a..9129f51dd 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index 8955155d6..71ff231ff 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 03c5d79a1..d85a08eba 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index 04e1336cf..18676fb29 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index 954fcc472..727c8a36d 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/no.js b/build/js/locale/no.js index b7609546c..3c4976820 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index dbc358227..a6150bc04 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index e4b9fda96..8fd8a2707 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index b93980488..97f14300e 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 57b51e234..94b5fd1ec 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 7cb481123..555caf20d 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index c202829d8..b8ca29b5b 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/si.js b/build/js/locale/si.js index da4460043..191425631 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 0cf48f2f7..4b84ab317 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 55b74a837..aa4a11aea 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 2985e0b51..81e1b0e44 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index f79c92792..7e2561c63 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index 95ad803b1..9b444edde 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index 1defc3c35..cd53b23d6 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 39a826d25..5bce76be3 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 167eb7435..e263ae286 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 1d59e1292..52267e632 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 39934a58d..7e8f8bdca 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index f7532053e..4e624193b 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index 108fdf123..918e8b150 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,9 +1,9 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -if(typeof VMM!="undefined"){VMM.Language={lang:"zh-cn",api:{wikipedia:"zh"},date:{month:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],month_abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],day:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],day_abbr:["周日","周一","周二","周三","周四","周五","周六"]},dateformats:{year:"yyyy年",month_short:"mmm",month:"yyyy年 mmmm",full_short:"mmm d日",full:"yyyy年mmmm d日",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy年mmmm d日''",full_long:"dddd',' yyyy年 mmm d日'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' yyyy年 mmm d日''"},messages:{loading_timeline:"加载时间线... ",return_to_title:"回到开头",expand_timeline:"伸展时间",contract_timeline:"缩短时间",wikipedia:"来自维基百科,自由的百科全书",loading_content:"正在加载内容",loading:"加载中",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file +if(typeof VMM!="undefined"){VMM.Language={lang:"zh-cn",api:{wikipedia:"zh"},date:{month:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],month_abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],day:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],day_abbr:["周日","周一","周二","周三","周四","周五","周六"]},dateformats:{year:"yyyy年",month_short:"mmm",month:"yyyy年 mmmm",full_short:"mmm d日",full:"yyyy年mmmmd日",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy年mmmmd日''",full_long:"dddd',' yyyy年mmmd日'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' yyyy年mmmd日''"},messages:{loading_timeline:"加载时间线... ",return_to_title:"回到开头",expand_timeline:"伸展时间",contract_timeline:"缩短时间",wikipedia:"来自维基百科,自由的百科全书",loading_content:"正在加载内容",loading:"加载中",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index c8087929c..d8d0881f2 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index 648b703ea..a30fd4dff 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 9df1f1f72..0a5d34dea 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 007cd5c49..cbc6a8aea 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index 40fbd2b97..bdcffe863 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. @@ -10,5 +10,5 @@ return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d }function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version -}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth()); -int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file +}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(!(data&&data.length&&data.length>0)){showMessege(null,"Error reading data.");return}if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate() +}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file diff --git a/build/js/timeline.js b/build/js/timeline.js index 7bace4d35..1ecbf9ec1 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,6 +1,6 @@ /* - TimelineJS - ver. 2.36.0 - 2015-05-12 - Copyright (c) 2012-2013 Northwestern University + TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. @@ -7435,7 +7435,10 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { /* BUILD DISPLAY ================================================== */ function build() { - + if (!(data && data.length && data.length > 0)) { + showMessege(null, "Error reading data."); + return; + } // START AT SLIDE if (parseInt(config.start_at_slide) > 0 && config.current_slide == 0) { config.current_slide = parseInt(config.start_at_slide); @@ -7525,7 +7528,9 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { _date.startdate = do_start.date; _date.precisiondate = do_start.precision; - if (!isNaN(_date.startdate)) { + if (isNaN(_date.startdate)) { + trace("Failed to parse start date " + data.date[i].startDate); + } else { // END DATE @@ -7563,6 +7568,11 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { } }; + + if (data.date.length != _dates.length) { + showMessege(null,"Error processing data. Check for invalid date formats.") + return; + } /* CUSTOM SORT ================================================== */ diff --git a/source/js/VMM.Timeline.js b/source/js/VMM.Timeline.js index 1b1022a96..04b576250 100755 --- a/source/js/VMM.Timeline.js +++ b/source/js/VMM.Timeline.js @@ -477,7 +477,10 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { /* BUILD DISPLAY ================================================== */ function build() { - + if (!(data && data.length && data.length > 0)) { + showMessege(null, "Error reading data."); + return; + } // START AT SLIDE if (parseInt(config.start_at_slide) > 0 && config.current_slide == 0) { config.current_slide = parseInt(config.start_at_slide); @@ -567,7 +570,9 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { _date.startdate = do_start.date; _date.precisiondate = do_start.precision; - if (!isNaN(_date.startdate)) { + if (isNaN(_date.startdate)) { + trace("Failed to parse start date " + data.date[i].startDate); + } else { // END DATE @@ -605,6 +610,11 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { } }; + + if (data.date.length != _dates.length) { + showMessege(null,"Error processing data. Check for invalid date formats.") + return; + } /* CUSTOM SORT ================================================== */ From 904415eefc67ded658c937cbb913aec2263b08ff Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 10 Jun 2015 10:50:19 -0500 Subject: [PATCH 75/95] make explicit that it's an error to have multiple 'title' slides --- build/css/themes/dark.css | 2 +- build/css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- build/css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- build/css/themes/font/Merriweather-NewsCycle.css | 2 +- build/css/themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- build/css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 14 +++++++------- build/js/timeline.js | 14 +++++++++----- source/js/VMM.Timeline.DataObj.js | 4 ++++ 88 files changed, 105 insertions(+), 97 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 6ce7f8eee..229e52cc6 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 73d334f7f..036d91d7e 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index df1566b13..bffd19a3b 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index ae56453ba..f97b21591 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index d6b758b67..97ff16573 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index 304035386..e73a92abb 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index 6091bfea8..15430ebba 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index 4f67c0c82..47deafb1d 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index 28efebd54..f44ad0932 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index cfe2332a2..d7e791eb2 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index d604d8960..cbedf92a9 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index b37464ce5..a8f841202 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index 429d4e074..cdf9625e7 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index 4c1c62851..e2524d90e 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index a7536f0b0..7dd77fa4c 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index b9b7b92d1..82d6beed9 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 575b3c4f9..378bc978e 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index a57591e6b..f65728fd3 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 6cb1eee2f..9cfd68474 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index 4715c4505..bbe62751a 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index 41b4fed20..df5b43dcb 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index 29c9be848..193a25a5d 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index ce3a75acb..42e71bd41 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index d84887dd8..575a49fa7 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index 87f9ad9fd..d5884ecaa 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index b787088ce..71dd6fa5b 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index 4de34367c..fb4ec583f 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 1041cb2f0..966751422 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 881b6ba66..50d40b8f9 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index 67ff08be6..3b773d611 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index eedfaa909..e93cb3895 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index b15a79057..a2c1125b9 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index 7d0b07866..d9006d04d 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 8b961f05f..8cad77824 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index 333235b6b..fdc5b6875 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index 4b493cd43..bca73fdaa 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 82a91e020..21ccf6a77 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 30c146d63..70eceea0e 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index c600b437a..8213f1142 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 27141672d..67612fc92 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index eae29bd0e..f6b389d5f 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index e53e469a8..44744eeac 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index fdc640747..0daf728f4 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index 155ceb7a4..423413992 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index 54a914b8e..93688d477 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index 745433433..e7f309441 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index d7340f18e..8b44f558f 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 2e70fc1c3..780127e8e 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 812b5c214..5c7911b72 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 5b411f70a..7c563f8fa 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index a63cc6c96..6d980a889 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index be091269c..5fa0fafec 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index cecc35516..02464d920 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index 117a2493d..b6b81bcf5 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 87792c9cf..062017a3a 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index b6fdd7501..4af0ec177 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 9129f51dd..648b4ac4f 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index 71ff231ff..b1f52ee6c 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index d85a08eba..4e4d50d0b 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index 18676fb29..6bdeea337 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index 727c8a36d..c5daeb9b2 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index 3c4976820..c2ad4b666 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index a6150bc04..eea8a008f 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index 8fd8a2707..fe08c8cd0 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index 97f14300e..b7d140878 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 94b5fd1ec..9c66aebd4 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 555caf20d..070f803e8 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index b8ca29b5b..c912e30c1 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index 191425631..b5f3ef324 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index 4b84ab317..b7810e78d 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index aa4a11aea..94c3854dd 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 81e1b0e44..89d1f9275 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index 7e2561c63..b808afd49 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index 9b444edde..18b60074a 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index cd53b23d6..ad4e1c69f 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index 5bce76be3..e32684b65 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index e263ae286..0d87eaa48 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 52267e632..8bb0761f6 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 7e8f8bdca..89671961d 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index 4e624193b..d12660ebf 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index 918e8b150..a22b9ac00 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index d8d0881f2..a5a7dfd54 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index a30fd4dff..c311595f1 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index 0a5d34dea..ce5f3af2e 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index cbc6a8aea..7284a3bc7 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index bdcffe863..c7a6edef2 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,14 +1,14 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi; -return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d -}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version -}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(!(data&&data.length&&data.length>0)){showMessege(null,"Error reading data.");return}if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate() -}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file +(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)!="date"){trace("Expected a 'date' type");return d}else{if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim; +function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi;return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege() +}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key +}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(!(data&&data.length&&data.length>0)){showMessege(null,"Error reading data.");return}if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7) +}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file diff --git a/build/js/timeline.js b/build/js/timeline.js index 1ecbf9ec1..0ec7621a3 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-09-18-26-18 - 2015-06-09 + TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -1500,7 +1500,10 @@ if(typeof VMM != 'undefined' && typeof VMM.Date == 'undefined') { } - if (type.of(d) == "date") { + if (type.of(d) != "date") { + trace("Expected a 'date' type"); + return d; + } else { if (type.of(p) == "object") { if (p.millisecond || p.second && d.getSeconds() >= 1) { @@ -1611,9 +1614,6 @@ if(typeof VMM != 'undefined' && typeof VMM.Date == 'undefined') { } } - } else { - trace("NOT A VALID DATE?"); - trace(d); } if (is_pair) { @@ -9569,6 +9569,10 @@ if (typeof VMM.Timeline !== 'undefined' && typeof VMM.Timeline.DataObj == 'undef } if (dd_type.match("start") || dd_type.match("title") ) { + if (data_obj.timeline.startDate) { + VMM.fireEvent(global, VMM.Timeline.Config.events.messege, "Multiple 'title' slides. You should only have one row with 'title' in the 'type' column."); + return; + } data_obj.timeline.startDate = getGVar(dd.gsx$startdate); data_obj.timeline.headline = getGVar(dd.gsx$headline); data_obj.timeline.asset.media = getGVar(dd.gsx$media); diff --git a/source/js/VMM.Timeline.DataObj.js b/source/js/VMM.Timeline.DataObj.js index 2633ee66e..69d5427c1 100644 --- a/source/js/VMM.Timeline.DataObj.js +++ b/source/js/VMM.Timeline.DataObj.js @@ -263,6 +263,10 @@ if (typeof VMM.Timeline !== 'undefined' && typeof VMM.Timeline.DataObj == 'undef } if (dd_type.match("start") || dd_type.match("title") ) { + if (data_obj.timeline.startDate) { + VMM.fireEvent(global, VMM.Timeline.Config.events.messege, "Invalid data: Multiple 'title' slides. You should only have one row with 'title' in the 'type' column."); + return; + } data_obj.timeline.startDate = getGVar(dd.gsx$startdate); data_obj.timeline.headline = getGVar(dd.gsx$headline); data_obj.timeline.asset.media = getGVar(dd.gsx$media); From 8c70308e72758698ac46cf567db33948f5cfc10f Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 10 Jun 2015 11:13:28 -0500 Subject: [PATCH 76/95] remove onDatesProcessed which only ever called build --- source/js/VMM.Timeline.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/source/js/VMM.Timeline.js b/source/js/VMM.Timeline.js index 04b576250..def46358e 100755 --- a/source/js/VMM.Timeline.js +++ b/source/js/VMM.Timeline.js @@ -267,10 +267,6 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { }; - function onDatesProcessed() { - build(); - } - function reSize() { updateSize(); @@ -553,6 +549,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { }; // BUILD DATE OBJECTS + // called from onDataReady, passes to function build function buildDates() { _dates = []; @@ -695,7 +692,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { }); } - onDatesProcessed(); + build(); } }; From 68eed00e048991ae81148cf7bea163a23d3623c8 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 10 Jun 2015 11:22:23 -0500 Subject: [PATCH 77/95] remove check. it was in error, and even if it can be fixed, might have unexpected effects --- source/js/VMM.Timeline.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/js/VMM.Timeline.js b/source/js/VMM.Timeline.js index def46358e..2d99f4a9b 100755 --- a/source/js/VMM.Timeline.js +++ b/source/js/VMM.Timeline.js @@ -473,10 +473,6 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { /* BUILD DISPLAY ================================================== */ function build() { - if (!(data && data.length && data.length > 0)) { - showMessege(null, "Error reading data."); - return; - } // START AT SLIDE if (parseInt(config.start_at_slide) > 0 && config.current_slide == 0) { config.current_slide = parseInt(config.start_at_slide); From 8d3c6bb94596ac22763773380f4d22b901f68e33 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 10 Jun 2015 11:22:31 -0500 Subject: [PATCH 78/95] add build dir --- build/css/themes/dark.css | 2 +- .../css/themes/font/AbrilFatface-Average.css | 2 +- build/css/themes/font/Arvo-PTSans.css | 2 +- build/css/themes/font/Bevan-PotanoSans.css | 2 +- build/css/themes/font/BreeSerif-OpenSans.css | 2 +- .../css/themes/font/DroidSerif-DroidSans.css | 2 +- build/css/themes/font/Georgia-Helvetica.css | 2 +- build/css/themes/font/Lekton-Molengo.css | 2 +- build/css/themes/font/Lora-Istok.css | 2 +- .../themes/font/Merriweather-NewsCycle.css | 2 +- .../themes/font/NewsCycle-Merriweather.css | 2 +- build/css/themes/font/NixieOne-Ledger.css | 2 +- build/css/themes/font/PT.css | 2 +- build/css/themes/font/PTSerif-PTSans.css | 2 +- build/css/themes/font/Pacifico-Arimo.css | 2 +- .../css/themes/font/PlayfairDisplay-Muli.css | 2 +- build/css/themes/font/PoiretOne-Molengo.css | 2 +- build/css/themes/font/Rancho-Gudea.css | 2 +- build/css/themes/font/SansitaOne-Kameron.css | 2 +- build/css/timeline.css | 2 +- build/js/locale/af.js | 2 +- build/js/locale/ar.js | 2 +- build/js/locale/be.js | 2 +- build/js/locale/bg.js | 2 +- build/js/locale/ca.js | 2 +- build/js/locale/cz.js | 2 +- build/js/locale/da.js | 2 +- build/js/locale/de.js | 2 +- build/js/locale/el.js | 2 +- build/js/locale/en-24hr.js | 2 +- build/js/locale/en-week.js | 2 +- build/js/locale/en.js | 2 +- build/js/locale/eo.js | 2 +- build/js/locale/es.js | 2 +- build/js/locale/et.js | 2 +- build/js/locale/eu.js | 2 +- build/js/locale/fa.js | 2 +- build/js/locale/fi.js | 2 +- build/js/locale/fo.js | 2 +- build/js/locale/fr.js | 2 +- build/js/locale/fy.js | 2 +- build/js/locale/ga.js | 2 +- build/js/locale/gl.js | 2 +- build/js/locale/he.js | 2 +- build/js/locale/hi.js | 2 +- build/js/locale/hr.js | 2 +- build/js/locale/hu.js | 2 +- build/js/locale/hy.js | 2 +- build/js/locale/id.js | 2 +- build/js/locale/is.js | 2 +- build/js/locale/it.js | 2 +- build/js/locale/iw.js | 2 +- build/js/locale/ja.js | 2 +- build/js/locale/ka.js | 2 +- build/js/locale/ko.js | 2 +- build/js/locale/lb.js | 2 +- build/js/locale/lt.js | 2 +- build/js/locale/lv.js | 2 +- build/js/locale/ms.js | 2 +- build/js/locale/ne.js | 2 +- build/js/locale/nl.js | 2 +- build/js/locale/no.js | 2 +- build/js/locale/pl.js | 2 +- build/js/locale/pt-br.js | 2 +- build/js/locale/pt.js | 2 +- build/js/locale/rm.js | 2 +- build/js/locale/ro.js | 2 +- build/js/locale/ru.js | 2 +- build/js/locale/si.js | 2 +- build/js/locale/sk.js | 2 +- build/js/locale/sl.js | 2 +- build/js/locale/sr-cy.js | 2 +- build/js/locale/sr.js | 2 +- build/js/locale/sv.js | 2 +- build/js/locale/ta.js | 2 +- build/js/locale/te.js | 2 +- build/js/locale/th.js | 2 +- build/js/locale/tl.js | 2 +- build/js/locale/tr.js | 2 +- build/js/locale/uk.js | 2 +- build/js/locale/zh-cn.js | 2 +- build/js/locale/zh-tw.js | 2 +- build/js/storyjs-embed-cdn.js | 2 +- build/js/storyjs-embed-generator.js | 2 +- build/js/storyjs-embed.js | 2 +- build/js/timeline-min.js | 14 ++++++------- build/js/timeline.js | 21 ++++++++----------- 87 files changed, 101 insertions(+), 104 deletions(-) diff --git a/build/css/themes/dark.css b/build/css/themes/dark.css index 229e52cc6..4d117515f 100644 --- a/build/css/themes/dark.css +++ b/build/css/themes/dark.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/AbrilFatface-Average.css b/build/css/themes/font/AbrilFatface-Average.css index 036d91d7e..c112fb818 100644 --- a/build/css/themes/font/AbrilFatface-Average.css +++ b/build/css/themes/font/AbrilFatface-Average.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Arvo-PTSans.css b/build/css/themes/font/Arvo-PTSans.css index bffd19a3b..da3e8e638 100644 --- a/build/css/themes/font/Arvo-PTSans.css +++ b/build/css/themes/font/Arvo-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Bevan-PotanoSans.css b/build/css/themes/font/Bevan-PotanoSans.css index f97b21591..0c910e8a9 100644 --- a/build/css/themes/font/Bevan-PotanoSans.css +++ b/build/css/themes/font/Bevan-PotanoSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/BreeSerif-OpenSans.css b/build/css/themes/font/BreeSerif-OpenSans.css index 97ff16573..50b978403 100644 --- a/build/css/themes/font/BreeSerif-OpenSans.css +++ b/build/css/themes/font/BreeSerif-OpenSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/DroidSerif-DroidSans.css b/build/css/themes/font/DroidSerif-DroidSans.css index e73a92abb..be70225cd 100644 --- a/build/css/themes/font/DroidSerif-DroidSans.css +++ b/build/css/themes/font/DroidSerif-DroidSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Georgia-Helvetica.css b/build/css/themes/font/Georgia-Helvetica.css index 15430ebba..795411666 100644 --- a/build/css/themes/font/Georgia-Helvetica.css +++ b/build/css/themes/font/Georgia-Helvetica.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lekton-Molengo.css b/build/css/themes/font/Lekton-Molengo.css index 47deafb1d..56dfe13a0 100644 --- a/build/css/themes/font/Lekton-Molengo.css +++ b/build/css/themes/font/Lekton-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Lora-Istok.css b/build/css/themes/font/Lora-Istok.css index f44ad0932..12ec79587 100644 --- a/build/css/themes/font/Lora-Istok.css +++ b/build/css/themes/font/Lora-Istok.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Merriweather-NewsCycle.css b/build/css/themes/font/Merriweather-NewsCycle.css index d7e791eb2..10ef4985c 100644 --- a/build/css/themes/font/Merriweather-NewsCycle.css +++ b/build/css/themes/font/Merriweather-NewsCycle.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NewsCycle-Merriweather.css b/build/css/themes/font/NewsCycle-Merriweather.css index cbedf92a9..1bd40ba53 100644 --- a/build/css/themes/font/NewsCycle-Merriweather.css +++ b/build/css/themes/font/NewsCycle-Merriweather.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/NixieOne-Ledger.css b/build/css/themes/font/NixieOne-Ledger.css index a8f841202..57c97173d 100644 --- a/build/css/themes/font/NixieOne-Ledger.css +++ b/build/css/themes/font/NixieOne-Ledger.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PT.css b/build/css/themes/font/PT.css index cdf9625e7..f683e211c 100644 --- a/build/css/themes/font/PT.css +++ b/build/css/themes/font/PT.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PTSerif-PTSans.css b/build/css/themes/font/PTSerif-PTSans.css index e2524d90e..509018151 100644 --- a/build/css/themes/font/PTSerif-PTSans.css +++ b/build/css/themes/font/PTSerif-PTSans.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Pacifico-Arimo.css b/build/css/themes/font/Pacifico-Arimo.css index 7dd77fa4c..3aabe7871 100644 --- a/build/css/themes/font/Pacifico-Arimo.css +++ b/build/css/themes/font/Pacifico-Arimo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PlayfairDisplay-Muli.css b/build/css/themes/font/PlayfairDisplay-Muli.css index 82d6beed9..108c8cb39 100644 --- a/build/css/themes/font/PlayfairDisplay-Muli.css +++ b/build/css/themes/font/PlayfairDisplay-Muli.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/PoiretOne-Molengo.css b/build/css/themes/font/PoiretOne-Molengo.css index 378bc978e..45bc55f6f 100644 --- a/build/css/themes/font/PoiretOne-Molengo.css +++ b/build/css/themes/font/PoiretOne-Molengo.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/Rancho-Gudea.css b/build/css/themes/font/Rancho-Gudea.css index f65728fd3..fb8e3f284 100644 --- a/build/css/themes/font/Rancho-Gudea.css +++ b/build/css/themes/font/Rancho-Gudea.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/themes/font/SansitaOne-Kameron.css b/build/css/themes/font/SansitaOne-Kameron.css index 9cfd68474..3818ec1aa 100644 --- a/build/css/themes/font/SansitaOne-Kameron.css +++ b/build/css/themes/font/SansitaOne-Kameron.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/css/timeline.css b/build/css/timeline.css index bbe62751a..b92c10f81 100644 --- a/build/css/timeline.css +++ b/build/css/timeline.css @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/af.js b/build/js/locale/af.js index df5b43dcb..23c79f0ce 100644 --- a/build/js/locale/af.js +++ b/build/js/locale/af.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js index 193a25a5d..6d5171f08 100644 --- a/build/js/locale/ar.js +++ b/build/js/locale/ar.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/be.js b/build/js/locale/be.js index 42e71bd41..b971b2df2 100644 --- a/build/js/locale/be.js +++ b/build/js/locale/be.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js index 575a49fa7..aeeb1b8c6 100644 --- a/build/js/locale/bg.js +++ b/build/js/locale/bg.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js index d5884ecaa..30fd301b7 100644 --- a/build/js/locale/ca.js +++ b/build/js/locale/ca.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js index 71dd6fa5b..89312a4bb 100644 --- a/build/js/locale/cz.js +++ b/build/js/locale/cz.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/da.js b/build/js/locale/da.js index fb4ec583f..2ed16fe87 100644 --- a/build/js/locale/da.js +++ b/build/js/locale/da.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/de.js b/build/js/locale/de.js index 966751422..4f044b94f 100644 --- a/build/js/locale/de.js +++ b/build/js/locale/de.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/el.js b/build/js/locale/el.js index 50d40b8f9..2d0a817d9 100644 --- a/build/js/locale/el.js +++ b/build/js/locale/el.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js index 3b773d611..ad24cac44 100644 --- a/build/js/locale/en-24hr.js +++ b/build/js/locale/en-24hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js index e93cb3895..387e06d17 100644 --- a/build/js/locale/en-week.js +++ b/build/js/locale/en-week.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/en.js b/build/js/locale/en.js index a2c1125b9..16e0babee 100644 --- a/build/js/locale/en.js +++ b/build/js/locale/en.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js index d9006d04d..d81e76554 100644 --- a/build/js/locale/eo.js +++ b/build/js/locale/eo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/es.js b/build/js/locale/es.js index 8cad77824..5624a3a2f 100644 --- a/build/js/locale/es.js +++ b/build/js/locale/es.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/et.js b/build/js/locale/et.js index fdc5b6875..c741b48df 100644 --- a/build/js/locale/et.js +++ b/build/js/locale/et.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js index bca73fdaa..bd7ed35dc 100644 --- a/build/js/locale/eu.js +++ b/build/js/locale/eu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js index 21ccf6a77..a8a496e2c 100644 --- a/build/js/locale/fa.js +++ b/build/js/locale/fa.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js index 70eceea0e..8c1238457 100644 --- a/build/js/locale/fi.js +++ b/build/js/locale/fi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js index 8213f1142..dfec90610 100644 --- a/build/js/locale/fo.js +++ b/build/js/locale/fo.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js index 67612fc92..f6634f858 100644 --- a/build/js/locale/fr.js +++ b/build/js/locale/fr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js index f6b389d5f..114b954cf 100644 --- a/build/js/locale/fy.js +++ b/build/js/locale/fy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js index 44744eeac..4120a10da 100644 --- a/build/js/locale/ga.js +++ b/build/js/locale/ga.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js index 0daf728f4..48f131aba 100644 --- a/build/js/locale/gl.js +++ b/build/js/locale/gl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/he.js b/build/js/locale/he.js index 423413992..8ee2aa05d 100644 --- a/build/js/locale/he.js +++ b/build/js/locale/he.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js index 93688d477..c9d7bbd30 100644 --- a/build/js/locale/hi.js +++ b/build/js/locale/hi.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js index e7f309441..f33fc9c84 100644 --- a/build/js/locale/hr.js +++ b/build/js/locale/hr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js index 8b44f558f..04361289e 100644 --- a/build/js/locale/hu.js +++ b/build/js/locale/hu.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js index 780127e8e..9c7c0425b 100644 --- a/build/js/locale/hy.js +++ b/build/js/locale/hy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/id.js b/build/js/locale/id.js index 5c7911b72..f567a9c45 100644 --- a/build/js/locale/id.js +++ b/build/js/locale/id.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/is.js b/build/js/locale/is.js index 7c563f8fa..692fb5dd2 100644 --- a/build/js/locale/is.js +++ b/build/js/locale/is.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/it.js b/build/js/locale/it.js index 6d980a889..e4f32b715 100644 --- a/build/js/locale/it.js +++ b/build/js/locale/it.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js index 5fa0fafec..487f953dd 100644 --- a/build/js/locale/iw.js +++ b/build/js/locale/iw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js index 02464d920..ad159ed28 100644 --- a/build/js/locale/ja.js +++ b/build/js/locale/ja.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js index b6b81bcf5..5485aea02 100644 --- a/build/js/locale/ka.js +++ b/build/js/locale/ka.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js index 062017a3a..52f6f5f01 100644 --- a/build/js/locale/ko.js +++ b/build/js/locale/ko.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js index 4af0ec177..5114b55e4 100644 --- a/build/js/locale/lb.js +++ b/build/js/locale/lb.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js index 648b4ac4f..abcb9838d 100644 --- a/build/js/locale/lt.js +++ b/build/js/locale/lt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js index b1f52ee6c..c4802c2e3 100644 --- a/build/js/locale/lv.js +++ b/build/js/locale/lv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js index 4e4d50d0b..974fa99ce 100644 --- a/build/js/locale/ms.js +++ b/build/js/locale/ms.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js index 6bdeea337..e45723885 100644 --- a/build/js/locale/ne.js +++ b/build/js/locale/ne.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js index c5daeb9b2..a8895226f 100644 --- a/build/js/locale/nl.js +++ b/build/js/locale/nl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/no.js b/build/js/locale/no.js index c2ad4b666..3ab7e0559 100644 --- a/build/js/locale/no.js +++ b/build/js/locale/no.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js index eea8a008f..c2eecac55 100644 --- a/build/js/locale/pl.js +++ b/build/js/locale/pl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js index fe08c8cd0..ec16535b3 100644 --- a/build/js/locale/pt-br.js +++ b/build/js/locale/pt-br.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js index b7d140878..db978d48e 100644 --- a/build/js/locale/pt.js +++ b/build/js/locale/pt.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js index 9c66aebd4..7e2519caa 100644 --- a/build/js/locale/rm.js +++ b/build/js/locale/rm.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js index 070f803e8..c6a1ce6de 100644 --- a/build/js/locale/ro.js +++ b/build/js/locale/ro.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js index c912e30c1..2e66a6c12 100644 --- a/build/js/locale/ru.js +++ b/build/js/locale/ru.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/si.js b/build/js/locale/si.js index b5f3ef324..836b68701 100644 --- a/build/js/locale/si.js +++ b/build/js/locale/si.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js index b7810e78d..316fdebb7 100644 --- a/build/js/locale/sk.js +++ b/build/js/locale/sk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js index 94c3854dd..e8ac7c075 100644 --- a/build/js/locale/sl.js +++ b/build/js/locale/sl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js index 89d1f9275..cefea7c9d 100644 --- a/build/js/locale/sr-cy.js +++ b/build/js/locale/sr-cy.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js index b808afd49..6cc917e0e 100644 --- a/build/js/locale/sr.js +++ b/build/js/locale/sr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js index 18b60074a..9f2704020 100644 --- a/build/js/locale/sv.js +++ b/build/js/locale/sv.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js index ad4e1c69f..8fa0b4a28 100644 --- a/build/js/locale/ta.js +++ b/build/js/locale/ta.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/te.js b/build/js/locale/te.js index e32684b65..27e7e0121 100644 --- a/build/js/locale/te.js +++ b/build/js/locale/te.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/th.js b/build/js/locale/th.js index 0d87eaa48..6e559ce85 100644 --- a/build/js/locale/th.js +++ b/build/js/locale/th.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js index 8bb0761f6..eb1c027d1 100644 --- a/build/js/locale/tl.js +++ b/build/js/locale/tl.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js index 89671961d..f0d653fb0 100644 --- a/build/js/locale/tr.js +++ b/build/js/locale/tr.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js index d12660ebf..30a97c58f 100644 --- a/build/js/locale/uk.js +++ b/build/js/locale/uk.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js index a22b9ac00..071aab60b 100644 --- a/build/js/locale/zh-cn.js +++ b/build/js/locale/zh-cn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js index a5a7dfd54..7a40e2c83 100644 --- a/build/js/locale/zh-tw.js +++ b/build/js/locale/zh-tw.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js index c311595f1..3d457431c 100644 --- a/build/js/storyjs-embed-cdn.js +++ b/build/js/storyjs-embed-cdn.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js index ce5f3af2e..72cbf0796 100644 --- a/build/js/storyjs-embed-generator.js +++ b/build/js/storyjs-embed-generator.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js index 7284a3bc7..659c57dd6 100644 --- a/build/js/storyjs-embed.js +++ b/build/js/storyjs-embed.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js index c7a6edef2..64f72d4e3 100644 --- a/build/js/timeline-min.js +++ b/build/js/timeline-min.js @@ -1,14 +1,14 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)!="date"){trace("Expected a 'date' type");return d}else{if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim; -function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi;return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege() -}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key -}trace("VERSION "+config.version);version=config.version}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function onDatesProcessed(){build()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(!(data&&data.length&&data.length>0)){showMessege(null,"Error reading data.");return}if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7) -}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file +(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi; +return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d +}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version +}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(!(data&&data.date&&data.date.length&&data.date.length>0)){showMessege(null,"Error reading data.");return}if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate() +}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file diff --git a/build/js/timeline.js b/build/js/timeline.js index 0ec7621a3..4bf360b0c 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -1,5 +1,5 @@ /* - TimelineJS - ver. 2015-06-10-15-48-54 - 2015-06-10 + TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 Copyright (c) 2012-2015 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS @@ -1500,10 +1500,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Date == 'undefined') { } - if (type.of(d) != "date") { - trace("Expected a 'date' type"); - return d; - } else { + if (type.of(d) == "date") { if (type.of(p) == "object") { if (p.millisecond || p.second && d.getSeconds() >= 1) { @@ -1614,6 +1611,9 @@ if(typeof VMM != 'undefined' && typeof VMM.Date == 'undefined') { } } + } else { + trace("NOT A VALID DATE?"); + trace(d); } if (is_pair) { @@ -7225,10 +7225,6 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { }; - function onDatesProcessed() { - build(); - } - function reSize() { updateSize(); @@ -7435,7 +7431,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { /* BUILD DISPLAY ================================================== */ function build() { - if (!(data && data.length && data.length > 0)) { + if (!(data && data.date && data.date.length && data.date.length > 0)) { showMessege(null, "Error reading data."); return; } @@ -7511,6 +7507,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { }; // BUILD DATE OBJECTS + // called from onDataReady, passes to function build function buildDates() { _dates = []; @@ -7653,7 +7650,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { }); } - onDatesProcessed(); + build(); } }; @@ -9570,7 +9567,7 @@ if (typeof VMM.Timeline !== 'undefined' && typeof VMM.Timeline.DataObj == 'undef if (dd_type.match("start") || dd_type.match("title") ) { if (data_obj.timeline.startDate) { - VMM.fireEvent(global, VMM.Timeline.Config.events.messege, "Multiple 'title' slides. You should only have one row with 'title' in the 'type' column."); + VMM.fireEvent(global, VMM.Timeline.Config.events.messege, "Invalid data: Multiple 'title' slides. You should only have one row with 'title' in the 'type' column."); return; } data_obj.timeline.startDate = getGVar(dd.gsx$startdate); From 1255f52811ad9fcb737834ccf1d13e4b890ce8c2 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 17 Jun 2015 10:27:44 -0500 Subject: [PATCH 79/95] clarify publishing instructions/catch up with new Google interface --- .../img/make/publish_to_web_button_small.png | Bin 0 -> 20784 bytes .../img/make/publish_to_web_url_small.png | Bin 15771 -> 35444 bytes website/templates/_make.html | 8 +++++--- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 website/static/img/make/publish_to_web_button_small.png diff --git a/website/static/img/make/publish_to_web_button_small.png b/website/static/img/make/publish_to_web_button_small.png new file mode 100644 index 0000000000000000000000000000000000000000..a6f5054a1ff86e0cab44812fbd77fd83e193b292 GIT binary patch literal 20784 zcmd42V{~Uh_b!;E<8*ARW7~E*wryJ-+wR!5ZKGq`wypW)z5k23b3e?NS!=RZvQFw$ z)v3Kt)vnsl^PDg_88KLBENCDgAXo`;VFe%{U~9nj5hMuUuLfVN4-gP^o4JsXoP>}N zft-V_iMf?A5RiD--((26gcY>mtEa+{z$64b$L|My~?GQ0>ZU5kdIvi5&mtoXjUa1@NR)mn;n^KSA33S-5DHPqa18clka>$ z;>6Us^tdXZ1VRLeL2rL%4EJ_VTDE{e>3xA}dcp_MU@-Odd$(;LcHrWpj*AABD!ZrN zsugza2CaZ{=mQhj4P3zcieneX(87NKwCftlu&-J}s5B51NmVG&LeKs@B7S?y?Mo=q+lM~>)Fbh9ckkT-T z5BV3wPOBd}7Tpzdh+rYGj9JyXzEeA@@e0&aOGg-tGyZ0NqSoz;%rKTWX{q2-F_#@9LMQ>RvlYZsX zS3DM^fFFq67e<%>%E;e|0N82!$20%Wz!5ey{^*dvb_GV3K-VI>zoApV z&kZMq*O?k94x_c62co|?vJ+0R+EkCRLWBMkp-Jh{MvGII$`}W9v4eYDgrB}MD+ujtv=mt+v5mrjXDSxeC$hoDCL z-H)Y@TMN9*Zbj+B(uB~CzZQDY^Jo}Sv&W7j18W-W*dMg3#tuab-;C~x;tJ>bgDvtc zFuC7y&-%vu*{uVp8%j64x<7kxtA}q`76Anc928xU+)qeNgq#S6v;nyaIT#9Am?RHz zCJIABip1tu5+ZgedRR>8)&Bmz(?P}o+Sttj>&V|x+~js@Hu9&`0x3ok_XH$yg;^H` zmeK&H?E7dbQtWu1(HkQucdphXPrvuTcZn<_TZ*Z~qmk<5>R8*PZo)4OzZ|`s9yzt5 z*nGJ%JB6LLJ}MFayxhEIqTlwJ20;etyV`^HB;oN<3MC4`3b_iIv#5oL#u;_Fb=8bw z9I7v|w_pc^(BXMvH$^oR=@cOp=oI}*)C-~i3W^k9N`^~1=NV9q|AJA@P*N#VDovLB zoR(u2!b(Vzp~}n5*~s-uE#`<}h~ctb>j-vdJM>b@tUfLMr#zu*t<+ihDiT$7Se{hW zq*y6(QOl{Zq2yKj3jOfo6n#N=qIl9Zb1EyF?`z;40;?vtRJ3KtB1#C02Wu})BkeOy zaH2B}omtm>rh&Urp;5A7(jv-2v0#s6G}Lt5DbD=K zLh3ZjY}D*V!CJ|iT1?4NL2`v^-cl)BQFUdvxKEUK=jV?f{(cDp;k|ePHUTlgqQMNo zny{Kb#UhoWQbajKA4Fp!M~Co+)Q6OZnx$$;Wk}6Q-=trq^cDZiq0B+gotf0624HSk zb*p!C46Uzd>FF4IFZmnw){HcjG-EUrsDo?T)LGSfS{K@)+BVLWt(~?vb~?8`=%0nK z{$urHO}ARL-ds&vt+S@GvR#S0ct2lUYh3MA*K6`^-|q4M^N8{$@~C;ib zg(HglfQyX##Ifm|#~H+d%Bk%##Quk)+Lia>ePys$WY?kZfKC-=iFt{0DK1D9rWFRB z4##26*{~JY3EQr?oviI^pLaWVulKg(*6ppSO0THcnHE z!A-qg`ZdeW24Z690irV^K2ax81QEU{rkF%NXFh5ka-L;A-_Y{_%J9ztjlrs@PPAgY z;TX%P;X$!s{4jjo-FBm=_#M!Yw!-%&|bS{}x!uXXpvrb$%PrZjx1p%Rf26~EvA zK^rUA4ke^Wyu}YKZ=UmYn_RpeHXRMffYd^vb$ zD+Mn7TZ%s?I9E1DI%hbG&2)_!hG`9AERdE%rAXyyY|=d~l|qIy;xM|J$wCT^go`M& zTezzNh04IkqhNS~cB0qx$3^6^7WInO1c(uj|J(_!le-b{O^?>u1xbhvH4qQ@SB*^O41&%?R%5Zg(NC zEU#>$t84k$;y?UpzH6W34U=Z;tEQ`$jQ4V|MX*9JU6_?1RiB2J+VkPji_x_|5jf#+ z=RKDQ=PmVfhNjZB3idKL(^VqvX}^z2UP!K7>9)KIodnDe@OJS|vi$0{>lQm-|G1ui zXk;mPxA&Fj*=G-RS-G|FsG_j)u8R%w(2mkqv06iB|B&P*v<05dC#ir+OfHMw7#_2UGsGg8-smh`?}uY z6ybihdJ((!;hJ~3-kxsfx{Y_VIr4G;W{YRUm*Up4gLo+aX*f7sD9fCs^kH-RXV164 zCsiQ3H>(&?79XxQMCX(6bMMUVlIga7_Gop=Qp`$BCgwHju~Y5V;JNVnV4%E%@9*dO z)9Uj>X*c)RDP{yNwl}c{(@WEJ=4$)t6U?S-bVwB6OYDvQuHh$Hqby5yCaJUEa)VvGZjIykmT$3voV_&sP%W~SAL;;s?bTB^pc0e1slX_>A$ zP@pBa9=4hN{ejQXQQMF>ldB)oaV&ca#epK5df`!KNtDh!+Nj%n5AfaD&>#OKLTCYp zStvVkbw?l|807C?V4$=N3?Lv7dUGW;CpBp)PD5L3T74s117lh@Ydb(~ARulxPQazL zv6DW5o3)jVBc~e=(SK@i04*saQ^m=Whe%CYjzGxP!I*%BmYJ5Gh!>iGfPmY< z$b?ftSoFV|1ODS7GIMgW0N z^zG;vXzA(xPmP?+P5$Tb{%@_m@BFuB|FP=7J&YUR8crbxV|^!E2PIouD_#LZTL&8g z7h?y*4oa&*zvmwFAF!_|D)`Gudl9P>}YG{{Otr@ zHpc&I@V^%R?+w)cPYwRp!vAW(P5157|Ha4u?FIg)6z~Rlp#ir1_u0S;jb%w80R+Sk zBq1!IR=~}l2qe5mNCd^4NF+QF zf}4{(G}H+Jp@5P|8&cs%;C)y7)!SBr)|ag-GDvItio+$uXDXND;dtuS_{#>9|8?|zcbo!b zl-My`Z&4N$$!|X{;|HM4G&IQNzRK3PwaaRSpmn2JeI2(n;I2(HkatOCWli9gI)B{F z2zAeBo^Z|^(e>t^tImf-O|Y<^_`L7^@O&AVIHSZ&LZo-del}4(in2Tp+X3*=I2=fS zJ3b!Q;JL4Rw!S`}QVHYF(ozW%Uc&gBMS%ji->>^&VPVH;+t2T&`1tI$djMTd*_P-0 zifMrUZ9)pNf#tW1fXV0m?)9|sblHAI+c>X~ZdE6d&Ff{-BoFAzhDW>ZE{wk%a-ixo zg~6~$Ds{Ho=PL}EEE=1wN_lid3NICmT|E)fNf%Vd`^C6-Bu5~iY29HAkH=#jU_o{F z=j-_8>aQ55t+03=Sx^%{Uu@jZ7eS*amK^j9;lCki*Hhf51EjpQ^%C zUOpw$hC;Fc`?sn_!@UUE56<7$U596(e2#|3s^3kxpK0x{x%n{JzcAVf4fnOi&oC+J z9pM}<0y(Uh7QTJnda%C`s;`e1Z!1&YXr2pjbd|>+Pg}ZreqbJt=cV(LQP}fI`VQQI z?bCuVqh$GzV(i>diqxZ!Y}hfcuO4e7^PGa3zkydP&W_=Oyhj@}ND>juSmc>=11dD^ zdcjtZIn!Cvio^KXgmYRQy`drd?y|ieS6G&`9M`OyH{6dhNgkICV`6w;OIGI!HljC8 zv%NOm_M+?rCtpJN-gjE|qW4bYs+~ndP7uX#ZkD<~SseNj_MQUZdD)-V9dAMvEy}^5 z-==uq&RsX%j|!7@IJbR&2+~M|r7BZMStps1+Kzc_c|AGPb<)?FF(3n`iAWA89@IH^ zY2E8-`Ih}KuFvaS_PWLAFyE*B1j|w=iybI%A+c!Wb^;M3;iwQi&wldoE{N*$%Te~% zeuAuyRqdc0(yrTnoY=3#GG6o9f?>Qr=Y#0FPLlAj-lJOfgQ$J@si3=~UkH#2f9@vO z=(^u;Rdv0TDcr{oWZ2OXNQ1#HyWTF*b=(9vQT`RvWHk_y?#5O-vnJ@DYP)V6u%Ge#`ziH|>Qf0T}*%1hBB;KGig9#kTvS zCV)$=dDDZci~YQ&U(PpZxmQ~3xZ}KT48yYzij01*aY?8Bvh9qvWgEnRr~g!7xsnHXvb2m}tI>MVv8w(%)A{*+#OL^iZPNnmm4j!XY1{cAif!$5 zKO?qBK=XYMeQ!Egu?AjnCUAC6hHFAsl$ca`+3_gT)u4IJwp&|lUcq=lS@q*Y*5@^d z&U0r7+jbt88ku1X-uwDTltF(4ZJYQ8L3Lk;)Gv??Sie~}P&?YyF`DL#*g)*J-vSI^ zuh({6av~HVVz60J{UBBQ05_E{4~X!(uswg}MbLVTGYsSWIj`*xhV7>|s`&{Xrv~sv z|Jq)i>~by&+Yav3P({P6Bo=DHz_Yn!mir;%`8Jp{ZeX&mx4V^b)ZP7@EHM{V{*>3H z;~*94qOOlu3=oXkqJ||6xR%$$!fM@2e%RYp_ZRlo^AOL|di`!V)$0$7{oNa06)0uu z=!TSD@t&;i4K%;mMHX(COy@;JVidVHNlmViqdOJoK3KRbC6Fa`#OkREn8N#A-Wg_ct# zC1I{Hn&Npf0s>BNM5DN*5dGqg9)(D!Wm4IHV zaZ+ts4=L?)le}G22C9mh{`Ge6X1qb+whWC!ZIAuGHT!S`e*cuG(m)N%!XR`VHErq| zz@iFAsZh6aF{5hZw>qBA1x-}A7)-Txrd0S+-WV(Z*rDv*R)(9hr%Hfp)rs#yG?)~5G4iG8zdDETDBmm zsv1YC4#{j@W|c24JSeD{g0fIvZbmd7YtExgZbf>fq}``)G-E&th-eY~=G?Q^h~v>@ zAYuHePhQ9q!UTwb*9+J+r|hS6$UuyVV!0Ja(@LrSzbpkzCY`&TzkE81`8jrB531JJQCmbi^V$8%rf4TB5c%ZRsU?e;&MU~Q4P|Aip1Cy$Hc5LiAK`csOq#MV zm{1%Or)Y(@>3`8gM2OC3Ko8=oXepUh$pm|sQ;CXLV+)XuhiB9GFnQyv@O;W;|n-0gYSF@|PO@xt)WmzLX zNxT^{lj~U=`|`p@$hJdOI#8vrIyl0l5c^&a8d;|%WqRtAscW(4myTI*Pbl``5IjH*FEnh zI!zIVRGZ@aJX1PahlNo%k*@N)ULu>b$I{|u zH52LTrFknbIB{@j`BBP9t3-#^6%DyRuc&S>)gImWkR@1a7RS^Zk?1NOy;Y#`ectU? z4>MhL4m&?z&t4CV#a}07wC`G7D*l0&b$p1!)px3U#EGCml|A(R3Wmxg;2+unOGHsX zI`_5M<8e4n!T69{U}oT1(A_U|{)n$8rUc)%W;0Z9B$`I@b8rjPkufkaj3pEbhJ=1j zY0kE%S<w^@iXe6M~t!KlbOtPi(aa`WxEpEvlZ`+7zwr4OSWGZj^}p0T{N5A z6EVueel0yXWf#n6{_SXcr6U628Ri;>6{>FG4vQr_7f89jfW6ibTEVqsS^;_84AabZ#LKMKF~8$f1{BQ_C3b@pwErU9G4W0t9C z`ihCqFKSTsFbbQ^JLo0Z&5=JsK*Vagb~2l^G|yy*WxoUHHcF{zn6G;wX#drk+d+~a zD@7E8v4kQ*4u9G-SUw04HY&A_+%cyGvHF>-i9ltFPk4hSEUFp8TGC!dsbG|9;~y*H zrZ3+kB9;`kJw#*p>96a+0cRRS;t`^EQyW16zr3$d)FBYdkvGUkAa$#dQ#bSo(6)$1 z+$y7|(^Izv*odEUO<)89Z3-i^4=RMp%u{eis6d9MFc;Hu&Y@>d`ub|P{{p!P;7`30 zg7I-_bj3Z?%h2izJft^i9izB%K8TDCn>D`G;Ygyy3ESGmHJ|L6qsDperYBrP^gcQI z9aqY!5vJ@*G*Mbk)3L2_F|Q!rr6)kjVAXe58-r%9mwp;L4END%PQ`jg=2 zqUhguY0y;&zb`kpw}#}(Uw{o|NhoLhjYS(i^IZNrGlc^&z7+@EoGEj9FpuNlVr`83 z`Nt}HQiH=U$z*E$IVqmTG5pX(UTGvTog8qqUr^9@mT~r2#Dy9?txaJ$C**s3HC=qA zW=0tr7c?=kFeUp!cGgET8<){^6e*fmVqp+myo)|2lp@9zu@_R3*TWSdRD?tk5!oOr zo~9sEl29rZa&)Fj%UP)=mK;Sd&ZWPF@e?1RmZBUWs#kxo_*jUqpUx>+{glH9rU(zz z6>C(h*AQVl816+%wcxN`%p^7b`z}ZboJvUAy`UppnU|YXOc@+M4VZ58NTK=UX>szU z$K;9VFL5PJVj3odrAc#rpSumIYK_4r{~{>kuI6Wcrkdqx@JGy$>%Rnb%#lOyoNmQZ zC!(*8s76R6n3Iy$w~19kGb_&W7LyDRbM~uD1w6l3w#Up~nth(CcDJ2XwS$0d_l@w( z0InvbCwgFTZgKr0G!|NZqdS)m^PaLI!vUA=s}{pBh%~f*oo3nOsuQIp5g?@TAmTTx zj*7{UJN%h?u_L ziPxo_E+8oyVzY>IvORn1{_@JOn9;>>*IG8;fBvgpu%|==-~CKX{nX7vr)bo+0oSbZ zCs*6`VBwZtep!e{!d&d0dAz8yMt4;{RN{FIYO#!{y95ROCkY_Tw`$I#13Q{u)#ZYS4i;qD0 zomh`A_(*QY9V7XAzwhB=TW#E2KR0)OT-a&Eh!5(P-sGh~n?#!8=m87+U=Sffrc~oq z_+v>xVIYQf_uk+@V-XeQl}hnDWOVm!FIQ66w?O>PL*|XkWNoF&_puHN3uYlNjb45F8Ga_^@v0S+2Cg(mX;7 zuuq%2Y=?gohftP2&;9rwE)pWd*ggsJ1VVfP{ghY)dMQ#SeIBOqKNNX$mUAkP9U{R7 zwh!eArWjHQ5e&P-MPt*&2XtfQCc%eN_!v_`OKMo9{+ct2X$RXwJB~_0mggxt9yB)` zsq@Gl5dOXfz!)yz+c3J%{^qW8fHVMbf-=EK?0%@Ubw7u;&#)iDJdBF)9ZM#wZdx{o zsP?+BN&XP{t~k>d>mSv2pf+1=>)Cjd>Ff}+^5rG)`saHC>ja$|Sz zumfaYwY>ze*sPJO^^=^I3DT@99%q#|d+6QIB9GUPfLs+)H-&%AsvcIK#{kN-=;*wD z>QNk{ku2Mjaf;#MJFSjl+f-Y^_~}>e{ZNj>h__rAdlT*yYwbB2`F@++&22P-0C&j1 z^oV0WfSA_4?GH0fSw9@`k^yb-$-e!(7sGd)6Hp+{a_BxOP1g`DX=X?`VUl%9t>rku z!n5N6Fg3&b^#p+x9WX<5K}7vb64o4Dxh`9X_XVETwmwyyV;V3?ljTloLV`SYc269l zq@6& zVgFst@eY7>{HQ44sCY&6L&bVVP;|gT@9iH5G_N*_mS$&y8HV~N{ zE-vUSoJ3mx*Jz6=;gx1Xh(Je!owBy-$5(8BAf3qr$#_ z@Eyk)it=CdDf8{}yY42r?s%k`($m%LF!l0V0Ml`&@i@*?l}Yty(%Ty5+6b(v`zW-4Lj+Oj&eld(jAEGOOqu)e=+Xe0l+Un z_6;dvW@i;>S-^~7WHjKi+=(|8XZlhzqlpBTt!Y{Bkz~n9k zC1=Qd#=aaL(BkDMrNrQgv8dLPA|OTe3dt;;j+(ap&W*3)tt`J$JxUBdkC4aUM}a<@ zXO29yF!IwVKFo;mIE}$sf}W`t4@Oi+Pcq%=5LIwVabLX0nWW;Dt2ugh7xB|dFlF7% z3xK1tP`q&C+qJ|xQ1XECsERRr*qH47nY4lvIdX@~-oG1B)&q80LSBOHE~1tYGT`k^ zYjWG4|219Zx04s#s}x|1QhF>{ObB1>D37j2DlhogrLhERDh6B6r}!+JNq? zZ)!x<0%_stE=qzZDNl-^sWO}NX#L7L+Z6}WU5SS4hI3|}v@E7XJH%cSSj$es8zeANaRbQRiC#jJ!4& zrwT&_7}*ANIRMPekkzgwN;rj3iXWJn>mCFoxF1VcJL9)#aYIQW-nK7i@Hid6lIc$? zOdJ)&InW;|WW#1y!rhD~k)or+j7dPF^pOWL51kmKv8UAzd9GVDWRzKkrfH|60!)TfF46b5}U94{J|7F|1Y z=%s>a2GRzo#;jj*=5SL|`0|`<(v@Ub0yT}nvC5_m8EXX6@R-#7^>2pJW|7FDw0fZ4 zj3)>48{7hYu>Po`qWAbN16^C#fYYh|m_sz81p^?n(PPQtfxhFAj|9j3{Gvg&kosC8 z+AcEOH^SnTfP)9EoS@B;rqFIUuy6_H-)*eiOv~sJcwGWFRiq`f1|mv^ByeADiQ3wo zdx#dsLG)V+Kt@zz#+ooP@=H%k8>b>hO+>U*503`Aw1sv|T5*-yN4SFsQW5&;q}{xj zE>A0J$mnkX^?l+2ty7+^w2+XHNkJ?GR=Ae?ae=z`{fsjd95q9IDN>ADZ|iB_@PY)D z=U+-5k|_)U+XlRkU8O#J>1|2EwiB6nycR@XzN7}5**xCxhL>Ebj#2450K9*ccPeRS zFZP3fe%G%LxVMO$|4QkX1U!=z5a_SD($op={2{!(-DxeH_f()GHa7kNlNY;w>5h%p z5fL4#o&t5m#vz_XVj0A$HbD{5(-uo4G~!WI`AENI$0;7d;G!9b#1x}*rQrhRGerJz zg?e|^dzBe8>AzSp>9!J0tZxQsU$r#D_=k}vOysE>ct8Ui1@dUq zlrFGz7ZE^w95{6Q&F$u8F#igGAjU$`MNpQ|_@4eZkKC)v*K>N=cQRFeqrCq2j=P{0vlhPRBmw zyzld6RMVCN5~Bl}bSnnmV8zs_d5tx{-6kc5!SqmK;9nI9>Qg9(C+JTC;sO>7TXYUD z^=nca1rv2_7^E`-vcU;U<&Zf*4ggn@Rto47C$@Q>Um&k$fRJOdoWLL9S8yyFx#2>O z`C9)$H5iI9qh4a6Ou#t7nqhF;N}g&L?1<)JQe3joWKwJ}9A}^E09LPUnl%C7c`ED4 zOe3&5hfpy(9$$pfSSjwCwJHR$@!59*k>$WG>=?Ee3V)teh?%-@GIBABP*p-Vr>QHw z6okbrJl29_Hw*$Cycd^}dDsTJ8>4uL_QKfj5eLQ~ChSGpAQaa#B_cW!?h1S)mz*+- zkR%j|7bf|EiF3}ZL=jIxQ!HU=9HA+*Ob{X~su_n&8f4d?EN&q#BI1xISz=*QKmL{7 z-zVt^w~$Wx+B|!OkZ?poQF#vO|SDm-QYL z1s3-2q{45}zL|nX{|=$FlopK!qDhAZSmjlRR!0UWVVXX96s)p05*o!)4Z=euPL2CB z$US1h%5axT8_)t3VA>gd~gvw!}e5z!Dx?AEv>$6m}h?6II z;@{yKkROLO7Yb=mz)EaHpe|e(dW)_Vmpc3!eLYZh zpc+_1&ElYVv)5a$t*_zhf18!dK!eclY)^A<5R(Dv%`gqVjL)>B)f{(0^v*vJFxVExO zhzHytVcrXGz-8p3CWoPbOt)-ubeHD}zN}F%U|c>+TMf&^y2hf{G$Hbq2q1ThiP)|y zj;yiQ{$8i}Zn*t2fJk0(IBwwk=a6B>Hy)ii+b8?_SbCwZYH!A8NIL)Zq-@*uc)9;K z>GUaJ1HJw2gh6%l4S4r;H|@vM$F6CY*UnjWC!2A*GdQe|?d_PYw3d;djwv3q(R2ro zQrBDR%$MU6#8p&U+pg)GOv?Q8ZaT7$*YmXd>pZU4D7Kn;h%@*_=ioNJ_QxXeRMf}J z=5OwY)4*cg%$ji`FYlINgFE?P0O^0x?`@9R{EeYSAY z3zSx3i?XehM2P-jKY&aZ^EEjc!F_$6a)yV&Ve#I;!=|m5pbV~;(9D~0dxfYdv+Q{D za&&St6gmn>4NKz;&+uQ4mZxw3X(r4})4}VU=K4ggIWGIBSMpv*lZj@&thuUUuYTk;XSm@BZ33V-$pwiXN$>;h060u4dDh!7tLE)HQ1n+T5T}pv@ zHWGeRaDt5D@mR8Ix%U8K(cM-s)kOQy>>V>0T+|;MPPbH%H@&>%&9sIg#yhLlMNhT< z-4g&1UR~?-^>S1hn8YKAJyk>EgY35=nA6}M0!dB8-4KAn-KvM*tKaT7b!QEOc2jxW zLp1n0m^b7RB6};#8>u_Mn1qUVJ4oG;d|}ag7{OcOj0_>vs%`sMKL8n1y#o@uf-7_s zkwP4jwgrc?pI1fsGi5LzKMQoJ3di*}E^(3PlfaD-&4*T`60Kj4ix`bdi9wUD!bUD7 z{ar<2KYygtEAbaxo_h2t6Go27{qk#jHXe`iC{)zjJD3tJ`2~ ze6B`SN!Q<+8OCTfpKv8lu_55kIdXh9mV#kLHA^HPBE?KB7mMXqAQP`~uoB#=$GZ5Y z>bZO2h~VHzA;j$Dq1v-(Z#y;&{E$7udzCjF<@R}I_f9Bc=IopevOEMCautvDz4m7q zXZ*x_vr$9gsCle{agYc@1eS0XgG!5^r zpGa3K-9EPxbi6HRbJytJdyh-mxS8v8uiAbze~x?J-FKXwFu3UtlDt)RHJGMiFRANq z&LE$@J(X&DoqS$-Gds5qzS8ox+=jBrU~<=yzhL~u2A51MhVyJ7TXixLd6f-{@R~5 z6xiuCVh|)$p}}N~Q=Bj3h5ZfvXJmkZiR4z3#v(~VB2F>WO!6%B59!~2TRpi^^Ve#1 zld(C;#v%=o!G9+|mE+706wFjkQNmDOsUGgcL0578;`icQn)$G$09vxv7=UO*T+?ar zQBoM$I+xp-6oCJ$LmF`_pv9MxAs%-@Ivu+eyutl`5oiP+w4em6C@mfCtAei_#4zhrqKPbEkd&H<+OD9Z- z3s%Y{sQ47O`e{VP3xQXMFICd@dS%L^}d%mObj^aNk_H-GRBh{gv67qV}aF^@!!*NxUI0GdG`EXVHfh`Z?6Ii0FHXM zve6p=k?*_Vy0yVp?iu%_SZyPR^m?5tKNH%&CaCuFi09q$bug{kw zudzvo!^bsSbQrr&fZz?k{(0L*fU^>d^Gu3c5c?8gvgBhOo~D<_(MO38d_= zz@NOsQO4|c!uWt~&aaXpQ8aphj0Yj4DG&pxW%Q``0}h9MnvAP4lmY=Zb6G%R?)D~n zPHmokp;WgvvfBSm@0yH--~ie0GLj$rb_9m5gW$fV0s-#XsQMwoj=zSWH)@c;bF;25 zxyP$rQ^^6KICDIg6(eC@TdGO7)Ha;(ZyF$GoJmkITFuE-k8b>l{mV076$2^tYF9ChhHF##P*0#D( z$PQ4LMippSSZ8ORQ|!|}%+|`weyEWHr7VFMy(eVw!bLIS^~Ry#2Lp6rCdEO@3ysh_ zc}@UeoeWVNlo!q~Qj8Zam-<_h8Y7fbdHLq8)vgXunSf|Rd~@M^A6|QWTU94p?M3?0 zwoda4i;?MCcbSzIT{TYDUP96_`)yTBTXkgG$lpRPulcn@vsYWV+&b-9HASx74cAX? zE|*#6bW+E0DMvFo6n$ic;^%?zByb+rWqE{op=Eh4P6~Ud(6@?6G~g~PcJ*xO)Eub8*UcP=S)n9BQ`ipkM`=#s; z8$9pxcAOaAC`YoEgG6>8fSF?3`g6sDKfTujV0mu8DbmeoM9+#fh_;z?(cYhH0LQ`;j`b3GXb>M^WXJbkFxG=Isr_`>*wK|EZ>D@_WfH|F^))A7+F+b zpdh)BqZ_pJI)G&QP1kvkWm$1E9tc%J)dKrdc1 zBIq}syjRHCPIxZM`rR)Rwr~LN0L<7>?e+TQc{7N<1RAXufbhc=$Kx3At=2$@bch=G z%rhRldt^~-`&HK(T~G}7?FfMN8MXqJNyfQ7S0a+*1Sz}`Z!}JVA_AepvLae+0k9;^ z)|``^XBB@{G$e3p0nCs-C|sod0I8=MB(a77u+~N$7`_PgcH%fd7;6RVa9%r11apS# z?Y$dD25m&`llY2Ot*fkr(x(N8&Rpj;KavQ2g|87$-2g1vOdtZ3GJ~v}L2dnUUW5fY zNf>VzKrfq5(!dIl&utqx z`qUr)4Yvqjxg|DN@&8_rbjVY9Wn9w~5#52fQPF!~yz5{UFp1(Vq{YUd!}M z^Nf6eP+W$1Y(FbOrkw3_>eOOcVe=j?%+8dJLhX6!m|ZWmJ-aN--KXt-^^dCBYOSxC z>D;EG>-Dtk`n|Gg_1_TXFdA2=nc1>Yf;2$f%O((ogH8VDvh`?D(^fi$2mK~m;a5;3 zbuvIe3AU=DWiKL4>@N@iK0`O;{;;6h7;S$(2>2MFu1V<{#sG`SWc+rFZi+i2kEX&D z*jUqae83t7fjy11bzGCa_D6hdRuPsl? zo40t8P7o(Z4UonYUDrY;P7%|-)tmign$plib6#r`4@9a}P+Qi&u(HHa@FBXEKqOBP zvkN4qj@=Hi$AVMeM+rOi1nj#ADe5xv5&X;y5gC98UxBv@%~Y0;*Y}^WKK`Gup4}-G z5oEWK+PD;U`#^q)<4lx3H!rMLMIg6I*MYL%91i-Z1%JmH=3vjVa~Vf^Sq1bcC`tT`*0!g{m>u|DCf==@Wp$bPiJ zfV~hMd-`04h#npAH1OOoCv~L?%6?b=Jo{0 zaWGIxFK;8-<*km<6Q9jFZmy~CC=ZJW*qGkqY{jm3;0#2uqt(h}KsoUMYabFRRb}f~ zTZrkEJm2ng#3~87c%U3vCSOIq(0Fn@oH8c+@l-$)fL;(yS3xHB5br#(@$tT_iWM&q z1=$$|?&5+7P~9;4nQ+*b)h|F5%a@nTGMbW#q=^{mZq*#gSUyoGHBlw4s1Z#AGBQ80 zG`IYlq~fAZo}w+!56iRSZaI6GzVMSoCPN7&P%QbSl!i3Lc_IQH?G`cZiDRg!ZXb_b z8B5i!))j3C=C{oMn718Q)214e=G}??=jq;LF%P>JM8-79EL9g0U4+I_gRYPG!^0iM zYQ_T~)fLXk{C;=rt_KfeusR#-;U~KRp*V@kW;x-|WyutSWhJT0PN`qIGwKflKAjIz z|1tFPTc<4m&vds}`VjR1JGa%a+1YXs3UKforRkEZ&S>YUb?tARef6H@Az-P$w&c#JVwj}6jR*Km|G{00=m>5+4S?X z@$Rwm#t%x0!N6&6KG>~M%uvW{Lhwh2R@YH7<7z=`Ec`{AkMzPHPW* z^ps*1I81;l#nNLz;M`XjdB&h{VrbDISHVv5`)oz;2r9WBCmJZdAvUxiGULZt47zbU;1Om zS5WXnQsvtwi((+<-D9cOAEiCQ^oQrZI%hF04(I#8;NaD?Eaycz9U|?M#h*yE6&6G_ z|76Q={*5z?#D9lyCeVMoap7mIh+$?sd}zuJmQ**PF^|!y%WkLEiZL5qOBzCFNjfbq z&u_4Mq)VROp$otF6kry$JAAIXI~2Z7|Dd|m1QK>EDmZghZ#Z^+viP_ad20wo#qOV1 zKVf|e^q(}#;9f4NR?s}d zCu{Y}ddc#-XH`r$tLZsMqxi?$B6X`?+z%mG?yCU;{VQ(DTVT#!IonkD*tT^zvb649Ir zx4_9F)S>^YnX`O|qFcbY@PaJhDxh?}5tt+8n2fV_iSV$mB8{5UWn0pn4X&OW))Ebx*382< z0__*`&eD%13h1Y5P6`632Q3f!H(d!VZa;}ea)I_;AJFO1LrdiZ=2a!nKOR0-(Y`M% zo0g?0;AMkD{*c>}AT93UnJ5$Fe&ux|kS>8tV{B}DGc)O<={+f5G4)H^-Ea0du568J zj?yLUt`c*+2ILA~lg4L$8Cmx3QqVILL+6K0b!X-%xXmz+tz?+FB=U2wx_+@!H-e3h zR~Mf_cTzP^oI}u`fdthg+x~(^#MoJjX5oPt4v!@uQ}+gL@LBTKDq?9_n6mW91p72oKFO- z5r(&Q>iV6%92oxYlB>fjr#$I;Q-5z}HuQREFe^W3DdeYA&1^t@Z)PN9Ai@3fYDiT` zCkp59OLBkLA$uoGT0DI~p7$LmiLkdKoCU`jR+djOd7YQk_5kC>qtBn@?}w;8{!6LV z1;EKlXEE7t%s$rg`i(_-fD9`T_WUysv1{7v$l>YL$NXg5*IiLj(0*Y=ma4IQt)ns* z*xS!MG8ABm*`jE{i_eIx77cz4Z_*MQ^mNOpbA>pdX#0=AZkH^d>c<5x^zt=;Y|5zL z_yyq@+nR#_>-^sXKHm=ty()mJtg1>H3KFPswZa3vq}WIL6O;E{PgAAb@t*-isB0`Zryt0XHoLGuK#2rD+xQM`@wa0`GLe!WdjAe9-_y+yEVwX2i$m- z*$3Sn7HtJJ=1zOA(hkPuD8@XgzAW?UZz*C9PAMnx-I;@O<2oRo%= zEf-BF3rxUs$}ILKwF5?R1JHsRoZejOpE+TGo|p+)e)W_?1C}g8R)8x= z4ywQ&%wm*A8K}~q=$=3wuei{Ib@tK?P|5<_;0{1!aZL+xyoF-e$*Tjzn5YM96E%|~ zDFC#b6wF>7A;y#}ihHD)Ba-;HrD#|5VRd8goSb$P*}Q?YW+MtH9a5s^d97&%GENei zZbqDA0BdJdqMJY8@ZAe|x?Y&>Ysmp3VC&dpf%W_W5E2d9c{KXa+4$c(V=Kdju4v#q zY}s>ULbe_1Oqvj!iSL$7csF*TjwGNFKVNbU1k|jFARNuSmQevw!rqu;%d&vbN!L;> zs8GbDqDnxUIJ0I~NH5{}(@vnvWojMr1Hz3DmtRXP{g|-Jxqg*L*JG;5mq`@GXG^EO zw3Gt#*Co?N5Bd40dIKI=zBA5gdU?nlTR$#Xn#GO5=c!C3glcA?VBcuH-*e z1fEj^R3QP$J1D()iFDzziS$UiskLC-ywgOl4i0m+lY2lUI0F-YJ{Z*I2XIw|KXZ|Q zQ$D|f`J?8RB(uy^_2KLoV9nDT=&$8McjdRb&7HG*8V|tr0akhkusGZTvo3|t+78}t z{Cm0B{6pI<}`>1qGLPbQVFbn+teNb!rOG}@w2fYv7o3xFD zcb+p^`5V9wt?Xm@>gZF*AK;poSq6Rsdk-4kI5dP|16PzoVD)aLbzB*~JtSWXD4tp) zj9Bv$9jR;pNKcivKkZKaZWoc-rfn+)=lE|Ce3RV=~ zLfuM3^u>0Cqm{xdps0!JsXyCF!ZeXmi(3OK5k?X$7BM%1_>ac>{Ym%M^`l=^v-a_# z4S?K4pB`;>u?J3&kjw9l8fCr6<$Sc+v28G9Vro_Yk;UEiRS$z@|Cn`)|Mn16QB|cZ z+U&DAdkC7CEdXs4sq9vah>yH13tNowmHg(A24db^owSUuBAe4yQ`9#fu(aBMg?$JS z$k3mE7H0`0SQjJ%LRX*X+1@ok;|B0T-PEOEkPa+zjq)pw5TH2%b36%R0KQLiTq)0O zDS}o+@c18Fy_`vRXM-2v{`(-mxaAFK#sr2mAmM1$PHocs)@wUDHR-XrO;;Nwrl$^_1AnvU;TLdX}JF(=ov}Cc& zMU@K|{uzb71rS2}_&t4wzjd4n#G$+Ou#mz7iisL`6Y{&O7);F_=@qr+aV_gYBl#qL zSOAUws%meeZhNV!CO;mbLm1cV{~*0qO2wm(QYMUCdl)ua;yy0OfP@)n6x6En9!1l| zA!Qf%J)#vyv%T96UwSTnY=CJ;rwZAeEHM5)s|1Z=$s{tB8!F-uB%D%GBAVSTQaR!x zk%|KU(#XO{Jv(`hoVJvLH|KnsS8-H)(nG+#H!dd1J)}?Us8PR;TWw8@{3b{9-Nt`d zUH%IdDYd?%Gnp``Kl>sU!Msx!S=KW$+zK$~XZPS!hH6a6X%IotX{jgL=t&oMEc7sx z2hj8ez5^R1H8&nk!Ej&y&t}&Z_lUF|H$^c~x9YdHr3^R8b?p1@SjG%-Y(C{g#~3k* zy-ki~+?)p4b?d=QnEN%@KNOe!E8azUTD<=!;)(Hdnold_ry?DSnYB;3t2=!QM6GHQ zTfpNm>?o1&3Ru2tq@EAkpP2eY!lkD0+%}o+>bZcKI2o_EO62B;Ub#^=?FV#^&l^_|)R%AP2yD)09pzp#l+$?0w{DgV+S<8w zp2LqFdOihPXNnXYtzI-eR4@pA>r!9D7(w92|hbj&(51|NA5t9)e ztcjqnD~yQ9Zz!Z!{Qb4UR#c+C4(_1`5FOOPgl$*e^~E#faic4T`%>72x;LA5bCj3+ z@z0wum<%~X0Sl2P6hIt+7W(QvW4gO@+_ni0#S#Ek*B3R2jfiJ#{Cmscej6nz_Na7F z<5%z0YpvRjiw5RQZ-fdVDj|@!yNGSY7pqUQ2F7)|K7?rThiED5Y3<#MFSvw=8$-( zreb85844;+nASOPDZMS@mBdHo9Jj0Ycw=zU77}e_P>eR2V3X%~WH1EAWSgs6v{egf zoe_{$O_{@t|B(5T=)|@e&pXabo5L zxHFpx(Ne;@zOXVx98kf}dz;={q`1i$;qJziHV+=)B80v-IjH>utVs|u;KrD#^bwnv zi64w-Za6Kf!O}#17`y#gA|I?=1lbB)&1y6CK31- z@O=b~E!d8fdW7gEG^oIl21PE!GXX3~%r<{g1zZCuRUEe9+YwGVGT#^dz?Xv8X#fX8 zcW6%^O$L;@vEmYHOHhsx3?Y;>P~Mn08~U)X{mQ)!sU|2MIC86i~@Mh!+7Jca~i zA=*qVuB-y3Jw+NCK?F`@e8lD6-k$4z_CEIb^*+}~>L^iqCj&RlV`i}e8>Lq=x{TVa zyBcRjuxs93oB|a=lHlmI8N3&Ndzw$+TgaPiE|~-ERLbE1OEYztU;^ zDMy-C;Sk49PE(>U%*kIb@Xajajc1MLcUbKT^Wr}6)ySzmsTlh@sr6l>``3$PY|TMc zT4{^=FUj+IzHjRqzV$B%_mC$z^M;dUe>`%ga`S{g2Hs%t>%uCe+JgPL&QTmLtlql73!#zsH~}86<-vL)xGC1=Md&jE$T9Z z@iy&xb$WS+)|T~*49xu&gUo){jkJ`v;x-lQ!06gH*wy=dFLA(fXr8NFJ?U)jcI&t| zJ`Lv@;|k>ZX}9uyV_P0>`pW>W+^+p{;`5-#6tqo+lNDqt^mE&)LR68FNDOu7`#PbT3XX z-#hnfgVXix;G65m(Z}QauMe>|jE}xMWv9cpRgVO>t&fK1n`i;>a0p9yj_DPnX6&|^ zrh##Rwve4cGNNdr`=ZLhioue<&!e{_1Ebv;e_)!RlEGQSLl;a;>leiL#{e6Ee)=)` zge`3**Nu)puQ<2Y(NZGz(cI8T$hyg*$w;K|q-Bfvim(bX3T=yohn@y7hmi)p4c5eV zW0w&R$J@pZ4@wV{M3NZpbecUTZ9~0=bcOKC$EMZj{V>mbX}B}DOrvM8WE9Sfkd2Y8 zmVX;VF#lRVl$;^^nl!YuaVB_{PN=K|Z<%sB#CRa2>@LrwM7-U8?S3t#E}$l-ZgAcG zy#K~s0bY?>K{6*cS2;&DXF5y3euWo__Z`AqG%KH8o!-UVqIX&$gPL%}d2}U*lL`Ty z2u*yaWJePoi&a=q&GZ=i*r>(ZUGkv}YldE_M&lc;_HyHx>wL@CDVH~AKZ96ETo*`;Zb$EFh(*heC2<%ZqfSvvgPtQ`>hIk0lEa*5OFzF%fIQl{%m;ke00@2 znlK9GtnUK#tgUg*)Kalt%}MEcx<;}yOa6%Rnex(udDFMVRn&T)c!&5nH?U!=VWIoQ z+vDutw_G*9PGD7`Q{GU|_gA5d!?RwezFQIT5({(D{q(#i;dTBa|GM_Ey2?A$2bG5c z%kZKv9v^3SF6U_XXja#lJ|9uYS@;=*HvpA)W)cTC@@o0U29a)dnm zBcE@4Oa`^q78@L>HdlIKef>EyS$S#ABDLoA(c7?Q{OS;U(NhRG2mq) zq^Q(02L-l>(#Jisw>R)UI_eOfXmJTSoyfU6Ult;{VH6c>l}6_#sE@TJeE+3458>aK zY&a7rn1y$g(QyF-L&W%egM(#dS%XEHW(FfnKH{O$;<4F)FQ z$p`xQ-Q3j};Q8Io-i6OoknBG-_&}dOi{NSM2rI$JxsT07VSKKnH`ad2}LBqRGA=zsqGx1HY||K~vVF8@6% z(EOM^jUAa;nOKiB6 z%7TH3fXPaTYIuU5t;6OMNzTJwEgJp+h>!^uc&MfrK$g2g6~n)PBLtDrD560l2B}G? zM9pHNrBcB~lyiVfR$@Zaf)|H}grq#)oII|2Cz-d`CO9W|Q8b45HnLm($>wE06t=W@ z{G;LF?ygxvZw&ywj8HgK*kQfY7m5QvUkZ@$(rUso_%iqz>c|v?nd-=;Z?cfGpQR-K z@1>q3$X%DZ>nD#To_XkM&a)!3ePp$Pd+`i6`T$yh_0~U*>9w_q?TD)GZr_zAYja-o zxD;9nK`LYlWQ9erEz}?9&5QOO$5f9ev-f9>Qyb3Xj1Im3T8aUvGCXYh=EusQ9z|O5 z%d4uYDk|C^H@r80oc>BT_;DNvON`56B=Y_H_e7pw@tDntz)xe>t&DE=M*TltH>nje z`oMK8GR?Wx9Q(t)r?-;uBG;v>vK%{p9SCQ#@9B9q+BrYK6hKt8D6Qx zT8QOZISR!wz-2R&Nu-;!{T~J{&xm9#PQ)#!<$ju52tyY`ejqR8F14&ny_K9)@5iQJcr^Iq2uQG}khra)8OzyeS7Ib!04&DkA_<$pbE9F8ZsoH@0c zUGv!V)iUrZd2;aCCD@rcO#eI1-1|04ohLD&>ois3U~B7rQc>15hm9etW`QtAK-_ukrgX=~z zp8efSBQkh!x%iq9^t%g_9VQ_NG>p3ort3vL7sX5svbj`_IxCxe6P~0hhdkd0-hX#< z%KYa|!tdAd(|hl)m%Y1j{KP+wNTIrd2^_lW>+7A4rVHR6K#Lm9)De*igs4pni13gP zhW*lWTGNRlaMjoSurfXshAqr3?T5`xQHG$gUy1I#?ObyFCa4d(fUCg0k zOlWMh7UKW!)KFRAdH_pH?>C-~$GV#r$#lp!%HN58|6W)nIaa^75^+5LyYv@!+!B#G z8ppmRlBLde1WF6tpjFrzP&C5Q^aL93nOwm~6AAh7L|l6zjeqRm^tRnE=rVWT&3a$7 zQ;#3!<_8j?A|Ss<3_j?e>a02#vWcRATPhLJc-iEpB3YbVPjc`lbvgRz$_8Wjf#x+IxJS_ZP zf8MhCzDF&5jT}RPf}$lRKr&#uBv7qm`>Xk3!~3%Ti||{5ILh-)dN0E$Y*(p_;S&%i zL`&ao{)_)pKit+h$X~$*=Yv^6ew`Ayjd4SEG-`lce+zL6Cvpdn>hawFRVVSio8jK@ z4EBr{e&-Qcb6eEE)_|tx@q4BDO5w?OkYVb+<|JL>b8c%0DQFWeK2mz;N{P(ChhJVN zymRZF9NPP~&;03zE_+_>dBjp#p!rx>PBG!2071C2MnQs|5*?@!AJ0?%e{Q^>sEDxj zfWP3fc50Ez6f#XJurQ38cB1H|em=to48zHP&5kjFh#wH4hmH)laul7o9ww>f(NTFh zz$wq15y>u!b@Pc|xGBSG~oVTauwjrG~SVSm1Hb ze@p}dGP$FpqABMpnq_+;@3k~r$LOjewuKzImx@ERD9(4-wn3SG@~?dk_XmtI`E5r{w^!t#4N z01`!|PzR~v4X}bKgpw(htfby26_uLsxVK= z9cI)gvRwZVtVfBAw;f(l3lXa^p5o!+KuI}Btf54EH_LpKFD6v#(RYK6t;>>O}DilF^VQW`RKI8jpCqoVY4!z>6ysBNTb{tN*a zg79T{8sNBoRDvRhP|gI$VjzOzSrQDkC@2Eafg%w6%4?ku1l3V94yAIJg^bRJL62hy zip{Oe2Kg^gor*d!j84!9Dxfe0`?r+xS0&JM1FEB;T@a}c3Ps8T5q2Y(C;u%CP@-xb zHQ`=VnpfzP)1$M?XGaf^Ixc4979+gKFdop&O8Y2RNRHKPlYP`w&{A0&z1tYo_~T50 zMF|TZ@3SIRuab;Q)MNuJlZI7HSoKQhYGl1)L{z&PVy?A|NBeohX*zVNB(um4O?>{; z=?Y1X*~3TKsqD@$9rdw=mqzy|d5}Ko8nWogCmi5`QPxthUThu>))^KJo^+ z+9nUip#5QF`6A(Cw@XNX$QzM@WNw-0ZcZ7t#6@3M6;Y>;V%Hw=i@rq;!@5lJC(M$* zq_z*!FKJ_by5;YH2=mrt5j#Z{ilI3JD0lffJULc_Ctv3F=>ZhGOZjZLB$$JG7&_is z+GYJReq5CG{~CS;gk&P@)G5FISmK6a z0f!!7P-oJmXLnOL!@rE19f|-#v~Z%OMLlhYleECwVg^zNs6;WEMv~4FDW{MHH+K3; zv9vAp?Qj$fg)=2BpC+)Q#<~EX`hgp1=gQ8~wN0MA=nqT;?E!)ia(*|J`9ojuV zGRUsWf}E#Q;qclfkQW|pD_Gl|GKw@wE)rgI#O_Q=m_jtWrZ`ZjBv9_+)~>Gky5XcA z9Ngn!BH-Mi^s!O54k%_cFht-m(V<-$o05oU!OIp%#U*RjeYU(c#h>s}@WuBCB~a;ibAFi zpxw{(E=S4-{Hp1Fe<{Us5{dDO{hcPb_p^XazH_vZ#sW!wDM`ay;%CwlQLcFyIT$}n z2!uieGQsn?ot1{A!vvNt?w-A_W{Q-9uAnzX%#H~=2apD{UIuqSsCC(b;Ag?M5r#Et zFqpsb^%@=!l_0y`SauKGh8Qa_ey5J}xACYCs;Aka=T|VACwk~_XaQF(KPVV~@C0qR zJ3a(S96TXfYVsficanzrJxNpXU!^GVXohIe(2!!WP*$FiylugL-TZUkl<00$bmDqX zgskCgP^764ecu5U)1<%=rno>eA2Er-i;@(SQP7|q78|n+2ipzy5t>=gw*e(1_J!)o zxO_XcjhzeTi{YLcHa?EMHhhFxfN`rckSZM!&x#%v!{#G@nY)gh40xVc6nwg`^7GMe* z_S)(Uzaj_%s!v5~@H$>jvP5@QByU>e`!oTV0}Ed zOoV<^>*@p12;-BpHHLnlfu(U;Bd#z*oe2h&Lii$}Vg{)wB}%W_1O$-P$#Q~W4I;!T zmxV>ljL>C}XbUHTr1CxEI9Ng1d+mMB3@qo~FLj!kxrS;|p|E3h3cx7?)(4POhFq^ny% z(jZDUM-Rm!=|(s29;rOrXJ?zAbZPqojqLK;F{F7fB}PXr=61VSB14(9@1dBDD=p13 zQiLT%pGosu8lAz$+R$_aJR3OmmMHxYA=DE+J#cJt{6zMEMxH6~iZcXjSa@vE=)?qo zV&9IdmP%~a&CYy7s%C|xyqrqI97ML7Ed&j6GSM&xXmPH(t!rt;2ipQFF+Q7T>*#lw zqc|)-jkX6Hevn;o2~E)i7#U=_8o0Iwm5dYzJ{JZ)N0Q%`04t_H&nHo~`M}d^taJx^ z79?sDdq*XKWEgBkWD0+?8M{Y~)8arm(5CqwQLy1`#FX#2_`BCuK}pyF;*uULDA%fE zNLqo_pzTS!T0{9-GAk{cN9x(N_m^p0xMoKNWioxxG#Cuys zfiBE4_xV)~X4O73nqho{Q3p?v#4Fq59j?T+lNj&hl#AB&t_Mo;E4Dms*i4F`RE)QQ zt5y)%VS}UAj=gErn`M}IB60tYDXX`R&fu^K&(!R9vs}7>K0z%>R$8@As?=)+ZzPn# z5tFtU|3&EmvQF$3##I9vmp|r6-e{$^YKs}!=dWYz@?PUh*d(3%>M;yq(Rhc7Z6@y# zHVI2O7@$y-M9kGeyxaIb(881E1qz=e_4!%0Ye$kwwyWxB5Yu)8Q8Xn3W0+hM!ixvg z$KaEhxB}jx=YV2Tt-y|W?Feq-g~7K?_to!0yl8PjKGZjhz3=nVOg-8-7%5)_t^zJq z#-8MzD|(m}qi!U+yp>2QE^s?;hS}ue6Dbmsv24-q=yp5=;hbLtv`_~G>8+)7yaeQW zWmKePd0zcC!{6{V%x{CBeBMt92szk(+%-Zv3>2npWrhd42)xLKZ0yXpeK8x5F24NH zeTZ_PYL&aE4#+Cg9)w<{QCgyuXSsYZFguzf=#@{PJj{mmF*{QS$c9|&B)6cnbl-kC z_$?tdP*biXaPS6=sTeC1Us#_n8WYU4hjAVuik;pvhb7q&R3<`^3XcuNelr=~i`Ac4 zzLfXzb_j{WBSKJ~LG=uZ@Q*L#5r%eySv#h!Yr1a6p2Ec96ZcM;A81uHRF1~=yZi`K zR3#Gjqvp`asW8tQSp(sQr)-Lc$c5UTCC**T=?h(XB(;E(U7Pv zBK4?;o{~bVrGg;w3!1_>T3Km|t+waI#$<#z(W_?KvTl%6E^-7_cGkh~_UF?NRLgF| z`KHi!A~uQhr7%O7ZB&Q^wUFAZcE@tT?0GaYgE`fahw8Ds03Gbk3WBFa^3)?k5US~T$fzBhYRfQsz# z?|w1bHS`%y;+RyKLjsdAI>x+VvT-=dcMAWPdB}{6U-tp|A5f_JXlHTR{rDhy0?Hgr zC|@I|PE8i#sb$Fo5f542lTAaGi)Q+Z-+h(gF~$*d#}S#1AL!il z3bim?z4`CL;~!A+;d4Q8U##=u;PjY!-)>eNde@ovdv0?sk6bb&Tv6gj6zvE3U<%t}3J;y-^@EoAof zeU*RieHvuO#L2s*3v#aMyx&EeWfHaSUk0_8Za+u2zPS=}r0@AaxUuaCYx+t zRzlPBy+7^3i_8y^irqwl5)k~H_o7_8cW$*OMz5Wl|Kbvas7j5Y5Wb>XJ3Y)%0Fxg; z37R5QUuEv-FVI+l?R++h+5foYbn||kRQ$+Sf)<>YnacxZ1$6D(OD^QjvvQBeWV&6= zw`L^2>Ts(oc1M_S(o940nB(p_-uKM( z=?#?bm~-PqeZJmKSB0Y_n36yjsii8e!BSHl?CSa~=)*$yU6wnAGH}3+7WouXd1s9(x`ICw+cH<6On}eSmT`M`f;{V}FLyfv)HD z5dQDEGU0#Lgd=^qr1?Q3Tk8M*J#Gru!RwL~C&Nx3@d*Xa*T;nO)db2Lva;aEiiR

thi zG=ALWt*q3$T%2M|ZcfKJ386y!H;{x&1&v||s4jbn($0@dB6VMj5@MTFWGQURWTgoD zz6(6UNm+j(uIF=?DZw;pOa2E+MNP~|lPGqFX?AapREWDQXD~^kiN{;EHkB#&s~{jT z|BE(!+j&@ZaIlxBR@et6!^$jW=}v=oUn1@6KnYS7f=M|s#UjbNB&|*>(T5mqqJKwD zRlizxu2t9ZEVD%=E5RgM*4=d-MMhoY(CHa3xUtVNvmFC(I441g+#`>}BTh;)tq{%5 zlgg@;pHmH?XetdWIiM`*N$7;K6lp20&0_Pk!5oL28Y3i#I_3NZDgy zF}KG$RaUSGX*w^_*9Z+?9%u#g>nD&q#Ctfl7%BgD0!p|_%2tzZ`N3jmzfCg3NtUH?l`vFmfH9S4HB|Uoo+U zV|OW4@OaQIi_y3SN}$JhvWQV2s`5w8KWjJq#btD&A|Qg`84E-UG1mV!T!a!E&~$@N ztSfw|Y993!fpQxCK8hNKA(<{(Uf1z4AM8}ka2ANzoj1V-v_iH?D5mL{H%kG7_T;{J zlJ>nvsMOR!h^(oF8>|Q_tjIBUmNFvz0rm8>U07Je@OBT&^GA=9gqt*_y5THO@zWi1 z!X-laV=eCQ?I)sT{5pXQ!#0vI;)@|0DaE=YG|g@3E8i5frp+0X?7n_wcp>%r3rr~O zBxA2Rva>uazC3;VXhJ%af{67DQ2O%qM~Rt&mXmqSiGo$ez7o?ur71KrgSaxY9B3bffRFB`XSFc2gZk8B%b!W0Afk{sPWS z`Chn0xS?G05y}xoznGQbZ@`wY!1U0Jz%KoO&qGd7FJUDt*)Ro@sO_|67Yv}b!-PJu z6DOI4Zbx^vCRVKCQ50*hKZaj5C5~F~U54SUpXIz4AQu**NiF>Cs$<_Gw5?i6(afSD zCMAwK>ZTGGUl5;H(M^ssZ3h3sZR{FhrI7@{SXc$X!D_?C7K<3jNXUC8L6Jb5W_3jW z2@G%xWSq;s`g`Zbk+Ow?eedi>O8rBiNO*=$SuT~Ax#<^AvpSOl@0fXOwNeRc9qbK( zXJBomY@xV#l|17U^IsXrVhFD{ev7_VGDe9aL63@WV}g6qmx+`Z2H5?yU!~g>qJP^; zoJT`iI~k!@ibIC!T)@yz-izD8(a5Ki^nf8UohnTu=pHD3>4^OUw)JGbMo*skJD8Kr zxosjqA3u8Lgb_^RxC@DlR?uuZ3#~7~w)7H@rHM1R>_OW=wX+;L-~fjpA%?#0D-kG> z>UckILx=TG-HnFgXg-~4eNZKC-0DP)sI8A6Ncsk5ZKT|alMN|Y>>P#piZoY9xy0tT zJ|*NnKr@uad}EWoOUMLjq1`&W;b@S&SNvnniB^ewKV~M2q9~IK=FNia2k%)vN>sim zWb*^d!L3yjFT(N_G#KoiZ)L0`{_5)3M|J1DQoputG;~QDqJI( z;?hMQOtHV@aXdjp=wbX)st}mKVsM)6Z8S>UgsYF^TNo3TfW@(-%6Qd=pr&X|_Kp!r;(>fkT@mcWgJLToP@=jj zC$4y0maX?-ry_-^ARbMZsp8`HrLf1#5lJNaxsz~h;4k@O~iAkpq5V!`jQ-W*U$0m#r0BYx8XA$ZMmRn2r} zywG>xaM;OEauZJsG|6?u{$wlvp{S&arYBnuMfNb4l|&JRcTmmBBnUy)q)cR+pPx6^ z<&zx?We}7*>EmLS0RVZVu{?oNVv-(N&P!Zk~`-#t{tW@!sG@VF) zs34*ao)HfP5+!l-1fm_wDZfalv1;YkQ_De->Ov)?9xs^U_0v#Zc&RZNVD7Q9!K`Mt zmAh;UcqdvaWovO!k3*8W;00=U1^*H$mcj;x80jNs4YTTaR2U_;?IRT>@w!}VfNAoU zSBvp5MZsm|dpwS`?mfY$Jaw;nqU|y{gv=aLhA9OHk8DlgGlz(G1_EjUtS}8AXY}FwD`)CsNvrm9!n}>?#j6h9h3T&fX=sDHU1v9A%be<7JMu zr3(H*3eP|0GG%SR&Gl-zlwW3CwI|<9pI-x%U-4CKjCSm(jpF@2V-|61oi#oo*ghKL zRh+IWE@8f0Eo}MCaz{xR->_$FhUWgI#Y-xlsdj;p&vg=aUuuIaSuYn(LQUz6705Gg zi#JgiCXx{P>NqLrVCb{@(?m{01sTf76du4fQ2r}2qk2zG?KpQvLmojBj~hCYVbI%^ zG=LOMz0fC}phYc}EWss0&)fqrBF{WK{T*P6XKqe{Wh0fJZ!*)3!+M+2eH;0g&E7no zy}v+LNT1yDr^_Xq>v+rR$j0+T$=|5+Tf$O%%^m$1E%ct?It44Dk)X7dZ$%9v=8|(O z8Iqpwj2`{7If-l0UvB*k$zq5F`3z*gjmKb-yJ4GRacy|&eA~tH&SbtnHT>w{l!xB7 zo=mc|CpLq*2!%e7qliowTIlxKG$uv$`%OjPNp*tV!H}zC*Jx)gI*wlSSgVOqvSSJ@ zif#8hlhZNp(a4Zee*Yk-`S6ID$a+` zoA09f8_(CN6zn_qf5U$fVs|_0Te+7)X?x$eezor&h$GQIYYC?|@Oss)VqE>m5EQ-| zaZ&g8UgU|JBL0c|dX0?oyPVIa6^&e)?!){h$|Bn6EVC zez#2vB_g@W-bR8K^6w!}aF)=(dXc`Qs|;j7H3Ep+L{ zddR#Tv!*zD!ZtnC_`4>aPPKzL!}#v8x<>7{Elf5CM;Az%y~oH; z5E8k*zq~RjPo~-q<|)Jeaw?vJ!Qw?%R*p{Uc>awTlFs|-Jb3Q#i{GY?(jVXZ5hGdY zd7hr%$E=>(Fw1$tt@h)2JMxPFyVropy|n(_&TRh)4v7Xi%P-2G)G&pqJfH+>pWdR# z;DS#7;LU8}DBg!oPr=3se(pDdswui*CWY>%y5w|1-j%fuwMpzAi{+(b%R9^&pDeAeNY`$oeU6hGv=>q9)QU z56||af0aT=5t?hjj*WdbjHSOZy*TH%9QAxjwn{cC~HSycHP6~EB2k@J78a~zcI9js3Y+43K*aY|dl>ck_ z=KS$JP0uZJXfPn6s*l<-0|eN($U0~9*eqsc} z>HjNUyx9(=@PwVqdW*SqRjyiOh9qIsEwl?x*0Wb1wv)<&_!wAy33$8P+6w+MG)+Ni zM=V~E5*nYk>ZGfX&%?8Zjpr1mBS0j)3FaO!(Ms22PZsYLb?LPQ!A-44SKUU+a+Dv8 za-%PxH7Ko8s!@p{dll*poFpxXFGbeD+)Qr)zM7+Z z%jt(?U!EyMk*gG92J@J3rR~4 z#ep819uE?%Ro6q7=?<4*fy>Be5zH?xSo*aK?r8$U037fjgq`67SuN%ap~ z;-%W5pz^r`{L5)iv)L<~|0cz`%YnX0fB19jdN%54O^ zii^^+0&vl^29Hm&28sE&7cCKm6mU1g4Kc(n;2rzw6RQ}am)Bjv(_$?@W`7F(uuLvF zs1Au<1B~3!&c`%tiB68W5iMo1Nz*vQbqG<3v>CH(3&-)~hBmy! zIYcFYkTy~PLl;l(BL2iipFp6|jGV#4JXVEyE_E$Uqge?S#|4|W9xEk&E z0>sA`uHVKC>WQXZe9pYv%EAyLooZ zK9b|`m}5k?BBbUMKZs@muKfN|1gO9}0d=;}70 zVZo3m82u?y##Quz#tDB0Tn|cdcY84g+vyGfLp~YKpj04V(cJGJqQa}+g9&25kc}WP z)(8#uH5jEWMQNa&xWQu8+qjm^FpNZrVRd+K5MtT+1cP{`LqGAzb^^{-U~voxz=(i3 zs1X(e{W6Rhb!CtF3T3HfIo1XEOzvdY<|(cFt2Hj#@IEz>JIuYgZuV|1|t7f`oXKO;p@uS|W$ z2QLtJbHJwklf}1A=68Ugf%~%gVXpTDh&k}HV8Bs61PMKs6Se`E8GV~X zd@`~99D_U&$rMnIceO6#@EDXeZ97qfc(zT6{O+(@TXj9WqC{<;+*B15+z8%XeD6Yo{;!iN86RgBaDgU_VQE>7b0^K+9~Y8Y}hG z0`c$;Q~EwiC(=4s6WS1A;A1^Uu!#9HfViY1Anvx02#Em+;ZP4NQXIt2{0j8wt|^V>{f82_-?Ha+yjd4G#?N(H*-etuka&1&5`go zYSk@28G6d9!Tm8>xixf2HX);?w4g^be85fF9@)bSrm{q@cs4}bmIOr@%XOz0DRMw5*&U)McwDs=XHnhAKm1gYWXgU(#E4y8HV17B?2Hw^9t2 zEH2mBj%9$XoNk2ixtMm@c`d&4BJ?78R{sw|{I=M4Mn3(PE-0JuS%;hB)7>?RCy{~N z-NL84YrjuA1Gzi#PyZ;zPeBXvk7obzkGjmGx&NOVXxwx@O^d%1yg}|2c)&i`WG5SnKiuO}J%il3!Y8)T znaRsGL{)(}Cn2K0BOt=x^(V7Z{Q|TAnxJnJwecd8DLcO6{?yyjROTTcc<4W|w@o2S zhDn040^vdE2>YoFjz%-`S}N(TFA~fzva+&}94xIHuVJTX89+>Z6R}-1)Lqt#^%jXl z@vBi@S9#&8L`l}Mn+LM5c;-J8KsR-M;MgmX~g5TVL6++n<0=(q^=(m_hYp-IBDWI(of$^`?#VH9jD z4Qm5t^q?(2!eb0@q<8|+%5cm}drX~YJ2H+UsP5ygM8oG-9UutSsVv7m z3VFQ`!N*B4lZ}#R&Hv-yC%gzASmghO|BS`bUJN_^jAsaROTV02PU|x_axn|cmiTZIU{PBC(x<{$IUnhnlVXt}$ zgdyV@c=q4S$}`iVwA$8oyH}K?LEwFWxY*%1qSGg(YtRt;p9*L5!nbi-eHs`&u-Lir z4-nd_n9bt^5 zH1vhjlVtOC<59bToew0O(cY#HgY9=u=R8XJNqK*=mVMxLDnLxXs8^8Y1zVSWjQGPS zO~x|GMG!3N@0I3=J80#`+6J+8!DzE{u)k%;q0x%UHe?qE*5H>5#7W?t#S)lMf%JW= zgVqVQaTZhZHxTCiUS;^t1|$J{tX+Q6SMTiD zq?)5yh-m8bI0y-~_yaui!b_%7bRN#E1qbBg_6EC{<%9}E^%F{=9(>XTh|FF25(7qX zJ0n*6gHYiZW@%80sAZo&uE@th{+sJOM%zs>rG^d{5jrt4Se#jd+X%0YWA{hk^ z38S4<_hiFm++%t`CPjA{z{>vgDQY79OuS_PDlUO|@W*A#Jk=tp$nAi$&dVPDi#Bpw zSi&SvR1t9ZD;uI^xUIxWC9ooRBfC37?XWy?P}0wosH9jZo<+8;#2o{OwbN@ zqL~jU;TMhjONo9>Rv0MfXEe6KV9aLP5lkyWVK-Go!I~-A()zQG z#oG*+nJG(7!fG{Xy#85b5NhANX3jIr2}*!$z^!N+(6_x&0OCa5N)uIZyI$!^m$NU z;MU^9i-Ij8Knm0T8u1aVDP#FNOB)CGFL$)#cf zm=iH+k{v1TKEpbFP8OU+X-dI zOiVS1DIdrM*-z?rG3b8>)pr~@9!EHl+vF@AAq5T=jvt|wr`#vrHH6X4rgBUt!_W!L zfRSBSmXzIKw|S13AXA=)xAbx9p?ey9;?``;lFH_kpe_Cm?GvfP_!?CqN>X7UIS{d| zE~!mPB@2mI0+S@%pu%NasR24i%=dZsEM}BZmH|I)!p8pG8@0c&&69(`R%^ia$lIJR z9j~>K@eF7)4K1Nm7XWmO{` zy+jJmJ!yal5^Lo#s}}PZk0%_-p&OuYlb85nER{Y>q`Qt1iS3RQOq1rTX5|QtJo#7z z00ApOa)vm^{pgLo!UWZnCP1VB4I3|8uy9H}^)%7b1eIQu7GY2`Cc3f+&I3m%QP3Z0 zxlm;-f^k%q9D)hyc2{oN({*@3->IfN#~yEIumM1ts!Jz42Oky}krHaZPSkCNOlF3X zI241oYeg+h3+-YjJ_=#7;rIHz3=__5|Em^%^GZ&~KwHXw)QQCUR~3&`jTCmM=&)pc zNHm5Qvq(jA`&0o~`Cq`5A}Z25NgVyX@=28rsgC_LT|%}0gS2xBuH*~b{RER_VoYq? zn3(_Awr$&XGO=wtnb^j}=ES!3b-s&pcdAa+x!bjCr_;T5@6~I)@ALc~=iTUE3Z?CllQ{T&0ZaN52gs5%gqMK5qop67E6l$1)|B@a zQ?xxYR!~S#loH?btS*-OCTuQ1NmQU!5Pa+o1!DI~D88~~(*r8=&r1=#_vp3x6oaGH zF5t?zloBrb1fEVG8<#$!R2x$GiUw&i0URIIzk`sz+$#3487J(=_XioaE;eVkf4`Oj zzMFAY&3$tfS^HxW&U!^h5wd*mjl0oy(|n^M-v*$S(HVB^%$mp!&s(-)^5&K@SB@Ce zO(o}|Y-HI)|9At!FF>E|X+$WZbn>hFIojvzA%Er3_k)}P#Z-@LWAb0{ZpF&f*H+8J z(ZkA5X&!#lTmag>Z%>r(MP3}b$k%i*ZrXmyN)E%tZ2J9SO_tnAinh*C8PN~fPa7}6 z+*G9+`mbdhS{2WoLy1=fZBsU&2XcA@7Eqsnrf81j*ScL`vYsAQZlt8M4mp`d;sq?| zH_Z~)R5C96$|zpxnN8@tPeA+Swy17uE~u|zXY~i3q=vUjQ_Fcl`57Z%8~^iZ7^r;K zn2|f@KcCzBMke*&k#O8S0;a-6&jC*-2#U@Eaz7Q4=7bj?Ku&2v0$zROeysRbyTYrF=E%~pN-W*^up*qM5#mmP`ftNV=66mzWxi$4*;%DA> ze~F#tQ+`X+)($G78O(*8u?S(alzkEsXJ}2M{fcGJ0sL3-^ZQZEQ%}HU(tnIm*9=Hd z_N|Vjl_*8`-!JLbw1m%da%MUv;+DPvE2pD+rD4HR&MBqAXyN0SBlDixGePs8MZYQy z-sbauSoI9w0?W@LL}(JiX25^;`SpDPu9W}U$BWREM5#~<@u?Q*R^@3k?V!#sx<7qz zJ^<4a#t^RC$a1YR7r~%h6D7)EGU!TcSKbaw=^6AOw6PO|1aYg_%J(~d(LWsb_rPK@ z5chXFe%{aGNPe_Xg^F}ECnf4hs7P1&be;b`fkjBWN&W(`&P>XTQiqfi{RSQ$!+j$L zIj-;o4ABXTC#q8}>o!>}vOa#1{JgvG56!nP%T#; zFnMVnnEHX@qz{KHVyXQymS5Ew$2?kY%{xdl&7QFosJtLekpVk%mN3$gK|j2oq3Kvc zx(8EvnOBrG_u&crUhn%t8V*otz*4wu(gkiQPI4IE*bCMWu1zKKMYNZ+ofy~LpAh1boGg>T z{)7!SL{N!J%ic6&b`;nknV1a5L^ zzW)DU1)_-I^ao7&Ue)9JhQuYH7rdJd&+mUoncVwj~h2XmCBsZ1Jen3Lf$|5;`Dvk-FOM@?us>u;5ZQh77KAt#QW zJ3v_m`m0kL#SGWzuCm}n^@1eNoe4u1a0r@u`{h5ZTGBI>n!{@Bm7w7zJhro=C=4c* zLeuSV+=(7syoAXIlb^BJ;tJEtgLKjTmrLo|*{fFA_tM!_%CUiD_a?)6OtLWdy_Zk9 zo|?VNd?iU8naTUwQulQ=1lwjLm^tbw@xrN>;YhwD&*ry(IN8!NAe;DIFvt^N$`XZG zd4;+^OEm;XTeVV(t-&aqI_c&_oLfD4CuYDP_#XA}%$hzuGs2ln_Ork>MlLhsu>wvga+(JJe+Mr+J z*F{-nJwH`NV5`=T8;VE|eWJYpN)NtN6qWoAj6U9F0k*6tZqBq02=RXc&=<&OPr$wgC_hdD3vC3A@KC z#{%9Uba9Bo!q@{sCgpx~3ac`Y&Dcot4HNZ0t3-t|NxC~mB{S)=m!yCR zNY*;KD$m@YC-xxj8!Z3aLZWT5E7a-RXX!Vt^>1w-ftB@3>sd=?GCWZlW#I}+{Du{N z2ZjHkBi@S{n`~5Slo;)-@{>40uC2y0TGfw|DG`WtbP=IXxp@?l#bU{-!BQ{0DOK`3 z{Up+^HvY?J4Fxd?RwMk~|a-*+slsy!Yct}za<4=?#1ba%0mvGiu>M0|| zE+|l|7R%3&iiX4DRQX#Mag}hy7#&1{74o==7ssy!3NGz??-+|xC9dWh3)=jI(@jtC zz6x{V9g-)(&FNqa$F^Q+80b4)P0aBl|6)SEfpB(cI|}JEL}*gXq&S%jRdyLT33@PC zoRof(MAgc(sDvtpo(9MC(Ed(Jd)!YWOu6pmJw#zSX85lr;Ah3y0aJ0QMTvUVpRz=I zv7DtxJ-S0uXhFGN%eHmYozk1OxEZd);yTQ19m%Tn(5}={Ob}yp1iHZFTw)j;0>uIg zlm3*QnL-)a1-$xNoOk6pA~fl=7k|;F{3WL!vq| zN`RnQ`4tQ_6UNCDuca0K_J<$^?;8k1o=cUKa5=w;a;^wVW8p9i1MCe#9=W7CI0Rt|u&P5|C_;Dhpc^bjR4``5 zs7lc8uvDwTS9Y1D7)&Pht#&FNVd#t#p(oRB^G1krVCJ~7jlF@2y5|_+oETW^-1STW z^6+WqyyZ2b@-$6~Ki_M=dk5N#3Yj2_yc)<@VTmLUhh;WJvQayO7&c|O+f-_xBY3cm zGNbjo8>#1t%_*|~HIT3kVg&Vr;Ll~eDKyZD>)9muVaZ;)6MC39$j_+Cs8x83MW=95 zACb#wH27ptUH?=+Ok_;IV^D4IhencK+&D4GBXf;(3idPG?B)sTzfeX9jFbB!?t5?L zI7OFp2X}=Qsfe<^LD4&aj#0M36g7efmZ|Q`a&nmXkMLvSc9i+RADDamSo#ExC}jNx zI1YphMXxX9quqYOvnP_!%m(xR3ntc)3c4k^mM`@TBK=XTDFjU~;uZI21T9U}u!gbs z3Dax9X`CU|Nt4s#n$YFvVKxkz;T{pPDPbR!R-bXbKJuM{eb_Kmdnnrgr1Vd$Sa*g0 z4uT;*^-xLCTE%H2?ihs^3EWuMArRR5-$wB7aZ;`r%6kEJ zT5>naL7E2fU)`g>EP7LF|0S!_w#1)SZcl3Uyt$JFkL);-9UlhKgpT6`dj4a(P2{mp z9d-NOS;N3QN)&b zG84`5x9RR$&q`Wf?FIZ9e$sa&W$2W$*m>IUxUc`8fR&13`XACLewsKBdHq+32#=M) zwL9{%ZaML*d{>M3RmT#XPc5SYbTeO=nuCOYigiFCEbhxA{$F%jc{~e44$x_PWW6mz z^Zv7Z=BWQ!A3I=rPUWr2YpHIM(sn0)YxN^d`F!KDH*()};UY8IA|+9ohYK^ZsN{-! zk>5j?`4?)o`fMe!m>3JW`=Ln|^5s`8TLZi|_VmM4!Uy(3bm78>IukIpWkSb-w#>FX%yoZH zjU$|<3dL;ch4iMn!3SnGN;n%jFwKS8cB$m>PW%{7Iy(n@ zdCXazziX(t;5aRmeO9*6seTW>E2q}6=zKdqC=W@OLSgn*rY`WYFda|sw|0H788pon z$j_t)=m1Qr^V#m0tWAm+f1LllKe7l!>_{%ra`gFAN9lT*lxN{ON52ayK)psIVJ!X$F)SKI=Sd){NXtioqDXJ>0?B?4Vn z29GhC59#y1Wt>%7n_>9wC$Smtg)70~uG+qyW1l^$u13~UYfeoUj!M(ctuj4P=tK5H z$n8u%&27%42`D&EawU{B2eihxbdTaN*ddCR7O!?{4(H9;$S-6qoM%?S{u+Nrj!P3A zJdMlQW+jt2kW@aBJZsxuQGWP2N6sSWj&qG|wANFa>9?tJAef@8fq$Nr8^!BuBvY3m ziAOw*(h_z_*))=ua#d+e4|kU}UR^t+jt-~c9POLqJ>R7y}RXc z(7{Z`^B^}FWFHs`Yu*xUZ5gRuZW%p5Q&Ch@kXJoPu(2WBps1-y-tl75&vCenhAJg> zac0$+wciWLwKnx8Mz&_!4U}tk|8kTJJp@lq!V!zgyl+E>Cc_7x#E@!EO>HIYNuj&4 z(yn-qK1kYx4>!k5nI~*%*jy(oFKVo#RVb#fWxLf`VEOH2cI1q@UWr?Tsbr~&!^ags zELAer+6ZbM@(r~(OP%6y=N7l}^v7lMq}mM1#@*@y7!D+D2L8gmQ<+B@;WmecSkWsa zRc;Xr#xjf{+Azo9{q=#pGBa*8W(eLp^MfV?yr!4eZDX6ydx`QA zoql$JwfDySY8#ue!)1G?L?|jtV0K%Zd5mA9^?#nPsVK5%W@Z>ZJs>W=WdPQyXinDm ze1h3h0wo6vl67&Rskay}6DjyxU~{rnN~cu9+~n9`-%h5oatpZ@gOIxm*7Gbb`lYLppv6z=lTz#2B+T<~aWUG-*6g0| zAjFW1%}y%XjK$BB2UF-7oYih!9D%b=v}RbPb_I;&p;ODf%XDiG^UbKZ!C@1Vyfm~E zvmZ7O4U3XI5%gq9!GXLqY%Er=E zSYKM19{*-oKF|jj2yB&n1DeOjBf$iSC}nt($8+)`g{iLeMa!b~t!4ICh+XQtwWJn9 zT@Pc<-NJ1DP}-eh)J$$pYv`MnO8C6)bJ#kLH(6u2(u!4{=0P&nUt-~G{#Z6$W@lYf z8mbxK7S&#x+jg=7K0ynSC^Jh7kBenP-S)HkkdOD_Ooy@0DfR;E)y5ZPRa|b5M(bi` z*@C6{epsW*gg;x4?0)<6PWOSWF9KK^l~}332mrrhA4O zO4RW3g4?hpEZ>&V?S+u}=3m5@XJ)5r=62`mrwCfca#i7f{nE?(RW5vw#-gba%5jzG z`(Iyvb*hk&P9eZ4!HPN|-mJ~8Qr14`^X>f>I!m*%^g6I;SM=0eLq-O{w$u8p-ErPB z;V57$>9nR3>FQoUIXbl1r`IR4$Hs{6VwND?sZL{)x_r03_-b(0Zu_YHePwbKO~M6R zlm^e6AHo16)XW$EvOT2ZvY)oD`~vW zM6YH`ca6dZE&FHRK-~gI%J|4cO7b&Dn^D@#%nlEv!OGga>XL6eYZ%YQ-Lpe@v8`8V zjg|`8dv@<(G+{NP!F!J;t5MdY#QP>O1{pl%PvTbMsfGQY-o4R4fCe@He8`2@wx8uX zl<9R-kn=PE(5g<~Qcr-^#Ph$%*QzcLM@2>ILONqg(?mX@AQhCdiF*nT(v=LXZ@=~Z zlH#nA=jt|BE8r($lFWTQCa{;*UzR6*JzZw!(ZJKjZ*;CETA}|N`?DAm9lG#oeo8o8 zJ?EPwz?xdaRcNyyzcm~#2gF9F1^8T$#qX+@O?DH9Ytu~X?!q%ykfhawR~>Fzqhma(&Y zp@jXO7UyJl?EPnjlt|N3PV5QEsW+H3thzLx67mppvTD9L!y;W)ZW~0_6d2m!b6>Od z=c1*`HdfbSiD!xDJ~O4}eX_yStEIZGclOK!U8gr-Tq}MtIXM*1Yx>yy>D8}r^albY zPVG%m3a|GFq2iWX!3qacRTUUO(reOvFW<7LVCA4lVOG<$#51z|U{z5sTALEr5L4AX z-Hn^A_-7RyKpQzlP*_y8;SMo5SC39V@geKVV?R{%2!}Pz?p7NJQ?FcW<1Rvib6i>0 zb>mBm|HWxq`RgiZ;dO(zxe8yjaDX=O-_%(}-0N`5#-oU(w$K8O_2p6|1*N$S z0E+tJ z3AP7C7nj*FT9$DG0VyVzk2s4Va5O z8_^Wl1^__h5ReFUdPsCe(^>`-164cP;9$Zbno4Arz)=&T61FqlW5vBif~*1W;rKUk z{M#k%u$H|T#(|Or4C(R33O4jU91n%3l{)YS@pW z^WYLBmCLm~u1{D~(it4C!|xZ)tI!-eNG?_gLC{PD@HNZ3>Q-U2Pyb{|vMpY8YVB4_ zrs!ydCO66}FKEtjO41KB2+lV3m;>W4#^$1Id>DW8bHXwx%Vz*eU=&b-OL1b9h#m5A zbWQIC_hRqhJ`BD|q5a0Z&7xri8eG@K3|AwJNF#{+ILS0zWbx~R6p_NuwG!Wy!u>(v zgGqmw4y5s~<2z!u8tLbatP4kAayXFWfGV&T{ov<^M2>L1mYeq6Gv>#vPS`aBftEM6 z{|;Hgh?MbdOj!UDM*o5_b-;U7(-60X!|1+A<@4rR_I)p^I2^?yS!LgoE`ya zye0vBgMCSQ?f1qxixl0>icEoV+F$M`^DW7029rVv+NP1T1cBzNn6kk}Auuefd0{A$ zyK}7e>V~aezuG4csB^Ab1JAZFr8{0@GA`fh;B>vc`VznJR$Ii{~JDh`e1bXu*bahm7QVAm|O%2-rbSoS^JXxVDHjG@S*1E0RTpMC={$XqQDc8xr2N+V10~bzy}Z8@ z5ElXbCZ7%B*a?Ru`1Z3gxu~JzMx}(Rat}*I4Jg`YB4sqawKW`%j;DV@$J{r4Dpl6}+D-2aX?WR%sy;%3HrIH|>T8bLueOH5`XKcUS9|F|Rk6 zrR%(v!J4dciRyciItR3dFvFrU`+cVcAUQ%*5Ds)PI+6ZhP>nl@>;T-WNnW^vO8F(0 z>~Sc2b^;T|Aup)DrR@?seVTRxyV)!u2=NM8Ll}b0Oe{#=^t@cre*9j4*}dR64kUvH zY%!9ghV4vI*jA1hN~d4LafMp7|IUQ1t_f+cGbh3pfbOLg5;{p*t)079^i;2X8CmFe zSyw2ijfvffk&(+>m85`loKSn;?$hqWERKhnP@T^A#o}K&*iDDL_h1kor=DAxPs{zz z{mEB9Fr({eKchxe)HH{pC%Zt(YAmhOIrW0&$1mzl7g-o>O!Ll&Uvi0`kFvrtgOVM$> z)Hw94aneJW&>b6xDw4q0v!IDAFvQ}h@y;*3Gx_hL;x{Q37x8bT->_mv{|>R}-U~`f z<6ajnc{DV9-e6jFQWu3f-Rr{{4e1J8+fhHv)DN#vm`!m^h~zP+eGg#I#6eb%^XHP; zn_@Pp@wBwe;k}G9{ma+xbM!Ak*VA~q?bOzJrsm}3(et9E`{l3flvSzih>9%q*x$Q@ z9E?&H`#uHDsLiLt?kPM;GW5(D%~FUOuN;~oC6n?L1WpYe>6EoY z5|&kN+y59g@+FK-E68(hLn~}OJ*NF2c*RY|swZqyd7J7SZWf=!b-Aq8=zUEjZ!#TM zbY;4qY=t0LU~#4ys*1cT;F3GH=fNV$Y(-Q6BIay@bO|q8Q#E5oyLz{FTir{BCBoZY z{k>#T&ws{*BAT8_gB!lmR-en-D8nztvQ@3IHF~G68qFWY(l4P_X$;3Fw^*giFJkj7 zr}z+!@sJhx?c8nP4$2r9gSqpq@&_yiB&`J#m!M`^0AdXfWQ+i17dn7~0(h(n=ebjj zqPO*>2mq0|57)>m|VBP)!gnj+9H6(Gu5)s=N^9+T9A*`J|`frA@ zUV8n~Dy!C)FL^@Q+?QuD;t402Hd(aTgMY^Dn6MwVgG&VqD(l;cv zQZg0`unBBUGN$*0^>_^XRa3XP8@IBnC1Uk#c;$hQ)q1J}maGmCkGq<6cN<;F7Vq&H z96~o<;IKb>T)P>q`_`IPF1?whXtdMvuXfNAwW5#fjD7u}I-n#_-A!+dvY`;;kQ&3u zVIPC6s(avF*=OO{jMeahiG*;Go<^c4bm4^oM ze&E;OBQ2Z~p6H9p`$0VmO#&g~_P62=mcM<}z82l6qPCw84YJ)Huhxn>KIW?fKb!+Y zsvVDzhcaTt-P$&c_6H)fhH?U zl9u&N2-~YrR|pq`OxD`wER@IhmPbff1mpX>lJs$D+vg;j9!FV~#eY9U)7QB0v!@@1 zmo&VY`yfa8Ny6s5{TBe?9ft)cAZQ5uxx#oS>hspGdhrI64r^{Pv8(gv5_`DXe!I8g zqVBIlMy!wX-LURc|2-Vo3m81+ih+sh0`J}3jHme$_VJYaJ=sTl@J zu{PaHJ2zcACFCigXErGRE=J$ZT@IDpA9uZH|ngrFwbz|>7X@!!Qsc%q>~i(tt} zSK(Kos)&`zH^2EIEyD)G@fJ=fS(ouvEtMd$DSvwN;pqFJ9pxg|QSE*+)_b3|Z=yv5 zyh9NE?^a^#sz6m;NvQ+)4psi&d!W!(c>HQ`NFi94MPu1&o$k@D3lzp6q!-$w1C7nb zd>5h4*2yJa$HgO$iRrD__bVk1at+lW0rTZr4}VE*Te#n$)!M!BYS7?G=mbj`%Ud^S`$Aw&#K=IDR@ev5wnz?`nwREh#gx9YiJS%uQ)Wx~`7xDhgLjPgA9!cN5 zNiUS3k#l9;(5oQ7!Za0V!L_Ejn(^l08e(P){yblTu@%zRP@wz332X!7AvVtgVB+Ut zVk)Z?$@m^m$H}|dhfdYe6qv>>#tQ>eboHY0gweEXUU~r%>uo`E_#2%TLQR!XuLK+kqMDH>!C`dQj(DQ}9;6y)U-$FQn%FF; zJ_j)>P9b(!U5AnQ{b6<`=kYjW4x=%xWpYG+%NWjjFNF2qT0X6 z_qTF#R=++nb}J8Oto(qYi#d zpv~&i%$Y48^<2*%3CuqQJ!wDlfK$&s4l%4zSNQj~z<(opQ1hX93^V}(A=&^{oDniBaielHGG zyWywdO)Y;`Ezu`YC{sFtBRv(B*-d=_nW}u@!DAZ9=~y9onTNqLiZ`7&<1|b{ zHEVQ~@W+M;J+f1kOx+zOY(w{Tr_8qGanrpgS|u^6`r^>{fk?L=BVmqlWeF+>rbU=3 zWkz3;)t(F92dTy1T}d~VFJ`o{aTW-Kx;%0+o5r_(@BRjX#$`SjL^T^xH)k6siaM%x zXi&{aBgeOHjKX7?1fcPWc=f2GL^v$HV~~2!)dp-V^}fhh;&dSB2HokmGbw&zk6|=S z;i=rL<8PZ01Ysiv)ljd^8<%EhJ^%5U1^C9Xk3>9*O~Tw4bx=oyon4qU#;oo$KD|ni z#@~!k%oySk^E(f|C>Xw#(x*^GpqX<~@JYjywQ`f1tk9PHH3T=~S{=*^`ib{~Kz4T( z($HmcM40+V^jwUT6*>YVQKO`^jaw2NaSxmKyXJLu?QMy!jnDC<`E{xQ|APswCvDLJ zaTJXmA>IaY0gd+V{@A8elG)}YZ=k8lNq{2&2m(+Bk0!Zx0Ksj!MoQAmT$cyB2OYc8 zLU@bm*nOt$I*ZiVoO`Wa^s_;@UAF4YK$$KT`88HNp0s-$S={W-hvg-$eMFAe;9*E_ z;I#b-vPdUP2O)A3^9FIW`OstDuJxdRDJq_jRJghzh4n9+Y$ z*dF4-WPNn|CyN(^;aWt%1nvM*G>y6vbj$!XjVRKJ89A%-{7~O?TBR^gM;_z786bi* z&`)a-(G4TZDgT@HIGf%&MHa(qP!S$9gO8E|Lm`GOUn-UzGHnEEw~_#}Y<$EXVChkW z^_tsFpmjVPw{J{R)LeL?9LYu#1_c6+0C$cIo z-!8A=dx}n5Iv`%1RZP}IS%$aF%XZC^R9;GDEnWkhk5TFKUGk=A_kMcvl0$3jORwju zv^_+0gXm^SCoEpZu3v zEymZjW|SZu_8-H2lDvzav@@}2j1dNVSR*xQQ$=y-YU0QUBVow=SJDK&vLOjufZ<8s zLrMXEQvupqWiNc+npaNtLfBP=-sWAyad8H+cxtD9Fj%i&4Hl)~t_7%mm0ve6LHoaf z(twR~v)DZr5$!~pBxD@yd}ekqemd(DyIr zQ4;hO)>W7H7F(y`%fE-dZgsuSxW3I_HLTIyZ!;@qzv#|!DXw)lj)zrTU_FjFCj8R% z9O>4z2%vnm;;_o0P5J#8WvS!oHKBx$P0w5U&~#l@f>XPmgO`4FbgKyYSi|G6gk-8? zYIL%0(n%=W!MPoU_eG@2Bu~bqe)&5e5#m+yp`} zv^JkRlcM3`&=(L)zZm#o(0i*Q>VPJ_in*f~&Iq5;y>%p8K%=Q<&zMT_I)BLnQGI+- z`_19_D9QpblM2%-s8dO5Y@~=a$CAY7BT+B;EbX}M7VAhTwQ-)jls9a+tTEcM0qp0~ z)9FeLZ73n`0VabOX5MnLTvUpT zr-rvMyVTy>sNuhnlIuL&0Q3-YnPaz`!D7~w)8PXFac}MWNL!iLDgSYvdxyCfYPj|L z&$ad?g7$JMgl+O;8O|)HS@(GKAL3APJrqXJOn#+MP{F&UYJ*2!e)-VQl6!$g+=)~r z;NyqeYQYhp8sF9Af&(acCH8sZQW!b}2oMPQH!odhkBxi|FZS$8#5q&DS}r>`PJcQt zn_f08X}oqnzT`ChmCkYOD{aTue64X5J@&cv2I?@jyGvFlnaqyMXJu6g-GB5)Phw7a z`Q8^u*RtPVlchB|KX3WSJ|DFu$)nBHTe|||=VGi|3EDof9mo+RxcbzQ?^pfH0DoilgLE(c)Up&pHhwGAke-w=@M<(ttWvCOKSF z&PsJVpP9r<&0XrHAm4a3uxuDs*)p1M$QhTB3ZYT(loi~QsMtrxSj=`RiQdzRlQDYW zj0I8d`PB;*F;Zc4Icfwa*UXS=NJ%&Ts4`0F*dHHlw1ZpZ(Mr&4?1g5aF|0a0`bO!# z0T=xvR7@|cKRDFpct~<0w{f=8u#H5PxyG*;CIyEk9cFPS{2yT%j5`G;J1I2Xb!2@Y zo5%e0F02b3PQCS@hw4f;FKhjiPM$J=#UEig~hQxOlFA?E=fpfJ7S?I3&|qexH9d( zY&RC_93Pv{pYhFQF@L#TRO&a7A-Ep}N1t0yo?A;3`5I~7MupREmNU5gHy4&Col1It zKlJvH*R{%M_K>)^*b8>M)bcbW*6=s#>F4T&Z#tV(K79ilLMCHgunf~^(R|CtU(^F6 zNfd6kfvVa1D*>7g8_Qj^Jr%>%btx+xhJYW$XF@2+1gTQBspt%g{+?M_ky0YNWV@S0 z*`!Rx>TsAagMuv~Bv5EX;wbc1Vj4IDPKOXE&?FId4-eB7!OF4Z0nLg>}ae-DDt3f%!uOBg=I_X+F9sq?D)|Iio(sCw}~h1Bgy(5 zZLkC4B%Zt-MHhwq5TtUk4W&B8927bQp@qM{B;0N*)Pl_hvl+)j*aY&2^m{RIHYZ94 z9n0-zQbci66EH~yvP!wapnyY4!*f1cLH8ItSTjDE&;ML)W+1UFh>*O)?h>jXEhL+y z4{jvXDj=}h85NkFp4a4fFlOWGF#hE{li~wKO~UJ7p1vNTH|0)Jy#T~{^&KU*JtaXeq+xw{{F7x9RPg1E5mDA(8D*qn$P((~MSVNNy*{VQGrW=d?7 zTpx7En4|6fIG=KXSsH~;NG_(9LrZmYh(%#+nOFk28p1iC+3+3`L$!}>oa+IGxz*k2q z4pBAfp3_Xo^#`N-LX{G@2jqfyw#4J;uV-fRl74*WB~O{EbNK{!NZl z={bR6W}t#)(?I`Q1VlLoQL#>qQJ>Z}(H39&KZ;5-Id9u zt$LjeIfVEM?%VWH4%1UMw>ZRA|VZXTkhe}LV zID4g3(Y7cKTBIc5yh#4Xl#M&8^a#Pn^0r0|BAaa&adYp)79h8hK4m;H1tu+DZquX3 zVWxuONI{1;Hv|tlaSgfdqI1?i0A)OBT=%T1v3R1Q!?0EDaX(*GUhHO8L5dLjTw$xT z`MpWyztNAxl9$>3$PTriZ7G+Ugj)FpaDp&irVFL5UnSdB063 z;k2)N;id`E+YfLobbshiow+~!L5KeQ1a{L<;ITL?PBV;%P~Z;)h}_7MgupA02>vTE zS)`~B;3L3$mIVLz_ky?h>K}Ef?&qtrAL!p5`?IOSzy9j#0K;TK5&*I8T8v49hGlKa2l#X7jscb#hTI;EGnpZ{q zve{)ys1wO=Uw#s`a+nKyOsG2|Q02oo4#kG+a}HW3CllH3Y+CJXPTVk*mX;yGZ17MGYWy9lHsD# zY-G~>LxjDq)G(<;Kc$)q4Ss^;e{ur_jq!`y5;u|O(}c~{gUwTc&D^NjNSn>YZHj<6 z#E3Y=q#xq&zv;#JXv}Qu&4*J-Pd8>@vO zEqzZ*wmKfowyrxVaMi(tI1equ9mOrt+%|4dKJzf?VQ@-u^Hcl1LaW;ttJP&IO;H)r zcGrE5L2>2=XU!Wdj^O$IRLYejefMGMwfb{h_u;szmE~ruz3H>C>y;tvmF|fV6`PUb z=<(#LzYVCDk1^KLTe{_peVih>Cx6ukTdgCrMjC95=;LaT5|kyp}GtCv%Gni(u@ z##RPO3ieQ%nJwA&jRa;*5kq08lB>qEbuwFGu##16HZSf!R|;oVZs6Q?S;NSX<2ZE; zcQk-=KY1ScEwJ*CwF2fl&grthh8W(@Cp!rfxwMz4|H))wmhJQuOJahl^)E)LHdugB zOfWlN`9VJ=NZN?bwrc7&PSNCW4WAqNS?vFuDfi8K1_z8DWU>*FY)5i5em1RIoUM^p zd%3sR6ilSbz9$N0xM&IWFH_AH)6kf)75$kAZhZOWKdhb>_797zZy?ZA?%vL29XyuU znY3!zRqLq@;(H{{9TR;`yfOTwTj-aO`mVgknnll{y%EtN!#HElfw8kYrW#8=l}OLc z+%BX+b3+5hIu!5B&53#=Oj;*0%d*@KDD4>}ySFATzr+LgNDt#?^O6SjCvkJQr@E(N zS&R{AuDkhj%b}Eb@Z-YS!M!*klAs33Wgk@%C4@UFXvaJ~_CDt}WZ9;q88fFDn11pk72q26znN~dSG@Ut>nY{#W$9%)a`;>B6_t@1Gz;jfv)1Jb|q)qk@N zP37yCPERDaw_(+CM@T;ZHb0co%_COxqV-CXm37rtX!5hF1=yOV;kZlgXzT-j zt{@aJMN{o5m;L|;^%oJ$jeo`3oyw7%w~$nXXqTSs^5LaR2r~dCE+u&X5mBm8V>4** z7i!RJ#Juh)uP83WQXJ4;;-r2imhYhNsQ%k=ADp+07yP*nzP{6rK=kEw zV)zf3{}>@6w*m)^kRrjfE)o>paSb#6E<89@C@@Rz*TPEs^ZN=DxE21tADHUxv8%mf znkNPr3NsdPh{Tw{hqid`de6rTIBd3DWIEhNq5qwdJupGyxPW}eo&He##trE1Uw%T6 z=Mqk^z%^qLO((4R2D=xAPy`(V$0842Cs&%Fd@?OE3YCJ|()d1&C`Gzjrs z!2G)cf%Dx;8^;hQkfR1J&LY@r84mmf9vBF3Q#wNufBq^&D7-S%8~tC1M_j-_+-0>! z#esu12?7`Q|9jw4%vd)?an1)02Weq%_tsLSW!-l^Dn&Zq>3y3a2mY)}69PyjWZ?FJ zLn?iL6;=3ozlTeO8X7CP@j5qnDA+~ebg3}&u07^jL#qMipH3{Njkltk>Gt@q*?Mgj z8{-Qd@qOPP>~>GA*ZuY390)5^F|)8xSe##3IX*kLEz9jN9EP8{AlRKqE_O=0DKy2ha z;8g-N9ARiT;PK@FxC#lSA3&l*73+!wbW(z#>FP&|69ts*;a4^!H6W@$2l5aAvPxxb z(e&Vd`cvP4pot%J8vwT^^#XwRAFno9rs+|qNq!`_mTktp%wmcX$b~|&cmq)Z74e$5 zxVVw%^mwcmO06G18^6$8{4b-jJ`N8nrUhZbk!aDlTq>YMjoCgg=HkPhkDKjI#|j%; zx7m;D0DL7q2Ixx86o^K)0gQi{`N>R<+b>v3z;_tHi^<{5ItoPrAV7Wrmt*GtI4y)A zf71ho@P|aIq4Z-8@R5DxkpOOdApKO9_nD-5RvtNTN%!+bHN@m^b~F(k5WL9zm)mh5 z4C#w=^2Y<9z*w#Sk-z!`0w)djulfQ>063Xen5?Hj z66GsE$r*~qegtX?_6Xv~K7d=-0*lFL1TcqB0@0T?Z%@}ozsn>lhxIE#(5h`VJ64WV zsx$@@q%+vA*Qdv>qku0M0ZJ)OG-wXcQ??odnr(P4nwe0LlD>N5aqtNsq(uMP9VkiS z0MU9E6Zu&^%BtG;bpQed2(#!Ni6i#C&Dd&eX<1t$DA*rQq1XB&2Tyc@=e~!86#U;^ zAC$p;qN2=mA9`0V43gDS=cBbtJkX zO4FnWoR3Osy7qEx7)XD-_PFi` zQ)ObOW6nlJO_#@Pq4-qkSBebp1EWQz1CUz+%C=mH7eMYsfmn(b8%E0Zl{WiDOS*VY zAeWVajh_-%9y2&wi0E7$L6?v9Zyk;YRI+trT*`tO3VKa?YP~Dlxmhbyo%dYqPp8fB_q5jA(oBW>xAeGhm8SwO> z!DzYd1l!!RiS{8&Z-ah}{8#Jul;V^LNTJUn+G24LX->mkJ)10q3$@L&j_ zXnM|-=<|B8U{{7m)y*{PjegVt$!bCr6Qngy;r4~x@ijoQ!rHXk{eo%|ACT&D71|1f z=e8vtX9CnEf<8qEY;J|hZHjp?(4;q?Nv`2QP?GQ3*}TXolKKCDIMD2RF%)Ma2@^uU z!77QMe>4JiXw2X&GY@Hhy@v4i0RM6t*V3xB!^&Qt)M`H(x0>}a1w+` z-?|rn#~wo1+7E=orY-y94G1JL-k{tgZZ}xRNaK)>b>SJDWs>-PFhD)l#;4y-aUpDN z*!9ER&?uGKUP0OYE5!#dA0$R=`-YfYlH=26Eu2zxsZj9^A}D|Y^)p4=C5-}A5OlNw zf$;%w@OvLi>em0yIt9{>v~1jaY)$0m6qceoYre+g6DEB2Ie5*%OX<+t;5$!%*Xw=) zUUKsgSVFbl71rKn{O-g3pXbWoaOW(uc?eA6`@J_WImRr`@AX2x&EbH~s2Ysj9H?0pN(j0#zpzP34t z)_)h3{#3Ji{~VW~$Q2&ieO9klu(0bXWQsp1RKE1F<nF+Foec)Zn70 z(Z&$8p?+bExHMxlrxb9YTyMHl_?&7!Exw6nPr%3b{C^p;cB8)g?9J?~`G zb561FJNGEF+Uj0l0jJ8c>a_CjZo{vAN|SoeE=};hUHA1=R*aVR6n?u-(XS~%Q-GIT zzMV9Oo0mn#(|OgEa9_mUaQ2+n{ literal 15771 zcmZvDV{|7?(ETsAZQHhOb7R}Kxv@63ZQHhOCmTC?_j$kl@nyQtoSvELn(C@^@2MN9 zC@%pAjSUR|0N|t~MU?>nAeVphE=b^i*VE|%O8|h+NJ>;l)kE)U$y!py5p(n|2|SQB zSa?j8rr$0AGC3X%FJAC#Z4_=}f%MPM-^e-5>e|VgU}U_T@2{4<0aF?EPorWhM+Y|_ zWxmDWCHaRtKyTA1B%k-u<_mtC2+~P~@Hx`1ehR8nkN0<|TDSs3_>N@TH#?)@?yg9R&Rb=uvCwoR$|VS7xEF%KNIOqqA3By4clYF`^GG>So>;?@IV2 z+T3wMJn{H!h7AhG#w=$p+AQ2vlIHEj-8d-G_-(XXelZB}T+YegMRSuoQPnKdf)FG@ zvZttP6(-7YtLpp=N2bV;O(k~L^h?7Cxjq_yVweprwYrse#Ma~?xh04au;B2ZaWz0a zaXYpdtCHMK_-dNTfo-dgclJo@SV$Y4W72JA@hDJ`wWgMgzIJO;i&)0ej5cYfG1FFIxqfkMSWRZwbQ^=sOhwBP~)l-Q(qohqM z!Nio-ljQ`2ke(k3!A65?I>MC*&KKoGPm7 zgUugk7yCx;UWM>CN$xTz0|`F2D{5)oqCGE??_G-<=748PKhz~*VTFr{iGE00@_gQ| zOn3@WP;)Ohkbz*Y3q$aH$>9xDAIZL0tXEp zIWWMn6;~ztAQYuqn{31^IlT5P%7uc>l%1J6#JnlkN=c>BQ{*Uyjghg*OAq%PkcMbQ z08l+L)=O9wXn7}BmWN~>fj?)~qF>%SCW_+jHU@wAIcx36H})sMipT*S^#sX`jZ$C{ zW%wy(AJK_)R|{l7+M}NnDnMiYznR^Bbw7yqwOLrzx(poW0J9GE_s z;Z6?^-!xWV2Ot07b*hjS-;LQ~wZoMYosh4oxI6i?G!KM(<|V)2f1B&rHU*Z9oMku` ztY=OXN=GJAu3?;@?3P6l^Iv4AG4f0X+s$xS&_h7&W zoh#mCo}(5?UG0f$e#%r;3L`_+zFO%GQxg8i`X*GMcrt` z$3hs!j?mrPW7q^_Yz(>jsa$JZdkzpv@HeXj@X`>ltH*}1MUZ_dEP8=r*G0oK)KwD5 z1fY{BJ`d86_K=<{K%RtSFipEi-raH=!UPtq9P@B96+WxVk*v&XupA%VT?n5TGh>aq zC1L#aOr;_-+m|Lm$t8d$0WDH1%AN*miiM4diU3CP#2fkZIpwtA^u8EGa&!BwG|Fa6 zBJ|CD$|AB6lB5|@e1X`_Q!{f&j@Zr};&md_OZOj;==Ul}jQDOz0xp!_Eu$Wu2E4g` z`Q7xhBR^RT={YCiRKAbtLO8B1V%!^l-u0(4kpeglePmm09eK}U5ui!~t$na;8bdF& z+dIEP9LtGZTGY%pxbY$TI1B5TwvC4#G?R31+9s)(yt8y;+izX}M!fZXXX^5Z3lV}B zFm|>6UC|p52kpOH(=3BPR9)SknrdW>2X%wt8UDE>AI?;*m3s8=6TpzM`rVyIG*uw` z-Q-iHP;3@`8W2%V%A%o^x{7pOcil1U&ALE~0gtW!KjpUZCa(k;P)rHE5mB2$G-;1Or^IFm85~m-?vqqNTd>(;uD-K*_FIm1_q$t z4>^rsPpPBs$@YUn_FGU+R{T18jEUb|guxRGH&>v=9DPA1gn^iync|vph_S;Awa~4r zBXmYk#XQI2z7hEUet&&v)avYB7G?p3de5?2QtHfb{r%MH%=D)%pLtzN3^}ZKll%{ym<=h&X7rUd6`3 zqSJ1I9Q*$M;+ey$)$jFtx!Lwt?xVy6D>P7yYX@YH()HbaEv84WGU#@AxZFhzaxmz1 zdOYG&z#R5eNB^Rrf4zVC$-S-Bn91DP=0E@Y7M_)bEBN<$=G-%hf^C(xYRfGu`01yA zT1IsPB?HlKG( zRn=7@nM^=2>>TTT23?^6>TlrG{;i_-k4p@m)~3krr)RK5)S)9~;^LO-KksT2%4akE zY#cQ|uTPadaYFivS-Gb;gWUcjV7jvxNN|K%e1vMK;h2ImPc zB?je(1?TFi#6_h?k*W~4a?M$4l2=UF-`G&d&Q+)-ye=&f1XmWWp?TFmu1n>3 z=iVdLei?bSS^xc5En&aYrRM&aVE7TQr|R>0V(o}Vhl7(OXL6O8E z@oXRz=I-uJN=j;eex5=;3lPN!E5HaX-fyuFoVE7$_4Ofulr1&MUff~%`O2`>X=B@v z7FMOFDkbk`U=Y!o)Ld!5Q1m?27jji`FPtN=8`#0m>pet8ca@%{qorqLaipxhdVYJe zxUPCxME?5uCh;sF@cr}lp7O6ewQ^AnagdP>YwJF4t`fxCLh$qRLqS3P3t$)o1OzB3 zpeR9#e93=)`4=_-Z}YNXL0HiF+i=hrKx7aBXAIXM1z{bZh`D*IP8=(cMGaRFuxr8e zq}k%OtnPF~dg-sDEEbkTVu1av%iA8G{vi>7n;c40szE^nfe`-A$Le{SDN~r3w&CT{ zv{kD%HTpW=@k|CZ011%@s&7hJ+IDjUQv?#A+I-n@fv!f~%dAhcF=fI_+MBthU`_5l zMcp@w3R};M1kx>mlx|gV;k>W)5R<+Fn1 zm;WRFlhR}ilcl=Nf}Wk&>lPKm3Y0)g>FC?b$jDDIKv_%MdLo7iMIU|Gnx4TO_B}(! zc;;c{Cm&dRo)TNEP-VW*0yU;U31Dz5Ym^Z&z&Ueujo7@Gh=_^;Z-pub>9}j3fryY} z#W^Nsyc8{tf`BO*3fIAmV$3|F`8W4mNgk6RnFU}rqS&T|$onPNfN5}FsUoL5e zZQM5RGtH1>-{a{!>VGnQpGjsxZ>R+d=(~40d;jt)azV1RE=JZlKV&SJIe6bql7wKu zpLN7-2yLW=0RjLfcfMyGb%ce5RX=*05Eq0{IfPX%&c1)Vmj{TF9qH3x(CQ6-AOLkg z54>@yVw5_f?SxA|GuZQPbheW11w4+V33$h*oTa)3+*`21&Hh#rZf8bN3w;GI~oW;2<}6l_`%i$3uT8D z^{199gVZ6h2z!ACE?h9B!@?f!29m4D?Ka6GU(3?qK9wzau|5%bji#1O+7 z%LD#ldx-K()aZIZu~8hk-lDdUtHKZ`+JxIu?zR1 zT~9*;o15R7VCRy+iFd(5W)feOuLcwU+pDmy$d@!Zqk$*^XK_nIjjieV(S?UkD6vl| zf^bxCp1rgyNK$zes5{(KdDAAAQaL~U;BflmQJ!Q@o zz~%ZPk3sB*4F-PX^l_zS<^Lj@XvXC2l3dijtf=Kd zF(FcnnrB_i+Z`!XP(!J*uTA7Via_SX*`O*d6j~L(zB{eo{eYlkolQnktcqR5Ghq<{(Wh6A z^!Kba5A`cU8@Mm{<)es3`+?YZkM(O8bMW1>SM1+AqGn^WS=0jwLjubX>kx5%esI2k zD&as&#W+&nkY_CysFRK_|mR0xDrHKI|Tj4c%-wYu^lbFW0a8Ey|Fq)^4 z+4jIn7!8qyY0b#7~Nsoqj$pOtP_Q9UfV;C0XCCx#S-RE%!S zd5I3@@e$pNJ@t9@*_j=rcGx0zq#MX0BnxJ;TjSX*mmmO)3`>#<>&(Z{%bo2m&9dM0 zzDD=TEJ_OP0Kta`A960y0~5Am!h%N+3v(O)3=qa3iK%F&I#x>LibKLqSHj=_9zf}LN7(m9((uAv|LFc9N+6c#jiVTNhppig!PD;5l~OFy`@1u zL0NyDd)_?QyZ>6UR2>Q*L#dncVq}E*MNdaaVls?a~o~Jdi`nLj(5wJ>+6lvEha75qMK;@X&tA!@g z)KP!(WyMoMs6c@MlJvi|=`@fTbjPbl?8JM+X-4&Uoonk{Vr0Y6qnpuWjWnmZ`D8+Y zef-MD&S94ex(@s58%N_*m6_^wlBkPq*qf*Qtm;Cdg%($?FJN;S)>4|g{=MN+fse!p@CF0U7}uF_lKTLW<~#_w0D+4gVxOMa=< z@>RF>l|P|%_7emG9`~Pih0tH8zyQst858DXWvJj}xOTbgR#dn?W!50Mwx^6;R|}(<)yGyKoWf5 z6wLpZQ_$Lkw6g&hZfX8@+@Hu;M*B~fZ?chfH4*6P)@@?6@`Sg2H5x)6qpWm!^1ZMV zQs*}Uv%}F?!ap?dT?+RfYC_H8_kHgVhWN2W_yhQtr>#+ha3TKYqU(c!_}MimXx?8q&B8?ZO< zgJogt`^??VCPanKet2-jq9=#O(4a)sqt|b^<-dz@d@R2l{BsK&*t<72FX6nqA;i6= z8C8rBSnfYf+QN_W>TV^VjL=?Y)`zO~7SsNk0kgPI^VWRIQ;M$1IcDO7{0S7-QOZu$ z*;AKA*RN%9J2=xZH{u{nebwucZi5IJnl{P0E1GhpXXPrUB$t|X_5~5GaF6K?AUxgK z>1h9rNRAqRh_tI@3I?p#Ok7TfLjLwf-JWT;(}s>ZlFHnuVIFR1kPQ8?<<_zfpEQOM zgAX=RCS%kLM3O@nVOkhR&N|1DTmlDg7I^P7&s}bH8AQqvEa<3qiDSAWey?rpH0nsFn2UL;#}2^^LPF6{r9OG-+$8$59FLx&QG(uU*zY z>_(1~5YGh|uaM`#yG zIj<-mFJe~vtjRg;I^}WQ;Z{5SxcC6|KfAfP(K{=2)Jpz&$;tVXN<;$S;rIV}?tpQ0 z@B+hUGd=8mohmNKKYYb48=k%OeA_F8Wb&-$f%w?k5@ls)<;`gD11HRGXF6K)p~PEL zMnZb(u4S0=a8x$|odxep_2b9K!NS8v)K&F&ut7R10W+*03wT`S@GeRBBS6s4{ooi# zDmHsKQGw189w*X34HY_1-Fo&eD+JXSeB@2s=6EVYNlMZ(QPoSV0;EvgA zd~IM)^CM;BVnWG`SUR`1c~*0s6m^=1kO{Cj)`@>LF%*HwCKw?&=^v(!dk}d^(xVS!S88-I@)ilHqz`4M&l)+X z21LNgQnlFyvi0?c5F+3Wg%B^l1m^jdvF76CCI=CXR=|!ju4&Ae9I0ssX2;}n)5f|Q zIR81U=5+D+n1Z5B6TBxKH@Ke+*_ess-&vM$@u>01=_efyS(r<4p2Hgp5vi4nRw8xs zqbEsBX*C3j=X>b8v!0t+bD1nCPh^ooI`f6%eT%ek_u=41{>UcwJrOYol zpl^oOGz+>zP2q#|vIbwa>hw79dz#=A*Z2hoozes@lk>}cr@L9xcJHkC@{54S%^(v; z_kO&=g_KzWdCnsW5BYC zx(_i5s7|!td^oZ7IWl`NXJuRni7)y#Uk#mE7%Egzbk`M)dfAqia~H)8N(i{m!p#WD zAKC0Epftt5wlVRrKx*bL46-j#EiU*4URq!m(H+& z!^2bON4J3M%r`mTQ}3q?Y9n%mqZ$ogWgR;SQL>gjt87A@s3uWg=GN-svW{-R5L41v z!g%@u*q5r4SqWtvo~XfDwID_1OWS^!Ag>Y@ZMG}eYV8gT{0QG+gF6xDCk<$)8;xFrHHBWA7Fvx1$l`@fi0%F5Tyw1K*scUE4&DF0Gx>&C5@ zMT8LHCw{x{rIaQoa5ff`P@5)q!q^mw-K9jg-(Qk2mN2%=zN+YZ&(}VLn2|*G8TX>A zHTxbB36C9E?}4oB8@PKIIb$)s@6i%*3v_wlL8 zow^XuhMDgCY%kfKd#xnCk_N|UDiUp{$&k7W-7ynz$FXC4NPDgqS2$&AP^)fp> zmPI->e2}pk9aUYuO*=n(jxZ`Mth7qqUA)7_pTBSRP5?vS_IAs(siP)erA=ReSUX|JLPMt+N&@jJg~#@j@7bSc zfH?6i&{vmMdb3#ca4o}*H%w6+<|s}?J^T(cRSbakOjKZK#vo1u@S>|4+Cnxxju=qC9X?)5xh^&yILVcz)Q9hPZ1|}*l>f6~yMeNnOudQ!m8K@}}qt++`om+tkB zL^`*_!oselP5KYWcwz4;@%^HFH{5nFW&m6~Gyv_dcX{|tKr%_`nY2E0PIIzh~ zlUJCn;R4Bp7FqaICHLNd<>!{q(x?A9<#haa!hcM5FZ>dt2LILzR77{oX4+V{OHZe& zu)A23lM7eKsSKg^B12eeM;4(hoA{;V%F?MZ3jMYhbc8)7#D@hS_}A z?Y@2Pntix(f4TOYT`41Vt&)8e- zrJ|yU`66_VpEWL|54Zicn%wFbj?y&vLG1wC&tJFmA_SJwC(J?OvE;wh%BF&^gz*%=^y$jafsMb}MZ-hWk< zT$Snx$kXKF2vyO(blM!ex|*-AztVa4mV&r!SG09-Q)lATfv+qOGmZOYf8lU=^Tj(} zz#J!!Qp;^*DP^KCb-E?vy|lp-I!q%S3TN+arm$5Z&Z6wR3Y+5)KK;~MvLog9ERFo} zRzuh_G1`P}$JVKB0H}XRT}QarchY~H){hq(nilSF`#AVXtL&8NFy(@g%s}(~lb$5; z>t~ez{E;~eAd&Y_SWwa-wYSSHu+~|V*HXip74Ey1X5wbf+?Y9(na(MnCD$O8Wn_+P zULT1=ZeUXj6I+yaH3!R1Kuy@R;O4U{+asqKMk!N1{5DJs*IkL0 zQd95p#vE=lUvg>c@ma61TE)-JoeS1cLs@J_RXtyW0<|U5<@2wD%h=%Dz_k_%0}Tra zmoS%lmPc4S(&S`bqoLI5^yF1abDo7>-{#YyKmVnP7rfox)6_d1*)C#np$4^J=s}bw z>G)y-0{khvQLNy%KP~}O^11`pSph?p`BYirL6SHmH*f<-N(#jj#s4S;NW%NcM9D-A@lhe|&VrN(E z@@->c-8(;+mp=v|t$(OP>vxw=J4WUu~b>H|r|F11uFW(;4?fu(G941V;cqYm| zh89Wj&_d`OOLOf>yq@+z$U&3Ik)5T)1&{-=dnlL?_!jgog0*7~xNN&y69bZc2Lda- z(f!MZPsHR78LTJ=;?^12CRNXVr5Soi&)cZ;DN+-puRS|A{QNKQGYh3h1?$WOJrIMY z&KBt?xWK_~W*Qd=h(=jn|2BQ3V0c`X9z7Lv|Hp4v-bO1+0&U!QAlJ~aP_cR(clnq0 zrGuSsLnrD2OBa|8pS$Z(4J5;K%?{Rnc`r4`N^(h4g zz3J&$*Vkc%Dn1+2(R|{zSISw{e5aPq`QaH7zzqxx1;Y)N^QW>PWgLb)ZeSiFJ^Z;7HNh40fwEu&%_Q&kFK9RYxQ;(u~2V zX|}Y8ms62z2LIRY?uK1Ra1WQNClL(=Rb0Zk$=_pRG)H?$BoE2vFuG*xT|F}cdpEZJ88X6@KeJ;%B7ZC-h2pQ(98MmDzVP>ln?Uso%_|R{b{a5x~ zv$W@lapdlB_UZFCy!g+W%%-3)xVO_9X6W~Ap`K`LwKI99a3A-fFh@p>-{8Yq^GHHa zTEjMX_AvExe|YoX^cwMkG>MZCCoETi{6@!jR)4D9a8>~Xcc?QS5U?YObjCMka}-9Av;bl|CV3DuN1^~ z)#CI?P@WlzIHI;}N#Tf}hR;=5;Z}H;FoVX$kfK^U=JVpP#67W;5`-s`&lD zC1dMLys$XA2xs^(bQ)@StLE+cujNqmcN~&bV4w%D*n!grErSVdchn`yY>Z>y3dT}8 z#R^8W<#umo`==p2A6rNtW>M}hUg`{MOlu#9WoUQ_(2yZG+pHkK!9Gclm9nYA$9 zwM^||C1<~zWsya=O+yisn$_ps2Eo|(b_S(|lHqxK7MCsfYhD32lx;bmv6ft}7Lfoa zVa$NsSkfg{RXIi&l=q5Xr1h-T+;t!S zuLJ^d5s09k`8pNV4JCYUjj6eO*xx(DqkG@2n*7OP+vW5ZKBK7qVf!_%(8s}vUunJY zvili;{+`tEH2Qq4F3-bqb@hFuv8t(IpAS4AkGqKImk3EYx1MvY^_50$9%?E{-%|#E zI65GC$E&A9?_1r5YPHHZ+Vpd`yKEVG)VYETdm6Yn7ZKvfoSU_EGCq_;?3`riMkfr* zDRxzCJMVp&Q$L4WSG|3 z+0Kn4$jsW^_q~yhVHA{V`kt?t+a0W?{Hd0&$4z9Sp9Gj5UF*C)15P9IWe&pHj&d>- z|0kMN4|^O9hGav#so`_;%{kCZn%!2+7WnW?`mbwaP08PN#>kK3IE{Dieh$YI;6R1A zI-lM8TL$bLl_}e7phpO+_|P;SJvTkwVIW^~GMAJ3;mV@qi=vumhp2Y-1hm2&y}R@? zPLG37plE(InosfUD?sAYV=~Uq^jvdVrp@p^LbZ!sONRZSIQ8+XCi`2LW zowL&d8tObvuMO;*OaYXL$(~$dFK6mQ=Lsgj&nMS$gI1?R7Fc(nLT2cZN7{$?j0YOt z(H%P0Y9e32=* zG)XI)-meiF&I;KgAfPn~_nuz6G(p;};JoX%p4Sji;)Dt;t!6|{>$Guly7mQ~Y?Zk# zgSj%NhkFw=U^`QmKQ>2olPOk~Ai3hj%Iob0mCUO&W-DEoXDbd|Xfn|#>!DrGM8ULa z<>~3$xR)d9ov&oIP$nUF9;;l70K*wi{|=E{bZpa5?&kVw7mT0koB;W@hm8 zc0e~`u+$XMD%z`mOW61e5-Xcv0J3Gn)q_cMVXtdeEXz?-RT1_+*E1b{ zqDyl0cCpX*=hCyXVB2rdIGOIGK)Hi6cJqSrf_>D(e2y&gsB0_oJ$)2~3YC->7r5yl zrkL0~bg^vo;3VhMpWlZ>ZKynKCZ8Ipd7z@zegl-M8OvSX`q;}dS0jI^;w^NI)G(<@ z00o0EyXmRqCWg>aayScUUyRR8(w0|cv|P1ozsl00S1x5lGMsNLIGnR$i!7VZ%&yNk z;nFvYbG7i7f4(&`bWL9<2fro7C{gogi{?ice;Kr~kWuU{HqadZJR!6(40U~;;;}qIzmR@_xXI!{la3O8CqhW68GRz2XM7r4>w4NC^#RHns4U~t)5p}nBUHh ze_%p2AyWGn_#0g^T;Qh>@X`(#9vZ%#7Sj1ALO{e2{J(~P+<9#jjJ&lS9u}H#8(8`v zwo@JJryV$YVAB!I)2s*&z4``)Hd`dh$!-qfobV~1^R?s3pI}&AKCj1@+ufgXQ1SkM zt!x~2TbvGifcSdz*&GZ8y{$IK!+#xhE_G>Oeezfp07PIR)k@o7p(^&mpC1@;e<4_L zr06W$#cij&a0mGev2ZO#{7u>5+8u9zW{m0#m#3jF7~W^vU!@2V?pXY3T?}0ziJVpZ zlj##q`A>W*vT9dIA;@`coDr_k6>FY0O>5)d#mOLPRNM|+4hhOD+TOQ-cxUzz%HlPM zj_)nklPqT3V9MCq#95cwd zI)>q)VwtLNX{hEh3zMnp+S-tMRw^V$`#x>{^a;ObaQd&u0erxKx<&Je6x!qYM6EB= z;HQN!NKbTWgO`1s_4f2+o_C{Y`oz@O5-C22m=Y0O)1W8)7{p9|@_Q7c1KX$D*8`b! z|NACvv0MLz1I>-IrMI-)92Mg5z&VN2#_kEt2_?M1Y4+iV^`aWP2Vu2iX*b_lDTP41j-s< zl(-72gvG1?!av}O?!_x7E#8*Q*}+IG6u;+cO3RAx(1pohMH~k($v0Ud*tx)*tBOaz zBrcDvn2Ox~p1-qf9phCwCECl_pOFt=6X5*=A-QlRcfCh?05mN~)PJnk`_Bu2-^Zgd zuGoO6Becp2r&+D*9HPydREZ3iEfZxZ2lRjNEYFS&$P^*3DK#H(T zj0t1b0GJ}e%6g+#H_KP`LcDTdR8dE5O%wT2KFc*)hS?Ph=)TU~-Pu)M(S;aE1?Rdz zlo(WFuc7Xx{IWJhBxr0IrC+aXL`;6HfKo&{o^#5AUB(y|V!VtP=y#j_MU=M5ooblc#x!*pP}t$4 zwt#~~z{!c9q9B7&K+VO*@~~??KWuavG~JfMc0%kCBqp{RoEQK-4j^AyW^=^6jvwBd zk0f4^rt|nL&twO7$`N@gi6SzPrcnBB#unBUxCbsftzO0@28p(E0wr z0Bo*~+!$HP7-{~XtYxxS6f8vL?}-=cP7wdw6!Q32{r_&6%lFA@p=Q_3Jf4GFP;qn?{+4`$sA91?ACR7zq|X(RVZ9i$zj{dqx^D9oO}-6&HBp1=7#^*a~j4+ zDybvLrYky&wIKx0N2kIbxUt>F(qU?5-q0`~~3udq=GAaeK1+NTL zlwjo({?ugF999e(d75zl^s;%qS%_Do3U4px=)Xh!=i7kt5Gx4jo-ov;T{>{~q=7Yb z(a7;!`%M-Vvct0Jp9YCja{tq0KU6Hk^oAIk+Egwc6w_@2n&vWFoGixdjuyHt5e<5q zNp5l4O&9T1{W8|f!vE=y3O#ys!;ov5pFW1&!V)j)CJQ_v=k#DIQlIK1vkz(ioJ$6B z>16Q;%AG2Ay0jG?ij`VhACs6QuXPqh16Pn>olY?i4EvfvBl;J_%)r&tyUZz3llfr| zQ<#a)VLUCS+=$F(u%S#^0mpcYrNHz1%)%K?r9$Tobk6Bu(Pc>UR)60gI-A`W5yw{9 zQs-9>HHVZt-N~~Ta~Yg>gSJ1g-Xn8A$}3rPM0crXtpb08M*p5VTR8d5{sQ~E*KBSG z?;SjDj759-vGb1MRieX~(n)6G~ z-puo-!8n`~Fdzs3{rRCLh4)F4Aw-33J3t7x3oby>^t={L`*FAS# zhSTwm2uR2Vo&pA*ER7G(wI3c2(^HlvrU1ZZ3*RgWP_pt}TK5mADB|xZd?syiTY7I6 zK~IVZ<9bb9-Ru%elVu^qqI(ftpoaCT%Z_mqWu#ET*WR-70c7-OG2K;_a#Sr>M9}%M zi9Js};)FU{7{EZ0&^1D(Vn|Sgxn_Ey8I3BT60ne>4rQ@o|I61!ad?L!vRpH1IlcIW z4ghibEP#-bemRZBsfzez@*)p99=CECE)pLy=%8RC6djzvd^%s(K85D@`PZF*zGPD*iY&92Z!@0TfGy%LMqpp|v`3m9OhMxQe<9{eql`***Fqig4ym3 zHBH^}f7!ev98MccylY>-jL`3FHM+0b;w)U( z6c9pUcTBQ-6&=#;0c|&*?jVTg?)p>SIk+EI?JiAh3!M7z-U})m4h>xfi!2JHwA^gk z{Aq5riOuD9HJSW7_iSr>O2OcEbz@_v1%m5Qmq21q28geDd+r zz5EAkgSRi=;xuZOF-Jyz-LCzd&9uyPf`h+Xl6N2W%~RZ7j(@swmD+k85A9{+Wh?M~ z-1pqTIX}RJjC3c?2HOJ#NYeY$pZ&1bb_;(TuiER(H~DNDbazb3}!h!iQ*ueA2_e1cb52c}v36fV9aMRCO5n>kkmR45o}QjMYLb>AgyMTQ+KvBHRD&9R tsaPYnAZAs;FrI-Af&Bv%jzB|Tdjj;F+NQvz3jdY>q{QS!YlIDg{s+ePublish to the web

Publish to Web

+

Under the File menu, select “Publish to the Web.”

+

In the next window, click the blue "publish" button. When asked, "Are you sure…?" click OK.

+

Now, copy the URL that appears in the center of the window. You'll use this in the next step.

-

Publish to Web

-

Under the File menu, select “Publish to the Web.”

-

In the next window, check “Automatically republish when changes are made.” Uncheck all other boxes. Click “start publishing.” This will give you the URL to embed in your HTML file.

+

Publish to Web 2

Publish to Web 3

+
From 658aa352dfd0ace4b910b367045531360b92c1ad Mon Sep 17 00:00:00 2001 From: Heather Billings Date: Wed, 8 Jul 2015 16:22:25 -0500 Subject: [PATCH 80/95] timeline3 tease in header --- website/static/css/site.css | 37 +++++++++++++++++++++++++++++++- website/templates/_overview.html | 5 +++-- 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/website/static/css/site.css b/website/static/css/site.css index 5b8873051..bba53cda6 100644 --- a/website/static/css/site.css +++ b/website/static/css/site.css @@ -22,7 +22,41 @@ footer { #overview hgroup { text-align: center; } + #teaser { + display: block; + margin: 30px 0 -10px; + font-family: sans-serif; + color: #147693; + } + .new { + font-style: italic; + color: #333; + font-weight: bold; + margin-right: 3px; + } + #teaser:hover, + #teaser:active, + #teaser:focus { + text-decoration: none; + } + #teaser .arrow { + border-radius: 20px; + background-color: #0f9bd1; + color: white; + padding: 0px 8px 4px; + font-size: 26px; + margin-left: 2px; + display: inline-block; + } + #teaser .arrow:before{ + content: "»"; + display: inline-block; + + } + #teaser .arrow:hover { + background-color: #147693; + } /* Timeline */ #demo { width: 100%; @@ -78,6 +112,7 @@ h2.intro { margin: 20px auto 30px; max-width: 900px; padding: 0 20px; + font-size: 36px; } #examples .row { margin-bottom: 20px; @@ -113,4 +148,4 @@ h2.intro { width: 260px; } -#font-preview-trigger { margin-left: 10px;} \ No newline at end of file +#font-preview-trigger { margin-left: 10px;} diff --git a/website/templates/_overview.html b/website/templates/_overview.html index c32793e43..190a86509 100644 --- a/website/templates/_overview.html +++ b/website/templates/_overview.html @@ -4,7 +4,8 @@

TimelineJS

Beautifully crafted timelines that are easy and intuitive to use.

-

Make a timeline now

+ Make a timeline now +

New! Try the TimelineJS 3 beta

- \ No newline at end of file + From 05cddfe4ccd5204b31ea453dc153c3da93762e83 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Fri, 10 Jul 2015 09:19:47 -0500 Subject: [PATCH 81/95] fix href --- website/templates/_overview.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/templates/_overview.html b/website/templates/_overview.html index 190a86509..e26d959a6 100644 --- a/website/templates/_overview.html +++ b/website/templates/_overview.html @@ -5,7 +5,7 @@

TimelineJS

Beautifully crafted timelines that are easy and intuitive to use.

Make a timeline now -

New! Try the TimelineJS 3 beta

+

New! Try the TimelineJS 3 beta

From e0354a79bee159917b583e70cde9307014fa3a0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=BDurek?= Date: Sat, 18 Jul 2015 16:32:12 +0200 Subject: [PATCH 82/95] We want seconds instead of th/st/nd/rd for day --- source/js/Core/Language/locale/cz.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/js/Core/Language/locale/cz.js b/source/js/Core/Language/locale/cz.js index 569167dc3..40f922d36 100644 --- a/source/js/Core/Language/locale/cz.js +++ b/source/js/Core/Language/locale/cz.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d. mmm ", full: "d. mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "HH:MM'
'd. mmmm yyyy''", full_long: "dddd d. mmm yyyy 'v' HH:MM", @@ -34,4 +34,4 @@ if(typeof VMM != 'undefined') { loading: "Nahrávám", swipe_nav: "Swipe to Navigate" } } -} \ No newline at end of file +} From a631ce62c4ca7a23c1ceb8a658c414737a88e8c9 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Mon, 20 Jul 2015 09:22:00 -0500 Subject: [PATCH 83/95] fix widespread error in date format as in #808 --- source/js/Core/Language/locale/af.js | 2 +- source/js/Core/Language/locale/ar.js | 2 +- source/js/Core/Language/locale/bg.js | 2 +- source/js/Core/Language/locale/ca.js | 2 +- source/js/Core/Language/locale/de.js | 2 +- source/js/Core/Language/locale/el.js | 2 +- source/js/Core/Language/locale/eo.js | 2 +- source/js/Core/Language/locale/es.js | 2 +- source/js/Core/Language/locale/eu.js | 2 +- source/js/Core/Language/locale/fi.js | 2 +- source/js/Core/Language/locale/fo.js | 2 +- source/js/Core/Language/locale/fr.js | 2 +- source/js/Core/Language/locale/ga.js | 2 +- source/js/Core/Language/locale/gl.js | 2 +- source/js/Core/Language/locale/hu.js | 2 +- source/js/Core/Language/locale/hy.js | 2 +- source/js/Core/Language/locale/id.js | 2 +- source/js/Core/Language/locale/is.js | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/source/js/Core/Language/locale/af.js b/source/js/Core/Language/locale/af.js index be00124f2..731729d78 100644 --- a/source/js/Core/Language/locale/af.js +++ b/source/js/Core/Language/locale/af.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d mmm", full: "d mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "HH:MM'
'd mmmm yyyy''", full_long: "d mmm',' yyyy 'om' HH:MM", diff --git a/source/js/Core/Language/locale/ar.js b/source/js/Core/Language/locale/ar.js index d9845e9b4..1cf93d800 100644 --- a/source/js/Core/Language/locale/ar.js +++ b/source/js/Core/Language/locale/ar.js @@ -19,7 +19,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "mmm d", full: "mmmm d',' yyyy", - time_short: "h:MM:SS TT", + time_short: "h:MM:ss TT", time_no_seconds_short: "h:MM TT", time_no_seconds_small_date: "h:MM TT'
'mmmm d',' yyyy''", full_long: "mmm d',' yyyy 'at' hh:MM TT", diff --git a/source/js/Core/Language/locale/bg.js b/source/js/Core/Language/locale/bg.js index ea1f151d9..0603ef6d1 100644 --- a/source/js/Core/Language/locale/bg.js +++ b/source/js/Core/Language/locale/bg.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d mmm", full: "d mmmm yyyy", - time_short: "h:MM:SS TT", + time_short: "h:MM:ss TT", time_no_seconds_short: "h:MM TT", time_no_seconds_small_date: "h:MM TT'
'd mmmm yyyy''", full_long: "d mmm yyyy 'at' h:MM TT", diff --git a/source/js/Core/Language/locale/ca.js b/source/js/Core/Language/locale/ca.js index c309bc023..b3c68fdcb 100644 --- a/source/js/Core/Language/locale/ca.js +++ b/source/js/Core/Language/locale/ca.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d mmm", full: "d mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "''d mmmm yyyy'' HH:MM", full_long: "dddd',' d mmm yyyy HH:MM", diff --git a/source/js/Core/Language/locale/de.js b/source/js/Core/Language/locale/de.js index 779367100..086f528e4 100644 --- a/source/js/Core/Language/locale/de.js +++ b/source/js/Core/Language/locale/de.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d. mmm", full: "d. mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "HH:MM'
'd. mmmm yyyy''", full_long: "dddd',' d. mmm yyyy 'um' HH:MM", diff --git a/source/js/Core/Language/locale/el.js b/source/js/Core/Language/locale/el.js index 156c4c7f2..a020d1ed9 100644 --- a/source/js/Core/Language/locale/el.js +++ b/source/js/Core/Language/locale/el.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "mmm d", full: "mmmm d',' yyyy", - time_short: "h:MM:SS TT", + time_short: "h:MM:ss TT", time_no_seconds_short: "h:MM TT", time_no_seconds_small_date: "h:MM TT'
'mmmm d',' yyyy''", full_long: "mmm d',' yyyy 'at' h:MM TT", diff --git a/source/js/Core/Language/locale/eo.js b/source/js/Core/Language/locale/eo.js index f368a75df..b88dcda8c 100644 --- a/source/js/Core/Language/locale/eo.js +++ b/source/js/Core/Language/locale/eo.js @@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d mmm", full: "d mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "HH:MM'
'd mmmm yyyy''", full_long: "dddd',' d mmm yyyy 'ĉe' HH:MM", diff --git a/source/js/Core/Language/locale/es.js b/source/js/Core/Language/locale/es.js index 3a81b8f51..21acf616f 100644 --- a/source/js/Core/Language/locale/es.js +++ b/source/js/Core/Language/locale/es.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d mmm", full: "d mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "''d mmmm yyyy'' HH:MM", full_long: "dddd',' d mmm yyyy HH:MM", diff --git a/source/js/Core/Language/locale/eu.js b/source/js/Core/Language/locale/eu.js index 3347d41fb..c1cd4aacb 100644 --- a/source/js/Core/Language/locale/eu.js +++ b/source/js/Core/Language/locale/eu.js @@ -18,7 +18,7 @@ if (typeof VMM != 'undefined') { month: "yyyy'(e)ko' mmmm", full_short: "mmm'-'d", full: "yyyy'(e)ko' mmmm'k' d", - time_short: "h:MM:SS TT", + time_short: "h:MM:ss TT", time_no_seconds_short: "h:MM TT", time_no_seconds_small_date: "h:MM TT'
'yyyy'-'mmm'-'d'", full_long: "yyyy'(e)ko' mmmm'ren' d'(e)an,' hh:MM TT'(r)etan'", diff --git a/source/js/Core/Language/locale/fi.js b/source/js/Core/Language/locale/fi.js index 2d2dc3df2..ec2346c64 100644 --- a/source/js/Core/Language/locale/fi.js +++ b/source/js/Core/Language/locale/fi.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d. mmm", full: "d. mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "HH:MM'
'd. mmmm yyyy''", full_long: "mmm d yyyy 'klo' HH:MM", diff --git a/source/js/Core/Language/locale/fo.js b/source/js/Core/Language/locale/fo.js index 0763ec38e..9daa6328f 100644 --- a/source/js/Core/Language/locale/fo.js +++ b/source/js/Core/Language/locale/fo.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d'.' mmm", full: "d'.' mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "HH:MM'
'd'.' mmmm yyyy''", full_long: "d'.' mmmm yyyy 'klokkan' HH:MM", diff --git a/source/js/Core/Language/locale/fr.js b/source/js/Core/Language/locale/fr.js index 15e0afdc9..afec7208b 100644 --- a/source/js/Core/Language/locale/fr.js +++ b/source/js/Core/Language/locale/fr.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d mmm", full: "d mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "HH:MM'
'd mmmm yyyy''", full_long: "dddd',' d mmm yyyy 'à' HH:MM", diff --git a/source/js/Core/Language/locale/ga.js b/source/js/Core/Language/locale/ga.js index 09bc3f424..47c2781d9 100644 --- a/source/js/Core/Language/locale/ga.js +++ b/source/js/Core/Language/locale/ga.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d mmm", full: "d mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "''d mmmm yyyy'' HH:MM", full_long: "dddd',' d mmm yyyy HH:MM", diff --git a/source/js/Core/Language/locale/gl.js b/source/js/Core/Language/locale/gl.js index 528cae6e6..63d54cfa5 100644 --- a/source/js/Core/Language/locale/gl.js +++ b/source/js/Core/Language/locale/gl.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d mmm", full: "d mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "HH:MM'
'd mmmm yyyy''", full_long: "dddd',' d mmm yyyy 'um' HH:MM", diff --git a/source/js/Core/Language/locale/hu.js b/source/js/Core/Language/locale/hu.js index 6a1750383..46f022d19 100644 --- a/source/js/Core/Language/locale/hu.js +++ b/source/js/Core/Language/locale/hu.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "yyyy. mmmm", full_short: "mmm d.", full: "yyyy. mmmm d.", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "HH:MM '
'yyyy. mmmm d.''", full_long: "yyyy. mmm d.',' HH:MM", diff --git a/source/js/Core/Language/locale/hy.js b/source/js/Core/Language/locale/hy.js index 71e1cc15e..8f1f1421a 100644 --- a/source/js/Core/Language/locale/hy.js +++ b/source/js/Core/Language/locale/hy.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d mmm", full: "d mmmm',' yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "H:MM", time_no_seconds_small_date: "H:MM'
'd mmmm',' yyyy''", full_long: "d mmm',' yyyy 'at' H:MM", diff --git a/source/js/Core/Language/locale/id.js b/source/js/Core/Language/locale/id.js index 7755032b1..524487198 100644 --- a/source/js/Core/Language/locale/id.js +++ b/source/js/Core/Language/locale/id.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d mmm", full: "d mmmm yyyy", - time_short: "HH:MM:SS", + time_short: "HH:MM:ss", time_no_seconds_short: "HH:MM", time_no_seconds_small_date: "HH:MM'
'd mmmm yyyy''", full_long: "dddd',' d mmm yyyy 'pukul' HH:MM", diff --git a/source/js/Core/Language/locale/is.js b/source/js/Core/Language/locale/is.js index 08e7b22e2..57ba7c9bf 100644 --- a/source/js/Core/Language/locale/is.js +++ b/source/js/Core/Language/locale/is.js @@ -18,7 +18,7 @@ if(typeof VMM != 'undefined') { month: "mmmm yyyy", full_short: "d'.' mmm", full: "d'.' mmmm yyyy", - time_short: "h:MM:SS TT", + time_short: "h:MM:ss TT", time_no_seconds_short: "hh:MM TT", time_no_seconds_small_date: "hh:MM TT'
'd'.' mmmm yyyy''", full_long: "dddd',' d'.' mmm yyyy 'kl.' hh:MM TT", From 4bc96c9635c77d3b114382b75d101473f7628718 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Mon, 20 Jul 2015 09:22:48 -0500 Subject: [PATCH 84/95] commit to https for cdn.knightlab.com --- source/embed/index.html | 2 +- website/templates/_demo.html | 2 +- website/templates/_make.html | 2 +- website/templates/base.html | 8 ++++---- website/templates/examples/houston/index.html | 2 +- website/templates/examples/republican/index.html | 2 +- website/templates/examples/shit-people-say/index.html | 2 +- website/templates/examples/user-interface/index.html | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/source/embed/index.html b/source/embed/index.html index 37718985e..0b6628b87 100644 --- a/source/embed/index.html +++ b/source/embed/index.html @@ -42,7 +42,7 @@ if (trim_point > 0) { var embed_path = window.location.href.substring(0,trim_point); // supports https access via https://s3.amazonaws.com/cdn.knightlab.com/libs/timeline/latest/embed/index.html } else { - var embed_path = "//cdn.knightlab.com/libs/timeline/latest/"; + var embed_path = "https://cdn.knightlab.com/libs/timeline/latest/"; } diff --git a/website/templates/_demo.html b/website/templates/_demo.html index 7d14f20d9..fbed7492e 100644 --- a/website/templates/_demo.html +++ b/website/templates/_demo.html @@ -14,7 +14,7 @@ font: 'NewsCycle-Merriweather', }; - + diff --git a/website/templates/_make.html b/website/templates/_make.html index 7c760b700..66b1dbbf5 100644 --- a/website/templates/_make.html +++ b/website/templates/_make.html @@ -233,7 +233,7 @@

4

Embed the code into your website

Grab the embed code and paste it on your site where you want your TimelineJS to appear (just like a YouTube video).

-

+

Preview Link to Preview

diff --git a/website/templates/base.html b/website/templates/base.html index 3253ed111..ec08f902b 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -26,9 +26,9 @@ meta name="viewport" content="initial-scale=1,width=device-width" someone needs to go through Blueline and fix the small viewport CSS details before we can turn this on. --> - + - + @@ -138,13 +138,13 @@ {% block scripts %} - + - + diff --git a/website/templates/examples/houston/index.html b/website/templates/examples/houston/index.html index dd97c42f4..35b5caea3 100644 --- a/website/templates/examples/houston/index.html +++ b/website/templates/examples/houston/index.html @@ -41,7 +41,7 @@ font: 'Bevan-PotanoSans' } - + diff --git a/website/templates/examples/republican/index.html b/website/templates/examples/republican/index.html index 11d4cf73d..a28a115e2 100644 --- a/website/templates/examples/republican/index.html +++ b/website/templates/examples/republican/index.html @@ -41,7 +41,7 @@ font: 'PT' } - + diff --git a/website/templates/examples/shit-people-say/index.html b/website/templates/examples/shit-people-say/index.html index 214f09962..d483d530a 100644 --- a/website/templates/examples/shit-people-say/index.html +++ b/website/templates/examples/shit-people-say/index.html @@ -41,7 +41,7 @@ font: 'Pacifico-Arimo' } - + diff --git a/website/templates/examples/user-interface/index.html b/website/templates/examples/user-interface/index.html index efec3d1af..0883ec46b 100644 --- a/website/templates/examples/user-interface/index.html +++ b/website/templates/examples/user-interface/index.html @@ -41,7 +41,7 @@ font: 'SansitaOne-Kameron' } - + From ac54d03874d71297ec151d3accb892adc0225f72 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Mon, 20 Jul 2015 09:23:01 -0500 Subject: [PATCH 85/95] commit to https for cdn.knightlab.com --- config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index 514ca4621..a9df7cc76 100644 --- a/config.json +++ b/config.json @@ -182,7 +182,7 @@ "cdn": "dev" }, "deploy_context": { - "generator_embed_path": "//cdn.knightlab.com/libs/timeline/dev/embed/index.html" + "generator_embed_path": "https://cdn.knightlab.com/libs/timeline/dev/embed/index.html" } }, "prd": { @@ -191,7 +191,7 @@ "cdn": "latest" }, "deploy_context": { - "generator_embed_path": "//cdn.knightlab.com/libs/timeline/latest/embed/index.html" + "generator_embed_path": "https://cdn.knightlab.com/libs/timeline/latest/embed/index.html" } } } From 803d2d733c2cc308bd721b43d43f18f3c02bdcd6 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Mon, 20 Jul 2015 09:23:20 -0500 Subject: [PATCH 86/95] commit to https for cdn.knightlab.com --- README.markdown | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.markdown b/README.markdown index 12d55412f..434439626 100644 --- a/README.markdown +++ b/README.markdown @@ -65,7 +65,7 @@ Place the embed code where you want the timeline to show in the `` of your js: 'path_to_js/timeline-min.js' //OPTIONAL PATH TO JS } - + ``` ### Using a method (*advanced*) You could also initialize a new timeline using the `createStoryJS` method after `storyjs-embed.js` has been loaded @@ -86,7 +86,7 @@ Here's a simple example: - + + - + ``` -If you need to use the files on an HTTPS server, you can change the beginning of the url from `http://cdn.knightlab.com/libs/timeline/` to `https://s3.amazonaws.com/cdn.knightlab.com/libs/timeline/` +If you need to use the files on an HTTPS server, you can change the beginning of the url from `https://cdn.knightlab.com/libs/timeline/` to `https://s3.amazonaws.com/cdn.knightlab.com/libs/timeline/` If you need to serve copies of the files from your own server, use the entire contents of the ["/build/" directory](https://github.com/NUKnightLab/TimelineJS/tree/master/build) of our GitHub repository. If you use a local copy of `story-embed.js` it should automatically load the other Timeline resources from your server. From ae692a0e7ec362d8c2f0a3942c9410353ed68b09 Mon Sep 17 00:00:00 2001 From: Heather Billings Date: Mon, 20 Jul 2015 15:41:57 -0500 Subject: [PATCH 87/95] teaser for timeline3 in 'make' --- website/static/css/site.css | 15 ++++++++++----- website/templates/_make.html | 5 ++++- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/website/static/css/site.css b/website/static/css/site.css index bba53cda6..6cff9a86f 100644 --- a/website/static/css/site.css +++ b/website/static/css/site.css @@ -26,7 +26,6 @@ footer { display: block; margin: 30px 0 -10px; font-family: sans-serif; - color: #147693; } .new { font-style: italic; @@ -39,6 +38,7 @@ footer { #teaser:active, #teaser:focus { text-decoration: none; + color: #0f9bd1; } #teaser .arrow { border-radius: 20px; @@ -52,13 +52,18 @@ footer { #teaser .arrow:before{ content: "»"; display: inline-block; - } - #teaser .arrow:hover { - background-color: #147693; + #body-teaser { + color: #333; + background: #eee; + border-top: solid 1px #d0d0d0; + border-bottom: solid 1px #d0d0d0; + padding: 30px 60px; + margin: 20px 0; } + #body-teaser .new { color: #CA5529; } /* Timeline */ -#demo { +#demo { width: 100%; height: 600px; } diff --git a/website/templates/_make.html b/website/templates/_make.html index 7c760b700..657e9e00e 100644 --- a/website/templates/_make.html +++ b/website/templates/_make.html @@ -5,7 +5,10 @@

Make a Timeline

TimelineJS works on any site or blog. Make your own in four easy steps. (video tutorial)

-
+
+

New!There's a new version of TimelineJS that is now available for beta testing. TimelineJS 3 is a full rewrite designed to make this popular tool more flexible for authors and developers.

+ Try TimelineJS 3 now » +
From aa353f1f680892f834a6d140610c5f10e2b2d9dc Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 21 Jul 2015 12:55:27 -0500 Subject: [PATCH 88/95] protocols are nice --- website/templates/_make.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/templates/_make.html b/website/templates/_make.html index 910341375..bb411bea4 100644 --- a/website/templates/_make.html +++ b/website/templates/_make.html @@ -7,7 +7,7 @@

Make a Timeline

TimelineJS works on any site or blog. Make your own in four easy steps. (video tutorial)

New!There's a new version of TimelineJS that is now available for beta testing. TimelineJS 3 is a full rewrite designed to make this popular tool more flexible for authors and developers.

- Try TimelineJS 3 now » + Try TimelineJS 3 now »
From a0ff4d06c875dde3a7b73281edad10a6e32a54e1 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Mon, 27 Jul 2015 09:44:43 -0500 Subject: [PATCH 89/95] remove ref to change for https now that cdn.knightlab.com is served as https --- README.markdown | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.markdown b/README.markdown index 434439626..541ba8405 100644 --- a/README.markdown +++ b/README.markdown @@ -120,8 +120,6 @@ If for some reason you need more fine-grained control over your timeline, load t ``` -If you need to use the files on an HTTPS server, you can change the beginning of the url from `https://cdn.knightlab.com/libs/timeline/` to `https://s3.amazonaws.com/cdn.knightlab.com/libs/timeline/` - If you need to serve copies of the files from your own server, use the entire contents of the ["/build/" directory](https://github.com/NUKnightLab/TimelineJS/tree/master/build) of our GitHub repository. If you use a local copy of `story-embed.js` it should automatically load the other Timeline resources from your server. ## Config Options From 66c33af534b4ee4197dfdbc9524d1e73c37b37b8 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 28 Jul 2015 13:23:55 -0500 Subject: [PATCH 90/95] explicit favicon --- source/embed/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/embed/index.html b/source/embed/index.html index 0b6628b87..2e9bede28 100644 --- a/source/embed/index.html +++ b/source/embed/index.html @@ -20,6 +20,9 @@ + + + - - - - -
- - - - - - diff --git a/build/js/locale/af.js b/build/js/locale/af.js deleted file mode 100644 index 23c79f0ce..000000000 --- a/build/js/locale/af.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"af",api:{wikipedia:"af"},date:{month:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"],month_abbr:["Jan.","Feb.","Maart","April","Mei","Junei","Julie","Aug.","Sept.","Okt.","Nov.","Des."],day:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],day_abbr:["Son.","Maan.","Dins.","Woen.","Don.","Vry.","Sat."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd mmmm yyyy''",full_long:"d mmm',' yyyy 'om' HH:MM",full_long_small_date:"HH:MM'
d mmm yyyy''"},messages:{loading_timeline:"Die tydlyn laai... ",return_to_title:"Begin voor",expand_timeline:"Rek die tydlyn",contract_timeline:"Krimp die tydlyn",wikipedia:"Van Wikipedia, die gratis ensiklopedie",loading_content:"Die inhoud laai",loading:"Aan't laai",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/ar.js b/build/js/locale/ar.js deleted file mode 100644 index 6d5171f08..000000000 --- a/build/js/locale/ar.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"ar",right_to_left:true,api:{wikipedia:"ar"},date:{month:["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],month_abbr:["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],day:["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],day_abbr:["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:SS TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"جاري التحميل... ",return_to_title:"العودة",expand_timeline:"تكبير العرض",contract_timeline:"الاتفاقية",wikipedia:"من ويكيبيديا, الموسوعة الحرة",loading_content:"تحميل المحتوى",loading:"تحميل",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/be.js b/build/js/locale/be.js deleted file mode 100644 index b971b2df2..000000000 --- a/build/js/locale/be.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"be",api:{wikipedia:"be"},date:{month:["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"],month_abbr:["стд","лют","скв","крс","май","чрв","лпн","жнв","врс","кст","лст","снж"],day:["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"],day_abbr:["Нд.","Пн.","Аўт.","Ср.","Чц.","Пт.","Сб."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'd mmmm yyyy''",full_long:"d mmm yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
d mmm yyyy''"},messages:{loading_timeline:"Загрузка лініі часу... ",return_to_title:"Вярнуцца ў пачатак",expand_timeline:"Наблізіць лінію часу",contract_timeline:"Аддаліць лінію часу",wikipedia:"З Вікіпедыі, свабоднай энцыклапедыі",loading_content:"Загрузка зместу",loading:"Загрузка"}}} \ No newline at end of file diff --git a/build/js/locale/bg.js b/build/js/locale/bg.js deleted file mode 100644 index aeeb1b8c6..000000000 --- a/build/js/locale/bg.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"bg",api:{wikipedia:"bg"},date:{month:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],month_abbr:["Ян.","Фев.","Март","Апр.","Май","Юни","Юли","Авг.","Септ.","Окт.","Ноем.","Дек."],day:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],day_abbr:["Нед.","Пон.","Вт.","Ср.","Четв.","Пет.","Съб."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"h:MM:SS TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'd mmmm yyyy''",full_long:"d mmm yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
d mmm yyyy''"},messages:{loading_timeline:"Зареждане... ",return_to_title:"В началото",expand_timeline:"Разширяване",contract_timeline:"Свиване",wikipedia:"От Уикипедия, свободната енциклопедия",loading_content:"Съдържанието се зарежда",loading:"Зарежда се",swipe_nav:"Сменяйте с плъзгане настрани"}}} \ No newline at end of file diff --git a/build/js/locale/ca.js b/build/js/locale/ca.js deleted file mode 100644 index 30fd301b7..000000000 --- a/build/js/locale/ca.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"ca",api:{wikipedia:"ca"},date:{month:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],month_abbr:["Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Set","Oct","Nov","Des"],day:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"],day_abbr:["Dg.","Dl.","Dt.","Dc.","Dj.","Dv.","Ds."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"''d mmmm yyyy'' HH:MM",full_long:"dddd',' d mmm yyyy HH:MM",full_long_small_date:"HH:MM'
d mmm yyyy''"},messages:{loading_timeline:"Carregant cronologia...",return_to_title:"Tornar al títol",expand_timeline:"Ampliar la cronologia",contract_timeline:"Reduir la cronologia",wikipedia:"Des de Wikipedia, l'enciclopèdia lliure",loading_content:"Carregant contingut",loading:"Carregant",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/cz.js b/build/js/locale/cz.js deleted file mode 100644 index 89312a4bb..000000000 --- a/build/js/locale/cz.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"cz",api:{wikipedia:"cs"},date:{month:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"],month_abbr:["Led","Úno","Bře","Dub","Kvě","Čen","Čec","Srp","Zář","Říj","Lis","Pro"],day:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],day_abbr:["Ne","Po","Út","St","Čt","Pá","So"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d. mmm ",full:"d. mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd. mmmm yyyy''",full_long:"dddd d. mmm yyyy 'v' HH:MM",full_long_small_date:"HH:MM'
dddd d. mmm yyyy''"},messages:{loading_timeline:"Načítám časovou osu... ",return_to_title:"Zpět na začátek",expand_timeline:"Rozbalit časovou osu",contract_timeline:"Sbalit časovou osu",wikipedia:"Zdroj: otevřená encyklopedie Wikipedia",loading_content:"Nahrávám obsah",loading:"Nahrávám",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/da.js b/build/js/locale/da.js deleted file mode 100644 index 2ed16fe87..000000000 --- a/build/js/locale/da.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"da",api:{wikipedia:"da"},date:{month:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"],month_abbr:["jan.","feb.","mar.","apr.","maj.","jun.","jul.","aug.","sep.","okt.","nov.","dec."],day:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],day_abbr:["sø.","ma.","ti.","on.","to.","fr.","lø."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d. mmm",full:"d. mmmm',' yyyy",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd. mmmm',' yyyy''",full_long:"dddd',' d. mmm',' yyyy 'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d. mmm yyyy''"},messages:{loading_timeline:"Henter tidslinie...",return_to_title:"Tilbage til titel",expand_timeline:"Udvid tidslinien",contract_timeline:"Træk tidslinien sammen",wikipedia:"Fra Wikipedia",loading_content:"Henter indhold",loading:"Henter",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/de.js b/build/js/locale/de.js deleted file mode 100644 index 4f044b94f..000000000 --- a/build/js/locale/de.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"de",api:{wikipedia:"de"},date:{month:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],month_abbr:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],day:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],day_abbr:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d. mmm",full:"d. mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd. mmmm yyyy''",full_long:"dddd',' d. mmm yyyy 'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d. mmm yyyy''"},messages:{loading_timeline:"Chronologie wird geladen...",return_to_title:"Zurück zum Anfang",expand_timeline:"Chronologie vergrößern",contract_timeline:"Chronologie verkleinern",wikipedia:"aus Wikipedia, der freien Enzyklopädie",loading_content:"Inhalte werden geladen...",loading:"Lädt...",swipe_nav:"Wischen zum navigieren"}}} \ No newline at end of file diff --git a/build/js/locale/el.js b/build/js/locale/el.js deleted file mode 100644 index 2d0a817d9..000000000 --- a/build/js/locale/el.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"en",api:{wikipedia:"en"},date:{month:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],month_abbr:["Ιαν.","Φεβ.","Μαρ.","Απρ.","Μαη","Ιουν.","Ιουλ.","Αύγ.","Σεπτ.","Οκτ.","Νοεμ.","Δεκ."],day:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],day_abbr:["Κυρ.","Δευ.","Τρίτη.","Τετ.","Πεμπ.","Παρ.","Σαβ."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:SS TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Φόρτωση Timeline... ",return_to_title:"Επιστροφή στον Τίτλο",expand_timeline:"Μεγέθυνση",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Φόρτωση Περιεχομένου",loading:"Γίνεται Φόρτωση",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/en-24hr.js b/build/js/locale/en-24hr.js deleted file mode 100644 index ad24cac44..000000000 --- a/build/js/locale/en-24hr.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"en",api:{wikipedia:"en"},date:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM TT",time_no_seconds_small_date:"HH:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' HH:MM TT",full_long_small_date:"HH:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/en-week.js b/build/js/locale/en-week.js deleted file mode 100644 index 387e06d17..000000000 --- a/build/js/locale/en-week.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"en",api:{wikipedia:"en"},date:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"'Week' W",full:"'Week' W",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM TT",time_no_seconds_small_date:"HH:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' HH:MM TT",full_long_small_date:"HH:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/en.js b/build/js/locale/en.js deleted file mode 100644 index 16e0babee..000000000 --- a/build/js/locale/en.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"en",api:{wikipedia:"en"},date:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/eo.js b/build/js/locale/eo.js deleted file mode 100644 index d81e76554..000000000 --- a/build/js/locale/eo.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"eo",api:{wikipedia:"eo"},date:{month:["januaro","februaro","marto","aprilo","majo","junio","julio","aŭgusto","septembro","oktobro","novembro","decembro"],month_abbr:["jan.","feb.","mar.","apr.","maj.","jun.","jul.","aŭg.","sep.","okt.","nov.","dec."],day:["dimanĉo","lundo","mardo","merkredo","ĵaŭdo","vendredo","sabato"],day_abbr:["dim.","lun.","mar.","mer.","ĵaŭ.","ven.","sab."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd mmmm yyyy''",full_long:"dddd',' d mmm yyyy 'ĉe' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d mmm yyyy''"},messages:{loading_timeline:"Ŝarĝante Kronologio... ",return_to_title:"Reveno al Titolo",expand_timeline:"Pliampleksigu Kronologio",contract_timeline:"Malpliampleksigu Kronologio",wikipedia:"El Vikipedio, la libera enciklopedio",loading_content:"Ŝarĝante enhavo",loading:"Ŝarĝante",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/es.js b/build/js/locale/es.js deleted file mode 100644 index 5624a3a2f..000000000 --- a/build/js/locale/es.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"es",api:{wikipedia:"es"},date:{month:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],month_abbr:["Ene.","Feb.","Mar.","Abr.","May.","Jun.","Jul.","Ago.","Sep.","Oct.","Nov.","Dic."],day:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],day_abbr:["Dom.","Lun.","Mar.","Mié.","Jue.","Vie.","Sáb."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"''d mmmm yyyy'' HH:MM",full_long:"dddd',' d mmm yyyy HH:MM",full_long_small_date:"HH:MM'
d mmm yyyy''"},messages:{loading_timeline:"La cronología esta cargando",return_to_title:"Volver al título",expand_timeline:"Expandir la cronología",contract_timeline:"Reducir la cronología",wikipedia:"Desde Wikipedia, la enciclopedia libre",loading_content:"cargando",loading:"cargando",swipe_nav:"Desliza para ver"}}} \ No newline at end of file diff --git a/build/js/locale/et.js b/build/js/locale/et.js deleted file mode 100644 index c741b48df..000000000 --- a/build/js/locale/et.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"et",api:{wikipedia:"et"},date:{month:["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"],month_abbr:["jaan.","veebr.","märts","apr.","mai","juuni","juuli","aug.","sept.","okt.","nov.","dets."],day:["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"],day_abbr:["P","E","T","K","N","R","L"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Laadib ajajoont… ",return_to_title:"Tagasi algusse",expand_timeline:"Vaata lähemalt",contract_timeline:"Vaata kaugemalt",wikipedia:"Wikipedia, vaba entsüklopeedia",loading_content:"Laadib sisu",loading:"Laadib",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/eu.js b/build/js/locale/eu.js deleted file mode 100644 index bd7ed35dc..000000000 --- a/build/js/locale/eu.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"eu",api:{wikipedia:"eu"},date:{month:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],month_abbr:["Urt.","Ots.","Mar.","Api.","Mai.","Eka.","Uzt.","Abu.","Ira.","Urr.","Aza.","Abe."],day:["Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"],day_abbr:["Iga.","Asl.","Asr.","Asz.","Osg.","Osr.","Lar."]},dateformats:{year:"yyyy",month_short:"mmm",month:"yyyy'(e)ko' mmmm",full_short:"mmm'-'d",full:"yyyy'(e)ko' mmmm'k' d",time_short:"h:MM:SS TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'yyyy'-'mmm'-'d'",full_long:"yyyy'(e)ko' mmmm'ren' d'(e)an,' hh:MM TT'(r)etan'",full_long_small_date:"hh:MM TT'
'yyyy'-'mmm'-'d'"},messages:{loading_timeline:"Kronologia kargatzen...",return_to_title:"Titulura itzuli",expand_timeline:"Handiago ikusi",contract_timeline:"Txikiago ikusi",wikipedia:"Wikipedia entziklopedia libretik",loading_content:"Edukia kargatzen",loading:"Kargatzen",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/fa.js b/build/js/locale/fa.js deleted file mode 100644 index a8a496e2c..000000000 --- a/build/js/locale/fa.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"fa",right_to_left:!0,api:{wikipedia:"fa"},date:{month:["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند"],month_abbr:["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند"],day:["یکشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],day_abbr:["یکشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_short:"h:MM TT",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"بارگذاری، شکیبا باشید...",return_to_title:"ابتدای زمانبندی",expand_timeline:"بزرگنمایی",contract_timeline:"کوچکنمایی",wikipedia:"از ویکی پدیا، دانشنامه آزاد",loading_content:"بارگذاری",loading:"بارگذاری",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/fi.js b/build/js/locale/fi.js deleted file mode 100644 index 8c1238457..000000000 --- a/build/js/locale/fi.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"fi",api:{wikipedia:"fi"},date:{month:["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kesäkuuta","heinäkuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"],month_abbr:["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],day:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauauntai"],day_abbr:["su","ma","ti","ke","to","pe","la"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d. mmm",full:"d. mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd. mmmm yyyy''",full_long:"mmm d yyyy 'klo' HH:MM",full_long_small_date:"HH:MM'
d. mmm yyyy''"},messages:{loading_timeline:"Ladataan aikajanaa… ",return_to_title:"Takaisin etusivulle",expand_timeline:"Laajenna aikajanaa",contract_timeline:"Tiivistä aikajanaa",wikipedia:"Wikipediasta",loading_content:"Ladataan sisältöä",loading:"Ladataan",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/fo.js b/build/js/locale/fo.js deleted file mode 100644 index dfec90610..000000000 --- a/build/js/locale/fo.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"fo",api:{wikipedia:"fo"},date:{month:["januar","februar","mars","aprÌl","mai","juni","juli","august","september","oktober","november","desember"],month_abbr:["jan.","febr.","mars","aprÌl","mai","juni","juli","aug.","sept.","okt.","nov.","des."],day:["sunnudagur","m·nadagur","t˝sdagur","mikudagur","hÛsdagur","frÌggjadagur","leygardagur"],day_abbr:["sun.","m·n.","t˝s.","mik.","hÛs.","frÌ.","ley."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d'.' mmm",full:"d'.' mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd'.' mmmm yyyy''",full_long:"d'.' mmmm yyyy 'klokkan' HH:MM",full_long_small_date:"HH:MM'
'd'.' mmm yyyy''"},messages:{loading_timeline:"Lesur inn tíðarrás...",return_to_title:"Víðka tíðarrás...",expand_timeline:"Minka tíðarrás...",contract_timeline:"Minka tíðarrás",wikipedia:"Fr· Wikipedia",loading_content:"Lesur inn tilfar",loading:"Lesur inn",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/fr.js b/build/js/locale/fr.js deleted file mode 100644 index f6634f858..000000000 --- a/build/js/locale/fr.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"fr",api:{wikipedia:"fr"},date:{month:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],month_abbr:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","dec."],day:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],day_abbr:["Dim.","Lu.","Ma.","Me.","Jeu.","Vend.","Sam."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd mmmm yyyy''",full_long:"dddd',' d mmm yyyy 'à' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d mmm yyyy''"},messages:{loading_timeline:"Chargement de la frise en cours... ",return_to_title:"Retour à la page d'accueil",expand_timeline:"Elargir la frise",contract_timeline:"Réduire la frise",wikipedia:"Extrait de Wikipedia, l'encyclopédie libre",loading_content:"Chargement",loading:"Chargement",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/fy.js b/build/js/locale/fy.js deleted file mode 100644 index 114b954cf..000000000 --- a/build/js/locale/fy.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"fy",api:{wikipedia:"fy"},date:{month:["Jannewaris","Febrewaris","Maart","April","Maaie","Juny","July","Augustus","Septimber","Oktober","Novimber","Desimber"],month_abbr:["Jan.","Feb.","Mar","Apr","Maaie","July","July","Aug.","Sept.","Okt.","Nov.","Des."],day:["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"],day_abbr:["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd mmmm yyyy''",full_long:"dddd',' d mmm yyyy 'om' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d mmm yyyy''"},messages:{loading_timeline:"Tiidline ynlade ... ",return_to_title:"Wer werom nei it begjin",expand_timeline:"Tiidline útzoomen",contract_timeline:"Tiidline ynzoomen",wikipedia:"Fan Wikipedia, de frije ensyklopedy",loading_content:"Ynhâld ynlade",loading:"Ynlade"}}} \ No newline at end of file diff --git a/build/js/locale/ga.js b/build/js/locale/ga.js deleted file mode 100644 index 4120a10da..000000000 --- a/build/js/locale/ga.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"ga",api:{wikipedia:"ga"},date:{month:["Eanair","Feabhra","Márta","Aibhreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Mí Na Nollag"],month_abbr:["Ean.","Fea.","Már.","Aibh.","Beal.","Meith.","Iúil","Lún.","MF.","DF.","Samh.","Noll."],day:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],day_abbr:["DéDom.","DéL.","DéM.","DéC.","DéarD.","DéhA.","DéSat."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"''d mmmm yyyy'' HH:MM",full_long:"dddd',' d mmm yyyy HH:MM",full_long_small_date:"HH:MM'
d mmm yyyy''"},messages:{loading_timeline:"Tá an Amlíne ag Lódáil... ",return_to_title:"Ar Ais go dtí an tideal",expand_timeline:"Leathnaigh An Amlíne",contract_timeline:"Coimrigh An Amlíne",wikipedia:"As Wikipedia, an ciclipéid saor",loading_content:"Ag Lódáil an",loading:"Ag Lódáil an Inneachar",swipe_nav:"Svaidhpeáil Chun Nascleanúint"}}} \ No newline at end of file diff --git a/build/js/locale/gl.js b/build/js/locale/gl.js deleted file mode 100644 index 48f131aba..000000000 --- a/build/js/locale/gl.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"gl",api:{wikipedia:"gl"},date:{month:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],month_abbr:["Xan.","Feb.","Mar.","Abr.","Mai.","Xuñ.","Xul.","Ago.","Set.","Out.","Nov.","Dec."],day:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],day_abbr:["Dom.","Lun.","Mar.","Mér.","Xov.","Ven.","Sáb."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd mmmm yyyy''",full_long:"dddd',' d mmm yyyy 'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d mmm yyyy''"},messages:{loading_timeline:"Cronoloxía esta cargando",return_to_title:"Volver ao título",expand_timeline:"Alongar a cronoloxía",contract_timeline:"Acurtar a cronoloxía",wikipedia:"Dende Wikipedia, a enciclopedia libre",loading_content:"cargando",loading:"cargando",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/he.js b/build/js/locale/he.js deleted file mode 100644 index 8ee2aa05d..000000000 --- a/build/js/locale/he.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"he",right_to_left:true,api:{wikipedia:"he"},date:{month:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],month_abbr:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],day:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],day_abbr:["יום א'","יום ב'","יום ג'","יום ד'","יום ה'","יום ו'","שבת"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm,' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"d' mmm,' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"טוען את ציר הזמן... ",return_to_title:"חזור לכותרת",expand_timeline:"הרחב את ציר הזמן",contract_timeline:"צמצם את ציר הזמן",wikipedia:"מויקיפדיה, האינציקלופדיה החופשית",loading_content:"התוכן בטעינה...",loading:"טוען...",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js deleted file mode 100644 index c9d7bbd30..000000000 --- a/build/js/locale/hi.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"hi",api:{wikipedia:"hi"},date:{month:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],month_abbr:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],day:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],day_abbr:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"टाइमलाइन लोड हो रहा है",return_to_title:"शीर्षक पर लौटें",expand_timeline:"टाइमलाइन का विस्तार करें",contract_timeline:"टाइमलाइन का अनुबंध करें",wikipedia:"विकिपीडिया, मुक्त विश्वकोश से",loading_content:"लोड हो रहा है सामग्री",loading:"लोड हो रहा है",swipe_nav:"Swipe to Navigate",read_more:"और पढ़ें"}}} \ No newline at end of file diff --git a/build/js/locale/hr.js b/build/js/locale/hr.js deleted file mode 100644 index f33fc9c84..000000000 --- a/build/js/locale/hr.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"hr",api:{wikipedia:"hr"},date:{month:["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca"],month_abbr:["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII"],day:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],day_abbr:["ned","pon","uto","sri","čet","pet","sub"]},dateformats:{year:"yyyy.",month_short:"mmm",month:"mmmm yyyy.",full_short:"dd. mmm",full:"dd. mmmm yyyy.",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'dd. mmmm yyyy.''",full_long:"dd. mmmm yyyy. 'u' HH:MM",full_long_small_date:"HH:MM'
dd. mmm yyyy.''"},messages:{loading_timeline:"Učitavanje... ",return_to_title:"Početak",expand_timeline:"Povećaj",contract_timeline:"Smanji",wikipedia:"Iz Vikipedije, slobodne enciklopedije",loading_content:"Sadržaj se učitava",loading:"Učitava se",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/hu.js b/build/js/locale/hu.js deleted file mode 100644 index 04361289e..000000000 --- a/build/js/locale/hu.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"hu",api:{wikipedia:"hu"},date:{month:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],month_abbr:["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."],day:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],day_abbr:["vas.","hétfő","kedd","szer.","csüt.","pén.","szom."]},dateformats:{year:"yyyy",month_short:"mmm",month:"yyyy. mmmm",full_short:"mmm d.",full:"yyyy. mmmm d.",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM '
'yyyy. mmmm d.''",full_long:"yyyy. mmm d.',' HH:MM",full_long_small_date:"HH:MM '
yyyy. mmm d.''"},messages:{loading_timeline:"Az idővonal betöltése... ",return_to_title:"Vissza a címhez",expand_timeline:"Nagyítás",contract_timeline:"Kicsinyítés",wikipedia:"A Wikipédiából, a szabad enciklopédiából",loading_content:"Tartalom betöltése",loading:"Betöltés",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/hy.js b/build/js/locale/hy.js deleted file mode 100644 index 9c7c0425b..000000000 --- a/build/js/locale/hy.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"hy",api:{wikipedia:"hy"},date:{month:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],month_abbr:["Հնվ.","Փետ.","Մար","Ապր","Մայ","Հուն","Հուլ","Օգս.","Սեպ.","Հոկ.","Նոյ.","Դեկ."],day:["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","Ուրբաթ","Շաբաթ"],day_abbr:["Կի.","Եկ.","Եք.","Չո.","Հի.","Ու.","Շա."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm',' yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"H:MM",time_no_seconds_small_date:"H:MM'
'd mmmm',' yyyy''",full_long:"d mmm',' yyyy 'at' H:MM",full_long_small_date:"H:MM '
d mmm',' yyyy''"},messages:{loading_timeline:"Ժամանակագրությունը բեռնվում է... ",return_to_title:"Վերադառնալ վերնագրին",expand_timeline:"Լայնացնել ժամանակագրությունը",contract_timeline:"Նեղացնել ժամանակագրությունը",wikipedia:"Ըստ Վիքիպեդիա ազատ հանրագիտարանի",loading_content:"Բովանդակությունը բեռնվում է",loading:"Բեռնում",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/id.js b/build/js/locale/id.js deleted file mode 100644 index f567a9c45..000000000 --- a/build/js/locale/id.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"id",api:{wikipedia:"id"},date:{month:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],month_abbr:["Jan.","Feb.","Maret","April","Mei","Juni","July","Agus.","Sept.","Okt.","Nov.","Des."],day:["Ahad","Senin","Selasa","Rabu","Kamis","Jum'at","Sabtu"],day_abbr:["Ahad","Sen.","Sel.","Rabu","Kamis","Jum.","Sab."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd mmmm yyyy''",full_long:"dddd',' d mmm yyyy 'pukul' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d mmm yyyy''"},messages:{loading_timeline:"Memuat Timeline... ",return_to_title:"Kembali ke Judul",expand_timeline:"Kembangkan Timeline",contract_timeline:"Ciutkan Timeline",wikipedia:"dari Wikipedia, ensiklopedia bebas",loading_content:"Memuat Isi",loading:"Memuat",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/is.js b/build/js/locale/is.js deleted file mode 100644 index 692fb5dd2..000000000 --- a/build/js/locale/is.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"is",api:{wikipedia:"is"},date:{month:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],month_abbr:["jan.","feb.","mars","apríl","maí","júní","júlí","ágúst","sept.","okt.","nóv.","des."],day:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],day_abbr:["sun.","mán.","þri.","mið.","fim.","fös.","lau."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d'.' mmm",full:"d'.' mmmm yyyy",time_short:"h:MM:SS TT",time_no_seconds_short:"hh:MM TT",time_no_seconds_small_date:"hh:MM TT'
'd'.' mmmm yyyy''",full_long:"dddd',' d'.' mmm yyyy 'kl.' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' d'.' mmm yyyy''"},messages:{loading_timeline:"Raða upp tímalínu... ",return_to_title:"Til baka á forsíðu",expand_timeline:"Stækka tímalínu",contract_timeline:"Minnka tímalínu",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Raða",loading:"Raða",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/it.js b/build/js/locale/it.js deleted file mode 100644 index e4f32b715..000000000 --- a/build/js/locale/it.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"it",api:{wikipedia:"it"},date:{month:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],month_abbr:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],day:["Domenica","Lunedí","Martedí","Mercoledí","Giovedí","Venerdí","Sabato"],day_abbr:["Dom.","Lun.","Mar.","Mer.","Gio.","Ven.","Sab."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd mmmm yyyy''",full_long:"dddd',' d mmm yyyy 'alle' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d mmm yyyy''"},messages:{loading_timeline:"Caricamento Timeline... ",return_to_title:"Ritorna all'inizio",expand_timeline:"Espandi la Timeline",contract_timeline:"Contrai la Timeline",wikipedia:"Wikipedia, L’enciclopedia libera",loading_content:"Caricamento contenuti",loading:"Caricamento",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/iw.js b/build/js/locale/iw.js deleted file mode 100644 index 487f953dd..000000000 --- a/build/js/locale/iw.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -trace("Language code 'iw' for Hebrew is deprecated. Use 'he' instead.");if(typeof VMM!="undefined"){VMM.Language={lang:"iw",right_to_left:true,api:{wikipedia:"he"},date:{month:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],month_abbr:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],day:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],day_abbr:["יום א'","יום ב'","יום ג'","יום ד'","יום ה'","יום ו'","שבת"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm,' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"d' mmm,' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"טוען את ציר הזמן... ",return_to_title:"חזור לכותרת",expand_timeline:"הרחב את ציר הזמן",contract_timeline:"צמצם את ציר הזמן",wikipedia:"מויקיפדיה, האינציקלופדיה החופשית",loading_content:"התוכן בטעינה...",loading:"טוען...",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/ja.js b/build/js/locale/ja.js deleted file mode 100644 index ad159ed28..000000000 --- a/build/js/locale/ja.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"ja",api:{wikipedia:"ja"},date:{month:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],month_abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],day:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],day_abbr:["日","月","火","水","木","金","土"]},dateformats:{year:"yyyy年",month_short:"mmm",month:"yyyy年 m月d日 (ddd)",full_short:"yyyy年m月d日",full:"yyyy年 m月d日 (ddd)",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy年m月d日''",full_long:"yyyy年m月d日 H時M分s秒",full_long_small_date:"HH:MM:ss'
'yyyy年m月d日''"},messages:{loading_timeline:"タイムラインをロードしています…",return_to_title:"タイトルへ戻ります",expand_timeline:"タイムラインを展開します",contract_timeline:"タイムラインを縮めます",wikipedia:"出典:フリー百科事典『ウィキペディア(Wikipedia)』",loading_content:"コンテンツをロードしています",loading:"ローディング",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/ka.js b/build/js/locale/ka.js deleted file mode 100644 index 5485aea02..000000000 --- a/build/js/locale/ka.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"ka",api:{wikipedia:"ka"},date:{month:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],month_abbr:["იან.","თებ.","მარტი","აპრ","მაი.","ივნ.","ივლ.","აგვ.","სექ.","ოქტ.","ნოე.","დეკ."],day:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],day_abbr:["კვ.","ორ.","სამ.","ოთხ.","ხუთ.","პარ.","შაბ."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"იტვირთება თაიმლაინი... ",return_to_title:"დაბრუნდი თავში",expand_timeline:"გაშალე თაიმლაინი",contract_timeline:"Contract Timeline",wikipedia:"თავისუფალი ენციკლოპედია Wikipedia-დან",loading_content:"შინაარსის ჩამოტვირთვა",loading:"ჩამოტვირთვა",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/ko.js b/build/js/locale/ko.js deleted file mode 100644 index 52f6f5f01..000000000 --- a/build/js/locale/ko.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"ko",api:{wikipedia:"ko"},date:{month:["1","2","3","4","5","6","7","8","9","10","11","12"],month_abbr:["01","02","03","04","05","06","07","08","09","10","11","12"],day:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],day_abbr:["일","월","화","수","목","금","토"]},dateformats:{year:"yyyy",month_short:"mm",month:"yyyy년 m월",full_short:"mm-dd",full:"yyyy년 m월 d일 ",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy mmm d''",full_long:"dddd',' d mmm yyyy 'um' HH:MM",full_long_small_date:"HH:MM'
'dddd','yyyy mmm d''"},messages:{loading_timeline:"타임라인을 불러오고 있습니다.... ",return_to_title:"첫화면으로",expand_timeline:"타임라인 확대",contract_timeline:"타임라인 축소",wikipedia:"출처: 위키피디아, 우리 모두의 백과사전",loading_content:"내용을 불러오고 있습니다.",loading:"불러오는중",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/lb.js b/build/js/locale/lb.js deleted file mode 100644 index 5114b55e4..000000000 --- a/build/js/locale/lb.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"lb",api:{wikipedia:"lb"},date:{month:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"],month_abbr:["Jan.","Feb.","Mäe.","Abr.","Mee","Jun.","Jul","Aug.","Sept.","Okt.","Nov.","Dez."],day:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschden","Freiden","Samschden"],day_abbr:["Son.","Méi.","Dë.","Më.","Do.","Fr.","Sa."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"d'.' mmmm yyyy",time_short:"hh:MM:ss",time_no_seconds_short:"hh:MM",time_no_seconds_small_date:"h:MM TT'
'd'.' mmmm yyyy''",full_long:"d'.' mmm yyyy 'um' hh:MM TT",full_long_small_date:"hh:MM'
d'.' mmm yyyy''"},messages:{loading_timeline:"Timeline gëtt gelueden... ",return_to_title:"Zeréck zum Titel",expand_timeline:"Timeline vergréisseren",contract_timeline:"Timeline verklengeren",wikipedia:"Vu Wikipedia, der fräier Enzyklopedie",loading_content:"Inhalt lued",loading:"Lued"}}} \ No newline at end of file diff --git a/build/js/locale/lt.js b/build/js/locale/lt.js deleted file mode 100644 index abcb9838d..000000000 --- a/build/js/locale/lt.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"lt",api:{wikipedia:"lt"},date:{month:["Sausio","Vasario","Kovo","Balandžio","Gegužės","Birželio","Liepos","Rugpjūčio","Rugsėjo","Spalio","Lapkričio","Gruodžio"],month_abbr:["Saus.","Vas.","Kov.","Bal.","Geg.","Birž.","Liep.","Rugpj.","Rug.","Spal.","Lapkr.","Gruod."],day:["Sekmadienis","Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis"],day_abbr:["Sek.","Pirm.","Antr.","Treč.","Ketv.","Penkt.","Šešt."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Kraunama laiko juosta... ",return_to_title:"Grįžti į titulinį",expand_timeline:"Išplėsti laiko juostą",contract_timeline:"Sutraukti laiko juostą",wikipedia:"Iš Vikipedijos, laisvosios enciklopedijos",loading_content:"Kraunamas turinys... ",loading:"Kraunama"}}} \ No newline at end of file diff --git a/build/js/locale/lv.js b/build/js/locale/lv.js deleted file mode 100644 index c4802c2e3..000000000 --- a/build/js/locale/lv.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"lv",api:{wikipedia:"lv"},date:{month:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],month_abbr:["Jan.","Feb.","Mar.","Apr.","Mai.","Jūn.","Jūl.","Aug.","Sep.","Okt.","Nov.","Dec."],day:["Svētdiena","Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"d. mmmm',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"HH:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Ielādējas grafiks... ",return_to_title:"Atgriezties uz sākumu",expand_timeline:"Izvērst grafiku",contract_timeline:"Sašaurināt grafiku",wikipedia:"No Wikipedia, brīvās enciklopēdijas",loading_content:"Ielādējas saturs",loading:"Ielādējas",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/ms.js b/build/js/locale/ms.js deleted file mode 100644 index 974fa99ce..000000000 --- a/build/js/locale/ms.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"ms",api:{wikipedia:"ms"},date:{month:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],month_abbr:["Jan.","Feb.","Mac","Apr","Mei","Jun","Jul","Ogos.","Sept.","Okt.","Nov.","Dis."],day:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],day_abbr:["Ahd.","Isn.","Sel.","Rab.","Kha.","Jum.","Sab."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'd mmmm yyyy''",full_long:"d mmm yyyy 'jam' h:MM TT",full_long_small_date:"h:MM TT'
d mmm yyyy''"},messages:{loading_timeline:"Memuat Garis Masa... ",return_to_title:"Kembali ke Tajuk",expand_timeline:"Besarkan Garis Masa",contract_timeline:"Kecilkan Garis Masa",wikipedia:"Daripada Wikipedia, ensiklopedia bebas.",loading_content:"Memuat Kandungan",loading:"Memuat",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/ne.js b/build/js/locale/ne.js deleted file mode 100644 index e45723885..000000000 --- a/build/js/locale/ne.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"ne",api:{wikipedia:"ne"},date:{month:["जनवरी","फेब्रुवरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्ट","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर"],month_abbr:["जनवरी","फेब्रुवरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्ट","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर"],day:["आइतबार","सोमबार","मंगलबार","बुधबार","बिहिबार","शुक्रबार","शनिबार"],day_abbr:["आइतबार","सोमबार","मंगलबार","बुधबार","बिहिबार","शुक्रबार","शनिबार"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"टाइमलाइन लोड हुदैछ... ",return_to_title:"शीर्षकमा फर्कनुहोस्",expand_timeline:"टाइमलाइन लामो बनाउनुहोस्",contract_timeline:"टाइमलाइन छोटो बनाउनुहोस्",wikipedia:"विकिपिडियाबाट",loading_content:"सामग्री लोड हुदैछ",loading:"लोड हुदैछ"}}} \ No newline at end of file diff --git a/build/js/locale/nl.js b/build/js/locale/nl.js deleted file mode 100644 index a8895226f..000000000 --- a/build/js/locale/nl.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"nl",api:{wikipedia:"nl"},date:{month:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],month_abbr:["jan","febr","maa","apr","mei","juni","juli","aug","sept","okt","nov","dec"],day:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],day_abbr:["zo","ma","di","wo","do","vr","za"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd mmmm yyyy''",full_long:"dddd',' d mmm yyyy 'om' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d mmm yyyy''"},messages:{loading_timeline:"Tijdlijn laden ... ",return_to_title:"Terug naar het begin",expand_timeline:"Tijdlijn uitzoomen",contract_timeline:"Tijdlijn inzoomen",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Inhoud laden",loading:"Laden",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/no.js b/build/js/locale/no.js deleted file mode 100644 index 3ab7e0559..000000000 --- a/build/js/locale/no.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"no",api:{wikipedia:"no"},date:{month:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],month_abbr:["Jan.","Feb.","Mars","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Des."],day:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],day_abbr:["Søn.","Man.","Tir.","Ons.","Tor.","Fre.","Lør."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d. mmm",full:"d. mmmm',' yyyy",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd. mmmm',' yyyy''",full_long:"dddd',' d. mmm',' yyyy 'kl.' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d. mmm',' yyyy''"},messages:{loading_timeline:"Laster tidslinje... ",return_to_title:"Tilbake til tittel",expand_timeline:"Utvid tidslinje",contract_timeline:"Krymp tidslinje",wikipedia:"Fra Wikipedia, den frie encyklopedi",loading_content:"Laster innhold",loading:"Laster",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/pl.js b/build/js/locale/pl.js deleted file mode 100644 index c2eecac55..000000000 --- a/build/js/locale/pl.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"pl",api:{wikipedia:"pl"},date:{month:["Stycznia","Lutego","Marca","Kwietnia","Maja","Czerwca","Lipca","Sierpnia","Września","Października","Listopada","Grudnia"],month_abbr:["Sty.","Lut.","Mar.","Kwi.","Maj.","Cze.","Lip.","Sie.","Wrz.","Paź.","Lis.","Gru."],day:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],day_abbr:["Nie.","Pon.","Wto.","Śro.","Czw.","Pią.","Sob."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd mmmm yyyy''",full_long:"dddd',' d mmm yyyy 'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' d mmm yyyy''"},messages:{loading_timeline:"Ładowanie osi czasu... ",return_to_title:"Wróć do tytułu",expand_timeline:"Powiększ oś czasu",contract_timeline:"Pomniejsz oś czasu",wikipedia:"Z Wikipedii, wolnej encyklopedii",loading_content:"Ładowanie zawartości",loading:"Ładowanie",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/pt-br.js b/build/js/locale/pt-br.js deleted file mode 100644 index ec16535b3..000000000 --- a/build/js/locale/pt-br.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"pt-br",api:{wikipedia:"pt"},date:{month:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],month_abbr:["Jan.","Fev.","Mar.","Abr.","Mai.","Jun.","Jul.","Ago.","Set.","Out.","Nov.","Dez."],day:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"],day_abbr:["Dom.","Seg.","Ter.","Qua.","Qui.","Sex.","Sáb."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm 'de' yyyy",full_short:"d 'de' mmm",full:"d 'de' mmmm',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"hh:MM TT",time_no_seconds_small_date:"hh:MM TT'
'd 'de' mmmm',' yyyy''",full_long:"dddd',' d 'de' mmm',' yyyy 'às' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' d 'de' mmm',' yyyy''"},messages:{loading_timeline:"Carregando Timeline... ",return_to_title:"Voltar para o título",expand_timeline:"Expandir Timeline",contract_timeline:"Contrair Timeline",wikipedia:"Wikipédia, A enciclopédia livre",loading_content:"Carregando Conteúdo",loading:"Carregando",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/pt.js b/build/js/locale/pt.js deleted file mode 100644 index db978d48e..000000000 --- a/build/js/locale/pt.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"pt",api:{wikipedia:"pt"},date:{month:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],month_abbr:["Jan","Fev","Mar","Abr","Maio","Jun","Jul","Ago","Set","Out","Nov","Dez"],day:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sabado"],day_abbr:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"A carregar a timeline... ",return_to_title:"Voltar ao Título",expand_timeline:"Expandir Timeline",contract_timeline:"Colapsar Timeline",wikipedia:"Wikipedia, A enciclopedia Livre.",loading_content:"A carregar o conteúdo",loading:"A carregar",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/rm.js b/build/js/locale/rm.js deleted file mode 100644 index 7e2519caa..000000000 --- a/build/js/locale/rm.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"rm",api:{wikipedia:"rm"},date:{month:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],month_abbr:["Schan.","Favr.","Mars","Avr.","Matg","Zercl.","Fan.","Avust","Sett.","Oct.","Nov.","Dec."],day:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"],day_abbr:["Du","Gli","Ma","Me","Gie","Ve","So"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d 'da' mmm",full:"d 'da' mmmm yyyy",time_short:"HH:M:s",time_no_seconds_short:"HH:M",time_no_seconds_small_date:"HH:M'
'd 'da' mmmm yyyy''",full_long:"d 'da' mmm yyyy', las' HH:M",full_long_small_date:"HH:M'
d 'da' mmm yyyy''"},messages:{loading_timeline:"Chargiar la cronologia... ",return_to_title:"Turnar al titel",expand_timeline:"Expander la cronologia",contract_timeline:"Contract Timeline",wikipedia:"Da Vichipedia, l'enciclopedia libra",loading_content:"Chargiar il cuntegn",loading:"Chargiar"}}} \ No newline at end of file diff --git a/build/js/locale/ro.js b/build/js/locale/ro.js deleted file mode 100644 index c6a1ce6de..000000000 --- a/build/js/locale/ro.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"ro",api:{wikipedia:"ro"},date:{month:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],month_abbr:["Ian.","Feb.","Mar.","Apr.","Mai","Iun.","Iul.","Aug.","Sep.","Oct.","Noi.","Dec."],day:["Duminică","Luni","Marți","Miercuri","Joi","Vineri","Sâmbătă"],day_abbr:["Dum.","Luni","Mar.","Mie.","Joi","Vin.","Sâm."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'd mmmm',' yyyy''",full_long:"d mmm',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
d mmm',' yyyy''"},messages:{loading_timeline:"Se încarcă cronologia... ",return_to_title:"Înapoi la titlu",expand_timeline:"Extinde cronologia",contract_timeline:"Restrânge cronologia",wikipedia:"De pe Wikipedia, enciclopedia gratuită",loading_content:"Se încarcă conținutul",loading:"Se încarcă"}}} \ No newline at end of file diff --git a/build/js/locale/ru.js b/build/js/locale/ru.js deleted file mode 100644 index 2e66a6c12..000000000 --- a/build/js/locale/ru.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -typeof VMM!="undefined"&&(VMM.Language={lang:"ru",api:{wikipedia:"ru"},date:{month:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],month_abbr:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],day:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],day_abbr:["вск.","пн.","вт.","ср.","чт.","пт.","сб."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm',' yyyy",time_short:"H:MM:ss",time_no_seconds_short:"H:MM",time_no_seconds_small_date:"H:MM'
'd mmmm',' yyyy''",full_long:"d mmm',' yyyy 'в' HH:MM",full_long_small_date:"HH:MM'
d mmm',' yyyy''"},messages:{loading_timeline:"Загрузка... ",return_to_title:"Вернуться к заголовку",expand_timeline:"Увеличить",contract_timeline:"Уменьшить",wikipedia:"Из Wikipedia",loading_content:"Загрузка контента",loading:"Загрузка"}}); \ No newline at end of file diff --git a/build/js/locale/si.js b/build/js/locale/si.js deleted file mode 100644 index 836b68701..000000000 --- a/build/js/locale/si.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -typeof VMM!="undefined"&&(VMM.Language={lang:"si",api:{wikipedia:"si"},date:{month:["ජනවාරි","පෙබරවාරි","මාර්තු","අප්‍රේල්","මැයි","ජූනි","ජූලි","අගෝස්තු","සැප්තැම්බර්","ඔක්තෝම්බර්","නොවැම්බර්","දෙසැම්බර්"],month_abbr:["ජන.","පෙබ.","මාර්තු","අප්‍රේල්","මැයි","ජුනි","ජුලි","අගෝ.","සැප්.","ඔක්.","නොවැ.","දෙසැ."],day:["ඉරිදා","සදුදා","අගහරුවදා","බදාදා","බ්‍රහස්පතින්දා","සිකුරාදා","සෙනසුරාදා"],day_abbr:["ඉරි.","සදු.","අග.","බදා.","බ්‍රහස්.","සිකු.","සෙන."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"කාල රේඛාව ලෝඩ් වෙමින්... ",return_to_title:"නැවත මාතෘකාවට",expand_timeline:"කාල රේඛාව විහිදන්න",contract_timeline:"කාල රේඛාව අකුලන්න",wikipedia:"විකිපීඩියා, නිදහස් විශ්වකෝෂය වෙතින්",loading_content:"අන්තර්ගතය ලෝඩ් වෙමින්",loading:"ලෝඩ් වෙමින්"}}); \ No newline at end of file diff --git a/build/js/locale/sk.js b/build/js/locale/sk.js deleted file mode 100644 index 316fdebb7..000000000 --- a/build/js/locale/sk.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -typeof VMM!="undefined"&&(VMM.Language={lang:"sk",api:{wikipedia:"sk"},date:{month:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],month_abbr:["Jan.","Feb.","Marec","Apríl","Máj","Jún","Júl","Aug.","Sept.","Okt.","Nov.","Dec."],day:["Nedeľa","Pondelok","Utorok","Streda","Štvrtok","Piatok","Sobota"],day_abbr:["Ned.","Pon.","Uto.","Str.","Štv.","Pia.","Sob."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"d. mmmm',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Načítam časovú os... ",return_to_title:"Späť na úvod",expand_timeline:"Zväčšiť časovú os",contract_timeline:"Zmenšiť časovú os",wikipedia:"Z Wikipedie, encyklopédie zadarmo",loading_content:"Načítam obsah",loading:"Načítanie"}}); \ No newline at end of file diff --git a/build/js/locale/sl.js b/build/js/locale/sl.js deleted file mode 100644 index e8ac7c075..000000000 --- a/build/js/locale/sl.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"sl",api:{wikipedia:"sl"},date:{month:["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"],month_abbr:["jan.","feb.","marec","april","maj","junij","july","avg.","sept.","okt.","nov.","dec."],day:["nedelja","ponedeljek","torek","sreda","čertek","petek","sobota"],day_abbr:["ned.","pon.","tor.","sre.","čet.","pet.","sob."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM",time_no_seconds_small_date:"h:MM' 'd mmmm' 'yyyy",full_long:"d mmm yyyy 'ob' hh:MM",full_long_small_date:"hh:MM' d mmm yyyy"},messages:{loading_timeline:"Nalagam časovni trak... ",return_to_title:"Nazaj na naslov",expand_timeline:"Razširi časovni trak",contract_timeline:"Pokrči časovni trak",wikipedia:"Vir Wikipedija",loading_content:"Nalaganje vsebine",loading:"Nalaganje",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/sr-cy.js b/build/js/locale/sr-cy.js deleted file mode 100644 index cefea7c9d..000000000 --- a/build/js/locale/sr-cy.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"рп",api:{wikipedia:"рп"},date:{month:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],month_abbr:["Јан.","Феб.","Март","Апр.","Мај","Јун","Јул","Авг.","Сеп.","Окт.","Нов.","Дец."],day:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],day_abbr:["Нед.","Пон.","Уто.","Сре.","Чет.","Пет.","Суб."]},dateformats:{year:"yyyy.",month_short:"mmm",month:"mmmm yyyy.",full_short:"d. mmm",full:"d. mmmm yyyy.",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd. mmmm yyyy.''",full_long:"d. mmm yyyy. 'u' HH:MM",full_long_small_date:"HH:MM'
d. mmm yyyy.''"},messages:{loading_timeline:"Учитавање... ",return_to_title:"Почетак",expand_timeline:"Увећај",contract_timeline:"Умањи",wikipedia:"Из Википедије, слободне енциклопедије",loading_content:"Садржај се учитава",loading:"Учитава се",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/sr.js b/build/js/locale/sr.js deleted file mode 100644 index 6cc917e0e..000000000 --- a/build/js/locale/sr.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"sr",api:{wikipedia:"sr"},date:{month:["januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],month_abbr:["Jan.","Feb.","Mart","Apr.","Maj","Jun","Jul","Avg.","Sep.","Okt.","Nov.","Dec."],day:["Nedelja","Ponedeljak","Utorak","Sreda","Četvratk","Petak","Subota"],day_abbr:["Ned.","Pon.","Uto.","Sre.","Čet.","Pet.","Sub."]},dateformats:{year:"yyyy.",month_short:"mmm",month:"mmmm yyyy.",full_short:"d. mmm",full:"d. mmmm yyyy.",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'd. mmmm yyyy.''",full_long:"d. mmm yyyy. 'u' HH:MM",full_long_small_date:"HH:MM'
d. mmm yyyy.''"},messages:{loading_timeline:"Učitavanje... ",return_to_title:"Početak",expand_timeline:"Uvećaj",contract_timeline:"Umanji",wikipedia:"Iz Vikipedije, slobodne enciklopedije",loading_content:"Sadržaj se učitava",loading:"Učitava se",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/sv.js b/build/js/locale/sv.js deleted file mode 100644 index 9f2704020..000000000 --- a/build/js/locale/sv.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"sv",api:{wikipedia:"sv"},date:{month:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],month_abbr:["jan","febr","mars","april","maj","juni","juli","aug","sept","okt","nov","dec"],day:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],day_abbr:["sön","mån","tis","ons","tors","fre","lör"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm',' yyyy",time_short:"HH:MM:ss",time_no_seconds_short:"H:MM",time_no_seconds_small_date:"H:MM'
'd mmmm',' yyyy''",full_long:"d mmm',' yyyy 'vid' H:MM",full_long_small_date:"H:MM'
d mmm',' yyyy''"},messages:{loading_timeline:"Laddar tidslinje... ",return_to_title:"Tillbaka till start",expand_timeline:"Förstora tidslinje",contract_timeline:"Förminska tidslinje",wikipedia:"Från Wikipedia, den fria encyklopedin",loading_content:"Laddar innehåll",loading:"Laddar",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/ta.js b/build/js/locale/ta.js deleted file mode 100644 index 8fa0b4a28..000000000 --- a/build/js/locale/ta.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"ta",api:{wikipedia:"ta"},date:{month:["ஜனவரி","பெப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜுன்","ஜுலை","ஆகஸ்ட்","செப்டம்பர்","ஒக்டோபர்","நவம்பர்","டிசம்பர்"],month_abbr:["ஜன.","பெப்.","மார்ச்","ஏப்ரல்","மே","ஜுன்","ஜுலை","ஆகஸ்ட்","செப்ட்.","ஒக்டோ.","நவம்பர்","டிசம்பர்"],day:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"],day_abbr:["ஞா","தி","செ","பு","வி","வெ","சனி"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"நேரக்கோடு தரவேறுகிறது.... ",return_to_title:"தலைப்பிற்குச் செல்ல",expand_timeline:"நேரக்கோட்டை விரிக்க",contract_timeline:"நேரக்கோட்டை சுருக்க",wikipedia:"கட்டற்ற கலைக்களஞ்சியம், விக்கிப்பீடியாவிலிருந்து",loading_content:"உள்ளடக்கம் தரவேறுகிறது...",loading:"தரவேறுகிறது",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/te.js b/build/js/locale/te.js deleted file mode 100644 index 27e7e0121..000000000 --- a/build/js/locale/te.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"te",api:{wikipedia:"te"},date:{month:["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్ట్","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్"],month_abbr:["జన.","ఫిబ్ర.","మార్చి","ఏప్రి.","మే","జూన్","జూలై","ఆగ.","సెప్టెం.","అక్టో.","నవం.","డిసెం."],day:["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"],day_abbr:["ఆది.","సోమ.","మంగళ.","బుధ.","గురు.","శుక్ర.","శని."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"టైమ్‌లైన్ లోడవుతూంది... ",return_to_title:"తిరిగి మొదటి స్లైడుకి",expand_timeline:"టైమ్‌లైన్‌ను విస్తరించండి",contract_timeline:"టైమ్‌లైన్‌ను కుదించండి",wikipedia:"స్వేచ్ఛా విజ్ఞాన సర్వస్వమైన వికీపీడియా నుండి",loading_content:"విషయం లోడవుతూంది",loading:"లోడవుతూంది",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/th.js b/build/js/locale/th.js deleted file mode 100644 index 6e559ce85..000000000 --- a/build/js/locale/th.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"th",api:{wikipedia:"th"},date:{month:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],month_abbr:["ม.ค.","ก.พ","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],day:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],day_abbr:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'd mmmm yyyy''",full_long:"d mmmm yyyy 'เวลา' h:MM TT",full_long_small_date:"h:MM TT'
d mmm yyyy''"},messages:{loading_timeline:"กำลังสร้างไทม์ไลน์... ",return_to_title:"กลับสู้หน้าหลัก",expand_timeline:"ขยายไทม์ไลน์",contract_timeline:"ย่อไทม์ไลน์",wikipedia:"จากวิกิพีเดีย สารานุกรมเสรี",loading_content:"กำลังโหลดข้อมูล",loading:"กำลังโหลด"}}} \ No newline at end of file diff --git a/build/js/locale/tl.js b/build/js/locale/tl.js deleted file mode 100644 index eb1c027d1..000000000 --- a/build/js/locale/tl.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"tl",api:{wikipedia:"tl"},date:{month:["Enemo","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Setyembre","Oktubre","Nobyembre","Disyembre"],month_abbr:["Ene.","Peb.","Mar.","Abr.","Mayo","Hun.","Hul.","Ago.","Set.","Okt.","Nob.","Dis."],day:["Linggo","Lunes","Martes","Miyerkules","Huwebes","Biyernes","Sabado"],day_abbr:["Li.","L.","M.","Mi.","H.","B.","S."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"Mula sa Wikipedia, ang malayang ensiklopedya",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/tr.js b/build/js/locale/tr.js deleted file mode 100644 index f0d653fb0..000000000 --- a/build/js/locale/tr.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"tr",api:{wikipedia:"tr"},date:{month:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],month_abbr:["Oca.","Şub.","Mar.","Nis.","May.","Haz.","Tem.","Ağu.","Eyl.","Eki.","Kas.","Ara."],day:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],day_abbr:["Paz.","Pzt.","Sal.","Çar.","Per.","Cum.","Cts."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm',' yyyy",time_short:"HH:MM:ss",time_no_seconds_short:"H:MM",time_no_seconds_small_date:"H:MM'
'd mmmm',' yyyy''",full_long:"d mmm',' yyyy 'at' H:MM",full_long_small_date:"H:MM '
d mmm',' yyyy''"},messages:{loading_timeline:"Zaman Çizelgesi Yükleniyor... ",return_to_title:"Başlığa Dön",expand_timeline:"Zaman Çizelgesini Genişlet",contract_timeline:"Zaman Çizelgesini Daralt",wikipedia:"Wikipedia'dan, özgür ansiklopedi",loading_content:"İçerik Yükleniyor",loading:"Yükleniyor",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/uk.js b/build/js/locale/uk.js deleted file mode 100644 index 30a97c58f..000000000 --- a/build/js/locale/uk.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -typeof VMM!="undefined"&&(VMM.Language={lang:"uk",api:{wikipedia:"uk"},date:{month:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"],month_abbr:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","вер.","жовт.","листоп.","груд."],day:["неділя","понеділок","вівторок","середа","четвер","п'ятниця‎","субота"],day_abbr:["нд.","пн.","вт.","ср.","чт.","пт.","сб."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm',' yyyy",time_short:"H:MM:ss",time_no_seconds_short:"H:MM",time_no_seconds_small_date:"H:MM'
'd mmmm',' yyyy''",full_long:"d mmm yyyy 'у' H:MM",full_long_small_date:"H:MM'
d mmm',' yyyy''"},messages:{loading_timeline:"Завантаження...",return_to_title:"Повернутися до початку",expand_timeline:"Збільшити",contract_timeline:"Зменьшити",wikipedia:"З Wikipedia, вільної енциклопедії",loading_content:"Завантаження вмісту",loading:"Завантаження"}}); \ No newline at end of file diff --git a/build/js/locale/zh-cn.js b/build/js/locale/zh-cn.js deleted file mode 100644 index 071aab60b..000000000 --- a/build/js/locale/zh-cn.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"zh-cn",api:{wikipedia:"zh"},date:{month:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],month_abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],day:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],day_abbr:["周日","周一","周二","周三","周四","周五","周六"]},dateformats:{year:"yyyy年",month_short:"mmm",month:"yyyy年 mmmm",full_short:"mmm d日",full:"yyyy年mmmmd日",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy年mmmmd日''",full_long:"dddd',' yyyy年mmmd日'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' yyyy年mmmd日''"},messages:{loading_timeline:"加载时间线... ",return_to_title:"回到开头",expand_timeline:"伸展时间",contract_timeline:"缩短时间",wikipedia:"来自维基百科,自由的百科全书",loading_content:"正在加载内容",loading:"加载中",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/locale/zh-tw.js b/build/js/locale/zh-tw.js deleted file mode 100644 index 7a40e2c83..000000000 --- a/build/js/locale/zh-tw.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof VMM!="undefined"){VMM.Language={lang:"zh-tw",api:{wikipedia:"zh"},date:{month:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],month_abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],day:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],day_abbr:["週日","週一","週二","週三","週四","週五","週六"]},dateformats:{year:"yyyy年",month_short:"mmm",month:"yyyy年 mmmm",full_short:"mmm d",full:"yyyy年mmmm d日",time_short:"HH:MM:ss",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'
'yyyy年mmmm d日''",full_long:"dddd',' yyyy年mmmm d日 'um' HH:MM",full_long_small_date:"HH:MM'
'dddd',' yyyy年mmmm d日''"},messages:{loading_timeline:"載入時間線... ",return_to_title:"回到開頭",expand_timeline:"展開時間",contract_timeline:"縮短時間",wikipedia:"擷取自維基百科, 自由之百科全書",loading_content:"載入內容",loading:"載入中",swipe_nav:"Swipe to Navigate"}}} \ No newline at end of file diff --git a/build/js/storyjs-embed-cdn.js b/build/js/storyjs-embed-cdn.js deleted file mode 100644 index 3d457431c..000000000 --- a/build/js/storyjs-embed-cdn.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -var embed_analytics="UA-537357-20";var load_time_start=(new Date).getTime(),the_load_time=0;var _gaq=_gaq||[];(function(){var ga=document.createElement("script"),s=document.getElementsByTagName("script")[0];ga.type="text/javascript";ga.async=true;if("https:"!=document.location.protocol){ga.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";s.parentNode.insertBefore(ga,s);_gaq.push(["_setAccount",embed_analytics]);_gaq.push(["_trackPageview"])}})();var getUrlVars=function(){var varobj={},url_vars=[],uv;url_vars=window.location.href.slice(window.location.href.indexOf("?")+1);if(url_vars.match("#")){url_vars=url_vars.split("#")[0]}url_vars=url_vars.split("&");for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;ineed;break}}}}catch(err){ready.jquery=false}if(!ready.jquery){LoadLib.js(path.jquery,onloaded_jquery)}else{onloaded_jquery()}function onloaded_jquery(){LoadLib.js(storyjs_e_config.js,onloaded_js)}function onloaded_js(){ready.js=true;if(storyjs_e_config.lang!="en"){LazyLoad.js(path.locale,onloaded_language)}else{ready.language=true}onloaded_check()}function onloaded_language(){ready.language=true;onloaded_check()}function onloaded_css(){ready.css=true;onloaded_check()}function onloaded_font_css(){ready.font.css=true;onloaded_check()}function onloaded_font_js(){ready.font.js=true;onloaded_check()}function onloaded_check(){if(ready.checks>40){return;alert("Error Loading Files")}else{ready.checks++;if(ready.js&&ready.css&&ready.font.css&&ready.font.js&&ready.language){if(!ready.finished){ready.finished=true;buildEmbed()}}else{ready.timeout=setTimeout("onloaded_check_again();",250)}}}this.onloaded_check_again=function(){onloaded_check()};function createEmbedDiv(){var embed_classname="storyjs-embed";t=document.createElement("div");if(storyjs_e_config.embed_id!=""){te=document.getElementById(storyjs_e_config.embed_id)}else{te=document.getElementById("timeline-embed")}te.appendChild(t);t.setAttribute("id",storyjs_e_config.id);if(storyjs_e_config.width.toString().match("%")){te.style.width=storyjs_e_config.width.split("%")[0]+"%"}else{storyjs_e_config.width=storyjs_e_config.width-2;te.style.width=storyjs_e_config.width+"px"}if(storyjs_e_config.height.toString().match("%")){te.style.height=storyjs_e_config.height;embed_classname+=" full-embed";te.style.height=storyjs_e_config.height.split("%")[0]+"%"}else if(storyjs_e_config.width.toString().match("%")){embed_classname+=" full-embed";storyjs_e_config.height=storyjs_e_config.height-16;te.style.height=storyjs_e_config.height+"px"}else{embed_classname+=" sized-embed";storyjs_e_config.height=storyjs_e_config.height-16;te.style.height=storyjs_e_config.height+"px"}te.setAttribute("class",embed_classname);te.setAttribute("className",embed_classname);t.style.position="relative"}function buildEmbed(){VMM.debug=storyjs_e_config.debug;storyjs_embedjs=new VMM.Timeline(storyjs_e_config.id);storyjs_embedjs.init(storyjs_e_config);if(isCDN){VMM.bindEvent(global,onHeadline,"HEADLINE")}}} \ No newline at end of file diff --git a/build/js/storyjs-embed-generator.js b/build/js/storyjs-embed-generator.js deleted file mode 100644 index 72cbf0796..000000000 --- a/build/js/storyjs-embed-generator.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -if(typeof generator_embed_path=="undefined"||typeof generator_embed_path=="undefined"){var generator_embed_path=getScriptPath("storyjs-embed-generator.js").split("js/")[0];if(generator_embed_path.match("http")){generator_embed_path=generator_embed_path}else if(generator_embed_path=="/"){generator_embed_path="index.html"}else{generator_embed_path=generator_embed_path+"index.html"}}function getScriptPath(scriptname){var scriptTags=document.getElementsByTagName("script"),script_path="";for(var i=0;i0){wp+="width='"+e_width.value+"' "}if(e_height.value>0){wp+="height='"+e_width.value+"' "}wp+="font='"+e_font.value+"' ";wp+="maptype='"+e_maptype.value+"' ";wp+="lang='"+e_language.value+"' ";wp+="src='"+e_source.value+"' ";if(start_at_end){wp+="start_at_end='"+start_at_end+"' "}if(hash_bookmark){wp+="hash_bookmark='"+hash_bookmark+"' "}if(is_debug){wp+="debug='"+is_debug+"' "}if(e_googlemapkey.value!=""){wp+="gmap_key='"+e_googlemapkey.value+"' "}if(parseInt(e_startatslide.value,10)>0){wp+="start_at_slide='"+parseInt(e_startatslide.value,10)+"' "}if(parseInt(e_startzoomadjust.value,10)>0){wp+="start_zoom_adjust='"+parseInt(e_startzoomadjust.value,10)+"' "}wp+="]";theobj.wordpress=wp;vars=generator_embed_path+"?source="+source_key;vars+="&font="+e_font.value;vars+="&maptype="+e_maptype.value;vars+="&lang="+e_language.value;if(start_at_end){vars+="&start_at_end="+start_at_end}if(hash_bookmark){vars+="&hash_bookmark="+hash_bookmark}if(is_debug){vars+="&debug="+is_debug}if(parseInt(e_startatslide.value,10)>0){vars+="&start_at_slide="+parseInt(e_startatslide.value,10)}if(parseInt(e_startzoomadjust.value,10)>0){vars+="&start_zoom_adjust="+parseInt(e_startzoomadjust.value,10)}if(e_googlemapkey.value!=""){vars+="&gmap_key="+e_googlemapkey.value}if(e_width.value>0){vars+="&width="+e_width.value}if(e_height.value>0){vars+="&height="+e_height.value}iframe="";theobj.iframe=iframe;theobj.link=vars;if(e_wordpress.checked){theobj.copybox=wp}else{theobj.copybox=iframe}return theobj}function updateEmbedCode(element,options){var e_embed=document.getElementById("embed_code"),el=getLinkAndIframe();e_embed.value=el.copybox;jQuery("#preview-embed-link").attr("href",el.link);jQuery("#preview-embed-iframe").html(el.iframe);jQuery("#preview-embed").css("display","block")} \ No newline at end of file diff --git a/build/js/storyjs-embed.js b/build/js/storyjs-embed.js deleted file mode 100644 index 659c57dd6..000000000 --- a/build/js/storyjs-embed.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -LazyLoad=function(doc){var env,head,pending={},pollCount=0,queue={css:[],js:[]},styleSheets=doc.styleSheets;function createNode(name,attrs){var node=doc.createElement(name),attr;for(attr in attrs){if(attrs.hasOwnProperty(attr)){node.setAttribute(attr,attrs[attr])}}return node}function finish(type){var p=pending[type],callback,urls;if(p){callback=p.callback;urls=p.urls;urls.shift();pollCount=0;if(!urls.length){callback&&callback.call(p.context,p.obj);pending[type]=null;queue[type].length&&load(type)}}}function getEnv(){var ua=navigator.userAgent;env={async:doc.createElement("script").async===true};(env.webkit=/AppleWebKit\//.test(ua))||(env.ie=/MSIE/.test(ua))||(env.opera=/Opera/.test(ua))||(env.gecko=/Gecko\//.test(ua))||(env.unknown=true)}function load(type,urls,callback,obj,context){var _finish=function(){finish(type)},isCSS=type==="css",nodes=[],i,len,node,p,pendingUrls,url;env||getEnv();if(urls){urls=typeof urls==="string"?[urls]:urls.concat();if(isCSS||env.async||env.gecko||env.opera){queue[type].push({urls:urls,callback:callback,obj:obj,context:context})}else{for(i=0,len=urls.length;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;ineed;break}}}}catch(err){ready.jquery=false}if(!ready.jquery){LoadLib.js(path.jquery,onloaded_jquery)}else{onloaded_jquery()}function onloaded_jquery(){LoadLib.js(storyjs_e_config.js,onloaded_js)}function onloaded_js(){ready.js=true;if(storyjs_e_config.lang!="en"){LazyLoad.js(path.locale,onloaded_language)}else{ready.language=true}onloaded_check()}function onloaded_language(){ready.language=true;onloaded_check()}function onloaded_css(){ready.css=true;onloaded_check()}function onloaded_font_css(){ready.font.css=true;onloaded_check()}function onloaded_font_js(){ready.font.js=true;onloaded_check()}function onloaded_check(){if(ready.checks>40){return;alert("Error Loading Files")}else{ready.checks++;if(ready.js&&ready.css&&ready.font.css&&ready.font.js&&ready.language){if(!ready.finished){ready.finished=true;buildEmbed()}}else{ready.timeout=setTimeout("onloaded_check_again();",250)}}}this.onloaded_check_again=function(){onloaded_check()};function createEmbedDiv(){var embed_classname="storyjs-embed";t=document.createElement("div");if(storyjs_e_config.embed_id!=""){te=document.getElementById(storyjs_e_config.embed_id)}else{te=document.getElementById("timeline-embed")}te.appendChild(t);t.setAttribute("id",storyjs_e_config.id);if(storyjs_e_config.width.toString().match("%")){te.style.width=storyjs_e_config.width.split("%")[0]+"%"}else{storyjs_e_config.width=storyjs_e_config.width-2;te.style.width=storyjs_e_config.width+"px"}if(storyjs_e_config.height.toString().match("%")){te.style.height=storyjs_e_config.height;embed_classname+=" full-embed";te.style.height=storyjs_e_config.height.split("%")[0]+"%"}else if(storyjs_e_config.width.toString().match("%")){embed_classname+=" full-embed";storyjs_e_config.height=storyjs_e_config.height-16;te.style.height=storyjs_e_config.height+"px"}else{embed_classname+=" sized-embed";storyjs_e_config.height=storyjs_e_config.height-16;te.style.height=storyjs_e_config.height+"px"}te.setAttribute("class",embed_classname);te.setAttribute("className",embed_classname);t.style.position="relative"}function buildEmbed(){VMM.debug=storyjs_e_config.debug;storyjs_embedjs=new VMM.Timeline(storyjs_e_config.id);storyjs_embedjs.init(storyjs_e_config);if(isCDN){VMM.bindEvent(global,onHeadline,"HEADLINE")}}} \ No newline at end of file diff --git a/build/js/timeline-min.js b/build/js/timeline-min.js deleted file mode 100644 index 64f72d4e3..000000000 --- a/build/js/timeline-min.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ -(function(){var initializing=false,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=true;var prototype=new this;initializing=false;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}}(name,prop[name]):prop[name]}function Class(){if(!initializing&&this.init)this.init.apply(this,arguments)}Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=true;VMM.master_config={init:function(){return this},sizes:{api:{width:0,height:0}},vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",api_keys_master:{flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=",twitter:""},timers:{api:7e3},api:{pushques:[]},twitter:{active:false,array:[],api_loaded:false,que:[]},flickr:{active:false,array:[],api_loaded:false,que:[]},youtube:{active:false,array:[],api_loaded:false,que:[]},vimeo:{active:false,array:[],api_loaded:false,que:[]},vine:{active:false,array:[],api_loaded:false,que:[]},webthumb:{active:false,array:[],api_loaded:false,que:[]},googlemaps:{active:false,map_active:false,places_active:false,array:[],api_loaded:false,que:[]},googledocs:{active:false,array:[],api_loaded:false,que:[]},googleplus:{active:false,array:[],api_loaded:false,que:[]},wikipedia:{active:false,array:[],api_loaded:false,que:[],tries:0},soundcloud:{active:false,array:[],api_loaded:false,que:[]}}.init();VMM.createElement=function(tag,value,cName,attrs,styles){var ce="";if(tag!=null&&tag!=""){ce+="<"+tag;if(cName!=null&&cName!=""){ce+=" class='"+cName+"'"}if(attrs!=null&&attrs!=""){ce+=" "+attrs}if(styles!=null&&styles!=""){ce+=" style='"+styles+"'"}ce+=">";if(value!=null&&value!=""){ce+=value}ce=ce+""}return ce};VMM.createMediaElement=function(media,caption,credit){var ce="";var _valid=false;ce+="
";if(media!=null&&media!=""){valid=true;ce+="";if(credit!=null&&credit!=""){ce+=VMM.createElement("div",credit,"credit")}if(caption!=null&&caption!=""){ce+=VMM.createElement("div",caption,"caption")}}ce+="
";return ce};VMM.hideUrlBar=function(){var win=window,doc=win.document;if(!location.hash||!win.addEventListener){window.scrollTo(0,1);var scrollTop=1,bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);scrollTop="scrollTop"in doc.body?doc.body.scrollTop:1;win.scrollTo(0,scrollTop===1?0:1)}},15);win.addEventListener("load",function(){setTimeout(function(){win.scrollTo(0,scrollTop===1?0:1)},0)},false)}}}function trace(msg){if(VMM.debug){if(window.console){console.log(msg)}else if(typeof jsTrace!="undefined"){jsTrace.send(msg)}else{}}}Date.prototype.getWeek=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil(((this-onejan)/864e5+onejan.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var onejan=new Date(this.getFullYear(),0,1);return Math.ceil((this-onejan)/864e5)};var is={Null:function(a){return a===null},Undefined:function(a){return a===undefined},nt:function(a){return a===null||a===undefined},Function:function(a){return typeof a==="function"?a.constructor.toString().match(/Function/)!==null:false},String:function(a){return typeof a==="string"?true:typeof a==="object"?a.constructor.toString().match(/string/i)!==null:false},Array:function(a){return typeof a==="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false},Boolean:function(a){return typeof a==="boolean"?true:typeof a==="object"?a.constructor.toString().match(/boolean/i)!==null:false},Date:function(a){return typeof a==="date"?true:typeof a==="object"?a.constructor.toString().match(/date/i)!==null:false},HTML:function(a){return typeof a==="object"?a.constructor.toString().match(/html/i)!==null:false},Number:function(a){return typeof a==="number"?true:typeof a==="object"?a.constructor.toString().match(/Number/)!==null:false},Object:function(a){return typeof a==="object"?a.constructor.toString().match(/object/i)!==null:false},RegExp:function(a){return typeof a==="function"?a.constructor.toString().match(/regexp/i)!==null:false}};var type={of:function(a){for(var i in is){if(is[i](a)){return i.toLowerCase()}}}};if(typeof VMM!="undefined"){VMM.smoothScrollTo=function(elem,duration,ease){if(typeof jQuery!="undefined"){var _ease="easein",_duration=1e3;if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(jQuery(window).scrollTop()!=VMM.Lib.offset(elem).top){VMM.Lib.animate("html,body",_duration,_ease,{scrollTop:VMM.Lib.offset(elem).top})}}};VMM.attachElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).html(content)}};VMM.appendElement=function(element,content){if(typeof jQuery!="undefined"){jQuery(element).append(content)}};VMM.getHTML=function(element){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}};VMM.getElement=function(element,p){var e;if(typeof jQuery!="undefined"){if(p){e=jQuery(element).parent().get(0)}else{e=jQuery(element).get(0)}return e}};VMM.bindEvent=function(element,the_handler,the_event_type,event_data){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).bind(_event_type,_event_data,the_handler)}};VMM.unbindEvent=function(element,the_handler,the_event_type){var e;var _event_type="click";var _event_data={};if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(typeof jQuery!="undefined"){jQuery(element).unbind(_event_type,the_handler)}};VMM.fireEvent=function(element,the_event_type,the_data){var e;var _event_type="click";var _data=[];if(the_event_type!=null&&the_event_type!=""){_event_type=the_event_type}if(the_data!=null&&the_data!=""){_data=the_data}if(typeof jQuery!="undefined"){jQuery(element).trigger(_event_type,_data)}};VMM.getJSON=function(url,data,callback){if(typeof jQuery!="undefined"){jQuery.ajaxSetup({timeout:3e3});if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest&&url.match("^https?://")){trace("old IE JSON doesn't like retrieving from different protocol");var colon=url.indexOf(":");url=url.substr(colon+1)}return jQuery.getJSON(url,data,callback)}};VMM.parseJSON=function(the_json){if(typeof jQuery!="undefined"){return jQuery.parseJSON(the_json)}};VMM.appendAndGetElement=function(append_to_element,tag,cName,content){var e,_tag="
",_class="",_content="",_id="";if(tag!=null&&tag!=""){_tag=tag}if(cName!=null&&cName!=""){_class=cName}if(content!=null&&content!=""){_content=content}if(typeof jQuery!="undefined"){e=jQuery(tag);e.addClass(_class);e.html(_content);jQuery(append_to_element).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).hide(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).hide()}}},remove:function(element){if(typeof jQuery!="undefined"){jQuery(element).remove()}},detach:function(element){if(typeof jQuery!="undefined"){jQuery(element).detach()}},append:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).append(value)}},prepend:function(element,value){if(typeof jQuery!="undefined"){jQuery(element).prepend(value)}},show:function(element,duration){if(duration!=null&&duration!=""){if(typeof jQuery!="undefined"){jQuery(element).show(duration)}}else{if(typeof jQuery!="undefined"){jQuery(element).show()}}},load:function(element,callback_function,event_data){var _event_data={elem:element};if(_event_data!=null&&_event_data!=""){_event_data=event_data}if(typeof jQuery!="undefined"){jQuery(element).load(_event_data,callback_function)}},addClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).addClass(cName)}},removeClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).removeClass(cName)}},attr:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},prop:function(element,aName,value){if(typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)){VMM.Lib.attribute(element,aName,value)}else{jQuery(element).prop(aName,value)}},attribute:function(element,aName,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).attr(aName,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).attr(aName)}}},visible:function(element,show){if(show!=null){if(typeof jQuery!="undefined"){if(show){jQuery(element).show(0)}else{jQuery(element).hide(0)}}}else{if(typeof jQuery!="undefined"){if(jQuery(element).is(":visible")){return true}else{return false}}}},css:function(element,prop,value){if(value!=null&&value!=""){if(typeof jQuery!="undefined"){jQuery(element).css(prop,value)}}else{if(typeof jQuery!="undefined"){return jQuery(element).css(prop)}}},cssmultiple:function(element,propval){if(typeof jQuery!="undefined"){return jQuery(element).css(propval)}},offset:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).offset()}return p},position:function(element){var p;if(typeof jQuery!="undefined"){p=jQuery(element).position()}return p},width:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).width(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).width()}}},height:function(element,s){if(s!=null&&s!=""){if(typeof jQuery!="undefined"){jQuery(element).height(s)}}else{if(typeof jQuery!="undefined"){return jQuery(element).height()}}},toggleClass:function(element,cName){if(typeof jQuery!="undefined"){jQuery(element).toggleClass(cName)}},each:function(element,return_function){if(typeof jQuery!="undefined"){jQuery(element).each(return_function)}},html:function(element,str){var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}if(str!=null&&str!=""){if(typeof jQuery!="undefined"){jQuery(element).html(str)}}else{var e;if(typeof jQuery!="undefined"){e=jQuery(element).html();return e}}},find:function(element,selec){if(typeof jQuery!="undefined"){return jQuery(element).find(selec)}},stop:function(element){if(typeof jQuery!="undefined"){jQuery(element).stop()}},delay_animate:function(delay,element,duration,ease,att,callback_function){if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(duration/1500*10)/10,__duration=_tdd+"s";VMM.Lib.css(element,"-webkit-transition","all "+__duration+" ease");VMM.Lib.css(element,"-moz-transition","all "+__duration+" ease");VMM.Lib.css(element,"-o-transition","all "+__duration+" ease");VMM.Lib.css(element,"-ms-transition","all "+__duration+" ease");VMM.Lib.css(element,"transition","all "+__duration+" ease");VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){jQuery(element).delay(delay).animate(att,{duration:duration,easing:ease})}}},animate:function(element,duration,ease,att,que,callback_function){var _ease="easein",_que=false,_duration=1e3,_att={};if(duration!=null){if(duration<1){_duration=1}else{_duration=Math.round(duration)}}if(ease!=null&&ease!=""){_ease=ease}if(que!=null&&que!=""){_que=que}if(att!=null){_att=att}else{_att={opacity:0}}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var _tdd=Math.round(_duration/1500*10)/10,__duration=_tdd+"s";_ease=" cubic-bezier(0.33, 0.66, 0.66, 1)";for(x in _att){if(Object.prototype.hasOwnProperty.call(_att,x)){trace(x+" to "+_att[x]);VMM.Lib.css(element,"-webkit-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-moz-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-o-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"-ms-transition",x+" "+__duration+_ease);VMM.Lib.css(element,"transition",x+" "+__duration+_ease)}}VMM.Lib.cssmultiple(element,_att)}else{if(typeof jQuery!="undefined"){if(callback_function!=null&&callback_function!=""){jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease,complete:callback_function})}else{jQuery(element).animate(_att,{queue:_que,duration:_duration,easing:_ease})}}}}}}if(typeof jQuery!="undefined"){(function(jQuery){if(window.XDomainRequest){jQuery.ajaxTransport(function(s){if(s.crossDomain&&s.async){if(s.timeout){s.xdrTimeout=s.timeout;delete s.timeout}var xdr;return{send:function(_,complete){function callback(status,statusText,responses,responseHeaders){xdr.onload=xdr.onerror=xdr.ontimeout=jQuery.noop;xdr=undefined;complete(status,statusText,responses,responseHeaders)}xdr=new XDomainRequest;xdr.open(s.type,s.url);xdr.onload=function(){callback(200,"OK",{text:xdr.responseText},"Content-Type: "+xdr.contentType)};xdr.onerror=function(){callback(404,"Not Found")};if(s.xdrTimeout){xdr.ontimeout=function(){callback(0,"timeout")};xdr.timeout=s.xdrTimeout}xdr.send(s.hasContent&&s.data||null)},abort:function(){if(xdr){xdr.onerror=jQuery.noop();xdr.abort()}}}}})}})(jQuery);jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b}})}if(typeof VMM!="undefined"&&typeof VMM.Browser=="undefined"){VMM.Browser={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.tridentVersion=this.searchTridentVersion(navigator.userAgent);this.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient},searchDevice:function(d){var device="";if(d.match(/Android/i)||d.match(/iPhone|iPod/i)){device="mobile"}else if(d.match(/iPad/i)){device="tablet"}else if(d.match(/BlackBerry/i)||d.match(/IEMobile/i)){device="other mobile"}else{device="desktop"}return device},searchString:function(data){for(var i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
mmm d',' yyyy''"},month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."],hour:[1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12],hour_suffix:["am"],bc_format:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"dddd', 'h:MM TT'
'mmmm d',' yyyy''",full_long:"dddd',' mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'
'dddd',' mmm d',' yyyy''"},setLanguage:function(lang){trace("SET DATE LANGUAGE");VMM.Date.dateformats=lang.dateformats;VMM.Date.month=lang.date.month;VMM.Date.month_abbr=lang.date.month_abbr;VMM.Date.day=lang.date.day;VMM.Date.day_abbr=lang.date.day_abbr;dateFormat.i18n.dayNames=lang.date.day_abbr.concat(lang.date.day);dateFormat.i18n.monthNames=lang.date.month_abbr.concat(lang.date.month)},parse:function(d,precision){"use strict";var date,date_array,time_array,time_parse,p={year:false,month:false,day:false,hour:false,minute:false,second:false,millisecond:false};if(type.of(d)=="date"){trace("DEBUG THIS, ITs A DATE");date=d}else{date=new Date(0);date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);if(d.match(/,/gi)){date_array=d.split(",");for(var i=0;i=1){p.second=true}}if(date_array[6]){date.setMilliseconds(date_array[6]);if(date_array[6]>=1){p.millisecond=true}}}else if(d.match("/")){if(d.match(" ")){time_parse=d.split(" ");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=0){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=0){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=0){date.setSeconds(time_array[2]);p.second=true}if(time_array[3]>=0){date.setMilliseconds(time_array[3]);p.millisecond=true}}date_array=time_parse[0].split("/")}else{date_array=d.split("/")}if(date_array[2]){date.setFullYear(date_array[2]);p.year=true}if(date_array[0]>=0){var month=date_array[0]-1;date.setMonth(month);p.month=true}if(date_array[1]>=0){if(date_array[1].length>2){date.setFullYear(date_array[1]);p.year=true}else{date.setDate(date_array[1]);p.day=true}}}else if(d.match("now")){var now=new Date;date.setFullYear(now.getFullYear());p.year=true;date.setMonth(now.getMonth());p.month=true;date.setDate(now.getDate());p.day=true;if(d.match("hours")){date.setHours(now.getHours());p.hour=true}if(d.match("minutes")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());p.hour=true;p.minute=true}if(d.match("seconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());p.hour=true;p.minute=true;p.second=true}if(d.match("milliseconds")){date.setHours(now.getHours());date.setMinutes(now.getMinutes());date.setSeconds(now.getSeconds());date.setMilliseconds(now.getMilliseconds());p.hour=true;p.minute=true;p.second=true;p.millisecond=true}}else if(d.length<=8){p.year=true;date.setFullYear(parseInt(d,10));date.setMonth(0);date.setDate(1);date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}else if(d.match("T")){if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){time_parse=d.split("T");if(d.match(":")){time_array=time_parse[1].split(":");if(time_array[0]>=1){date.setHours(time_array[0]);p.hour=true}if(time_array[1]>=1){date.setMinutes(time_array[1]);p.minute=true}if(time_array[2]>=1){date.setSeconds(time_array[2]);if(time_array[2]>=1){p.second=true}}if(time_array[3]>=1){date.setMilliseconds(time_array[3]);if(time_array[3]>=1){p.millisecond=true}}}date_array=time_parse[0].split("-");if(date_array[0]){date.setFullYear(date_array[0]);p.year=true}if(date_array[1]>=0){date.setMonth(date_array[1]-1);p.month=true}if(date_array[2]>=0){date.setDate(date_array[2]);p.day=true}}else{date=new Date(Date.parse(d));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}else{date=new Date(parseInt(d.slice(0,4),10),parseInt(d.slice(4,6),10)-1,parseInt(d.slice(6,8),10),parseInt(d.slice(8,10),10),parseInt(d.slice(10,12),10));p.year=true;p.month=true;p.day=true;p.hour=true;p.minute=true;if(date.getSeconds()>=1){p.second=true}if(date.getMilliseconds()>=1){p.millisecond=true}}}if(precision!=null&&precision!=""){return{date:date,precision:p}}else{return date}},prettyDate:function(d,is_abbr,p,d2){var _date,_date2,format,bc_check,is_pair=false,bc_original,bc_number,bc_string;if(d2!=null&&d2!=""&&typeof d2!="undefined"){is_pair=true;trace("D2 "+d2)}if(type.of(d)=="date"){if(type.of(p)=="object"){if(p.millisecond||p.second&&d.getSeconds()>=1){if(is_abbr){format=VMM.Date.dateformats.time_short}else{format=VMM.Date.dateformats.time_short}}else if(p.minute){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.hour){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else if(p.day){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(p.month){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(p.year){format=VMM.Date.dateformats.year}else{format=VMM.Date.dateformats.year}}else{if(d.getMonth()===0&&d.getDate()==1&&d.getHours()===0&&d.getMinutes()===0){format=VMM.Date.dateformats.year}else if(d.getDate()<=1&&d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.month_short}else{format=VMM.Date.dateformats.month}}else if(d.getHours()===0&&d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.full_short}else{format=VMM.Date.dateformats.full}}else if(d.getMinutes()===0){if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.time_no_seconds_small_date}}else{if(is_abbr){format=VMM.Date.dateformats.time_no_seconds_short}else{format=VMM.Date.dateformats.full_long}}}_date=dateFormat(d,format,false);bc_check=_date.split(" ");for(var i=0;i99?Math.round(L/10):L),t:H<12?"a":"p",tt:H<12?"am":"pm",T:H<12?"A":"P",TT:H<12?"AM":"PM",Z:utc?"UTC":(String(date).match(timezone)||[""]).pop().replace(timezoneClip,""),o:(o>0?"-":"+")+pad(Math.floor(Math.abs(o)/60)*100+Math.abs(o)%60,4),S:["th","st","nd","rd"][d%10>3?0:(d%100-d%10!=10)*d%10],W:W};return mask.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};Date.prototype.format=function(mask,utc){return dateFormat(this,mask,utc)}}if(typeof VMM!="undefined"&&typeof VMM.Util=="undefined"){VMM.Util={init:function(){return this},removeRange:function(array,from,to){var rest=array.slice((to||from)+1||array.length);array.length=from<0?array.length+from:from;return array.push.apply(array,rest)},correctProtocol:function(url){var loc=window.parent.location.protocol.toString(),prefix="",the_url=url.split("://",2);if(loc.match("http")){prefix=loc}else{prefix="https"}return prefix+"://"+the_url[1]},mergeConfig:function(config_main,config_to_merge){var x;for(x in config_to_merge){if(Object.prototype.hasOwnProperty.call(config_to_merge,x)){config_main[x]=config_to_merge[x]}}return config_main},getObjectAttributeByIndex:function(obj,index){if(typeof obj!="undefined"){var i=0;for(var attr in obj){if(index===i){return obj[attr]}i++}return""}else{return""}},ordinal:function(n){return["th","st","nd","rd"][!(n%10>3||Math.floor(n%100/10)==1)*(n%10)]},randomBetween:function(min,max){return Math.floor(Math.random()*(max-min+1)+min)},average:function(a){var r={mean:0,variance:0,deviation:0},t=a.length;for(var m,s=0,l=t;l--;s+=a[l]);for(m=r.mean=s/t,l=t,s=0;l--;s+=Math.pow(a[l]-m,2));return r.deviation=Math.sqrt(r.variance=s/t),r},customSort:function(a,b){var a1=a,b1=b;if(a1==b1)return 0;return a1>b1?1:-1},deDupeArray:function(arr){var i,len=arr.length,out=[],obj={};for(i=0;ih){_fit.height=h;_fit.width=Math.round(h/ratio_h*ratio_w);if(_fit.width>w){trace("FIT: DIDN'T FIT!!! ")}}return _fit},r16_9:function(w,h){if(w!==null&&w!==""){return Math.round(h/16*9)}else if(h!==null&&h!==""){return Math.round(w/9*16)}},r4_3:function(w,h){if(w!==null&&w!==""){return Math.round(h/4*3)}else if(h!==null&&h!==""){return Math.round(w/3*4)}}},doubledigit:function(n){return(n<10?"0":"")+n},truncateWords:function(s,min,max){if(!min)min=30;if(!max)max=min;var initial_whitespace_rExp=/^[^A-Za-z0-9\'\-]+/gi;var left_trimmedStr=s.replace(initial_whitespace_rExp,"");var words=left_trimmedStr.split(" ");var result=[];min=Math.min(words.length,min);max=Math.min(words.length,max);for(var i=0;i$&").replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1")},linkify_with_twitter:function(text,targets,is_touch){var urlPattern=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;var url_pattern=/(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/gim;var url_replace='$1$4$7$10$13$2$5$8$11$14$3$6$9$12';var pseudoUrlPattern=/(^|[^\/])(www\.[\S]+(\b|$))/gim;function replaceURLWithHTMLLinks(text){var exp=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/gi; -return text.replace(exp,"$3")}var emailAddressPattern=/([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim;var twitterHandlePattern=/\B@([\w-]+)/gm;var twitterSearchPattern=/(#([\w]+))/g;return text.replace(url_pattern,url_replace).replace(pseudoUrlPattern,"$1$2").replace(emailAddressPattern,"$1").replace(twitterHandlePattern,"@$1")},linkify_wikipedia:function(text){var urlPattern=/]*>(.*?)<\/i>/gim;return text.replace(urlPattern,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(text){if(!text)return text;text=text.replace(/]*>/i,"");text=text.replace(/<\/a>/i,"");return text},untagify:function(text){if(!text){return text}text=text.replace(/<\/?\s*\w.*?>/g,"");return text},nl2br:function(text){return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(size){var getRandomNumber=function(range){return Math.floor(Math.random()*range)};var getRandomChar=function(){var chars="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return chars.substr(getRandomNumber(62),1)};var randomID=function(size){var str="";for(var i=0;i1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(x1)){x1=x1.replace(rgx,"$1"+","+"$2")}return x1+x2},toTitleCase:function(t){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7){return t.replace("_","%20")}else{var __TitleCase={__smallWords:["a","an","and","as","at","but","by","en","for","if","in","of","on","or","the","to","v[.]?","via","vs[.]?"],init:function(){this.__smallRE=this.__smallWords.join("|");this.__lowerCaseWordsRE=new RegExp("\\b("+this.__smallRE+")\\b","gi");this.__firstWordRE=new RegExp("^([^a-zA-Z0-9 \\r\\n\\t]*)("+this.__smallRE+")\\b","gi");this.__lastWordRE=new RegExp("\\b("+this.__smallRE+")([^a-zA-Z0-9 \\r\\n\\t]*)$","gi")},toTitleCase:function(string){var line="";var split=string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var i=0;i=0){if(styleSheets[i].href===css.urls[0]){finish("css");break}}pollCount+=1;if(css){if(pollCount<200){setTimeout(pollWebKit,50)}else{finish("css")}}}}return{css:function(urls,callback,obj,context){load("css",urls,callback,obj,context)},js:function(urls,callback,obj,context){load("js",urls,callback,obj,context)}}}(this.document);LoadLib=function(doc){var loaded=[];function isLoaded(url){var i=0,has_loaded=false;for(i=0;i'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"Loading Timeline... ",return_to_title:"Return to Title",expand_timeline:"Expand Timeline",contract_timeline:"Contract Timeline",wikipedia:"From Wikipedia, the free encyclopedia",loading_content:"Loading Content",loading:"Loading",swipe_nav:"Swipe to Navigate"}}}if(typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"){VMM.ExternalAPI={keys:{google:"",flickr:"",twitter:""},keys_master:{vp:"Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo",flickr:"RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==",google:"jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=",twitter:""},init:function(){return this},setKeys:function(d){VMM.ExternalAPI.keys=d},pushQues:function(){if(VMM.master_config.googlemaps.active){VMM.ExternalAPI.googlemaps.pushQue()}if(VMM.master_config.youtube.active){VMM.ExternalAPI.youtube.pushQue()}if(VMM.master_config.soundcloud.active){VMM.ExternalAPI.soundcloud.pushQue()}if(VMM.master_config.googledocs.active){VMM.ExternalAPI.googledocs.pushQue()}if(VMM.master_config.googleplus.active){VMM.ExternalAPI.googleplus.pushQue()}if(VMM.master_config.wikipedia.active){VMM.ExternalAPI.wikipedia.pushQue()}if(VMM.master_config.vimeo.active){VMM.ExternalAPI.vimeo.pushQue()}if(VMM.master_config.vine.active){VMM.ExternalAPI.vine.pushQue()}if(VMM.master_config.twitter.active){VMM.ExternalAPI.twitter.pushQue()}if(VMM.master_config.flickr.active){VMM.ExternalAPI.flickr.pushQue()}if(VMM.master_config.webthumb.active){VMM.ExternalAPI.webthumb.pushQue()}},twitter:{tweetArray:[],get:function(m){var tweet={mid:m.id,id:m.uid};VMM.master_config.twitter.que.push(tweet);VMM.master_config.twitter.active=true},create:function(tweet,callback){var id=tweet.mid.toString(),error_obj={twitterid:tweet.mid},the_url="//api.twitter.com/1/statuses/show.json?id="+tweet.mid+"&include_entities=true&callback=?";VMM.ExternalAPI.twitter.getOEmbed(tweet,callback)},errorTimeOut:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid));VMM.getJSON("//api.twitter.com/1/account/rate_limit_status.json",function(d){trace("REMAINING TWITTER API CALLS "+d.remaining_hits);trace("TWITTER RATE LIMIT WILL RESET AT "+d.reset_time);var mes="";if(d.remaining_hits==0){mes="

You've reached the maximum number of tweets you can load in an hour.

";mes+="

You can view tweets again starting at:
"+d.reset_time+"

"}else{mes="

Still waiting on Twitter. "+tweet.mid+"

"}VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage(mes))})},errorTimeOutOembed:function(tweet){trace("TWITTER JSON ERROR TIMEOUT "+tweet.mid);VMM.attachElement("#"+tweet.id.toString(),VMM.MediaElement.loadingmessage("Still waiting on Twitter: "+tweet.mid))},pushQue:function(){if(VMM.master_config.twitter.que.length>0){VMM.ExternalAPI.twitter.create(VMM.master_config.twitter.que[0],VMM.ExternalAPI.twitter.pushQue);VMM.Util.removeRange(VMM.master_config.twitter.que,0)}},getOEmbed:function(tweet,callback){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+tweet.mid+"&omit_script=true&include_entities=true&callback=?",twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOutOembed,VMM.master_config.timers.api,tweet);VMM.getJSON(the_url,function(d){var twit="",tuser="";twit+=d.html.split("

—")[0]+"

";tuser=d.author_url.split("twitter.com/")[1];twit+="";VMM.attachElement("#"+tweet.id.toString(),twit);VMM.attachElement("#text_thumb_"+tweet.id.toString(),d.html);VMM.attachElement("#marker_content_"+tweet.id.toString(),d.html)}).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);clearTimeout(twitter_timeout);VMM.attachElement("#"+tweet.id,VMM.MediaElement.loadingmessage("ERROR LOADING TWEET "+tweet.mid))}).success(function(d){clearTimeout(twitter_timeout);callback()})},getHTML:function(id){var the_url="https://api.twitter.com/1/statuses/oembed.json?id="+id+"&omit_script=true&include_entities=true&callback=?";VMM.getJSON(the_url,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(d){trace("TWITTER JSON LOADED");var id=d.id;VMM.attachElement("#"+id,VMM.Util.linkify_with_twitter(d.html))},parseTwitterDate:function(d){var date=new Date(Date.parse(d));return date},prettyParseTwitterDate:function(d){var date=new Date(Date.parse(d));return VMM.Date.prettyDate(date,true)},getTweets:function(tweets){var tweetArray=[];var number_of_tweets=tweets.length;for(var i=0;i";twit+="— "+d.user.name+" (@"+d.user.screen_name+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.created_at)+"
";tweet.content=twit;tweet.raw=d;tweetArray.push(tweet);if(tweetArray.length==number_of_tweets){var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(tweets,number_of_tweets){var _number_of_tweets=40;if(number_of_tweets!=null&&number_of_tweets!=""){_number_of_tweets=number_of_tweets}var the_url="//search.twitter.com/search.json?q="+tweets+"&rpp="+_number_of_tweets+"&include_entities=true&result_type=mixed";var tweetArray=[];VMM.getJSON(the_url,function(d){for(var i=0;i";twit+="— "+d.results[i].from_user_name+" (@"+d.results[i].from_user+") "+VMM.ExternalAPI.twitter.prettyParseTwitterDate(d.results[i].created_at)+"
";tweet.content=twit;tweet.raw=d.results[i];tweetArray.push(tweet)}var the_tweets={tweetdata:tweetArray};VMM.fireEvent(global,"TWEETSLOADED",the_tweets)})},prettyHTML:function(id,secondary){var id=id.toString();var error_obj={twitterid:id};var the_url="//api.twitter.com/1/statuses/show.json?id="+id+"&include_entities=true&callback=?";var twitter_timeout=setTimeout(VMM.ExternalAPI.twitter.errorTimeOut,VMM.master_config.timers.api,id);VMM.getJSON(the_url,VMM.ExternalAPI.twitter.formatJSON).error(function(jqXHR,textStatus,errorThrown){trace("TWITTER error");trace("TWITTER ERROR: "+textStatus+" "+jqXHR.responseText);VMM.attachElement("#twitter_"+id,"

ERROR LOADING TWEET "+id+"

")}).success(function(d){clearTimeout(twitter_timeout);if(secondary){VMM.ExternalAPI.twitter.secondaryMedia(d)}})},formatJSON:function(d){var id=d.id_str;var twit="

";var td=VMM.Util.linkify_with_twitter(d.text,"_blank");twit+=td;twit+="

";twit+="";if(typeof d.entities.media!="undefined"){if(d.entities.media[0].type=="photo"){twit+=""}}VMM.attachElement("#twitter_"+id.toString(),twit);VMM.attachElement("#text_thumb_"+id.toString(),d.text)}},googlemaps:{maptype:"TERRAIN",setMapType:function(d){if(d!=""){VMM.ExternalAPI.googlemaps.maptype=d}},get:function(m){var timer,api_key,map_url;m.vars=VMM.Util.getUrlVars(m.id);if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google}else{api_key=Aes.Ctr.decrypt(VMM.ExternalAPI.keys_master.google,VMM.ExternalAPI.keys_master.vp,256)}map_url="//maps.googleapis.com/maps/api/js?key="+api_key+"&v=3.9&libraries=places&sensor=false&callback=VMM.ExternalAPI.googlemaps.onMapAPIReady";if(VMM.master_config.googlemaps.active){VMM.master_config.googlemaps.que.push(m)}else{VMM.master_config.googlemaps.que.push(m);if(VMM.master_config.googlemaps.api_loaded){}else{LoadLib.js(map_url,function(){trace("Google Maps API Library Loaded")})}}},create:function(m){VMM.ExternalAPI.googlemaps.createAPIMap(m)},createiFrameMap:function(m){var embed_url=m.id+"&output=embed",mc="",unique_map_id=m.uid.toString()+"_gmap";mc+="
";mc+="";mc+="
";VMM.attachElement("#"+m.uid,mc)},createAPIMap:function(m){var map_attribution="",layer,map,map_options,unique_map_id=m.uid.toString()+"_gmap",map_attribution_html="",location=new google.maps.LatLng(41.875696,-87.624207),latlong,zoom=11,has_location=false,has_zoom=false,api_limit=false,map_bounds;function mapProvider(name){if(name in VMM.ExternalAPI.googlemaps.map_providers){map_attribution=VMM.ExternalAPI.googlemaps.map_attribution[VMM.ExternalAPI.googlemaps.map_providers[name].attribution];return VMM.ExternalAPI.googlemaps.map_providers[name]}else{if(VMM.ExternalAPI.googlemaps.defaultType(name)){trace("GOOGLE MAP DEFAULT TYPE");return google.maps.MapTypeId[name.toUpperCase()]}else{trace("Not a maptype: "+name)}}}google.maps.VeriteMapType=function(name){if(VMM.ExternalAPI.googlemaps.defaultType(name)){return google.maps.MapTypeId[name.toUpperCase()]}else{var provider=mapProvider(name);return google.maps.ImageMapType.call(this,{getTileUrl:function(coord,zoom){var index=(zoom+coord.x+coord.y)%VMM.ExternalAPI.googlemaps.map_subdomains.length;var retURL=provider.url.replace("{S}",VMM.ExternalAPI.googlemaps.map_subdomains[index]).replace("{Z}",zoom).replace("{X}",coord.x).replace("{Y}",coord.y).replace("{z}",zoom).replace("{x}",coord.x).replace("{y}",coord.y);return retURL},tileSize:new google.maps.Size(256,256),name:name,minZoom:provider.minZoom,maxZoom:provider.maxZoom})}};google.maps.VeriteMapType.prototype=new google.maps.ImageMapType("_");if(VMM.ExternalAPI.googlemaps.maptype!=""){if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){layer=google.maps.MapTypeId[VMM.ExternalAPI.googlemaps.maptype.toUpperCase()]}else{layer=VMM.ExternalAPI.googlemaps.maptype}}else{layer=google.maps.MapTypeId["TERRAIN"]}var new_google_url_regex=new RegExp(/@([0-9\.\-]+),([0-9\.\-]+),(\d+)z/);if(m.id.match(new_google_url_regex)){var match=m.id.match(new_google_url_regex);lat=parseFloat(match[1]);lng=parseFloat(match[2]);location=new google.maps.LatLng(lat,lng);zoom=parseFloat(match[3]);has_location=has_zoom=true}else{if(type.of(VMM.Util.getUrlVars(m.id)["ll"])=="string"){has_location=true;latlong=VMM.Util.getUrlVars(m.id)["ll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}else if(type.of(VMM.Util.getUrlVars(m.id)["sll"])=="string"){latlong=VMM.Util.getUrlVars(m.id)["sll"].split(",");location=new google.maps.LatLng(parseFloat(latlong[0]),parseFloat(latlong[1]))}if(type.of(VMM.Util.getUrlVars(m.id)["z"])=="string"){has_zoom=true;zoom=parseFloat(VMM.Util.getUrlVars(m.id)["z"])}}map_options={zoom:zoom,draggable:false,disableDefaultUI:true,mapTypeControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.TOP_RIGHT},center:location,mapTypeId:layer,mapTypeControlOptions:{mapTypeIds:[layer]}};VMM.attachElement("#"+m.uid,"
");map=new google.maps.Map(document.getElementById(unique_map_id),map_options);if(VMM.ExternalAPI.googlemaps.defaultType(VMM.ExternalAPI.googlemaps.maptype)){}else{map.mapTypes.set(layer,new google.maps.VeriteMapType(layer));map_attribution_html="
"+map_attribution+"
";VMM.appendElement("#"+unique_map_id,map_attribution_html)}if(type.of(VMM.Util.getUrlVars(m.id)["msid"])=="string"){loadKML()}else{if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){geocodePlace()}}function geocodePlace(){var geocoder=new google.maps.Geocoder,address=VMM.Util.getUrlVars(m.id)["q"],marker;if(address.match("loc:")){var address_latlon=address.split(":")[1].split("+");location=new google.maps.LatLng(parseFloat(address_latlon[0]),parseFloat(address_latlon[1]));has_location=true}geocoder.geocode({address:address},function(results,status){if(status==google.maps.GeocoderStatus.OK){marker=new google.maps.Marker({map:map,position:results[0].geometry.location});if(typeof results[0].geometry.viewport!="undefined"){map.fitBounds(results[0].geometry.viewport)}else if(typeof results[0].geometry.bounds!="undefined"){map.fitBounds(results[0].geometry.bounds)}else{map.setCenter(results[0].geometry.location)}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}else{trace("Geocode for "+address+" was not successful for the following reason: "+status);trace("TRYING PLACES SEARCH");if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}loadPlaces()}})}function loadPlaces(){var place,search_request,infowindow,search_bounds,bounds_sw,bounds_ne;place_search=new google.maps.places.PlacesService(map);infowindow=new google.maps.InfoWindow;search_request={query:"",types:["country","neighborhood","political","locality","geocode"]};if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){search_request.query=VMM.Util.getUrlVars(m.id)["q"]}if(has_location){search_request.location=location;search_request.radius="15000"}else{bounds_sw=new google.maps.LatLng(-89.999999,-179.999999);bounds_ne=new google.maps.LatLng(89.999999,179.999999);search_bounds=new google.maps.LatLngBounds(bounds_sw,bounds_ne)}place_search.textSearch(search_request,placeResults);function placeResults(results,status){if(status==google.maps.places.PlacesServiceStatus.OK){for(var i=0;i=1){map.panTo(results[0].geometry.location);if(has_zoom){map.setZoom(zoom)}}}}else{trace("Place search for "+search_request.query+" was not successful for the following reason: "+status);trace("YOU MAY NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("USING SIMPLE IFRAME MAP EMBED");if(m.id[0].match("https")){m.id=m.url[0].replace("https","http")}VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function createMarker(place){var marker,placeLoc;placeLoc=place.geometry.location;marker=new google.maps.Marker({map:map,position:place.geometry.location});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(place.name);infowindow.open(map,this)})}}function loadPlacesAlt(){var api_key,places_url,has_key=false;trace("LOADING PLACES API FOR GOOGLE MAPS");if(VMM.ExternalAPI.keys.google!=""){api_key=VMM.ExternalAPI.keys.google;has_key=true}else{trace("YOU NEED A GOOGLE MAPS API KEY IN ORDER TO USE THIS FEATURE OF TIMELINEJS");trace("FIND OUT HOW TO GET YOUR KEY HERE: https://developers.google.com/places/documentation/#Authentication")}places_url="https://maps.googleapis.com/maps/api/place/textsearch/json?key="+api_key+"&sensor=false&language="+m.lang+"&";if(type.of(VMM.Util.getUrlVars(m.id)["q"])=="string"){places_url+="query="+VMM.Util.getUrlVars(m.id)["q"]}if(has_location){places_url+="&location="+location}if(has_key){VMM.getJSON(places_url,function(d){trace("PLACES JSON");var places_location="",places_bounds="",places_bounds_ne="",places_bounds_sw="";trace(d);if(d.status=="OVER_QUERY_LIMIT"){trace("OVER_QUERY_LIMIT");if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED UNTIL QUERY LIMIT RESTORED");api_limit=true;VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}else{if(d.results.length>=1){places_bounds_ne=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.northeast.lat),parseFloat(d.results[0].geometry.viewport.northeast.lng));places_bounds_sw=new google.maps.LatLng(parseFloat(d.results[0].geometry.viewport.southwest.lat),parseFloat(d.results[0].geometry.viewport.southwest.lng));places_bounds=new google.maps.LatLngBounds(places_bounds_sw,places_bounds_ne);map.fitBounds(places_bounds)}else{trace("NO RESULTS")}if(has_location){map.panTo(location)}if(has_zoom){map.setZoom(zoom)}}}).error(function(jqXHR,textStatus,errorThrown){trace("PLACES JSON ERROR");trace("PLACES JSON ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){trace("PLACES JSON SUCCESS")})}else{if(has_location){map.panTo(location);if(has_zoom){map.setZoom(zoom)}}else{trace("DOING TRADITIONAL MAP IFRAME EMBED BECAUSE NO GOOGLE MAP API KEY WAS PROVIDED");VMM.ExternalAPI.googlemaps.createiFrameMap(m)}}}function loadKML(){var kml_url,kml_layer,infowindow,text;kml_url=m.id+"&output=kml";kml_url=kml_url.replace("&output=embed","");kml_layer=new google.maps.KmlLayer(kml_url,{preserveViewport:true});infowindow=new google.maps.InfoWindow;kml_layer.setMap(map);google.maps.event.addListenerOnce(kml_layer,"defaultviewport_changed",function(){if(has_location){map.panTo(location)}else{map.fitBounds(kml_layer.getDefaultViewport())}if(has_zoom){map.setZoom(zoom)}});google.maps.event.addListener(kml_layer,"click",function(kmlEvent){text=kmlEvent.featureData.description;showInfoWindow(text);function showInfoWindow(c){infowindow.setContent(c);infowindow.open(map)}})}},pushQue:function(){for(var i=0;iStamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.",apple:"Map data © 2012 Apple, Imagery © 2012 Apple",osm:"© OpenStreetMap contributors"},map_providers:{toner:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-lines":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-lines/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},"toner-labels":{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/toner-labels/{Z}/{X}/{Y}.png",minZoom:0,maxZoom:20,attribution:"stamen"},sterrain:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/terrain/{Z}/{X}/{Y}.jpg",minZoom:4,maxZoom:20,attribution:"stamen"},apple:{url:"//gsp2.apple.com/tile?api=1&style=slideshow&layers=default&lang=en_US&z={z}&x={x}&y={y}&v=9",minZoom:4,maxZoom:14,attribution:"apple"},watercolor:{url:"https://stamen-tiles-{S}.a.ssl.fastly.net/watercolor/{Z}/{X}/{Y}.jpg",minZoom:3,maxZoom:16,attribution:"stamen"},osm:{url:"//tile.openstreetmap.org/{z}/{x}/{y}.png",minZoom:3,maxZoom:18,attribution:"osm"}}},googleplus:{get:function(m){var api_key;var gplus={user:m.user,activity:m.id,id:m.uid};VMM.master_config.googleplus.que.push(gplus);VMM.master_config.googleplus.active=true},create:function(gplus,callback){var mediaElem="",api_key="",g_activity="",g_content="",g_attachments="",gperson_api_url,gactivity_api_url;googleplus_timeout=setTimeout(VMM.ExternalAPI.googleplus.errorTimeOut,VMM.master_config.timers.api,gplus),callback_timeout=setTimeout(callback,VMM.master_config.timers.api,gplus);if(VMM.master_config.Timeline.api_keys.google!=""){api_key=VMM.master_config.Timeline.api_keys.google}else{api_key=Aes.Ctr.decrypt(VMM.master_config.api_keys_master.google,VMM.master_config.vp,256)}gperson_api_url="https://www.googleapis.com/plus/v1/people/"+gplus.user+"/activities/public?alt=json&maxResults=100&fields=items(id,url)&key="+api_key;mediaElem="GOOGLE PLUS API CALL";VMM.getJSON(gperson_api_url,function(p_data){for(var i=0;i";g_content+=a_data.object.content}else{g_content+=a_data.object.content}if(typeof a_data.object.attachments!="undefined"){for(var k=0;k"+""+g_attachments}else if(a_data.object.attachments[k].objectType=="video"){g_attachments=""+g_attachments;g_attachments+=""}else if(a_data.object.attachments[k].objectType=="article"){g_attachments+=""}trace(a_data.object.attachments[k])}g_attachments="
"+g_attachments+"
"}mediaElem="
"+g_content+g_attachments+"
";mediaElem+="";VMM.attachElement("#googleplus_"+gplus.activity,mediaElem)});break}}}).error(function(jqXHR,textStatus,errorThrown){var error_obj=VMM.parseJSON(jqXHR.responseText);trace(error_obj.error.message);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

ERROR LOADING GOOGLE+

"+error_obj.error.message+"

"))}).success(function(d){clearTimeout(googleplus_timeout);clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.googleplus.que.length>0){VMM.ExternalAPI.googleplus.create(VMM.master_config.googleplus.que[0],VMM.ExternalAPI.googleplus.pushQue);VMM.Util.removeRange(VMM.master_config.googleplus.que,0)}},errorTimeOut:function(gplus){trace("GOOGLE+ JSON ERROR TIMEOUT "+gplus.activity);VMM.attachElement("#googleplus_"+gplus.activity,VMM.MediaElement.loadingmessage("

Still waiting on GOOGLE+

"+gplus.activity+"

"))}},googledocs:{get:function(m){VMM.master_config.googledocs.que.push(m);VMM.master_config.googledocs.active=true},create:function(m){var mediaElem="";if(m.id.match(/docs.google.com/i)){mediaElem=""}else{mediaElem=""}VMM.attachElement("#"+m.uid,mediaElem)},pushQue:function(){for(var i=0;i")}).error(function(jqXHR,textStatus,errorThrown){trace("FLICKR error");trace("FLICKR ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.flickr.que.length>0){VMM.ExternalAPI.flickr.create(VMM.master_config.flickr.que[0],VMM.ExternalAPI.flickr.pushQue);VMM.Util.removeRange(VMM.master_config.flickr.que,0)}},sizes:function(s){var _size="";if(s<=75){_size="Thumbnail"}else if(s<=180){_size="Small"}else if(s<=240){_size="Small 320"}else if(s<=375){_size="Medium"}else if(s<=480){_size="Medium 640"}else if(s<=600){_size="Large"}else{_size="Large"}return _size},getFlickrIdFromUrl:function(url){var idx=url.indexOf("flickr.com/photos/");if(idx==-1)return null;var pos=idx+"flickr.com/photos/".length;var photo_info=url.substr(pos);if(photo_info.indexOf("/")==-1)return null;if(photo_info.indexOf("/")==0)photo_info=photo_info.substr(1);return photo_info.split("/")[1]}},instagram:{get:function(m,thumb){if(thumb){return"//instagr.am/p/"+m.id+"/media/?size=t"}else{return"//instagr.am/p/"+m.id+"/media/?size="+VMM.ExternalAPI.instagram.sizes(VMM.master_config.sizes.api.height)}},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},isInstagramUrl:function(url){return url.match("instagr.am/p/")||url.match("instagram.com/p/")},getInstagramIdFromUrl:function(url){try{return url.split("/p/")[1].split("/")[0]}catch(e){trace("Invalid Instagram url: "+url);return null}}},soundcloud:{get:function(m){VMM.master_config.soundcloud.que.push(m);VMM.master_config.soundcloud.active=true},create:function(m,callback){var the_url="//soundcloud.com/oembed?url="+m.id+"&maxheight=168&format=js&callback=?";VMM.getJSON(the_url,function(d){VMM.attachElement("#"+m.uid,d.html);callback()})},pushQue:function(){if(VMM.master_config.soundcloud.que.length>0){VMM.ExternalAPI.soundcloud.create(VMM.master_config.soundcloud.que[0],VMM.ExternalAPI.soundcloud.pushQue);VMM.Util.removeRange(VMM.master_config.soundcloud.que,0)}}},wikipedia:{get:function(m){VMM.master_config.wikipedia.que.push(m);VMM.master_config.wikipedia.active=true},create:function(m,callback){var the_url="//"+m.lang+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+m.id+"&exintro=1&format=json&callback=?";callback_timeout=setTimeout(callback,VMM.master_config.timers.api,m);if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){var temp_text="

"+m.url+"

";temp_text+=""+VMM.master_config.language.messages.wikipedia+"";temp_text+="

Wikipedia entry unable to load using Internet Explorer 8 or below.

";VMM.attachElement("#"+m.uid,temp_text)}VMM.getJSON(the_url,function(d){if(d.query){var wiki_extract,wiki_title,_wiki="",wiki_text="",wiki_number_of_paragraphs=1,wiki_text_array=[];wiki_extract=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).extract;wiki_title=VMM.Util.getObjectAttributeByIndex(d.query.pages,0).title;if(wiki_extract.match("

")){wiki_text_array=wiki_extract.split("

")}else{wiki_text_array.push(wiki_extract)}for(var i=0;i"+wiki_text_array[i+1]}}_wiki="

"+wiki_title+"

";_wiki+=""+VMM.master_config.language.messages.wikipedia+"";_wiki+=VMM.Util.linkify_wikipedia(wiki_text);if(wiki_extract.match("REDIRECT")){}else{VMM.attachElement("#"+m.uid,_wiki)}}}).error(function(jqXHR,textStatus,errorThrown){trace("WIKIPEDIA error");trace("WIKIPEDIA ERROR: "+textStatus+" "+jqXHR.responseText);trace(errorThrown);VMM.attachElement("#"+m.uid,VMM.MediaElement.loadingmessage("

Wikipedia is not responding

"));clearTimeout(callback_timeout);if(VMM.master_config.wikipedia.tries<4){trace("WIKIPEDIA ATTEMPT "+VMM.master_config.wikipedia.tries);trace(m);VMM.master_config.wikipedia.tries++;VMM.ExternalAPI.wikipedia.create(m,callback)}else{callback()}}).success(function(d){VMM.master_config.wikipedia.tries=0;clearTimeout(callback_timeout);callback()})},pushQue:function(){if(VMM.master_config.wikipedia.que.length>0){trace("WIKIPEDIA PUSH QUE "+VMM.master_config.wikipedia.que.length);VMM.ExternalAPI.wikipedia.create(VMM.master_config.wikipedia.que[0],VMM.ExternalAPI.wikipedia.pushQue);VMM.Util.removeRange(VMM.master_config.wikipedia.que,0)}}},youtube:{get:function(m){var the_url="//gdata.youtube.com/feeds/api/videos/"+m.id+"?v=2&alt=jsonc&callback=?";VMM.master_config.youtube.que.push(m);if(!VMM.master_config.youtube.active){if(!VMM.master_config.youtube.api_loaded){LoadLib.js("//www.youtube.com/player_api",function(){trace("YouTube API Library Loaded")})}}VMM.getJSON(the_url,function(d){VMM.ExternalAPI.youtube.createThumb(d,m)})},create:function(m){if(typeof m.start!="undefined"){var vidstart=m.start.toString(),vid_start_minutes=0,vid_start_seconds=0;if(vidstart.match("m")){vid_start_minutes=parseInt(vidstart.split("m")[0],10);vid_start_seconds=parseInt(vidstart.split("m")[1].split("s")[0],10);m.start=vid_start_minutes*60+vid_start_seconds}else{m.start=0}}else{m.start=0}var p={active:false,player:{},name:m.uid,playing:false,hd:false};if(typeof m.hd!="undefined"){p.hd=true}p.player[m.id]=new YT.Player(m.uid,{height:"390",width:"640",playerVars:{enablejsapi:1,color:"dark"==VMM.master_config.Timeline.youtubeTheme?"red":"white",showinfo:0,theme:"undefined"!==VMM.master_config.Timeline.youtubeTheme?VMM.master_config.Timeline.youtubeTheme:"light",start:m.start,rel:0},videoId:m.id,events:{onReady:VMM.ExternalAPI.youtube.onPlayerReady,onStateChange:VMM.ExternalAPI.youtube.onStateChange}});VMM.master_config.youtube.array.push(p)},createThumb:function(d,m){trace("CREATE THUMB");trace(d);trace(m);if(typeof d.data!="undefined"){var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")}},pushQue:function(){for(var i=0;i")},createThumb:function(d,m){trace("VIMEO CREATE THUMB");var thumb_id="#"+m.uid+"_thumb";VMM.attachElement(thumb_id,"")},pushQue:function(){if(VMM.master_config.vimeo.que.length>0){VMM.ExternalAPI.vimeo.create(VMM.master_config.vimeo.que[0],VMM.ExternalAPI.vimeo.pushQue);VMM.Util.removeRange(VMM.master_config.vimeo.que,0)}}},vine:{get:function(m){VMM.master_config.vine.que.push(m);VMM.master_config.vine.active=true},create:function(m,callback){trace("VINE CREATE");var video_url="https://vine.co/v/"+m.id+"/embed/simple";VMM.attachElement("#"+m.uid,"")},pushQue:function(){if(VMM.master_config.vine.que.length>0){VMM.ExternalAPI.vine.create(VMM.master_config.vine.que[0],VMM.ExternalAPI.vine.pushQue);VMM.Util.removeRange(VMM.master_config.vine.que,0)}}},webthumb:{get:function(m,thumb){VMM.master_config.webthumb.que.push(m);VMM.master_config.webthumb.active=true},sizes:function(s){var _size="";if(s<=150){_size="t"}else if(s<=306){_size="m"}else{_size="l"}return _size},create:function(m){trace("WEB THUMB CREATE");var thumb_url="//api.pagepeeker.com/v2/thumbs.php?";url=m.id.replace("http://","");VMM.attachElement("#"+m.uid,"");VMM.attachElement("#"+m.uid+"_thumb","")},pushQue:function(){for(var i=0;i
"+"

"+m+"

"},thumbnail:function(data,w,h,uid){var _w=16,_h=24,_uid="";if(w!=null&&w!=""){_w=w}if(h!=null&&h!=""){_h=h}if(uid!=null&&uid!=""){_uid=uid}if(data.thumbnail!=null&&data.thumbnail!=""){trace("CUSTOM THUMB");mediaElem="
";return mediaElem}else if(data.media!=null&&data.media!=""){var _valid=true,mediaElem="",m=VMM.MediaType(data.media);if(m.type=="image"){mediaElem="
";return mediaElem}else if(m.type=="flickr"){mediaElem="
";return mediaElem}else if(m.type=="instagram"){mediaElem="
";return mediaElem}else if(m.type=="youtube"){mediaElem="
";return mediaElem}else if(m.type=="googledoc"){mediaElem="
";return mediaElem}else if(m.type=="vimeo"){mediaElem="
";return mediaElem}else if(m.type=="vine"){mediaElem="
";return mediaElem}else if(m.type=="dailymotion"){mediaElem="
";return mediaElem}else if(m.type=="twitter"){mediaElem="
";return mediaElem}else if(m.type=="twitter-ready"){mediaElem="
";return mediaElem}else if(m.type=="soundcloud"){mediaElem="
";return mediaElem}else if(m.type=="google-map"){mediaElem="
";return mediaElem}else if(m.type=="googleplus"){mediaElem="
";return mediaElem}else if(m.type=="wikipedia"){mediaElem="
";return mediaElem}else if(m.type=="storify"){mediaElem="
";return mediaElem}else if(m.type=="quote"){mediaElem="
";return mediaElem}else if(m.type=="iframe"){mediaElem="
";return mediaElem}else if(m.type=="unknown"){if(m.id.match("blockquote")){mediaElem="
"}else{mediaElem="
"}return mediaElem}else if(m.type=="website"){mediaElem="
";return mediaElem}else{mediaElem="
";return mediaElem}}},create:function(data,uid){var _valid=false,loading_messege=VMM.MediaElement.loadingmessage(VMM.master_config.language.messages.loading+"...");if(data.media!=null&&data.media!=""){var mediaElem="",captionElem="",creditElem="",_id="",isTextMedia=false,m;m=VMM.MediaType(data.media);m.uid=uid;_valid=true;if(data.credit!=null&&data.credit!=""){creditElem="
"+VMM.Util.linkify_with_twitter(data.credit,"_blank")+"
"}if(data.caption!=null&&data.caption!=""){captionElem="
"+VMM.Util.linkify_with_twitter(data.caption,"_blank")+"
"}if(m.type=="image"){mediaElem="
"}else if(m.type=="flickr"){mediaElem="
";VMM.ExternalAPI.flickr.get(m)}else if(m.type=="instagram"){mediaElem="
"}else if(m.type=="googledoc"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googledocs.get(m)}else if(m.type=="youtube"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.youtube.get(m)}else if(m.type=="vimeo"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vimeo.get(m)}else if(m.type=="dailymotion"){mediaElem="
"}else if(m.type=="vine"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.vine.get(m)}else if(m.type=="twitter"){mediaElem="";isTextMedia=true;VMM.ExternalAPI.twitter.get(m)}else if(m.type=="twitter-ready"){isTextMedia=true;mediaElem=m.id}else if(m.type=="soundcloud"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.soundcloud.get(m)}else if(m.type=="google-map"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.googlemaps.get(m)}else if(m.type=="googleplus"){_id="googleplus_"+m.id;mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.googleplus.get(m)}else if(m.type=="wikipedia"){mediaElem="
"+loading_messege+"
";isTextMedia=true;VMM.ExternalAPI.wikipedia.get(m)}else if(m.type=="storify"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="iframe"){isTextMedia=true;mediaElem="
"}else if(m.type=="quote"){isTextMedia=true;mediaElem="
"+m.id+"
"}else if(m.type=="unknown"){trace("NO KNOWN MEDIA TYPE FOUND TRYING TO JUST PLACE THE HTML");isTextMedia=true;mediaElem="
"+VMM.Util.properQuotes(m.id)+"
"}else if(m.type=="website"){mediaElem="
"+loading_messege+"
";VMM.ExternalAPI.webthumb.get(m)}else{trace("NO KNOWN MEDIA TYPE FOUND");trace(m.type)}mediaElem="
"+mediaElem+creditElem+captionElem+"
";if(isTextMedia){return"
"+mediaElem+"
"}else{return"
"+mediaElem+"
"}}}}.init()}if(typeof VMM!="undefined"&&typeof VMM.MediaType=="undefined"){VMM.MediaType=function(_d){var d=_d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),success=false,media={type:"unknown",id:"",start:0,hd:false,link:"",lang:VMM.Language.lang,uniqueid:VMM.Util.unique_ID(6)};if(d.match("div class='twitter'")){media.type="twitter-ready";media.id=d;success=true}else if(d.match("10){trace("SCROLLING Y");trace(Math.abs(drag.pagey.start)-Math.abs(drag.pagey.end))}if(Math.abs(drag_to-drag.left.start)>10){VMM.Lib.css(elem,"left",drag_to);e.preventDefault();e.stopPropagation()}}function dragMomentum(elem,e){var drag_info={left:drag.left.end,left_adjust:0,change:{x:0},time:((new Date).getTime()-drag.time.start)*10,time_adjust:((new Date).getTime()-drag.time.start)*10},multiplier=3e3;if(drag.touch){multiplier=6e3}drag_info.change.x=multiplier*(Math.abs(drag.pagex.end)-Math.abs(drag.pagex.start));drag_info.left_adjust=Math.round(drag_info.change.x/drag_info.time);drag_info.left=Math.min(drag_info.left+drag_info.left_adjust);if(drag.constraint){if(drag_info.left>drag.constraint.left){drag_info.left=drag.constraint.left;if(drag_info.time>5e3){drag_info.time=5e3}}else if(drag_info.left5e3){drag_info.time=5e3}}}VMM.fireEvent(dragslider,"DRAGUPDATE",[drag_info]);if(!is_sticky){if(drag_info.time>0){if(drag.touch){VMM.Lib.animate(elem,drag_info.time,"easeOutCirc",{left:drag_info.left})}else{VMM.Lib.animate(elem,drag_info.time,drag.ease,{left:drag_info.left})}}}}function getLeft(elem){return parseInt(VMM.Lib.css(elem,"left").substring(0,VMM.Lib.css(elem,"left").length-2),10)}}}if(typeof VMM!="undefined"&&typeof VMM.Slider=="undefined"){VMM.Slider=function(parent,parent_config){var config,timer,$slider,$slider_mask,$slider_container,$slides_items,$dragslide,$explainer,events={},data=[],slides=[],slide_positions=[],slides_content="",current_slide=0,current_width=960,touch={move:false,x:10,y:0,off:0,dampen:48},content="",_active=false,layout=parent,navigation={nextBtn:"",prevBtn:"",nextDate:"",prevDate:"",nextTitle:"",prevTitle:""};if(typeof parent_config!="undefined"){config=parent_config}else{config={preload:4,current_slide:0,interval:10,something:0,width:720,height:400,ease:"easeInOutExpo",duration:1e3,timeline:false,spacing:15,slider:{width:720,height:400,content:{width:720,height:400,padding:120,padding_default:120},nav:{width:100,height:200}}}}this.ver="0.6";config.slider.width=config.width;config.slider.height=config.height;this.init=function(d){slides=[];slide_positions=[];if(typeof d!="undefined"){this.setData(d)}else{trace("WAITING ON DATA")}};this.width=function(w){if(w!=null&&w!=""){config.slider.width=w;reSize()}else{return config.slider.width}};this.height=function(h){if(h!=null&&h!=""){config.slider.height=h;reSize()}else{return config.slider.height}};this.setData=function(d){if(typeof d!="undefined"){data=d;build()}else{trace("NO DATA")}};this.getData=function(){return data};this.setConfig=function(d){if(typeof d!="undefined"){config=d}else{trace("NO CONFIG DATA")}};this.getConfig=function(){return config};this.setSize=function(w,h){if(w!=null){config.slider.width=w}if(h!=null){config.slider.height=h}if(_active){reSize()}};this.active=function(){return _active};this.getCurrentNumber=function(){return current_slide};this.setSlide=function(n){goToSlide(n)};function onConfigSet(){trace("onConfigSet")}function reSize(go_to_slide,from_start){var _go_to_slide=true,_from_start=false;if(go_to_slide!=null){_go_to_slide=go_to_slide}if(from_start!=null){_from_start=from_start}current_width=config.slider.width;config.slider.nav.height=VMM.Lib.height(navigation.prevBtnContainer);if(VMM.Browser.device=="mobile"||current_width<=640){config.slider.content.padding=10}else{config.slider.content.padding=config.slider.content.padding_default}config.slider.content.width=current_width-config.slider.content.padding*2;VMM.Lib.width($slides_items,slides.length*config.slider.content.width);if(_from_start){VMM.Lib.css($slider_container,"left",slides[current_slide].leftpos())}sizeSlides();positionSlides();VMM.Lib.css(navigation.nextBtn,"left",current_width-config.slider.nav.width);VMM.Lib.height(navigation.prevBtn,config.slider.height);VMM.Lib.height(navigation.nextBtn,config.slider.height);VMM.Lib.css(navigation.nextBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.css(navigation.prevBtnContainer,"top",config.slider.height/2-config.slider.nav.height/2+10);VMM.Lib.height($slider_mask,config.slider.height);VMM.Lib.width($slider_mask,current_width);if(_go_to_slide){goToSlide(current_slide,"linear",1)}if(current_slide==0){VMM.Lib.visible(navigation.prevBtn,false)}}function onDragFinish(e,d){trace("DRAG FINISH");trace(d.left_adjust);trace(config.slider.width/2);if(d.left_adjust<0){if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}else if(Math.abs(d.left_adjust)>config.slider.width/2){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1,"easeOutExpo");upDate()}}else{backToCurrentSlide()}}function onNextClick(e){if(current_slide==slides.length-1){backToCurrentSlide()}else{goToSlide(current_slide+1);upDate()}}function onPrevClick(e){if(current_slide==0){backToCurrentSlide()}else{goToSlide(current_slide-1);upDate()}}function onKeypressNav(e){switch(e.keyCode){case 39:onNextClick(e);break;case 37:onPrevClick(e);break}}function onTouchUpdate(e,b){if(slide_positions.length==0){for(var i=0;i_slide_pos+config.slider_width/3){onPrevClick()}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}}else{VMM.Lib.animate($slider_container,config.duration,config.ease,{left:_slide_pos})}if(typeof b.top=="number"){VMM.Lib.animate($slider_container,config.duration,config.ease,{top:-b.top})}else{}}function onExplainerClick(e){detachMessege()}function upDate(){config.current_slide=current_slide;VMM.fireEvent(layout,"UPDATE")}function getData(d){data=d -}function buildSlides(d){var i=0;VMM.attachElement($slides_items,"");slides=[];for(i=0;islides.length-1)){slides[current_slide+i].show();slides[current_slide+i].enqueue=false}if(!(current_slide-i<0)){slides[current_slide-i].show();slides[current_slide-i].enqueue=false}}if(slides.length>50){for(i=0;iconfig.slider.height+20){slides[i].css("display","block")}else{slides[i].css("display","table")}}}function positionSlides(){var pos=0,i=0;for(i=0;i=slides.length){is_last=true}if(ease!=null&&ease!=""){_ease=ease}if(duration!=null&&duration!=""){_duration=duration}if(VMM.Browser.device=="mobile"){VMM.Lib.visible(navigation.prevBtn,false);VMM.Lib.visible(navigation.nextBtn,false)}else{if(is_first){VMM.Lib.visible(navigation.prevBtn,false)}else{VMM.Lib.visible(navigation.prevBtn,true);_title=VMM.Util.unlinkify(data[current_slide-1].title);if(config.type=="timeline"){if(typeof data[current_slide-1].date==="undefined"){VMM.attachElement(navigation.prevDate,_title);VMM.attachElement(navigation.prevTitle,"")}else{VMM.attachElement(navigation.prevDate,VMM.Date.prettyDate(data[current_slide-1].startdate,false,data[current_slide-1].precisiondate));VMM.attachElement(navigation.prevTitle,_title)}}else{VMM.attachElement(navigation.prevTitle,_title)}}if(is_last){VMM.Lib.visible(navigation.nextBtn,false)}else{VMM.Lib.visible(navigation.nextBtn,true);_title=VMM.Util.unlinkify(data[current_slide+1].title);if(config.type=="timeline"){if(typeof data[current_slide+1].date==="undefined"){VMM.attachElement(navigation.nextDate,_title);VMM.attachElement(navigation.nextTitle,"")}else{VMM.attachElement(navigation.nextDate,VMM.Date.prettyDate(data[current_slide+1].startdate,false,data[current_slide+1].precisiondate));VMM.attachElement(navigation.nextTitle,_title)}}else{VMM.attachElement(navigation.nextTitle,_title)}}}if(fast){VMM.Lib.css($slider_container,"left",-(_pos-config.slider.content.padding))}else{VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,_duration,_ease,{left:-(_pos-config.slider.content.padding)})}if(firstrun){VMM.fireEvent(layout,"LOADED")}if(slides[current_slide].height()>config.slider_height){VMM.Lib.css(".slider","overflow-y","scroll")}else{VMM.Lib.css(layout,"overflow-y","hidden");var scroll_height=0;try{scroll_height=VMM.Lib.prop(layout,"scrollHeight");VMM.Lib.animate(layout,_duration,_ease,{scrollTop:scroll_height-VMM.Lib.height(layout)})}catch(err){scroll_height=VMM.Lib.height(layout)}}preloadSlides();VMM.fireEvent($slider,"MESSAGE","TEST")}function backToCurrentSlide(){VMM.Lib.stop($slider_container);VMM.Lib.animate($slider_container,config.duration,"easeOutExpo",{left:-slides[current_slide].leftpos()+config.slider.content.padding})}function showMessege(e,msg,other){trace("showMessege "+msg);VMM.attachElement($explainer,"
"+"

"+msg+"

")}function hideMessege(){VMM.Lib.animate($explainer,config.duration,config.ease,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($explainer)}function buildNavigation(){var temp_icon="
 
";navigation.nextBtn=VMM.appendAndGetElement($slider,"
","nav-next");navigation.prevBtn=VMM.appendAndGetElement($slider,"
","nav-previous");navigation.nextBtnContainer=VMM.appendAndGetElement(navigation.nextBtn,"
","nav-container",temp_icon);navigation.prevBtnContainer=VMM.appendAndGetElement(navigation.prevBtn,"
","nav-container",temp_icon);if(config.type=="timeline"){navigation.nextDate=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","date","");navigation.prevDate=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","date","")}navigation.nextTitle=VMM.appendAndGetElement(navigation.nextBtnContainer,"
","title","");navigation.prevTitle=VMM.appendAndGetElement(navigation.prevBtnContainer,"
","title","");VMM.bindEvent(".nav-next",onNextClick);VMM.bindEvent(".nav-previous",onPrevClick);VMM.bindEvent(window,onKeypressNav,"keydown")}function build(){var __duration=3e3;VMM.attachElement(layout,"");$slider=VMM.getElement(layout);$slider_mask=VMM.appendAndGetElement($slider,"
","slider-container-mask");$slider_container=VMM.appendAndGetElement($slider_mask,"
","slider-container");$slides_items=VMM.appendAndGetElement($slider_container,"
","slider-item-container");buildNavigation();buildSlides(data);if(VMM.Browser.device=="tablet"||VMM.Browser.device=="mobile"){config.duration=500;__duration=1e3;$dragslide=new VMM.DragSlider;$dragslide.createPanel($slider,$slider_container,"",config.touch,true);VMM.bindEvent($dragslide,onDragFinish,"DRAGUPDATE");$explainer=VMM.appendAndGetElement($slider_mask,"
","vco-feedback","");showMessege(null,VMM.master_config.language.messages.swipe_nav);VMM.Lib.height($explainer,config.slider.height);VMM.bindEvent($explainer,onExplainerClick);VMM.bindEvent($explainer,onExplainerClick,"touchend")}reSize(false,true);VMM.Lib.visible(navigation.prevBtn,false);goToSlide(config.current_slide,"easeOutExpo",__duration,true,true);_active=true}}}if(typeof VMM.Slider!="undefined"){VMM.Slider.Slide=function(d,_parent){var $media,$text,$slide,$wrap,element,c,data=d,slide={},element="",media="",loaded=false,preloaded=false,is_skinny=false,_enqueue=true,_removeque=false,_id="slide_",_class=0,timer={pushque:"",render:"",relayout:"",remove:"",skinny:false},times={pushque:500,render:100,relayout:100,remove:3e4};_id=_id+data.uniqueid;this.enqueue=_enqueue;this.id=_id;element=VMM.appendAndGetElement(_parent,"
","slider-item");if(typeof data.classname!="undefined"){trace("HAS CLASSNAME");VMM.Lib.addClass(element,data.classname)}else{trace("NO CLASSNAME");trace(data)}c={slide:"",text:"",media:"",media_element:"",layout:"content-container layout",has:{headline:false,text:false,media:false}};this.show=function(skinny){_enqueue=false;timer.skinny=skinny;_removeque=false;clearTimeout(timer.remove);if(!loaded){if(preloaded){clearTimeout(timer.relayout);timer.relayout=setTimeout(reloadLayout,times.relayout)}else{render(skinny)}}};this.hide=function(){if(loaded&&!_removeque){_removeque=true;clearTimeout(timer.remove);timer.remove=setTimeout(removeSlide,times.remove)}};this.clearTimers=function(){clearTimeout(timer.relayout);clearTimeout(timer.pushque);clearTimeout(timer.render)};this.layout=function(skinny){if(loaded&&preloaded){reLayout(skinny)}};this.elem=function(){return element};this.position=function(){return VMM.Lib.position(element)};this.leftpos=function(p){if(typeof p!="undefined"){VMM.Lib.css(element,"left",p)}else{return VMM.Lib.position(element).left}};this.animate=function(d,e,p){VMM.Lib.animate(element,d,e,p)};this.css=function(p,v){VMM.Lib.css(element,p,v)};this.opacity=function(p){VMM.Lib.css(element,"opacity",p)};this.width=function(){return VMM.Lib.width(element)};this.height=function(){return VMM.Lib.height(element)};this.content_height=function(){var ch=VMM.Lib.find(element,".content")[0];if(ch!="undefined"&&ch!=null){return VMM.Lib.height(ch)}else{return 0}};var render=function(skinny){trace("RENDER "+_id);loaded=true;preloaded=true;timer.skinny=skinny;buildSlide();clearTimeout(timer.pushque);clearTimeout(timer.render);timer.pushque=setTimeout(VMM.ExternalAPI.pushQues,times.pushque)};var removeSlide=function(){trace("REMOVE SLIDE TIMER FINISHED");loaded=false;VMM.Lib.detach($text);VMM.Lib.detach($media)};var reloadLayout=function(){loaded=true;reLayout(timer.skinny,true)};var reLayout=function(skinny,reload){if(c.has.text){if(skinny){if(!is_skinny||reload){VMM.Lib.removeClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$text);VMM.Lib.append($slide,$media);is_skinny=true}}else{if(is_skinny||reload){VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.detach($media);VMM.Lib.append($slide,$media);VMM.Lib.append($slide,$text);is_skinny=false}}}else if(reload){if(c.has.headline){VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}VMM.Lib.detach($media);VMM.Lib.append($slide,$media)}};var buildSlide=function(){trace("BUILDSLIDE");$wrap=VMM.appendAndGetElement(element,"
","content");$slide=VMM.appendAndGetElement($wrap,"
");if(data.startdate!=null&&data.startdate!=""){if(type.of(data.startdate)=="date"){if(data.type!="start"){var st=VMM.Date.prettyDate(data.startdate,false,data.precisiondate);var en=VMM.Date.prettyDate(data.enddate,false,data.precisiondate);var tag="";if(data.tag!=null&&data.tag!=""){tag=VMM.createElement("span",data.tag,"slide-tag")}if(st!=en){c.text+=VMM.createElement("h2",st+" — "+en+tag,"date")}else{c.text+=VMM.createElement("h2",st+tag,"date")}}}}if(data.headline!=null&&data.headline!=""){c.has.headline=true;if(data.type=="start"){c.text+=VMM.createElement("h2",VMM.Util.linkify_with_twitter(data.headline,"_blank"),"start")}else{c.text+=VMM.createElement("h3",VMM.Util.linkify_with_twitter(data.headline,"_blank"))}}if(data.text!=null&&data.text!=""){c.has.text=true;c.text+=VMM.createElement("p",VMM.Util.linkify_with_twitter(data.text,"_blank"))}if(c.has.text||c.has.headline){c.text=VMM.createElement("div",c.text,"container");$text=VMM.appendAndGetElement($slide,"
","text",VMM.TextElement.create(c.text))}if(data.needs_slug){}if(data.asset!=null&&data.asset!=""){if(data.asset.media!=null&&data.asset.media!=""){c.has.media=true;$media=VMM.appendAndGetElement($slide,"
","media",VMM.MediaElement.create(data.asset,data.uniqueid))}}if(c.has.text){c.layout+="-text"}if(c.has.media){c.layout+="-media"}if(c.has.text){if(timer.skinny){VMM.Lib.addClass($slide,c.layout);is_skinny=true}else{VMM.Lib.addClass($slide,c.layout);VMM.Lib.addClass($slide,"pad-left");VMM.Lib.detach($text);VMM.Lib.append($slide,$text)}}else{VMM.Lib.addClass($slide,c.layout)}}}}var Aes={};Aes.cipher=function(input,w){var Nb=4;var Nr=w.length/Nb-1;var state=[[],[],[],[]];for(var i=0;i<4*Nb;i++)state[i%4][Math.floor(i/4)]=input[i];state=Aes.addRoundKey(state,w,0,Nb);for(var round=1;round6&&i%Nk==4){temp=Aes.subWord(temp)}for(var t=0;t<4;t++)w[i][t]=w[i-Nk][t]^temp[t]}return w};Aes.subBytes=function(s,Nb){for(var r=0;r<4;r++){for(var c=0;c>>i*8&255;for(var i=0;i<2;i++)counterBlock[i+2]=nonceRnd>>>i*8&255;for(var i=0;i<4;i++)counterBlock[i+4]=nonceSec>>>i*8&255;var ctrTxt="";for(var i=0;i<8;i++)ctrTxt+=String.fromCharCode(counterBlock[i]);var keySchedule=Aes.keyExpansion(key);var blockCount=Math.ceil(plaintext.length/blockSize);var ciphertxt=new Array(blockCount);for(var b=0;b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=b/4294967296>>>c*8;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var blockLength=b>>c*8&255;for(var c=0;c<4;c++)counterBlock[15-c-4]=(b+1)/4294967296-1>>>c*8&255;var cipherCntr=Aes.cipher(counterBlock,keySchedule);var plaintxtByte=new Array(ciphertext[b].length);for(var i=0;i0){while(c++<3){pad+="=";plain+="\x00"}}for(c=0;c>18&63;h2=bits>>12&63;h3=bits>>6&63;h4=bits&63;e[c/3]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4)}coded=e.join("");coded=coded.slice(0,coded.length-pad.length)+pad;return coded};Base64.decode=function(str,utf8decode){utf8decode=typeof utf8decode=="undefined"?false:utf8decode;var o1,o2,o3,h1,h2,h3,h4,bits,d=[],plain,coded;var b64=Base64.code;coded=utf8decode?str.decodeUTF8():str;for(var c=0;c>>16&255;o2=bits>>>8&255;o3=bits&255;d[c/4]=String.fromCharCode(o1,o2,o3);if(h4==64)d[c/4]=String.fromCharCode(o1,o2);if(h3==64)d[c/4]=String.fromCharCode(o1)}plain=d.join("");return utf8decode?plain.decodeUTF8():plain};var Utf8={};Utf8.encode=function(strUni){var strUtf=strUni.replace(/[\u0080-\u07ff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(192|cc>>6,128|cc&63)});strUtf=strUtf.replace(/[\u0800-\uffff]/g,function(c){var cc=c.charCodeAt(0);return String.fromCharCode(224|cc>>12,128|cc>>6&63,128|cc&63)});return strUtf};Utf8.decode=function(strUtf){var strUni=strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&15)<<12|(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(cc)});strUni=strUni.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){var cc=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(cc)});return strUni};!function($){"use strict";var Tooltip=function(element,options){this.init("tooltip",element,options)};Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.enabled=true;if(this.options.trigger!="manual"){eventIn=this.options.trigger=="hover"?"mouseenter":"focus";eventOut=this.options.trigger=="hover"?"mouseleave":"blur";this.$element.on(eventIn,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut,this.options.selector,$.proxy(this.leave,this))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data());if(options.delay&&typeof options.delay=="number"){options.delay={show:options.delay,hide:options.delay}}return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.show){self.show()}else{self.hoverState="in";setTimeout(function(){if(self.hoverState=="in"){self.show()}},self.options.delay.show)}},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type);if(!self.options.delay||!self.options.delay.hide){self.hide()}else{self.hoverState="out";setTimeout(function(){if(self.hoverState=="out"){self.hide()}},self.options.delay.hide)}},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp;if(this.hasContent()&&this.enabled){$tip=this.tip();this.setContent();if(this.options.animation){$tip.addClass("fade")}placement=typeof this.options.placement=="function"?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;inside=/in/.test(placement);$tip.remove().css({top:0,left:0,display:"block"}).appendTo(inside?this.$element:document.body);pos=this.getPosition(inside);actualWidth=$tip[0].offsetWidth;actualHeight=$tip[0].offsetHeight;switch(inside?placement.split(" ")[1]:placement){case"bottom":tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2};break;case"top":tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2};break;case"left":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth};break;case"right":tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width};break}$tip.css(tp).addClass(placement).addClass("in")}},setContent:function(){var $tip=this.tip();$tip.find(".timeline-tooltip-inner").html(this.getTitle());$tip.removeClass("fade in top bottom left right")},hide:function(){var that=this,$tip=this.tip();$tip.removeClass("in");function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).remove()},500);$tip.one($.support.transition.end,function(){clearTimeout(timeout);$tip.remove()})}$.support.transition&&this.$tip.hasClass("fade")?removeWithAnimation():$tip.remove()},fixTitle:function(){var $e=this.$element;if($e.attr("title")||typeof $e.attr("data-original-title")!="string"){$e.attr("data-original-title",$e.attr("title")||"").removeAttr("title")}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},inside?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options;title=$e.attr("data-original-title")||(typeof o.title=="function"?o.title.call($e[0]):o.title);title=title.toString().replace(/(^\s*|\s*$)/,"");return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}};$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("tooltip"),options=typeof option=="object"&&option;if(!data)$this.data("tooltip",data=new Tooltip(this,options));if(typeof option=="string")data[option]()})};$.fn.tooltip.Constructor=Tooltip;$.fn.tooltip.defaults={animation:true,delay:0,selector:false,placement:"top",trigger:"hover",title:"",template:'
'}}(window.jQuery);if(typeof VMM!="undefined"&&typeof VMM.StoryJS=="undefined"){VMM.StoryJS=function(){this.init=function(d){}}}if(typeof VMM!="undefined"&&typeof VMM.Timeline=="undefined"){VMM.Timeline=function(_timeline_id,w,h){var $timeline,$container,$feature,$feedback,$slider,$navigation,slider,timenav,version="2.x",timeline_id="#timelinejs",events={},data={},_dates=[],config={},has_width=false,has_height=false,ie7=false,is_moving=false;if(type.of(_timeline_id)=="string"){if(_timeline_id.match("#")){timeline_id=_timeline_id}else{timeline_id="#"+_timeline_id}}else{timeline_id="#timelinejs"}config={embed:false,events:{data_ready:"DATAREADY",messege:"MESSEGE",headline:"HEADLINE",slide_change:"SLIDE_CHANGE",resize:"resize"},id:timeline_id,source:"nothing",type:"timeline",touch:false,orientation:"normal",maptype:"",version:"2.x",preload:4,current_slide:0,hash_bookmark:false,start_at_end:false,start_at_slide:0,start_zoom_adjust:0,start_page:false,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:false,timenav:false,percentloaded:0},nav:{start_page:false,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130,padding_default:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,gmap_key:"",language:VMM.Language,tagSortFunction:function(arr){arr.sort(function(a,b){return a.localeCompare(b)})}};if(w!=null&&w!=""){config.width=w;has_width=true}if(h!=null&&h!=""){config.height=h;has_height=true}if(window.location.hash){var hash=window.location.hash.substring(1);if(!isNaN(hash)){config.current_slide=parseInt(hash)}}window.onhashchange=function(){var hash=window.location.hash.substring(1);if(config.hash_bookmark){if(is_moving){goToEvent(parseInt(hash))}else{is_moving=false}}else{goToEvent(parseInt(hash))}};function createConfig(conf){if(typeof embed_config=="object"){timeline_config=embed_config}if(typeof timeline_config=="object"){trace("HAS TIMELINE CONFIG");config=VMM.Util.mergeConfig(config,timeline_config)}else if(typeof conf=="object"){config=VMM.Util.mergeConfig(config,conf)}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){config.touch=true}config.nav.width=config.width;config.nav.height=200;config.feature.width=config.width;config.feature.height=config.height-config.nav.height;config.nav.zoom.adjust=parseInt(config.start_zoom_adjust,10);VMM.Timeline.Config=config;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=config.events;if(config.gmap_key!=""){config.api_keys.google=config.gmap_key}trace("VERSION "+config.version);version=config.version -}function createStructure(){$timeline=VMM.getElement(timeline_id);VMM.Lib.addClass($timeline,"vco-timeline");VMM.Lib.addClass($timeline,"vco-storyjs");$container=VMM.appendAndGetElement($timeline,"
","vco-container vco-main");$feature=VMM.appendAndGetElement($container,"
","vco-feature");$slider=VMM.appendAndGetElement($feature,"
","vco-slider");$navigation=VMM.appendAndGetElement($container,"
","vco-navigation");$feedback=VMM.appendAndGetElement($timeline,"
","vco-feedback","");if(typeof config.language.right_to_left!="undefined"){VMM.Lib.addClass($timeline,"vco-right-to-left")}slider=new VMM.Slider($slider,config);timenav=new VMM.Timeline.TimeNav($navigation);if(!has_width){config.width=VMM.Lib.width($timeline)}else{VMM.Lib.width($timeline,config.width)}if(!has_height){config.height=VMM.Lib.height($timeline)}else{VMM.Lib.height($timeline,config.height)}if(config.touch){VMM.Lib.addClass($timeline,"vco-touch")}else{VMM.Lib.addClass($timeline,"vco-notouch")}}function onDataReady(e,d){trace("onDataReady");data=d.timeline;if(type.of(data.era)!="array"){data.era=[]}buildDates()}function reSize(){updateSize();slider.setSize(config.feature.width,config.feature.height);timenav.setSize(config.width,config.height);if(orientationChange()){setViewport()}}function onSliderLoaded(e){config.loaded.slider=true;onComponentLoaded()}function onComponentLoaded(e){config.loaded.percentloaded=config.loaded.percentloaded+25;if(config.loaded.slider&&config.loaded.timenav){hideMessege()}}function onTimeNavLoaded(e){config.loaded.timenav=true;onComponentLoaded()}function onSlideUpdate(e){is_moving=true;config.current_slide=slider.getCurrentNumber();setHash(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}function onMarkerUpdate(e){is_moving=true;config.current_slide=timenav.getCurrentNumber();setHash(config.current_slide);slider.setSlide(config.current_slide)}function goToEvent(n){if(n<=_dates.length-1&&n>=0){config.current_slide=n;slider.setSlide(config.current_slide);timenav.setMarker(config.current_slide,config.ease,config.duration)}}function setHash(n){if(config.hash_bookmark){window.location.hash="#"+n.toString()}}function getViewport(){}function setViewport(){var viewport_content="",viewport_orientation=searchOrientation(window.orientation);if(VMM.Browser.device=="mobile"){if(viewport_orientation=="portrait"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else if(viewport_orientation=="landscape"){viewport_content="width=device-width; initial-scale=0.5, maximum-scale=0.5"}else{viewport_content="width=device-width, initial-scale=1, maximum-scale=1.0"}}else if(VMM.Browser.device=="tablet"){}if(document.getElementById("viewport")){}else{}}function searchOrientation(orientation){var orient="";if(orientation==0||orientation==180){orient="portrait"}else if(orientation==90||orientation==-90){orient="landscape"}else{orient="normal"}return orient}function orientationChange(){var orientation=searchOrientation(window.orientation);if(orientation==config.orientation){return false}else{config.orientation=orientation;return true}}this.init=function(c,_data){trace("INIT");setViewport();createConfig(c);createStructure();if(type.of(_data)=="string"){config.source=_data}VMM.Date.setLanguage(config.language);VMM.master_config.language=config.language;VMM.ExternalAPI.setKeys(config.api_keys);VMM.ExternalAPI.googlemaps.setMapType(config.maptype);VMM.bindEvent(global,onDataReady,config.events.data_ready);VMM.bindEvent(global,showMessege,config.events.messege);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);if(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE"){if(parseInt(VMM.Browser.version,10)<=7&&(VMM.Browser.tridentVersion==null||VMM.Browser.tridentVersion<4)){ie7=true}}if(type.of(config.source)=="string"||type.of(config.source)=="object"){VMM.Timeline.DataObj.getData(config.source)}else{VMM.fireEvent(global,config.events.messege,"No data source provided")}};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(_d){trace("Load new timeline data"+_d);VMM.fireEvent(global,config.events.messege,config.language.messages.loading_timeline);data={};VMM.Timeline.DataObj.getData(_d);config.current_slide=0;slider.setSlide(0);timenav.setMarker(0,config.ease,config.duration)};function getData(url){VMM.getJSON(url,function(d){data=VMM.Timeline.DataObj.getData(d);VMM.fireEvent(global,config.events.data_ready)})}function showMessege(e,msg,other){trace("showMessege "+msg);if(other){VMM.attachElement($feedback,msg)}else{VMM.attachElement($feedback,VMM.MediaElement.loadingmessage(msg))}}function hideMessege(){VMM.Lib.animate($feedback,config.duration,config.ease*4,{opacity:0},detachMessege)}function detachMessege(){VMM.Lib.detach($feedback)}function build(){if(!(data&&data.date&&data.date.length&&data.date.length>0)){showMessege(null,"Error reading data.");return}if(parseInt(config.start_at_slide)>0&&config.current_slide==0){config.current_slide=parseInt(config.start_at_slide)}if(config.start_at_end&&config.current_slide==0){config.current_slide=_dates.length-1}if(ie7){ie7=true;VMM.fireEvent(global,config.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher. If you are using a recent version of Internet Explorer you may need to disable compatibility mode in your browser.")}else{detachMessege();reSize();VMM.bindEvent($slider,onSliderLoaded,"LOADED");VMM.bindEvent($navigation,onTimeNavLoaded,"LOADED");VMM.bindEvent($slider,onSlideUpdate,"UPDATE");VMM.bindEvent($navigation,onMarkerUpdate,"UPDATE");slider.init(_dates);timenav.init(_dates,data.era);VMM.bindEvent(global,reSize,config.events.resize)}}function updateSize(){trace("UPDATE SIZE");config.width=VMM.Lib.width($timeline);config.height=VMM.Lib.height($timeline);config.nav.width=config.width;config.feature.width=config.width;config.feature.height=config.height-config.nav.height-3;if(VMM.Browser.device=="mobile"){}if(config.width<641){VMM.Lib.addClass($timeline,"vco-skinny")}else{VMM.Lib.removeClass($timeline,"vco-skinny")}}function buildDates(){_dates=[];VMM.fireEvent(global,config.events.messege,"Building Dates");updateSize();for(var i=0;iconfig.nav.multiplier.min){if(config.nav.multiplier.current<=1){config.nav.multiplier.current=config.nav.multiplier.current-.25}else{if(config.nav.multiplier.current>5){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current-10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current-1)}}if(config.nav.multiplier.current<=0){config.nav.multiplier.current=config.nav.multiplier.min}refreshTimeline()}}function onZoomOut(){$dragslide.cancelSlide();if(config.nav.multiplier.current4){if(config.nav.multiplier.current>16){config.nav.multiplier.current=Math.round(config.nav.multiplier.current+10)}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+4)}}else{config.nav.multiplier.current=Math.round(config.nav.multiplier.current+1)}if(config.nav.multiplier.current>=config.nav.multiplier.max){config.nav.multiplier.current=config.nav.multiplier.max}refreshTimeline()}}function onBackHome(e){$dragslide.cancelSlide();goToMarker(0);upDate()}function onMouseScroll(e){var delta=0,scroll_to=0;if(!e){e=window.event}if(e.originalEvent){e=e.originalEvent}if(typeof e.wheelDeltaX!="undefined"){delta=e.wheelDeltaY/6;if(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)){delta=e.wheelDeltaX/6}else{delta=0}}if(delta){if(e.preventDefault){e.preventDefault()}e.returnValue=false}scroll_to=VMM.Lib.position($timenav).left+delta;if(scroll_to>config.nav.constraint.left){scroll_to=config.width/2}else if(scroll_to1){config.nav.multiplier.current=config.nav.multiplier.current-1}}}}function calculateInterval(){var _first=getDateFractions(data[0].startdate),_last=getDateFractions(data[data.length-1].enddate);interval_calc.eon.type="eon";interval_calc.eon.first=_first.eons;interval_calc.eon.base=Math.floor(_first.eons);interval_calc.eon.last=_last.eons;interval_calc.eon.number=timespan.eons;interval_calc.eon.multiplier=timelookup.eons;interval_calc.eon.minor=timelookup.eons;interval_calc.era.type="era";interval_calc.era.first=_first.eras;interval_calc.era.base=Math.floor(_first.eras);interval_calc.era.last=_last.eras;interval_calc.era.number=timespan.eras;interval_calc.era.multiplier=timelookup.eras;interval_calc.era.minor=timelookup.eras;interval_calc.epoch.type="epoch";interval_calc.epoch.first=_first.epochs;interval_calc.epoch.base=Math.floor(_first.epochs);interval_calc.epoch.last=_last.epochs;interval_calc.epoch.number=timespan.epochs;interval_calc.epoch.multiplier=timelookup.epochs;interval_calc.epoch.minor=timelookup.epochs;interval_calc.age.type="age";interval_calc.age.first=_first.ages;interval_calc.age.base=Math.floor(_first.ages);interval_calc.age.last=_last.ages;interval_calc.age.number=timespan.ages;interval_calc.age.multiplier=timelookup.ages;interval_calc.age.minor=timelookup.ages;interval_calc.millenium.type="millenium";interval_calc.millenium.first=_first.milleniums;interval_calc.millenium.base=Math.floor(_first.milleniums);interval_calc.millenium.last=_last.milleniums;interval_calc.millenium.number=timespan.milleniums;interval_calc.millenium.multiplier=timelookup.millenium;interval_calc.millenium.minor=timelookup.millenium;interval_calc.century.type="century";interval_calc.century.first=_first.centuries;interval_calc.century.base=Math.floor(_first.centuries);interval_calc.century.last=_last.centuries;interval_calc.century.number=timespan.centuries;interval_calc.century.multiplier=timelookup.century;interval_calc.century.minor=timelookup.century;interval_calc.decade.type="decade";interval_calc.decade.first=_first.decades;interval_calc.decade.base=Math.floor(_first.decades);interval_calc.decade.last=_last.decades;interval_calc.decade.number=timespan.decades;interval_calc.decade.multiplier=timelookup.decade;interval_calc.decade.minor=timelookup.decade;interval_calc.year.type="year";interval_calc.year.first=_first.years;interval_calc.year.base=Math.floor(_first.years);interval_calc.year.last=_last.years;interval_calc.year.number=timespan.years;interval_calc.year.multiplier=1;interval_calc.year.minor=timelookup.month;interval_calc.month.type="month";interval_calc.month.first=_first.months;interval_calc.month.base=Math.floor(_first.months);interval_calc.month.last=_last.months;interval_calc.month.number=timespan.months;interval_calc.month.multiplier=1;interval_calc.month.minor=Math.round(timelookup.week);interval_calc.week.type="week";interval_calc.week.first=_first.weeks;interval_calc.week.base=Math.floor(_first.weeks);interval_calc.week.last=_last.weeks;interval_calc.week.number=timespan.weeks;interval_calc.week.multiplier=1;interval_calc.week.minor=7;interval_calc.day.type="day";interval_calc.day.first=_first.days;interval_calc.day.base=Math.floor(_first.days);interval_calc.day.last=_last.days;interval_calc.day.number=timespan.days;interval_calc.day.multiplier=1;interval_calc.day.minor=24;interval_calc.hour.type="hour";interval_calc.hour.first=_first.hours;interval_calc.hour.base=Math.floor(_first.hours);interval_calc.hour.last=_last.hours;interval_calc.hour.number=timespan.hours;interval_calc.hour.multiplier=1;interval_calc.hour.minor=60;interval_calc.minute.type="minute";interval_calc.minute.first=_first.minutes;interval_calc.minute.base=Math.floor(_first.minutes);interval_calc.minute.last=_last.minutes;interval_calc.minute.number=timespan.minutes;interval_calc.minute.multiplier=1;interval_calc.minute.minor=60;interval_calc.second.type="decade";interval_calc.second.first=_first.seconds;interval_calc.second.base=Math.floor(_first.seconds);interval_calc.second.last=_last.seconds;interval_calc.second.number=timespan.seconds;interval_calc.second.multiplier=1;interval_calc.second.minor=10}function getDateFractions(the_date,is_utc){var _time={};_time.days=the_date/dateFractionBrowser.day;_time.weeks=_time.days/dateFractionBrowser.week;_time.months=_time.days/dateFractionBrowser.month;_time.years=_time.months/dateFractionBrowser.year;_time.hours=_time.days*dateFractionBrowser.hour;_time.minutes=_time.days*dateFractionBrowser.minute;_time.seconds=_time.days*dateFractionBrowser.second;_time.decades=_time.years/dateFractionBrowser.decade;_time.centuries=_time.years/dateFractionBrowser.century;_time.milleniums=_time.years/dateFractionBrowser.millenium;_time.ages=_time.years/dateFractionBrowser.age;_time.epochs=_time.years/dateFractionBrowser.epoch;_time.eras=_time.years/dateFractionBrowser.era;_time.eons=_time.years/dateFractionBrowser.eon;return _time}function positionRelative(_interval,first,last){var _first,_last,_type=_interval.type,timerelative={start:"",end:"",type:_type};_first=getDateFractions(first);timerelative.start=first.months;if(_type=="eon"){timerelative.start=_first.eons}else if(_type=="era"){timerelative.start=_first.eras}else if(_type=="epoch"){timerelative.start=_first.epochs}else if(_type=="age"){timerelative.start=_first.ages}else if(_type=="millenium"){timerelative.start=first.milleniums}else if(_type=="century"){timerelative.start=_first.centuries}else if(_type=="decade"){timerelative.start=_first.decades}else if(_type=="year"){timerelative.start=_first.years}else if(_type=="month"){timerelative.start=_first.months}else if(_type=="week"){timerelative.start=_first.weeks}else if(_type=="day"){timerelative.start=_first.days}else if(_type=="hour"){timerelative.start=_first.hours}else if(_type=="minute"){timerelative.start=_first.minutes}if(type.of(last)=="date"){_last=getDateFractions(last);timerelative.end=last.months;if(_type=="eon"){timerelative.end=_last.eons}else if(_type=="era"){timerelative.end=_last.eras}else if(_type=="epoch"){timerelative.end=_last.epochs}else if(_type=="age"){timerelative.end=_last.ages}else if(_type=="millenium"){timerelative.end=last.milleniums}else if(_type=="century"){timerelative.end=_last.centuries}else if(_type=="decade"){timerelative.end=_last.decades}else if(_type=="year"){timerelative.end=_last.years}else if(_type=="month"){timerelative.end=_last.months}else if(_type=="week"){timerelative.end=_last.weeks}else if(_type=="day"){timerelative.end=_last.days}else if(_type=="hour"){timerelative.end=_last.hours}else if(_type=="minute"){timerelative.end=_last.minutes}}else{timerelative.end=timerelative.start}return timerelative}function positionOnTimeline(the_interval,timerelative){return{begin:(timerelative.start-interval.base)*(config.nav.interval_width/config.nav.multiplier.current),end:(timerelative.end-interval.base)*(config.nav.interval_width/config.nav.multiplier.current)}}function positionMarkers(is_animated){var row=2,previous_pos=0,pos_offset=-2,row_depth=0,row_depth_sub=0,line_last_height_pos=150,line_height=6,cur_mark=0,in_view_margin=config.width,pos_cache_array=[],pos_cache_max=6,in_view={left:timenav_pos.visible.left-in_view_margin,right:timenav_pos.visible.right+in_view_margin},i=0,k=0;config.nav.minor_width=config.width;VMM.Lib.removeClass(".flag","row1");VMM.Lib.removeClass(".flag","row2");VMM.Lib.removeClass(".flag","row3");for(i=0;i=in_view.left&&Math.abs(pos.begin)<=in_view.right){is_in_view=true}if(is_animated){VMM.Lib.stop(marker.marker);VMM.Lib.animate(marker.marker,config.duration/2,config.ease,{left:pos.begin})}else{VMM.Lib.stop(marker.marker);VMM.Lib.css(marker.marker,"left",pos.begin)}if(i==current_marker){cur_mark=pos.begin}if(line>5){VMM.Lib.css(marker.lineevent,"height",line_height);VMM.Lib.css(marker.lineevent,"top",line_last_height_pos);if(is_animated){VMM.Lib.animate(marker.lineevent,config.duration/2,config.ease,{width:line})}else{VMM.Lib.css(marker.lineevent,"width",line)}}if(tags.length>0){for(k=0;kpos_cache_max){VMM.Util.removeRange(pos_cache_array,0)}if(is_animated){VMM.Lib.stop(marker.flag);VMM.Lib.animate(marker.flag,config.duration,config.ease,{top:row_pos})}else{VMM.Lib.stop(marker.flag);VMM.Lib.css(marker.flag,"top",row_pos)}if(config.start_page&&markers[i].type=="start"){VMM.Lib.visible(marker.marker,false)}if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos100){not_too_many=false;trace("TOO MANY "+the_intervals.length)}for(i=0;i=in_view.left&&Math.abs(pos)<=in_view.right){is_in_view=true}if(true){if(config.nav.multiplier.current>16&&is_minor){is_visible=false}else{if(pos-last_position<65){if(pos-last_position<35){if(i%4==0){if(pos==0){is_visible=false}}else{is_visible=false}}else{if(!VMM.Util.isEven(i)){is_visible=false}}}}if(is_visible){if(the_intervals[i].is_detached){VMM.Lib.append(the_main_element,_interval);the_intervals[i].is_detached=false}}else{the_intervals[i].is_detached=true;VMM.Lib.detach(_interval)}if(_interval_visible){if(!is_visible){_animation.opacity="0";if(is_animated&¬_too_many){_animation.animate=true}the_intervals[i].interval_visible=false}else{_animation.opacity="100";if(is_animated&&is_in_view){_animation.animate=true}}}else{_animation.opacity="100";if(is_visible){if(is_animated&¬_too_many){_animation.animate=true}else{if(is_animated&&is_in_view){_animation.animate=true}}the_intervals[i].interval_visible=true}else{if(is_animated&¬_too_many){_animation.animate=true}}}last_position=pos;if(pos>config.nav.minor_width){config.nav.minor_width=pos}if(pos",_interval.classname),date:new Date(data[0].startdate.getFullYear(),0,1,0,0,0),visible:false,date_string:"",type:_interval.interval_type,relative_pos:0,is_detached:false,animation:{animate:false,pos:"",opacity:"100"}};if(_interval.type=="eon"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/5e8)*5e8}int_obj.date.setFullYear(_first_date+inc_time*5e8);_is_year=true}else if(_interval.type=="era"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e8)*1e8}int_obj.date.setFullYear(_first_date+inc_time*1e8);_is_year=true}else if(_interval.type=="epoch"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e7)*1e7}int_obj.date.setFullYear(_first_date+inc_time*1e7);_is_year=true}else if(_interval.type=="age"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e6)*1e6}int_obj.date.setFullYear(_first_date+inc_time*1e6);_is_year=true}else if(_interval.type=="millenium"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/1e3)*1e3}int_obj.date.setFullYear(_first_date+inc_time*1e3);_is_year=true}else if(_interval.type=="century"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/100)*100}int_obj.date.setFullYear(_first_date+inc_time*100);_is_year=true}else if(_interval.type=="decade"){if(_first_run){_first_date=Math.floor(data[0].startdate.getFullYear()/10)*10}int_obj.date.setFullYear(_first_date+inc_time*10);_is_year=true}else if(_interval.type=="year"){if(_first_run){_first_date=data[0].startdate.getFullYear()}int_obj.date.setFullYear(_first_date+inc_time);_is_year=true}else if(_interval.type=="month"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(_first_date+inc_time)}else if(_interval.type=="week"){if(_first_run){_first_date=data[0].startdate.getMonth()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time*7)}else if(_interval.type=="day"){if(_first_run){_first_date=data[0].startdate.getDate() -}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(_first_date+inc_time)}else if(_interval.type=="hour"){if(_first_run){_first_date=data[0].startdate.getHours()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(_first_date+inc_time)}else if(_interval.type=="minute"){if(_first_run){_first_date=data[0].startdate.getMinutes()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(_first_date+inc_time)}else if(_interval.type=="second"){if(_first_run){_first_date=data[0].startdate.getSeconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(_first_date+inc_time)}else if(_interval.type=="millisecond"){if(_first_run){_first_date=data[0].startdate.getMilliseconds()}int_obj.date.setMonth(data[0].startdate.getMonth());int_obj.date.setDate(data[0].startdate.getDate());int_obj.date.setHours(data[0].startdate.getHours());int_obj.date.setMinutes(data[0].startdate.getMinutes());int_obj.date.setSeconds(data[0].startdate.getSeconds());int_obj.date.setMilliseconds(_first_date+inc_time)}if(VMM.Browser.browser=="Firefox"){if(int_obj.date.getFullYear()=="1970"&&int_obj.date.getTimezoneOffset()!=_timezone_offset){trace("FIREFOX 1970 TIMEZONE OFFSET "+int_obj.date.getTimezoneOffset()+" SHOULD BE "+_timezone_offset);trace(_interval.type+" "+_interval.date);firefox.offset=int_obj.date.getTimezoneOffset()/60;firefox.flag=true;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset)}else if(firefox.flag){firefox.flag=false;int_obj.date.setHours(int_obj.date.getHours()+firefox.offset);if(_is_year){firefox.flag=true}}}if(_is_year){if(int_obj.date.getFullYear()<0){int_obj.date_string=Math.abs(int_obj.date.getFullYear()).toString()+" B.C."}else{int_obj.date_string=int_obj.date.getFullYear()}}else{int_obj.date_string=VMM.Date.prettyDate(int_obj.date,true)}inc_time=inc_time+1;_first_run=false;int_obj.relative_pos=positionRelative(interval,int_obj.date);_last_pos=int_obj.relative_pos.begin;if(int_obj.relative_pos.begin>_largest_pos){_largest_pos=int_obj.relative_pos.begin}VMM.appendElement(int_obj.element,int_obj.date_string);VMM.Lib.css(int_obj.element,"text-indent",-(VMM.Lib.width(int_obj.element)/2));VMM.Lib.css(int_obj.element,"opacity","0");_array.push(int_obj)}VMM.Lib.width($timeintervalminor_minor,_largest_pos);positionInterval(_element_parent,_array)}function build(){var i=0,j=0;VMM.attachElement(layout,"");$timenav=VMM.appendAndGetElement(layout,"
","timenav");$content=VMM.appendAndGetElement($timenav,"
","content");$time=VMM.appendAndGetElement($timenav,"
","time");$timeintervalminor=VMM.appendAndGetElement($time,"
","time-interval-minor");$timeintervalminor_minor=VMM.appendAndGetElement($timeintervalminor,"
","minor");$timeintervalmajor=VMM.appendAndGetElement($time,"
","time-interval-major");$timeinterval=VMM.appendAndGetElement($time,"
","time-interval");$timebackground=VMM.appendAndGetElement(layout,"
","timenav-background");$timenavline=VMM.appendAndGetElement($timebackground,"
","timenav-line");$timenavindicator=VMM.appendAndGetElement($timebackground,"
","timenav-indicator");$timeintervalbackground=VMM.appendAndGetElement($timebackground,"
","timenav-interval-background","
");$toolbar=VMM.appendAndGetElement(layout,"
","vco-toolbar");buildInterval();buildMarkers();buildEras();calculateMultiplier();positionMarkers(false);positionEras();positionInterval($timeinterval,interval_array,false,true);positionInterval($timeintervalmajor,interval_major_array);if(config.start_page){$backhome=VMM.appendAndGetElement($toolbar,"
","back-home","
");VMM.bindEvent(".back-home",onBackHome,"click");VMM.Lib.attribute($backhome,"title",VMM.master_config.language.messages.return_to_title);VMM.Lib.attribute($backhome,"rel","timeline-tooltip")}$dragslide=new VMM.DragSlider;$dragslide.createPanel(layout,$timenav,config.nav.constraint,config.touch);if(config.touch&&config.start_page){VMM.Lib.addClass($toolbar,"touch");VMM.Lib.css($toolbar,"top",55);VMM.Lib.css($toolbar,"left",10)}else{if(config.start_page){VMM.Lib.css($toolbar,"top",27)}$zoomin=VMM.appendAndGetElement($toolbar,"
","zoom-in","
");$zoomout=VMM.appendAndGetElement($toolbar,"
","zoom-out","
");VMM.bindEvent($zoomin,onZoomIn,"click");VMM.bindEvent($zoomout,onZoomOut,"click");VMM.Lib.attribute($zoomin,"title",VMM.master_config.language.messages.expand_timeline);VMM.Lib.attribute($zoomin,"rel","timeline-tooltip");VMM.Lib.attribute($zoomout,"title",VMM.master_config.language.messages.contract_timeline);VMM.Lib.attribute($zoomout,"rel","timeline-tooltip");$toolbar.tooltip({selector:"div[rel=timeline-tooltip]",placement:"right"});VMM.bindEvent(layout,onMouseScroll,"DOMMouseScroll");VMM.bindEvent(layout,onMouseScroll,"mousewheel")}if(config.nav.zoom.adjust!=0){if(config.nav.zoom.adjust<0){for(i=0;idata.length/config.nav.density){interval=interval_calc.century;interval_major=interval_calc.millenium;interval_macro=interval_calc.decade}else if(timespan.decades>data.length/config.nav.density){interval=interval_calc.decade;interval_major=interval_calc.century;interval_macro=interval_calc.year}else if(timespan.years>data.length/config.nav.density){interval=interval_calc.year;interval_major=interval_calc.decade;interval_macro=interval_calc.month}else if(timespan.months>data.length/config.nav.density){interval=interval_calc.month;interval_major=interval_calc.year;interval_macro=interval_calc.day}else if(timespan.days>data.length/config.nav.density){interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}else if(timespan.hours>data.length/config.nav.density){interval=interval_calc.hour;interval_major=interval_calc.day;interval_macro=interval_calc.minute}else if(timespan.minutes>data.length/config.nav.density){interval=interval_calc.minute;interval_major=interval_calc.hour;interval_macro=interval_calc.second}else if(timespan.seconds>data.length/config.nav.density){interval=interval_calc.second;interval_major=interval_calc.minute;interval_macro=interval_calc.second}else{trace("NO IDEA WHAT THE TYPE SHOULD BE");interval=interval_calc.day;interval_major=interval_calc.month;interval_macro=interval_calc.hour}trace("INTERVAL TYPE: "+interval.type);trace("INTERVAL MAJOR TYPE: "+interval_major.type);createIntervalElements(interval,interval_array,$timeinterval);createIntervalElements(interval_major,interval_major_array,$timeintervalmajor);for(i=0;i","marker");_marker_flag=VMM.appendAndGetElement(_marker,"
","flag");_marker_content=VMM.appendAndGetElement(_marker_flag,"
","flag-content");_marker_dot=VMM.appendAndGetElement(_marker,"
","dot");_marker_line=VMM.appendAndGetElement(_marker,"
","line");_marker_line_event=VMM.appendAndGetElement(_marker_line,"
","event-line");_marker_relative_pos=positionRelative(interval,data[i].startdate,data[i].enddate);_marker_thumb="";if(data[i].asset!=null&&data[i].asset!=""){VMM.appendElement(_marker_content,VMM.MediaElement.thumbnail(data[i].asset,24,24,data[i].uniqueid))}else{VMM.appendElement(_marker_content,"
")}if(data[i].title==""||data[i].title==" "){trace("TITLE NOTHING");if(typeof data[i].slug!="undefined"&&data[i].slug!=""){trace("SLUG");_marker_title=VMM.Util.untagify(data[i].slug);has_title=true}else{var m=VMM.MediaType(data[i].asset.media);if(m.type=="quote"||m.type=="unknown"){_marker_title=VMM.Util.untagify(m.id);has_title=true}else{has_title=false}}}else if(data[i].title!=""||data[i].title!=" "){trace(data[i].title);_marker_title=VMM.Util.untagify(data[i].title);has_title=true}else{trace("TITLE SLUG NOT FOUND "+data[i].slug)}if(has_title){VMM.appendElement(_marker_content,"

"+_marker_title+"

")}else{VMM.appendElement(_marker_content,"

"+_marker_title+"

");VMM.appendElement(_marker_content,"

"+_marker_title+"

")}VMM.Lib.attr(_marker,"id",("marker_"+data[i].uniqueid).toString());VMM.bindEvent(_marker_flag,onMarkerClick,"",{number:i});VMM.bindEvent(_marker_flag,onMarkerHover,"mouseenter mouseleave",{number:i,elem:_marker_flag});_marker_obj={marker:_marker,flag:_marker_flag,lineevent:_marker_line_event,type:"marker",full:true,relative_pos:_marker_relative_pos,tag:data[i].tag,pos_left:0};if(data[i].type=="start"){trace("BUILD MARKER HAS START PAGE");config.start_page=true;_marker_obj.type="start"}if(data[i].type=="storify"){_marker_obj.type="storify"}if(data[i].tag){tags.push(data[i].tag)}markers.push(_marker_obj)}tags=VMM.Util.deDupeArray(tags);config.tagSortFunction(tags);if(tags.length>3){config.nav.rows.current=config.nav.rows.half}else{config.nav.rows.current=config.nav.rows.full}for(k=0;k","timenav-tag");VMM.Lib.addClass(tag_element,"timenav-tag-row-"+(k+1));if(tags.length>3){VMM.Lib.addClass(tag_element,"timenav-tag-size-half")}else{VMM.Lib.addClass(tag_element,"timenav-tag-size-full")}VMM.appendElement(tag_element,"

"+tags[k]+"

")}}if(tags.length>3){for(l=0;l","era"),text_content:VMM.appendAndGetElement($timeinterval,"
","era"),startdate:VMM.Date.parse(eras[j].startDate),enddate:VMM.Date.parse(eras[j].endDate),title:eras[j].headline,uniqueid:VMM.Util.unique_ID(6),tag:"",relative_pos:""},st=VMM.Date.prettyDate(era.startdate),en=VMM.Date.prettyDate(era.enddate),era_text="
 
";if(typeof eras[j].tag!="undefined"){era.tag=eras[j].tag}era.relative_pos=positionRelative(interval,era.startdate,era.enddate);VMM.Lib.attr(era.content,"id",era.uniqueid);VMM.Lib.attr(era.text_content,"id",era.uniqueid+"_text");VMM.Lib.addClass(era.content,"era"+(current_color+1));VMM.Lib.addClass(era.text_content,"era"+(current_color+1));if(current_color-1){req=raw_data+"&callback=onJSONP_Data"}else{req=raw_data+"?callback=onJSONP_Data"}VMM.getJSON(req,VMM.Timeline.DataObj.parseJSON)}}else if(type.of(raw_data)=="html"){trace("DATA SOURCE: HTML");VMM.Timeline.DataObj.parseHTML(raw_data)}else{trace("DATA SOURCE: UNKNOWN")}},onJSONPLoaded:function(){trace("JSONP IS LOADED");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,storyjs_jsonp_data)},parseHTML:function(d){trace("parseHTML");trace("WARNING: THIS IS STILL ALPHA AND WILL NOT WORK WITH ID's other than #timeline");var _data_obj=VMM.Timeline.DataObj.data_template_obj;if(VMM.Lib.find("#timeline section","time")[0]){_data_obj.timeline.startDate=VMM.Lib.html(VMM.Lib.find("#timeline section","time")[0]);_data_obj.timeline.headline=VMM.Lib.html(VMM.Lib.find("#timeline section","h2"));_data_obj.timeline.text=VMM.Lib.html(VMM.Lib.find("#timeline section","article"));var found_main_media=false;if(VMM.Lib.find("#timeline section","figure img").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure img"),"src")}else if(VMM.Lib.find("#timeline section","figure a").length!=0){found_main_media=true;_data_obj.timeline.asset.media=VMM.Lib.attr(VMM.Lib.find("#timeline section","figure a"),"href")}else{}if(found_main_media){if(VMM.Lib.find("#timeline section","cite").length!=0){_data_obj.timeline.asset.credit=VMM.Lib.html(VMM.Lib.find("#timeline section","cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_data_obj.timeline.asset.caption=VMM.Lib.html(VMM.Lib.find("#timeline section","figcaption"))}}}VMM.Lib.each("#timeline li",function(i,elem){var valid_date=false;var _date={type:"default",startDate:"",headline:"",text:"",asset:{media:"",credit:"",caption:""},tags:"Optional"};if(VMM.Lib.find(this,"time")!=0){valid_date=true;_date.startDate=VMM.Lib.html(VMM.Lib.find(this,"time")[0]);if(VMM.Lib.find(this,"time")[1]){_date.endDate=VMM.Lib.html(VMM.Lib.find(this,"time")[1])}_date.headline=VMM.Lib.html(VMM.Lib.find(this,"h3"));_date.text=VMM.Lib.html(VMM.Lib.find(this,"article"));var found_media=false;if(VMM.Lib.find(this,"figure img").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure img"),"src")}else if(VMM.Lib.find(this,"figure a").length!=0){found_media=true;_date.asset.media=VMM.Lib.attr(VMM.Lib.find(this,"figure a"),"href")}else{}if(found_media){if(VMM.Lib.find(this,"cite").length!=0){_date.asset.credit=VMM.Lib.html(VMM.Lib.find(this,"cite"))}if(VMM.Lib.find(this,"figcaption").length!=0){_date.asset.caption=VMM.Lib.html(VMM.Lib.find(this,"figcaption"))}}trace(_date);_data_obj.timeline.date.push(_date)}});VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)},parseJSON:function(d){trace("parseJSON");if(d.timeline.type=="default"){trace("DATA SOURCE: JSON STANDARD TIMELINE");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,d)}else if(d.timeline.type=="twitter"){trace("DATA SOURCE: JSON TWEETS");VMM.Timeline.DataObj.model_Tweets.buildData(d)}else{trace("DATA SOURCE: UNKNOWN JSON");trace(type.of(d.timeline))}},model:{googlespreadsheet:{extractSpreadsheetKey:function(url){var key=VMM.Util.getUrlVars(url)["key"];if(!key){if(url.match("docs.google.com/spreadsheets/d/")){var pos=url.indexOf("docs.google.com/spreadsheets/d/")+"docs.google.com/spreadsheets/d/".length;var tail=url.substr(pos);key=tail.split("/")[0]}}if(!key){key=url}return key},getData:function(raw){var getjsondata,key,worksheet,url,timeout,tries=0;key=VMM.Timeline.DataObj.model.googlespreadsheet.extractSpreadsheetKey(raw);worksheet=VMM.Util.getUrlVars(raw)["worksheet"];if(typeof worksheet=="undefined")worksheet="1";url="https://spreadsheets.google.com/feeds/list/"+key+"/"+worksheet+"/public/values?alt=json";timeout=setTimeout(function(){trace("Google Docs timeout "+url);trace(url);if(tries<3){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Still waiting on Google Docs, trying again "+tries);tries++;getjsondata.abort();requestJsonData()}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Google Docs is not responding")}},16e3);function requestJsonData(){getjsondata=VMM.getJSON(url,function(d){clearTimeout(timeout);VMM.Timeline.DataObj.model.googlespreadsheet.buildData(d)}).error(function(jqXHR,textStatus,errorThrown){if(jqXHR.status==400){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error reading Google spreadsheet. Check the URL and make sure it's published to the web.");clearTimeout(timeout);return}trace("Google Docs ERROR");trace("Google Docs ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(timeout)})}requestJsonData()},buildData:function(d){var data_obj=VMM.Timeline.DataObj.data_template_obj,is_valid=false;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Google Doc Data");function getGVar(v){if(typeof v!="undefined"){return v.$t}else{return""}}if(typeof d.feed.entry=="undefined"){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Error parsing spreadsheet. Make sure you have no blank rows and that the headers have not been changed.")}else{is_valid=true;for(var i=0;imax_row){max_row=parseInt(dd.gs$cell.row)}}for(var i=0;i0;if(is_valid){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Finished Parsing Data");VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,data_obj)}else{VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Unable to load Google Doc data source. Make sure you have no blank rows and that the headers have not been changed.")}}},storify:{getData:function(raw){var key,url,storify_timeout;VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");key=raw.split("storify.com/")[1];url="//api.storify.com/v1/stories/"+key+"?per_page=300&callback=?";storify_timeout=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(url,VMM.Timeline.DataObj.model.storify.buildData).error(function(jqXHR,textStatus,errorThrown){trace("STORIFY error");trace("STORIFY ERROR: "+textStatus+" "+jqXHR.responseText)}).success(function(d){clearTimeout(storify_timeout)})},buildData:function(d){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");var _data_obj=VMM.Timeline.DataObj.data_template_obj;_data_obj.timeline.startDate=new Date(d.content.date.created);_data_obj.timeline.headline=d.content.title;trace(d);var tt="";var t_name=d.content.author.username;var t_nickname="";if(typeof d.content.author.name!="undefined"){t_name=d.content.author.name;t_nickname=d.content.author.username+" "}if(typeof d.content.description!="undefined"&&d.content.description!=null){tt+=d.content.description}tt+="";_data_obj.timeline.text=tt;_data_obj.timeline.asset.media=d.content.thumbnail;_data_obj.timeline.type="storify";for(var i=0;i"+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else if(dd.source.name=="instagram"){_date.asset.media=dd.permalink;_date.asset.credit=""+dd.attribution.name+"";_date.asset.credit+=" on "+dd.source.name+""}else{_date.asset.credit=""+dd.attribution.name+"";if(typeof dd.source.href!="undefined"){_date.asset.credit+=" on "+dd.source.name+""}_date.asset.media=dd.data.image.src}}else{_date.asset.credit=""+dd.attribution.name+"";_date.asset.media=dd.data.image.src}_date.slug=dd.attribution.name;if(typeof dd.data.image.caption!="undefined"){if(dd.data.image.caption!="undefined"){_date.asset.caption=dd.data.image.caption;_date.slug=dd.data.image.caption}}}else if(dd.type=="quote"){if(dd.permalink.match("twitter")){_date.asset.media=dd.permalink;_date.slug=VMM.Util.untagify(dd.data.quote.text)}else if(dd.permalink.match("storify")){is_text=true;_date.asset.media="
"+dd.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"
"}}else if(dd.type=="link"){_date.headline=dd.data.link.title;_date.text=dd.data.link.description;if(dd.data.link.thumbnail!="undefined"&&dd.data.link.thumbnail!=""){_date.asset.media=dd.data.link.thumbnail}else{_date.asset.media=dd.permalink}_date.asset.caption=""+dd.data.link.title+"";_date.slug=dd.data.link.title}else if(dd.type=="text"){if(dd.permalink.match("storify")){is_text=true;var d_name=d.content.author.username;var d_nickname="";if(typeof dd.attribution.name!="undefined"){t_name=dd.attribution.name;t_nickname=dd.attribution.username+" "}var asset_text="
";asset_text+="

"+dd.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"

";asset_text+="
";_date.text=asset_text;if(i+1>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+1].type=="text"&&d.content.elements[i+1].permalink.match("storify")){if(i+2>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+2].type=="text"&&d.content.elements[i+2].permalink.match("storify")){if(i+3>=d.content.elements.length){_date.startDate=d.content.elements[i-1].posted_at}else{if(d.content.elements[i+3].type=="text"&&d.content.elements[i+3].permalink.match("storify")){_date.startDate=d.content.elements[i-1].posted_at}else{trace("LEVEL 3");_date.startDate=d.content.elements[i+3].posted_at}}}else{trace("LEVEL 2");_date.startDate=d.content.elements[i+2].posted_at}}}else{trace("LEVEL 1");_date.startDate=d.content.elements[i+1].posted_at}}_date.endDate=_date.startDate}}else if(dd.type=="video"){_date.headline=dd.data.video.title;_date.asset.caption=dd.data.video.description;_date.asset.caption=dd.source.username;_date.asset.media=dd.data.video.src}else{trace("NO MATCH ");trace(dd)}if(is_text){_date.slug=VMM.Util.untagify(dd.data.text)}_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}},tweets:{type:"twitter",buildData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweets(raw_data.timeline.tweets)},getData:function(raw_data){VMM.bindEvent(global,VMM.Timeline.DataObj.model.tweets.onTwitterDataReady,"TWEETSLOADED");VMM.ExternalAPI.twitter.getTweetSearch(raw_data)},onTwitterDataReady:function(e,d){var _data_obj=VMM.Timeline.DataObj.data_template_obj;for(var i=0;i"+"@"+d.tweetdata[i].raw.from_user+")"}else{_date.headline=d.tweetdata[i].raw.user.name+" ("+"@"+d.tweetdata[i].raw.user.screen_name+")"}_date.asset.media=d.tweetdata[i].content;_data_obj.timeline.date.push(_date)}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,_data_obj)}}},data_template_obj:{timeline:{headline:"",description:"",asset:{media:"",credit:"",caption:""},date:[],era:[]}},date_obj:{startDate:"2012,2,2,11,30",headline:"",text:"",asset:{media:"http://youtu.be/vjVfu8-Wp6s",credit:"",caption:""},tags:"Optional"}}}VMM.debug=false; \ No newline at end of file diff --git a/build/js/timeline.js b/build/js/timeline.js deleted file mode 100644 index 4bf360b0c..000000000 --- a/build/js/timeline.js +++ /dev/null @@ -1,10104 +0,0 @@ -/* - TimelineJS - ver. 2015-06-10-16-17-35 - 2015-06-10 - Copyright (c) 2012-2015 Northwestern University - a project of the Northwestern University Knight Lab, originally created by Zach Wise - https://github.com/NUKnightLab/TimelineJS - This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. - If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -*/ - -/* ********************************************** - Begin VMM.js -********************************************** */ - -/** - * VéritéCo JS Core - * Designed and built by Zach Wise at VéritéCo zach@verite.co - - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - -*/ - - -/* Simple JavaScript Inheritance - By John Resig http://ejohn.org/ - MIT Licensed. -================================================== */ -(function() { - var initializing = false, - fnTest = /xyz/.test(function() { - xyz; - }) ? /\b_super\b/: /.*/; - // The base Class implementation (does nothing) - this.Class = function() {}; - - // Create a new Class that inherits from this class - Class.extend = function(prop) { - var _super = this.prototype; - - // Instantiate a base class (but only create the instance, - // don't run the init constructor) - initializing = true; - var prototype = new this(); - initializing = false; - - // Copy the properties over onto the new prototype - for (var name in prop) { - // Check if we're overwriting an existing function - prototype[name] = typeof prop[name] == "function" && - typeof _super[name] == "function" && fnTest.test(prop[name]) ? - (function(name, fn) { - return function() { - var tmp = this._super; - - // Add a new ._super() method that is the same method - // but on the super-class - this._super = _super[name]; - - // The method only need to be bound temporarily, so we - // remove it when we're done executing - var ret = fn.apply(this, arguments); - this._super = tmp; - - return ret; - }; - })(name, prop[name]) : - prop[name]; - } - - // The dummy class constructor - function Class() { - // All construction is actually done in the init method - if (!initializing && this.init) - this.init.apply(this, arguments); - } - - // Populate our constructed prototype object - Class.prototype = prototype; - - // Enforce the constructor to be what we expect - Class.prototype.constructor = Class; - - // And make this class extendable - Class.extend = arguments.callee; - - return Class; - }; -})(); - -/* Access to the Global Object - access the global object without hard-coding the identifier window -================================================== */ -var global = (function () { - return this || (1,eval)('this'); -}()); - -/* VMM -================================================== */ -if (typeof VMM == 'undefined') { - - /* Main Scope Container - ================================================== */ - //var VMM = {}; - var VMM = Class.extend({}); - - /* Debug - ================================================== */ - VMM.debug = true; - - /* Master Config - ================================================== */ - - VMM.master_config = ({ - - init: function() { - return this; - }, - - sizes: { - api: { - width: 0, - height: 0 - } - }, - - vp: "Pellentesque nibh felis, eleifend id, commodo in, interdum vitae, leo", - - api_keys_master: { - flickr: "RAIvxHY4hE/Elm5cieh4X5ptMyDpj7MYIxziGxi0WGCcy1s+yr7rKQ==", - //google: "jwNGnYw4hE9lmAez4ll0QD+jo6SKBJFknkopLS4FrSAuGfIwyj57AusuR0s8dAo=", - google: "uQKadH1VMlCsp560gN2aOiMz4evWkl1s34yryl3F/9FJOsn+/948CbBUvKLN46U=", - twitter: "" - }, - - timers: { - api: 7000 - }, - - api: { - pushques: [] - - }, - - twitter: { - active: false, - array: [], - api_loaded: false, - que: [] - }, - - flickr: { - active: false, - array: [], - api_loaded: false, - que: [] - }, - - youtube: { - active: false, - array: [], - api_loaded: false, - que: [] - }, - - vimeo: { - active: false, - array: [], - api_loaded: false, - que: [] - }, - - vine: { - active: false, - array: [], - api_loaded: false, - que: [] - }, - - webthumb: { - active: false, - array: [], - api_loaded: false, - que: [] - }, - - googlemaps: { - active: false, - map_active: false, - places_active: false, - array: [], - api_loaded: false, - que: [] - }, - - googledocs: { - active: false, - array: [], - api_loaded: false, - que: [] - }, - - googleplus: { - active: false, - array: [], - api_loaded: false, - que: [] - }, - - wikipedia: { - active: false, - array: [], - api_loaded: false, - que: [], - tries: 0 - }, - - soundcloud: { - active: false, - array: [], - api_loaded: false, - que: [] - } - - }).init(); - - //VMM.createElement(tag, value, cName, attrs, styles); - VMM.createElement = function(tag, value, cName, attrs, styles) { - - var ce = ""; - - if (tag != null && tag != "") { - - // TAG - ce += "<" + tag; - if (cName != null && cName != "") { - ce += " class='" + cName + "'"; - }; - - if (attrs != null && attrs != "") { - ce += " " + attrs; - }; - - if (styles != null && styles != "") { - ce += " style='" + styles + "'"; - }; - - ce += ">"; - - if (value != null && value != "") { - ce += value; - } - - // CLOSE TAG - ce = ce + ""; - } - - return ce; - - }; - - VMM.createMediaElement = function(media, caption, credit) { - - var ce = ""; - - var _valid = false; - - ce += "
"; - - if (media != null && media != "") { - - valid = true; - - ce += ""; - - // CREDIT - if (credit != null && credit != "") { - ce += VMM.createElement("div", credit, "credit"); - } - - // CAPTION - if (caption != null && caption != "") { - ce += VMM.createElement("div", caption, "caption"); - } - - } - - ce += "
"; - - return ce; - - }; - - // Hide URL Bar for iOS and Android by Scott Jehl - // https://gist.github.com/1183357 - - VMM.hideUrlBar = function () { - var win = window, - doc = win.document; - - // If there's a hash, or addEventListener is undefined, stop here - if( !location.hash || !win.addEventListener ){ - - //scroll to 1 - window.scrollTo( 0, 1 ); - var scrollTop = 1, - - //reset to 0 on bodyready, if needed - bodycheck = setInterval(function(){ - if( doc.body ){ - clearInterval( bodycheck ); - scrollTop = "scrollTop" in doc.body ? doc.body.scrollTop : 1; - win.scrollTo( 0, scrollTop === 1 ? 0 : 1 ); - } - }, 15 ); - - win.addEventListener( "load", function(){ - setTimeout(function(){ - //reset to hide addr bar at onload - win.scrollTo( 0, scrollTop === 1 ? 0 : 1 ); - }, 0); - }, false ); - } - }; - - -} - -/* Trace (console.log) -================================================== */ -function trace( msg ) { - if (VMM.debug) { - if (window.console) { - console.log(msg); - } else if ( typeof( jsTrace ) != 'undefined' ) { - jsTrace.send( msg ); - } else { - //alert(msg); - } - } -} - -/* Extending Date to include Week -================================================== */ -Date.prototype.getWeek = function() { - var onejan = new Date(this.getFullYear(),0,1); - return Math.ceil((((this - onejan) / 86400000) + onejan.getDay()+1)/7); -} - -/* Extending Date to include Day of Year -================================================== */ -Date.prototype.getDayOfYear = function() { - var onejan = new Date(this.getFullYear(),0,1); - return Math.ceil((this - onejan) / 86400000); -} - -/* A MORE SPECIFIC TYPEOF(); -// http://rolandog.com/archives/2007/01/18/typeof-a-more-specific-typeof/ -================================================== */ -// type.of() -var is={ - Null:function(a){return a===null;}, - Undefined:function(a){return a===undefined;}, - nt:function(a){return(a===null||a===undefined);}, - Function:function(a){return(typeof(a)==="function")?a.constructor.toString().match(/Function/)!==null:false;}, - String:function(a){return(typeof(a)==="string")?true:(typeof(a)==="object")?a.constructor.toString().match(/string/i)!==null:false;}, - Array:function(a){return(typeof(a)==="object")?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:false;}, - Boolean:function(a){return(typeof(a)==="boolean")?true:(typeof(a)==="object")?a.constructor.toString().match(/boolean/i)!==null:false;}, - Date:function(a){return(typeof(a)==="date")?true:(typeof(a)==="object")?a.constructor.toString().match(/date/i)!==null:false;}, - HTML:function(a){return(typeof(a)==="object")?a.constructor.toString().match(/html/i)!==null:false;}, - Number:function(a){return(typeof(a)==="number")?true:(typeof(a)==="object")?a.constructor.toString().match(/Number/)!==null:false;}, - Object:function(a){return(typeof(a)==="object")?a.constructor.toString().match(/object/i)!==null:false;}, - RegExp:function(a){return(typeof(a)==="function")?a.constructor.toString().match(/regexp/i)!==null:false;} -}; -var type={ - of:function(a){ - for(var i in is){ - if(is[i](a)){ - return i.toLowerCase(); - } - } - } -}; - - - - - -/* ********************************************** - Begin VMM.Library.js -********************************************** */ - -/* * LIBRARY ABSTRACTION -================================================== */ -if(typeof VMM != 'undefined') { - - VMM.smoothScrollTo = function(elem, duration, ease) { - if( typeof( jQuery ) != 'undefined' ){ - var _ease = "easein", - _duration = 1000; - - if (duration != null) { - if (duration < 1) { - _duration = 1; - } else { - _duration = Math.round(duration); - } - - } - - if (ease != null && ease != "") { - _ease = ease; - } - - if (jQuery(window).scrollTop() != VMM.Lib.offset(elem).top) { - VMM.Lib.animate('html,body', _duration, _ease, {scrollTop: VMM.Lib.offset(elem).top}) - } - - } - - }; - - VMM.attachElement = function(element, content) { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).html(content); - } - - }; - - VMM.appendElement = function(element, content) { - - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).append(content); - } - - }; - - VMM.getHTML = function(element) { - var e; - if( typeof( jQuery ) != 'undefined' ){ - e = jQuery(element).html(); - return e; - } - - }; - - VMM.getElement = function(element, p) { - var e; - if( typeof( jQuery ) != 'undefined' ){ - if (p) { - e = jQuery(element).parent().get(0); - - } else { - e = jQuery(element).get(0); - } - return e; - } - - }; - - VMM.bindEvent = function(element, the_handler, the_event_type, event_data) { - var e; - var _event_type = "click"; - var _event_data = {}; - - if (the_event_type != null && the_event_type != "") { - _event_type = the_event_type; - } - - if (_event_data != null && _event_data != "") { - _event_data = event_data; - } - - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).bind(_event_type, _event_data, the_handler); - - //return e; - } - - }; - - VMM.unbindEvent = function(element, the_handler, the_event_type) { - var e; - var _event_type = "click"; - var _event_data = {}; - - if (the_event_type != null && the_event_type != "") { - _event_type = the_event_type; - } - - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).unbind(_event_type, the_handler); - - //return e; - } - - }; - - VMM.fireEvent = function(element, the_event_type, the_data) { - var e; - var _event_type = "click"; - var _data = []; - - if (the_event_type != null && the_event_type != "") { - _event_type = the_event_type; - } - if (the_data != null && the_data != "") { - _data = the_data; - } - - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).trigger(_event_type, _data); - - //return e; - } - - }; - - VMM.getJSON = function(url, data, callback) { - if( typeof( jQuery ) != 'undefined' ){ - jQuery.ajaxSetup({ - timeout: 3000 - }); - /* CHECK FOR IE - ================================================== */ - if ( VMM.Browser.browser == "Explorer" && - parseInt(VMM.Browser.version, 10) >= 7 && - window.XDomainRequest && - url.match('^https?://')) { - trace("old IE JSON doesn't like retrieving from different protocol"); - var colon = url.indexOf(':'); - url = url.substr(colon+1); - } - return jQuery.getJSON(url, data, callback); - - } - } - - VMM.parseJSON = function(the_json) { - if( typeof( jQuery ) != 'undefined' ){ - return jQuery.parseJSON(the_json); - } - } - - // ADD ELEMENT AND RETURN IT - VMM.appendAndGetElement = function(append_to_element, tag, cName, content) { - var e, - _tag = "
", - _class = "", - _content = "", - _id = ""; - - if (tag != null && tag != "") { - _tag = tag; - } - - if (cName != null && cName != "") { - _class = cName; - } - - if (content != null && content != "") { - _content = content; - } - - if( typeof( jQuery ) != 'undefined' ){ - - e = jQuery(tag); - - e.addClass(_class); - e.html(_content); - - jQuery(append_to_element).append(e); - - } - - return e; - - }; - - VMM.Lib = { - - init: function() { - return this; - }, - - hide: function(element, duration) { - if (duration != null && duration != "") { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).hide(duration); - } - } else { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).hide(); - } - } - - }, - - remove: function(element) { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).remove(); - } - }, - - detach: function(element) { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).detach(); - } - }, - - append: function(element, value) { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).append(value); - } - }, - - prepend: function(element, value) { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).prepend(value); - } - }, - - show: function(element, duration) { - if (duration != null && duration != "") { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).show(duration); - } - } else { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).show(); - } - } - - }, - - load: function(element, callback_function, event_data) { - var _event_data = {elem:element}; // return element by default - if (_event_data != null && _event_data != "") { - _event_data = event_data; - } - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).load(_event_data, callback_function); - } - }, - - addClass: function(element, cName) { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).addClass(cName); - } - }, - - removeClass: function(element, cName) { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).removeClass(cName); - } - }, - - attr: function(element, aName, value) { - if (value != null && value != "") { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).attr(aName, value); - } - } else { - if( typeof( jQuery ) != 'undefined' ){ - return jQuery(element).attr(aName); - } - } - }, - - prop: function(element, aName, value) { - if (typeof jQuery == 'undefined' || !/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)) { - VMM.Lib.attribute(element, aName, value); - } else { - jQuery(element).prop(aName, value); - } - }, - - attribute: function(element, aName, value) { - - if (value != null && value != "") { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).attr(aName, value); - } - } else { - if( typeof( jQuery ) != 'undefined' ){ - return jQuery(element).attr(aName); - } - } - }, - - visible: function(element, show) { - if (show != null) { - if( typeof( jQuery ) != 'undefined' ){ - if (show) { - jQuery(element).show(0); - } else { - jQuery(element).hide(0); - } - } - } else { - if( typeof( jQuery ) != 'undefined' ){ - if ( jQuery(element).is(':visible')){ - return true; - } else { - return false; - } - } - } - }, - - css: function(element, prop, value) { - - if (value != null && value != "") { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).css(prop, value); - } - } else { - if( typeof( jQuery ) != 'undefined' ){ - return jQuery(element).css(prop); - } - } - }, - - cssmultiple: function(element, propval) { - - if( typeof( jQuery ) != 'undefined' ){ - return jQuery(element).css(propval); - } - }, - - offset: function(element) { - var p; - if( typeof( jQuery ) != 'undefined' ){ - p = jQuery(element).offset(); - } - return p; - }, - - position: function(element) { - var p; - if( typeof( jQuery ) != 'undefined' ){ - p = jQuery(element).position(); - } - return p; - }, - - width: function(element, s) { - if (s != null && s != "") { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).width(s); - } - } else { - if( typeof( jQuery ) != 'undefined' ){ - return jQuery(element).width(); - } - } - }, - - height: function(element, s) { - if (s != null && s != "") { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).height(s); - } - } else { - if( typeof( jQuery ) != 'undefined' ){ - return jQuery(element).height(); - } - } - }, - - toggleClass: function(element, cName) { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).toggleClass(cName); - } - }, - - each:function(element, return_function) { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).each(return_function); - } - - }, - - html: function(element, str) { - var e; - if( typeof( jQuery ) != 'undefined' ){ - e = jQuery(element).html(); - return e; - } - - if (str != null && str != "") { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).html(str); - } - } else { - var e; - if( typeof( jQuery ) != 'undefined' ){ - e = jQuery(element).html(); - return e; - } - } - - }, - - find: function(element, selec) { - if( typeof( jQuery ) != 'undefined' ){ - return jQuery(element).find(selec); - } - }, - - stop: function(element) { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).stop(); - } - }, - - delay_animate: function(delay, element, duration, ease, att, callback_function) { - if (VMM.Browser.device == "mobile" || VMM.Browser.device == "tablet") { - var _tdd = Math.round((duration/1500)*10)/10, - __duration = _tdd + 's'; - - VMM.Lib.css(element, '-webkit-transition', 'all '+ __duration + ' ease'); - VMM.Lib.css(element, '-moz-transition', 'all '+ __duration + ' ease'); - VMM.Lib.css(element, '-o-transition', 'all '+ __duration + ' ease'); - VMM.Lib.css(element, '-ms-transition', 'all '+ __duration + ' ease'); - VMM.Lib.css(element, 'transition', 'all '+ __duration + ' ease'); - VMM.Lib.cssmultiple(element, _att); - } else { - if( typeof( jQuery ) != 'undefined' ){ - jQuery(element).delay(delay).animate(att, {duration:duration, easing:ease} ); - } - } - - }, - - animate: function(element, duration, ease, att, que, callback_function) { - - var _ease = "easein", - _que = false, - _duration = 1000, - _att = {}; - - if (duration != null) { - if (duration < 1) { - _duration = 1; - } else { - _duration = Math.round(duration); - } - - } - - if (ease != null && ease != "") { - _ease = ease; - } - - if (que != null && que != "") { - _que = que; - } - - - if (att != null) { - _att = att - } else { - _att = {opacity: 0} - } - - - if (VMM.Browser.device == "mobile" || VMM.Browser.device == "tablet") { - - var _tdd = Math.round((_duration/1500)*10)/10, - __duration = _tdd + 's'; - - _ease = " cubic-bezier(0.33, 0.66, 0.66, 1)"; - //_ease = " ease-in-out"; - for (x in _att) { - if (Object.prototype.hasOwnProperty.call(_att, x)) { - trace(x + " to " + _att[x]); - VMM.Lib.css(element, '-webkit-transition', x + ' ' + __duration + _ease); - VMM.Lib.css(element, '-moz-transition', x + ' ' + __duration + _ease); - VMM.Lib.css(element, '-o-transition', x + ' ' + __duration + _ease); - VMM.Lib.css(element, '-ms-transition', x + ' ' + __duration + _ease); - VMM.Lib.css(element, 'transition', x + ' ' + __duration + _ease); - } - } - - VMM.Lib.cssmultiple(element, _att); - - } else { - if( typeof( jQuery ) != 'undefined' ){ - if (callback_function != null && callback_function != "") { - jQuery(element).animate(_att, {queue:_que, duration:_duration, easing:_ease, complete:callback_function} ); - } else { - jQuery(element).animate(_att, {queue:_que, duration:_duration, easing:_ease} ); - } - } - } - - } - - } -} - -if( typeof( jQuery ) != 'undefined' ){ - - /* XDR AJAX EXTENTION FOR jQuery - https://github.com/jaubourg/ajaxHooks/blob/master/src/ajax/xdr.js - ================================================== */ - (function( jQuery ) { - if ( window.XDomainRequest ) { - jQuery.ajaxTransport(function( s ) { - if ( s.crossDomain && s.async ) { - if ( s.timeout ) { - s.xdrTimeout = s.timeout; - delete s.timeout; - } - var xdr; - return { - send: function( _, complete ) { - function callback( status, statusText, responses, responseHeaders ) { - xdr.onload = xdr.onerror = xdr.ontimeout = jQuery.noop; - xdr = undefined; - complete( status, statusText, responses, responseHeaders ); - } - xdr = new XDomainRequest(); - xdr.open( s.type, s.url ); - xdr.onload = function() { - callback( 200, "OK", { text: xdr.responseText }, "Content-Type: " + xdr.contentType ); - }; - xdr.onerror = function() { - callback( 404, "Not Found" ); - }; - if ( s.xdrTimeout ) { - xdr.ontimeout = function() { - callback( 0, "timeout" ); - }; - xdr.timeout = s.xdrTimeout; - } - xdr.send( ( s.hasContent && s.data ) || null ); - }, - abort: function() { - if ( xdr ) { - xdr.onerror = jQuery.noop(); - xdr.abort(); - } - } - }; - } - }); - } - })( jQuery ); - - /* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ - ================================================== */ - jQuery.easing['jswing'] = jQuery.easing['swing']; - - jQuery.extend( jQuery.easing, { - def: 'easeOutQuad', - swing: function (x, t, b, c, d) { - //alert(jQuery.easing.default); - return jQuery.easing[jQuery.easing.def](x, t, b, c, d); - }, - easeInExpo: function (x, t, b, c, d) { - return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; - }, - easeOutExpo: function (x, t, b, c, d) { - return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; - }, - easeInOutExpo: function (x, t, b, c, d) { - if (t==0) return b; - if (t==d) return b+c; - if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; - return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; - }, - easeInQuad: function (x, t, b, c, d) { - return c*(t/=d)*t + b; - }, - easeOutQuad: function (x, t, b, c, d) { - return -c *(t/=d)*(t-2) + b; - }, - easeInOutQuad: function (x, t, b, c, d) { - if ((t/=d/2) < 1) return c/2*t*t + b; - return -c/2 * ((--t)*(t-2) - 1) + b; - } - }); -} - - -/* ********************************************** - Begin VMM.Browser.js -********************************************** */ - -/* * DEVICE AND BROWSER DETECTION -================================================== */ -if(typeof VMM != 'undefined' && typeof VMM.Browser == 'undefined') { - - VMM.Browser = { - init: function () { - this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; - this.version = this.searchVersion(navigator.userAgent) - || this.searchVersion(navigator.appVersion) - || "an unknown version"; - this.tridentVersion = this.searchTridentVersion(navigator.userAgent); - this.OS = this.searchString(this.dataOS) || "an unknown OS"; - this.device = this.searchDevice(navigator.userAgent); - this.orientation = this.searchOrientation(window.orientation); - }, - searchOrientation: function(orientation) { - var orient = ""; - if ( orientation == 0 || orientation == 180) { - orient = "portrait"; - } else if ( orientation == 90 || orientation == -90) { - orient = "landscape"; - } else { - orient = "normal"; - } - return orient; - }, - searchDevice: function(d) { - var device = ""; - if (d.match(/Android/i) || d.match(/iPhone|iPod/i)) { - device = "mobile"; - } else if (d.match(/iPad/i)) { - device = "tablet"; - } else if (d.match(/BlackBerry/i) || d.match(/IEMobile/i)) { - device = "other mobile"; - } else { - device = "desktop"; - } - return device; - }, - searchString: function (data) { - for (var i=0;i'mmmm d',' yyyy''", - full_long: "mmm d',' yyyy 'at' hh:MM TT", - full_long_small_date: "hh:MM TT'
mmm d',' yyyy''" - }, - - month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], - month_abbr: ["Jan.", "Feb.", "March", "April", "May", "June", "July", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."], - day: ["Sunday","Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], - day_abbr: ["Sun.", "Mon.", "Tues.", "Wed.", "Thurs.", "Fri.", "Sat."], - hour: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], - hour_suffix: ["am"], - - //B.C. - bc_format: { - year: "yyyy", - month_short: "mmm", - month: "mmmm yyyy", - full_short: "mmm d", - full: "mmmm d',' yyyy", - time_no_seconds_short: "h:MM TT", - time_no_seconds_small_date: "dddd', 'h:MM TT'
'mmmm d',' yyyy''", - full_long: "dddd',' mmm d',' yyyy 'at' hh:MM TT", - full_long_small_date: "hh:MM TT'
'dddd',' mmm d',' yyyy''" - }, - - setLanguage: function(lang) { - trace("SET DATE LANGUAGE"); - VMM.Date.dateformats = lang.dateformats; - VMM.Date.month = lang.date.month; - VMM.Date.month_abbr = lang.date.month_abbr; - VMM.Date.day = lang.date.day; - VMM.Date.day_abbr = lang.date.day_abbr; - dateFormat.i18n.dayNames = lang.date.day_abbr.concat(lang.date.day); - dateFormat.i18n.monthNames = lang.date.month_abbr.concat(lang.date.month); - }, - - parse: function(d, precision) { - "use strict"; - var date, - date_array, - time_array, - time_parse, - p = { - year: false, - month: false, - day: false, - hour: false, - minute: false, - second: false, - millisecond: false - }; - - if (type.of(d) == "date") { - trace("DEBUG THIS, ITs A DATE"); - date = d; - } else { - date = new Date(0); - date.setMonth(0); date.setDate(1); date.setHours(0); date.setMinutes(0); date.setSeconds(0); date.setMilliseconds(0); - if ( d.match(/,/gi) ) { - date_array = d.split(","); - for(var i = 0; i < date_array.length; i++) { - date_array[i] = parseInt(date_array[i], 10); - } - if (date_array[0]) { - date.setFullYear(date_array[0]); - p.year = true; - } - if (date_array[1]) { - date.setMonth(date_array[1] - 1); - p.month = true; - } - if (date_array[2]) { - date.setDate(date_array[2]); - p.day = true; - } - if (date_array[3]) { - date.setHours(date_array[3]); - p.hour = true; - } - if (date_array[4]) { - date.setMinutes(date_array[4]); - p.minute = true; - } - if (date_array[5]) { - date.setSeconds(date_array[5]); - if (date_array[5] >= 1) { - p.second = true; - } - } - if (date_array[6]) { - date.setMilliseconds(date_array[6]); - if (date_array[6] >= 1) { - p.millisecond = true; - } - } - } else if (d.match("/")) { - if (d.match(" ")) { - - time_parse = d.split(" "); - if (d.match(":")) { - time_array = time_parse[1].split(":"); - if (time_array[0] >= 0 ) { - date.setHours(time_array[0]); - p.hour = true; - } - if (time_array[1] >= 0) { - date.setMinutes(time_array[1]); - p.minute = true; - } - if (time_array[2] >= 0) { - date.setSeconds(time_array[2]); - p.second = true; - } - if (time_array[3] >= 0) { - date.setMilliseconds(time_array[3]); - p.millisecond = true; - } - } - date_array = time_parse[0].split("/"); - } else { - date_array = d.split("/"); - } - if (date_array[2]) { - date.setFullYear(date_array[2]); - p.year = true; - } - if (date_array[0] >= 0) { - var month = date_array[0] - 1; - date.setMonth(month); - // if (date.getMonth() != month) { - // date.setMonth(month); // WTF javascript? - // } - p.month = true; - } - if (date_array[1] >= 0) { - if (date_array[1].length > 2) { - date.setFullYear(date_array[1]); - p.year = true; - } else { - date.setDate(date_array[1]); - p.day = true; - } - } - } else if (d.match("now")) { - var now = new Date(); - - date.setFullYear(now.getFullYear()); - p.year = true; - - date.setMonth(now.getMonth()); - p.month = true; - - date.setDate(now.getDate()); - p.day = true; - - if (d.match("hours")) { - date.setHours(now.getHours()); - p.hour = true; - } - if (d.match("minutes")) { - date.setHours(now.getHours()); - date.setMinutes(now.getMinutes()); - p.hour = true; - p.minute = true; - } - if (d.match("seconds")) { - date.setHours(now.getHours()); - date.setMinutes(now.getMinutes()); - date.setSeconds(now.getSeconds()); - p.hour = true; - p.minute = true; - p.second = true; - } - if (d.match("milliseconds")) { - date.setHours(now.getHours()); - date.setMinutes(now.getMinutes()); - date.setSeconds(now.getSeconds()); - date.setMilliseconds(now.getMilliseconds()); - p.hour = true; - p.minute = true; - p.second = true; - p.millisecond = true; - } - } else if (d.length <= 8) { - p.year = true; - date.setFullYear(parseInt(d, 10)); - date.setMonth(0); - date.setDate(1); - date.setHours(0); - date.setMinutes(0); - date.setSeconds(0); - date.setMilliseconds(0); - } else if (d.match("T")) { - if (navigator.userAgent.match(/MSIE\s(?!9.0)/)) { - // IE 8 < Won't accept dates with a "-" in them. - time_parse = d.split("T"); - if (d.match(":")) { - time_array = time_parse[1].split(":"); - if (time_array[0] >= 1) { - date.setHours(time_array[0]); - p.hour = true; - } - if (time_array[1] >= 1) { - date.setMinutes(time_array[1]); - p.minute = true; - } - if (time_array[2] >= 1) { - date.setSeconds(time_array[2]); - if (time_array[2] >= 1) { - p.second = true; - } - } - if (time_array[3] >= 1) { - date.setMilliseconds(time_array[3]); - if (time_array[3] >= 1) { - p.millisecond = true; - } - } - } - date_array = time_parse[0].split("-"); - if (date_array[0]) { - date.setFullYear(date_array[0]); - p.year = true; - } - if (date_array[1] >= 0) { - date.setMonth(date_array[1] - 1); - p.month = true; - } - if (date_array[2] >= 0) { - date.setDate(date_array[2]); - p.day = true; - } - - } else { - date = new Date(Date.parse(d)); - p.year = true; - p.month = true; - p.day = true; - p.hour = true; - p.minute = true; - if (date.getSeconds() >= 1) { - p.second = true; - } - if (date.getMilliseconds() >= 1) { - p.millisecond = true; - } - } - } else { - date = new Date( - parseInt(d.slice(0,4), 10), - parseInt(d.slice(4,6), 10) - 1, - parseInt(d.slice(6,8), 10), - parseInt(d.slice(8,10), 10), - parseInt(d.slice(10,12), 10) - ); - p.year = true; - p.month = true; - p.day = true; - p.hour = true; - p.minute = true; - if (date.getSeconds() >= 1) { - p.second = true; - } - if (date.getMilliseconds() >= 1) { - p.millisecond = true; - } - - } - - } - - if (precision != null && precision != "") { - return { - date: date, - precision: p - }; - } else { - return date; - } - }, - - - - prettyDate: function(d, is_abbr, p, d2) { - var _date, - _date2, - format, - bc_check, - is_pair = false, - bc_original, - bc_number, - bc_string; - - if (d2 != null && d2 != "" && typeof d2 != 'undefined') { - is_pair = true; - trace("D2 " + d2); - } - - - if (type.of(d) == "date") { - - if (type.of(p) == "object") { - if (p.millisecond || p.second && d.getSeconds() >= 1) { - // YEAR MONTH DAY HOUR MINUTE - if (is_abbr){ - format = VMM.Date.dateformats.time_short; - } else { - format = VMM.Date.dateformats.time_short; - } - } else if (p.minute) { - // YEAR MONTH DAY HOUR MINUTE - if (is_abbr){ - format = VMM.Date.dateformats.time_no_seconds_short; - } else { - format = VMM.Date.dateformats.time_no_seconds_small_date; - } - } else if (p.hour) { - // YEAR MONTH DAY HOUR - if (is_abbr) { - format = VMM.Date.dateformats.time_no_seconds_short; - } else { - format = VMM.Date.dateformats.time_no_seconds_small_date; - } - } else if (p.day) { - // YEAR MONTH DAY - if (is_abbr) { - format = VMM.Date.dateformats.full_short; - } else { - format = VMM.Date.dateformats.full; - } - } else if (p.month) { - // YEAR MONTH - if (is_abbr) { - format = VMM.Date.dateformats.month_short; - } else { - format = VMM.Date.dateformats.month; - } - } else if (p.year) { - format = VMM.Date.dateformats.year; - } else { - format = VMM.Date.dateformats.year; - } - - } else { - - if (d.getMonth() === 0 && d.getDate() == 1 && d.getHours() === 0 && d.getMinutes() === 0 ) { - // YEAR ONLY - format = VMM.Date.dateformats.year; - } else if (d.getDate() <= 1 && d.getHours() === 0 && d.getMinutes() === 0) { - // YEAR MONTH - if (is_abbr) { - format = VMM.Date.dateformats.month_short; - } else { - format = VMM.Date.dateformats.month; - } - } else if (d.getHours() === 0 && d.getMinutes() === 0) { - // YEAR MONTH DAY - if (is_abbr) { - format = VMM.Date.dateformats.full_short; - } else { - format = VMM.Date.dateformats.full; - } - } else if (d.getMinutes() === 0) { - // YEAR MONTH DAY HOUR - if (is_abbr) { - format = VMM.Date.dateformats.time_no_seconds_short; - } else { - format = VMM.Date.dateformats.time_no_seconds_small_date; - } - } else { - // YEAR MONTH DAY HOUR MINUTE - if (is_abbr){ - format = VMM.Date.dateformats.time_no_seconds_short; - } else { - format = VMM.Date.dateformats.full_long; - } - } - } - - _date = dateFormat(d, format, false); - //_date = "Jan" - bc_check = _date.split(" "); - - // BC TIME SUPPORT - for(var i = 0; i < bc_check.length; i++) { - if ( parseInt(bc_check[i], 10) < 0 ) { - trace("YEAR IS BC"); - bc_original = bc_check[i]; - bc_number = Math.abs( parseInt(bc_check[i], 10) ); - bc_string = bc_number.toString() + " B.C."; - _date = _date.replace(bc_original, bc_string); - } - } - - - if (is_pair) { - _date2 = dateFormat(d2, format, false); - bc_check = _date2.split(" "); - // BC TIME SUPPORT - for(var j = 0; j < bc_check.length; j++) { - if ( parseInt(bc_check[j], 10) < 0 ) { - trace("YEAR IS BC"); - bc_original = bc_check[j]; - bc_number = Math.abs( parseInt(bc_check[j], 10) ); - bc_string = bc_number.toString() + " B.C."; - _date2 = _date2.replace(bc_original, bc_string); - } - } - - } - } else { - trace("NOT A VALID DATE?"); - trace(d); - } - - if (is_pair) { - return _date + " — " + _date2; - } else { - return _date; - } - } - - }).init(); - - /* - * Date Format 1.2.3 - * (c) 2007-2009 Steven Levithan - * MIT license - * - * Includes enhancements by Scott Trenda - * and Kris Kowal - * - * Accepts a date, a mask, or a date and a mask. - * Returns a formatted version of the given date. - * The date defaults to the current date/time. - * The mask defaults to dateFormat.masks.default. - */ - - var dateFormat = function () { - var token = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[WLloSZ]|"[^"]*"|'[^']*'/g, - timezone = /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g, - timezoneClip = /[^-+\dA-Z]/g, - pad = function (val, len) { - val = String(val); - len = len || 2; - while (val.length < len) val = "0" + val; - return val; - }; - - // Regexes and supporting functions are cached through closure - return function (date, mask, utc) { - var dF = dateFormat; - - // You can't provide utc if you skip other args (use the "UTC:" mask prefix) - if (arguments.length == 1 && Object.prototype.toString.call(date) == "[object String]" && !/\d/.test(date)) { - mask = date; - date = undefined; - } - - // Passing date through Date applies Date.parse, if necessary - // Caused problems in IE - // date = date ? new Date(date) : new Date; - if (isNaN(date)) { - trace("invalid date " + date); - //return ""; - } - - mask = String(dF.masks[mask] || mask || dF.masks["default"]); - - // Allow setting the utc argument via the mask - if (mask.slice(0, 4) == "UTC:") { - mask = mask.slice(4); - utc = true; - } - - var _ = utc ? "getUTC" : "get", - d = date[_ + "Date"](), - D = date[_ + "Day"](), - m = date[_ + "Month"](), - y = date[_ + "FullYear"](), - H = date[_ + "Hours"](), - M = date[_ + "Minutes"](), - s = date[_ + "Seconds"](), - L = date[_ + "Milliseconds"](), - W = date.getWeek(), - o = utc ? 0 : date.getTimezoneOffset(), - flags = { - d: d, - dd: pad(d), - ddd: dF.i18n.dayNames[D], - dddd: dF.i18n.dayNames[D + 7], - m: m + 1, - mm: pad(m + 1), - mmm: dF.i18n.monthNames[m], - mmmm: dF.i18n.monthNames[m + 12], - yy: String(y).slice(2), - yyyy: y, - h: H % 12 || 12, - hh: pad(H % 12 || 12), - H: H, - HH: pad(H), - M: M, - MM: pad(M), - s: s, - ss: pad(s), - l: pad(L, 3), - L: pad(L > 99 ? Math.round(L / 10) : L), - t: H < 12 ? "a" : "p", - tt: H < 12 ? "am" : "pm", - T: H < 12 ? "A" : "P", - TT: H < 12 ? "AM" : "PM", - Z: utc ? "UTC" : (String(date).match(timezone) || [""]).pop().replace(timezoneClip, ""), - o: (o > 0 ? "-" : "+") + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4), - S: ["th", "st", "nd", "rd"][d % 10 > 3 ? 0 : (d % 100 - d % 10 != 10) * d % 10], - W: W - }; - - return mask.replace(token, function ($0) { - return $0 in flags ? flags[$0] : $0.slice(1, $0.length - 1); - }); - }; - }(); - - // Some common format strings - dateFormat.masks = { - "default": "ddd mmm dd yyyy HH:MM:ss", - shortDate: "m/d/yy", - mediumDate: "mmm d, yyyy", - longDate: "mmmm d, yyyy", - fullDate: "dddd, mmmm d, yyyy", - shortTime: "h:MM TT", - mediumTime: "h:MM:ss TT", - longTime: "h:MM:ss TT Z", - isoDate: "yyyy-mm-dd", - isoTime: "HH:MM:ss", - isoDateTime: "yyyy-mm-dd'T'HH:MM:ss", - isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'" - }; - - // Internationalization strings - dateFormat.i18n = { - dayNames: [ - "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", - "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" - ], - monthNames: [ - "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", - "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" - ] - }; - - // For convenience... - Date.prototype.format = function (mask, utc) { - return dateFormat(this, mask, utc); - }; - -} - -/* ********************************************** - Begin VMM.Util.js -********************************************** */ - -/* * Utilities and Useful Functions -================================================== */ -if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') { - - VMM.Util = ({ - - init: function() { - return this; - }, - - removeRange: function(array, from, to) { // rather than change Array.prototype; Thanks Jeff McWhirter for nudge - var rest = array.slice((to || from) + 1 || array.length); - array.length = from < 0 ? array.length + from : from; - return array.push.apply(array, rest); - }, - - /* * CORRECT PROTOCOL (DOES NOT WORK) - ================================================== */ - correctProtocol: function(url) { - var loc = (window.parent.location.protocol).toString(), - prefix = "", - the_url = url.split("://", 2); - - if (loc.match("http")) { - prefix = loc; - } else { - prefix = "https"; - } - - return prefix + "://" + the_url[1]; - - }, - - /* * MERGE CONFIG - ================================================== */ - mergeConfig: function(config_main, config_to_merge) { - var x; - for (x in config_to_merge) { - if (Object.prototype.hasOwnProperty.call(config_to_merge, x)) { - config_main[x] = config_to_merge[x]; - } - } - return config_main; - }, - - /* * GET OBJECT ATTRIBUTE BY INDEX - ================================================== */ - getObjectAttributeByIndex: function(obj, index) { - if(typeof obj != 'undefined') { - var i = 0; - for (var attr in obj){ - if (index === i){ - return obj[attr]; - } - i++; - } - return ""; - } else { - return ""; - } - - }, - - /* * ORDINAL - ================================================== */ - ordinal: function(n) { - return ["th","st","nd","rd"][(!( ((n%10) >3) || (Math.floor(n%100/10)==1)) ) * (n%10)]; - }, - - /* * RANDOM BETWEEN - ================================================== */ - //VMM.Util.randomBetween(1, 3) - randomBetween: function(min, max) { - return Math.floor(Math.random() * (max - min + 1) + min); - }, - - /* * AVERAGE - * http://jsfromhell.com/array/average - * var x = VMM.Util.average([2, 3, 4]); - * VMM.Util.average([2, 3, 4]).mean - ================================================== */ - average: function(a) { - var r = {mean: 0, variance: 0, deviation: 0}, t = a.length; - for(var m, s = 0, l = t; l--; s += a[l]); - for(m = r.mean = s / t, l = t, s = 0; l--; s += Math.pow(a[l] - m, 2)); - return r.deviation = Math.sqrt(r.variance = s / t), r; - }, - - /* * CUSTOM SORT - ================================================== */ - customSort: function(a, b) { - var a1= a, b1= b; - if(a1== b1) return 0; - return a1> b1? 1: -1; - }, - - /* * Remove Duplicates from Array - ================================================== */ - deDupeArray: function(arr) { - var i, - len=arr.length, - out=[], - obj={}; - - for (i=0;i h) { - _fit.height = h; - //_fit.width = Math.round((w / ratio_w) * ratio_h); - _fit.width = Math.round((h / ratio_h) * ratio_w); - - if (_fit.width > w) { - trace("FIT: DIDN'T FIT!!! ") - } - } - - return _fit; - - }, - r16_9: function(w,h) { - //VMM.Util.ratio.r16_9(w, h) // Returns corresponding number - if (w !== null && w !== "") { - return Math.round((h / 16) * 9); - } else if (h !== null && h !== "") { - return Math.round((w / 9) * 16); - } - }, - r4_3: function(w,h) { - if (w !== null && w !== "") { - return Math.round((h / 4) * 3); - } else if (h !== null && h !== "") { - return Math.round((w / 3) * 4); - } - } - }, - - doubledigit: function(n) { - return (n < 10 ? '0' : '') + n; - }, - - /* * Returns a truncated segement of a long string of between min and max words. If possible, ends on a period (otherwise goes to max). - ================================================== */ - truncateWords: function(s, min, max) { - - if (!min) min = 30; - if (!max) max = min; - - var initial_whitespace_rExp = /^[^A-Za-z0-9\'\-]+/gi; - var left_trimmedStr = s.replace(initial_whitespace_rExp, ""); - var words = left_trimmedStr.split(" "); - - var result = []; - - min = Math.min(words.length, min); - max = Math.min(words.length, max); - - for (var i = 0; i$&") - .replace(pseudoUrlPattern, "$1$2") - .replace(emailAddressPattern, "$1"); - }, - - linkify_with_twitter: function(text,targets,is_touch) { - - // http://, https://, ftp:// - var urlPattern = /\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim; - var url_pattern = /(\()((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\))|(\[)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\])|(\{)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(\})|(<|&(?:lt|#60|#x3c);)((?:ht|f)tps?:\/\/[a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]+)(>|&(?:gt|#62|#x3e);)|((?:^|[^=\s'"\]])\s*['"]?|[^=\s]\s+)(\b(?:ht|f)tps?:\/\/[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]+(?:(?!&(?:gt|#0*62|#x0*3e);|&(?:amp|apos|quot|#0*3[49]|#x0*2[27]);[.!&',:?;]?(?:[^a-z0-9\-._~!$&'()*+,;=:\/?#[\]@%]|$))&[a-z0-9\-._~!$'()*+,;=:\/?#[\]@%]*)*[a-z0-9\-_~$()*+=\/#[\]@%])/img; - var url_replace = '$1$4$7$10$13$2$5$8$11$14$3$6$9$12'; - - // www. sans http:// or https:// - var pseudoUrlPattern = /(^|[^\/])(www\.[\S]+(\b|$))/gim; - function replaceURLWithHTMLLinks(text) { - var exp = /(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/ig; - return text.replace(exp, "$3"); - } - // Email addresses - var emailAddressPattern = /([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)/gim; - - //var twitterHandlePattern = /(@([\w]+))/g; - var twitterHandlePattern = /\B@([\w-]+)/gm; - var twitterSearchPattern = /(#([\w]+))/g; - - return text - //.replace(urlPattern, "$&") - .replace(url_pattern, url_replace) - .replace(pseudoUrlPattern, "$1$2") - .replace(emailAddressPattern, "$1") - .replace(twitterHandlePattern, "@$1"); - - // TURN THIS BACK ON TO AUTOMAGICALLY LINK HASHTAGS TO TWITTER SEARCH - //.replace(twitterSearchPattern, "$1"); - }, - - linkify_wikipedia: function(text) { - - var urlPattern = /]*>(.*?)<\/i>/gim; - return text - .replace(urlPattern, "$&") - .replace(/]*>/gim, "") - .replace(/<\/i>/gim, "") - .replace(/]*>/gim, "") - .replace(/<\/b>/gim, ""); - }, - - /* * Turns plain text links into real links - ================================================== */ - // VMM.Util.unlinkify(); - unlinkify: function(text) { - if(!text) return text; - text = text.replace(/]*>/i,""); - text = text.replace(/<\/a>/i, ""); - return text; - }, - - untagify: function(text) { - if (!text) { - return text; - } - text = text.replace(/<\/?\s*\w.*?>/g,""); - return text; - }, - - /* * TK - ================================================== */ - nl2br: function(text) { - return text.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
"); - }, - - /* * Generate a Unique ID - ================================================== */ - // VMM.Util.unique_ID(size); - unique_ID: function(size) { - - var getRandomNumber = function(range) { - return Math.floor(Math.random() * range); - }; - - var getRandomChar = function() { - var chars = "abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ"; - return chars.substr( getRandomNumber(62), 1 ); - }; - - var randomID = function(size) { - var str = ""; - for(var i = 0; i < size; i++) { - str += getRandomChar(); - } - return str; - }; - - return randomID(size); - }, - /* * Tells you if a number is even or not - ================================================== */ - // VMM.Util.isEven(n) - isEven: function(n){ - return (n%2 === 0) ? true : false; - }, - /* * Get URL Variables - ================================================== */ - // var somestring = VMM.Util.getUrlVars(str_url)["varname"]; - getUrlVars: function(string) { - - var str = string.toString(); - - if (str.match('&')) { - str = str.replace("&", "&"); - } else if (str.match('&')) { - str = str.replace("&", "&"); - } else if (str.match('&')) { - str = str.replace("&", "&"); - } - - var vars = [], hash; - var hashes = str.slice(str.indexOf('?') + 1).split('&'); - for(var i = 0; i < hashes.length; i++) { - hash = hashes[i].split('='); - vars.push(hash[0]); - vars[hash[0]] = hash[1]; - } - - - return vars; - }, - - /* * Cleans up strings to become real HTML - ================================================== */ - toHTML: function(text) { - - text = this.nl2br(text); - text = this.linkify(text); - - return text.replace(/\s\s/g,"  "); - }, - - /* * Returns text strings as CamelCase - ================================================== */ - toCamelCase: function(s,forceLowerCase) { - - if(forceLowerCase !== false) forceLowerCase = true; - - var sps = ((forceLowerCase) ? s.toLowerCase() : s).split(" "); - - for(var i=0; i 1 ? '.' + x[1] : ''; - var rgx = /(\d+)(\d{3})/; - while (rgx.test(x1)) { - x1 = x1.replace(rgx, '$1' + ',' + '$2'); - } - return x1 + x2; - }, - /* * Transform text to Title Case - ================================================== */ - toTitleCase: function(t){ - if ( VMM.Browser.browser == "Explorer" && parseInt(VMM.Browser.version, 10) >= 7) { - return t.replace("_", "%20"); - } else { - var __TitleCase = { - __smallWords: ['a', 'an', 'and', 'as', 'at', 'but','by', 'en', 'for', 'if', 'in', 'of', 'on', 'or','the', 'to', 'v[.]?', 'via', 'vs[.]?'], - - init: function() { - this.__smallRE = this.__smallWords.join('|'); - this.__lowerCaseWordsRE = new RegExp('\\b(' + this.__smallRE + ')\\b', 'gi'); - this.__firstWordRE = new RegExp('^([^a-zA-Z0-9 \\r\\n\\t]*)(' + this.__smallRE + ')\\b', 'gi'); - this.__lastWordRE = new RegExp('\\b(' + this.__smallRE + ')([^a-zA-Z0-9 \\r\\n\\t]*)$', 'gi'); - }, - - toTitleCase: function(string) { - var line = ''; - - var split = string.split(/([:.;?!][ ]|(?:[ ]|^)["“])/); - - for (var i = 0; i < split.length; ++i) { - var s = split[i]; - - s = s.replace(/\b([a-zA-Z][a-z.'’]*)\b/g,this.__titleCaseDottedWordReplacer); - - // lowercase the list of small words - s = s.replace(this.__lowerCaseWordsRE, this.__lowerReplacer); - - // if the first word in the title is a small word then capitalize it - s = s.replace(this.__firstWordRE, this.__firstToUpperCase); - - // if the last word in the title is a small word, then capitalize it - s = s.replace(this.__lastWordRE, this.__firstToUpperCase); - - line += s; - } - - // special cases - line = line.replace(/ V(s?)\. /g, ' v$1. '); - line = line.replace(/(['’])S\b/g, '$1s'); - line = line.replace(/\b(AT&T|Q&A)\b/ig, this.__upperReplacer); - - return line; - }, - - __titleCaseDottedWordReplacer: function (w) { - return (w.match(/[a-zA-Z][.][a-zA-Z]/)) ? w : __TitleCase.__firstToUpperCase(w); - }, - - __lowerReplacer: function (w) { return w.toLowerCase() }, - - __upperReplacer: function (w) { return w.toUpperCase() }, - - __firstToUpperCase: function (w) { - var split = w.split(/(^[^a-zA-Z0-9]*[a-zA-Z0-9])(.*)$/); - if (split[1]) { - split[1] = split[1].toUpperCase(); - } - - return split.join(''); - - - } - }; - - __TitleCase.init(); - - t = t.replace(/_/g," "); - t = __TitleCase.toTitleCase(t); - - return t; - - } - - } - - }).init(); -} - - -/* ********************************************** - Begin LazyLoad.js -********************************************** */ - -/*jslint browser: true, eqeqeq: true, bitwise: true, newcap: true, immed: true, regexp: false */ - -/* -LazyLoad makes it easy and painless to lazily load one or more external -JavaScript or CSS files on demand either during or after the rendering of a web -page. - -Supported browsers include Firefox 2+, IE6+, Safari 3+ (including Mobile -Safari), Google Chrome, and Opera 9+. Other browsers may or may not work and -are not officially supported. - -Visit https://github.com/rgrove/lazyload/ for more info. - -Copyright (c) 2011 Ryan Grove -All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the 'Software'), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -@module lazyload -@class LazyLoad -@static -@version 2.0.3 (git) -*/ - -LazyLoad = (function (doc) { - // -- Private Variables ------------------------------------------------------ - - // User agent and feature test information. - var env, - - // Reference to the element (populated lazily). - head, - - // Requests currently in progress, if any. - pending = {}, - - // Number of times we've polled to check whether a pending stylesheet has - // finished loading. If this gets too high, we're probably stalled. - pollCount = 0, - - // Queued requests. - queue = {css: [], js: []}, - - // Reference to the browser's list of stylesheets. - styleSheets = doc.styleSheets; - - // -- Private Methods -------------------------------------------------------- - - /** - Creates and returns an HTML element with the specified name and attributes. - - @method createNode - @param {String} name element name - @param {Object} attrs name/value mapping of element attributes - @return {HTMLElement} - @private - */ - function createNode(name, attrs) { - var node = doc.createElement(name), attr; - - for (attr in attrs) { - if (attrs.hasOwnProperty(attr)) { - node.setAttribute(attr, attrs[attr]); - } - } - - return node; - } - - /** - Called when the current pending resource of the specified type has finished - loading. Executes the associated callback (if any) and loads the next - resource in the queue. - - @method finish - @param {String} type resource type ('css' or 'js') - @private - */ - function finish(type) { - var p = pending[type], - callback, - urls; - - if (p) { - callback = p.callback; - urls = p.urls; - - urls.shift(); - pollCount = 0; - - // If this is the last of the pending URLs, execute the callback and - // start the next request in the queue (if any). - if (!urls.length) { - callback && callback.call(p.context, p.obj); - pending[type] = null; - queue[type].length && load(type); - } - } - } - - /** - Populates the env variable with user agent and feature test - information. - - @method getEnv - @private - */ - function getEnv() { - var ua = navigator.userAgent; - - env = { - // True if this browser supports disabling async mode on dynamically - // created script nodes. See - // http://wiki.whatwg.org/wiki/Dynamic_Script_Execution_Order - async: doc.createElement('script').async === true - }; - - (env.webkit = /AppleWebKit\//.test(ua)) - || (env.ie = /MSIE/.test(ua)) - || (env.opera = /Opera/.test(ua)) - || (env.gecko = /Gecko\//.test(ua)) - || (env.unknown = true); - } - - /** - Loads the specified resources, or the next resource of the specified type - in the queue if no resources are specified. If a resource of the specified - type is already being loaded, the new request will be queued until the - first request has been finished. - - When an array of resource URLs is specified, those URLs will be loaded in - parallel if it is possible to do so while preserving execution order. All - browsers support parallel loading of CSS, but only Firefox and Opera - support parallel loading of scripts. In other browsers, scripts will be - queued and loaded one at a time to ensure correct execution order. - - @method load - @param {String} type resource type ('css' or 'js') - @param {String|Array} urls (optional) URL or array of URLs to load - @param {Function} callback (optional) callback function to execute when the - resource is loaded - @param {Object} obj (optional) object to pass to the callback function - @param {Object} context (optional) if provided, the callback function will - be executed in this object's context - @private - */ - function load(type, urls, callback, obj, context) { - var _finish = function () { finish(type); }, - isCSS = type === 'css', - nodes = [], - i, len, node, p, pendingUrls, url; - - env || getEnv(); - - if (urls) { - // If urls is a string, wrap it in an array. Otherwise assume it's an - // array and create a copy of it so modifications won't be made to the - // original. - urls = typeof urls === 'string' ? [urls] : urls.concat(); - - // Create a request object for each URL. If multiple URLs are specified, - // the callback will only be executed after all URLs have been loaded. - // - // Sadly, Firefox and Opera are the only browsers capable of loading - // scripts in parallel while preserving execution order. In all other - // browsers, scripts must be loaded sequentially. - // - // All browsers respect CSS specificity based on the order of the link - // elements in the DOM, regardless of the order in which the stylesheets - // are actually downloaded. - if (isCSS || env.async || env.gecko || env.opera) { - // Load in parallel. - queue[type].push({ - urls : urls, - callback: callback, - obj : obj, - context : context - }); - } else { - // Load sequentially. - for (i = 0, len = urls.length; i < len; ++i) { - queue[type].push({ - urls : [urls[i]], - callback: i === len - 1 ? callback : null, // callback is only added to the last URL - obj : obj, - context : context - }); - } - } - } - - // If a previous load request of this type is currently in progress, we'll - // wait our turn. Otherwise, grab the next item in the queue. - if (pending[type] || !(p = pending[type] = queue[type].shift())) { - return; - } - - head || (head = doc.head || doc.getElementsByTagName('head')[0]); - pendingUrls = p.urls; - - for (i = 0, len = pendingUrls.length; i < len; ++i) { - url = pendingUrls[i]; - - if (isCSS) { - node = env.gecko ? createNode('style') : createNode('link', { - href: url, - rel : 'stylesheet' - }); - } else { - node = createNode('script', {src: url}); - node.async = false; - } - - node.className = 'lazyload'; - node.setAttribute('charset', 'utf-8'); - - if (env.ie && !isCSS) { - node.onreadystatechange = function () { - if (/loaded|complete/.test(node.readyState)) { - node.onreadystatechange = null; - _finish(); - } - }; - } else if (isCSS && (env.gecko || env.webkit)) { - // Gecko and WebKit don't support the onload event on link nodes. - if (env.webkit) { - // In WebKit, we can poll for changes to document.styleSheets to - // figure out when stylesheets have loaded. - p.urls[i] = node.href; // resolve relative URLs (or polling won't work) - pollWebKit(); - } else { - // In Gecko, we can import the requested URL into a