diff --git a/compiled/css/themes/dark.css b/compiled/css/themes/dark.css index bd66ecc..104570a 100644 --- a/compiled/css/themes/dark.css +++ b/compiled/css/themes/dark.css @@ -40,9 +40,10 @@ .vmm-timeline .vcard a:hover{text-decoration:none;}.vmm-timeline .vcard a:hover .fn{text-decoration:underline;} .vmm-timeline .vcard .fn,.vmm-timeline .vcard .nickname{padding-left:42px;} .vmm-timeline .vcard .fn{display:block;font-weight:bold;} -.vmm-timeline .vcard .nickname{margin-top:3px;display:block;color:#aaaaaa;} +.vmm-timeline .vcard .nickname{margin-top:1px;display:block;color:#aaaaaa;} .vmm-timeline .vcard .avatar{float:left;display:block;width:32px;height:32px;}.vmm-timeline .vcard .avatar img{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;} -.vmm-timeline .thumbnail{width:24px;height:24px;overflow:hidden;float:left;margin-right:1px;margin-top:6px;} +.vmm-timeline .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;} +.vmm-timeline a.thumbnail:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} .vmm-timeline .thumbnail.thumb-plaintext{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-280px -48px;} .vmm-timeline .thumbnail.thumb-quote{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-232px -48px;} .vmm-timeline .thumbnail.thumb-document{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-256px -48px;} @@ -57,9 +58,12 @@ .vmm-timeline .thumbnail.thumb-link{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-184px -72px;} .vmm-timeline .thumbnail.thumb-wikipedia{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-184px -48px;} .vmm-timeline .thumbnail.thumb-storify{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-328px -96px;} -.vmm-timeline .thumb-storify-full{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-280px -96px;width:48px;height:24px;} +.vmm-timeline .thumb-storify-full{height:12px;background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-280px -96px;width:48px;} .vmm-timeline thumbnail.thumb-instagram{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-208px -96px;} .vmm-timeline thumbnail.thumb-instagram-full{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-232px -96px;width:48px;height:24px;} +.vmm-timeline .thumbnail-inline{width:16px;height:14px;overflow:hidden;display:inline-block;margin-right:1px;margin-left:3px;margin-top:2px;filter:alpha(opacity=25);-khtml-opacity:0.25;-moz-opacity:0.25;opacity:0.25;} +.vmm-timeline .twitter .thumbnail-inline{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-160px -96px;} +.vmm-timeline .storify .thumbnail-inline{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-184px -96px;} .vmm-timeline .zFront{z-index:204;} .slider{width:100%;height:100%;overflow:hidden;}.slider .slider-container-mask{text-align:center;width:100%;height:100%;overflow:hidden;}.slider .slider-container-mask .slider-container{position:absolute;top:0px;left:-2160px;width:100%;height:100%;text-align:center;display:block;background-color:#1a1a1a;}.slider .slider-container-mask .slider-container .slider-item-container{display:table-cell;vertical-align:middle;} .slider img,.slider embed,.slider object,.slider video,.slider iframe{max-width:100%;} @@ -89,10 +93,6 @@ .slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow::after{-webkit-transform:rotate(2deg);-moz-transform:rotate(2deg);-o-transform:rotate(2deg);-ms-transform:rotate(2deg);transform:rotate(2deg);right:10px;left:auto;} .slider .slider-item .content .content-container .media .media-wrapper .media-container span.messege{display:block;vertical-align:middle;margin-left:auto;margin-right:auto;text-align:center;background:#1a1a1a;font-size:28px;font-weight:bold;text-transform:uppercase;} .slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text{display:table;}.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:#aaaaaa;}.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text .container p{margin-bottom:20px;} -.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote{text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both;}.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter blockquote,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote blockquote{color:#aaaaaa;}.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter blockquote p,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote blockquote p{font-size:28px;line-height:36px;margin-bottom:6px;padding-top:10px;background-color:#1a1a1a;color:#ffffff;} -.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter blockquote .quote-mark,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote blockquote .quote-mark{color:#aaaaaa;} -.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter .created-at,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote .created-at{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-256px -24px;width:24px;height:24px;overflow:hidden;margin-left:15px;display:inline-block;float:right;filter:alpha(opacity=25);-khtml-opacity:0.25;-moz-opacity:0.25;opacity:0.25;} -.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter .created-at:hover,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote .created-at:hover{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1;} .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;}.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;} .slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4{border-bottom:1px solid #333333;margin-bottom:5px;} .slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4 a{color:#ffffff;} @@ -104,6 +104,12 @@ .slider .slider-item .content .content-container .media .media-wrapper .credit{color:#999999;text-align:right;display:block;margin:0 auto;margin-top:6px;font-size:10px;line-height:13px;} .slider .slider-item .content .content-container .media .media-wrapper .caption{text-align:left;margin-top:10px;color:#aaaaaa;font-size:11px;line-height:14px;text-rendering:optimizeLegibility;word-wrap:break-word;} .slider .slider-item .content .media.text-media .media-wrapper .media-container{border:none;background-color:#1a1a1a;} +.slider .slider-item .content .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:0.25;-moz-opacity:0.25;opacity:0.25;} +.slider .slider-item .content .created-at:hover{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1;} +.slider .slider-item .content .storify .created-at{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-328px -96px;} +.slider .slider-item .content .twitter .created-at{background-image:url(themes/timeline-dark.png);background-repeat:no-repeat;background-position:-256px -24px;} +.slider .slider-item .content .twitter,.slider .slider-item .content .plain-text-quote,.slider .slider-item .content .storify{text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both;}.slider .slider-item .content .twitter blockquote,.slider .slider-item .content .plain-text-quote blockquote,.slider .slider-item .content .storify blockquote{color:#aaaaaa;}.slider .slider-item .content .twitter blockquote p,.slider .slider-item .content .plain-text-quote blockquote p,.slider .slider-item .content .storify blockquote p{font-size:28px;line-height:36px;margin-bottom:6px;padding-top:10px;background-color:#1a1a1a;color:#ffffff;} +.slider .slider-item .content .twitter blockquote .quote-mark,.slider .slider-item .content .plain-text-quote blockquote .quote-mark,.slider .slider-item .content .storify blockquote .quote-mark{color:#aaaaaa;} .slider .slider-item .content-container.layout-text-media .text-media{border-top:1px solid #e3e3e3;padding-top:15px;padding-right:0;} .slider .slider-item .content-container.layout-text-media.pad-left .text-media{padding-right:15px;padding-top:0;border-right:1px solid #e3e3e3;border-top:0px solid #e3e3e3;} .slider .slider-item .content-container.layout-text{width:100%;}.slider .slider-item .content-container.layout-text .text{width:100%;max-width:100%;}.slider .slider-item .content-container.layout-text .text .container{display:block;vertical-align:middle;text-align:left;padding:0px;width:90%;text-align:left;margin-left:auto;margin-right:auto;} diff --git a/compiled/css/timeline.css b/compiled/css/timeline.css index 73fe9c6..aa5a4d8 100644 --- a/compiled/css/timeline.css +++ b/compiled/css/timeline.css @@ -40,26 +40,30 @@ .vmm-timeline .vcard a:hover{text-decoration:none;}.vmm-timeline .vcard a:hover .fn{text-decoration:underline;} .vmm-timeline .vcard .fn,.vmm-timeline .vcard .nickname{padding-left:42px;} .vmm-timeline .vcard .fn{display:block;font-weight:bold;} -.vmm-timeline .vcard .nickname{margin-top:3px;display:block;color:#666666;} +.vmm-timeline .vcard .nickname{margin-top:1px;display:block;color:#666666;} .vmm-timeline .vcard .avatar{float:left;display:block;width:32px;height:32px;}.vmm-timeline .vcard .avatar img{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;} -.vmm-timeline .thumbnail{width:24px;height:24px;overflow:hidden;float:left;margin-right:1px;margin-top:6px;} -.vmm-timeline .thumbnail.thumb-plaintext{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-280px -48px;} -.vmm-timeline .thumbnail.thumb-quote{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-232px -48px;} -.vmm-timeline .thumbnail.thumb-document{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-256px -48px;} -.vmm-timeline .thumbnail.thumb-photo{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-280px -24px;border:0;}.vmm-timeline .thumbnail.thumb-photo img{border:0px none #cccccc !important;} -.vmm-timeline .thumbnail.thumb-twitter{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-256px -24px;} -.vmm-timeline .thumbnail.thumb-vimeo{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-328px -48px;} -.vmm-timeline .thumbnail.thumb-youtube{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-328px -72px;} -.vmm-timeline .thumbnail.thumb-video{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-328px -24px;} -.vmm-timeline .thumbnail.thumb-audio{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-304px -24px;} -.vmm-timeline .thumbnail.thumb-map{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-208px -48px;} -.vmm-timeline .thumbnail.thumb-website{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-232px -24px;} -.vmm-timeline .thumbnail.thumb-link{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-184px -72px;} -.vmm-timeline .thumbnail.thumb-wikipedia{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-184px -48px;} -.vmm-timeline .thumbnail.thumb-storify{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-328px -96px;} -.vmm-timeline .thumb-storify-full{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-280px -96px;width:48px;height:24px;} -.vmm-timeline thumbnail.thumb-instagram{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-208px -96px;} -.vmm-timeline thumbnail.thumb-instagram-full{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-232px -96px;width:48px;height:24px;} +.vmm-timeline .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;} +.vmm-timeline a.thumbnail:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} +.vmm-timeline .thumbnail.thumb-plaintext{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-280px -48px;} +.vmm-timeline .thumbnail.thumb-quote{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-232px -48px;} +.vmm-timeline .thumbnail.thumb-document{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-256px -48px;} +.vmm-timeline .thumbnail.thumb-photo{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-280px -24px;border:0;}.vmm-timeline .thumbnail.thumb-photo img{border:0px none #cccccc !important;} +.vmm-timeline .thumbnail.thumb-twitter{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-256px -24px;} +.vmm-timeline .thumbnail.thumb-vimeo{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-328px -48px;} +.vmm-timeline .thumbnail.thumb-youtube{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-328px -72px;} +.vmm-timeline .thumbnail.thumb-video{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-328px -24px;} +.vmm-timeline .thumbnail.thumb-audio{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-304px -24px;} +.vmm-timeline .thumbnail.thumb-map{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-208px -48px;} +.vmm-timeline .thumbnail.thumb-website{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-232px -24px;} +.vmm-timeline .thumbnail.thumb-link{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-184px -72px;} +.vmm-timeline .thumbnail.thumb-wikipedia{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-184px -48px;} +.vmm-timeline .thumbnail.thumb-storify{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-328px -96px;} +.vmm-timeline .thumb-storify-full{height:12px;background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-280px -96px;width:48px;} +.vmm-timeline thumbnail.thumb-instagram{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-208px -96px;} +.vmm-timeline thumbnail.thumb-instagram-full{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-232px -96px;width:48px;height:24px;} +.vmm-timeline .thumbnail-inline{width:16px;height:14px;overflow:hidden;display:inline-block;margin-right:1px;margin-left:3px;margin-top:2px;filter:alpha(opacity=25);-khtml-opacity:0.25;-moz-opacity:0.25;opacity:0.25;} +.vmm-timeline .twitter .thumbnail-inline{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-160px -96px;} +.vmm-timeline .storify .thumbnail-inline{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-184px -96px;} .vmm-timeline .zFront{z-index:204;} .slider{width:100%;height:100%;overflow:hidden;}.slider .slider-container-mask{text-align:center;width:100%;height:100%;overflow:hidden;}.slider .slider-container-mask .slider-container{position:absolute;top:0px;left:-2160px;width:100%;height:100%;text-align:center;display:block;background-color:#ffffff;}.slider .slider-container-mask .slider-container .slider-item-container{display:table-cell;vertical-align:middle;} .slider img,.slider embed,.slider object,.slider video,.slider iframe{max-width:100%;} @@ -70,10 +74,10 @@ .slider .nav-previous .date,.slider .nav-next .date{font-size:13px;line-height:13px;font-weight:bold;text-transform:uppercase;margin-bottom:5px;} .slider .nav-previous .title,.slider .nav-next .title{font-size:11px;line-height:13px;} .slider .nav-previous:hover,.slider .nav-next:hover{color:#333333;cursor:pointer;} -.slider .nav-previous{float:left;text-align:left;}.slider .nav-previous .icon{margin-left:15px;height:24px;background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-160px 0;width:24px;height:24px;overflow:hidden;} +.slider .nav-previous{float:left;text-align:left;}.slider .nav-previous .icon{margin-left:15px;height:24px;background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-160px 0;width:24px;height:24px;overflow:hidden;} .slider .nav-previous .date,.slider .nav-previous .title{text-align:left;padding-left:15px;} .slider .nav-previous:hover .icon{margin-left:10px;} -.slider .nav-next{float:right;text-align:right;}.slider .nav-next .icon{margin-left:61px;background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-184px 0;width:24px;height:24px;height:24px;overflow:hidden;} +.slider .nav-next{float:right;text-align:right;}.slider .nav-next .icon{margin-left:61px;background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-184px 0;width:24px;height:24px;height:24px;overflow:hidden;} .slider .nav-next .date,.slider .nav-next .title{text-align:right;padding-right:15px;} .slider .nav-next:hover .icon{margin-left:66px;} .slider .slider-item{position:absolute;width:700px;height:100%;padding:0px;margin:0px;display:table;overflow-y:auto;}.slider .slider-item .content{display:table-cell;vertical-align:middle;}.slider .slider-item .content .pad-top .text .container{padding-top:15px;} @@ -89,10 +93,6 @@ .slider .slider-item .content .content-container .media .media-wrapper .media-container .media-shadow::after{-webkit-transform:rotate(2deg);-moz-transform:rotate(2deg);-o-transform:rotate(2deg);-ms-transform:rotate(2deg);transform:rotate(2deg);right:10px;left:auto;} .slider .slider-item .content .content-container .media .media-wrapper .media-container span.messege{display:block;vertical-align:middle;margin-left:auto;margin-right:auto;text-align:center;background:#ffffff;font-size:28px;font-weight:bold;text-transform:uppercase;} .slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text{display:table;}.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:#666666;}.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text .container p{margin-bottom:20px;} -.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote{text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both;}.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter blockquote,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote blockquote{color:#666666;}.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter blockquote p,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote blockquote p{font-size:28px;line-height:36px;margin-bottom:6px;padding-top:10px;background-color:#ffffff;color:#000000;} -.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter blockquote .quote-mark,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote blockquote .quote-mark{color:#666666;} -.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter .created-at,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote .created-at{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-256px -24px;width:24px;height:24px;overflow:hidden;margin-left:15px;display:inline-block;float:right;filter:alpha(opacity=25);-khtml-opacity:0.25;-moz-opacity:0.25;opacity:0.25;} -.slider .slider-item .content .content-container .media .media-wrapper .media-container .twitter .created-at:hover,.slider .slider-item .content .content-container .media .media-wrapper .media-container .plain-text-quote .created-at:hover{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1;} .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;}.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;} .slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4{border-bottom:1px solid #cccccc;margin-bottom:5px;} .slider .slider-item .content .content-container .media .media-wrapper .media-container .wikipedia h4 a{color:#000000;} @@ -104,6 +104,12 @@ .slider .slider-item .content .content-container .media .media-wrapper .credit{color:#999999;text-align:right;display:block;margin:0 auto;margin-top:6px;font-size:10px;line-height:13px;} .slider .slider-item .content .content-container .media .media-wrapper .caption{text-align:left;margin-top:10px;color:#666666;font-size:11px;line-height:14px;text-rendering:optimizeLegibility;word-wrap:break-word;} .slider .slider-item .content .media.text-media .media-wrapper .media-container{border:none;background-color:#ffffff;} +.slider .slider-item .content .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:0.25;-moz-opacity:0.25;opacity:0.25;} +.slider .slider-item .content .created-at:hover{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1;} +.slider .slider-item .content .storify .created-at{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-328px -96px;} +.slider .slider-item .content .twitter .created-at{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-256px -24px;} +.slider .slider-item .content .twitter,.slider .slider-item .content .plain-text-quote,.slider .slider-item .content .storify{text-align:left;margin-left:auto;margin-right:auto;margin-bottom:15px;clear:both;}.slider .slider-item .content .twitter blockquote,.slider .slider-item .content .plain-text-quote blockquote,.slider .slider-item .content .storify blockquote{color:#666666;}.slider .slider-item .content .twitter blockquote p,.slider .slider-item .content .plain-text-quote blockquote p,.slider .slider-item .content .storify blockquote p{font-size:28px;line-height:36px;margin-bottom:6px;padding-top:10px;background-color:#ffffff;color:#000000;} +.slider .slider-item .content .twitter blockquote .quote-mark,.slider .slider-item .content .plain-text-quote blockquote .quote-mark,.slider .slider-item .content .storify blockquote .quote-mark{color:#666666;} .slider .slider-item .content-container.layout-text-media .text-media{border-top:1px solid #e3e3e3;padding-top:15px;padding-right:0;} .slider .slider-item .content-container.layout-text-media.pad-left .text-media{padding-right:15px;padding-top:0;border-right:1px solid #e3e3e3;border-top:0px solid #e3e3e3;} .slider .slider-item .content-container.layout-text{width:100%;}.slider .slider-item .content-container.layout-text .text{width:100%;max-width:100%;}.slider .slider-item .content-container.layout-text .text .container{display:block;vertical-align:middle;text-align:left;padding:0px;width:90%;text-align:left;margin-left:auto;margin-right:auto;} @@ -112,19 +118,19 @@ .slider .slider-item .content-container.layout-media .twitter,.slider .slider-item .content-container.layout-media .wikipedia{max-width:70%;} .vmm-timeline .navigation{clear:both;cursor:move;width:100%;height:200px;border-top:1px solid #e3e3e3;position:relative;}.vmm-timeline .navigation .toolbar{position:absolute;top:45px;left:0px;z-index:202;background-color:#ffffff;border:1px solid #cccccc;-webkit-box-shadow:1px 1px 0px rgba(0, 0, 0, 0.2);-moz-box-shadow:1px 1px 0px rgba(0, 0, 0, 0.2);box-shadow:1px 1px 0px rgba(0, 0, 0, 0.2);}.vmm-timeline .navigation .toolbar .zoom-in,.vmm-timeline .navigation .toolbar .zoom-out,.vmm-timeline .navigation .toolbar .back-home{font-weight:normal;font-size:10px;line-height:20px;top:0px;z-index:202;width:18px;height:18px;color:#333333;text-align:center;font-weight:bold;border:1px solid #ffffff;padding:5px;filter:alpha(opacity=50);-khtml-opacity:0.5;-moz-opacity:0.5;opacity:0.5;} .vmm-timeline .navigation .toolbar .zoom-in:hover,.vmm-timeline .navigation .toolbar .zoom-out:hover,.vmm-timeline .navigation .toolbar .back-home:hover{color:#0088cc;cursor:pointer;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1;} -.vmm-timeline .navigation .toolbar .zoom-in .icon{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-256px 0;width:24px;height:24px;} -.vmm-timeline .navigation .toolbar .zoom-out .icon{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-280px 0;width:24px;height:24px;} -.vmm-timeline .navigation .toolbar .back-home .icon{background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-328px 0;width:24px;height:24px;} +.vmm-timeline .navigation .toolbar .zoom-in .icon{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-256px 0;width:24px;height:24px;} +.vmm-timeline .navigation .toolbar .zoom-out .icon{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-280px 0;width:24px;height:24px;} +.vmm-timeline .navigation .toolbar .back-home .icon{background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-328px 0;width:24px;height:24px;} .vmm-timeline .navigation .timenav-background{position:absolute;cursor:move;top:0px;left:0px;height:150px;width:100%;background-color:#e9e9e9;}.vmm-timeline .navigation .timenav-background .timenav-interval-background{position:absolute;top:151px;left:0px;background:#ffffff;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);}.vmm-timeline .navigation .timenav-background .timenav-interval-background .top-highlight{position:absolute;top:-1px;left:0px;z-index:30;width:100%;height:1px;background:#ffffff;filter:alpha(opacity=50);-khtml-opacity:0.5;-moz-opacity:0.5;opacity:0.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);} .vmm-timeline .navigation .timenav-background .timenav-line{position:absolute;top:0px;left:50%;width:3px;height:150px;background:#0088cc;z-index:201;-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);} -.vmm-timeline .navigation .timenav-background .timenav-indicator{position:absolute;top:-1px;left:50%;z-index:202;background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:-160px -48px;width:24px;height:24px;} +.vmm-timeline .navigation .timenav-background .timenav-indicator{position:absolute;top:-1px;left:50%;z-index:202;background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:-160px -48px;width:24px;height:24px;} .vmm-timeline .navigation .timenav-background .timenav-tag{height:50px;}.vmm-timeline .navigation .timenav-background .timenav-tag div{height:50px;display:table;}.vmm-timeline .navigation .timenav-background .timenav-tag div h3{display:table-cell;vertical-align:middle;padding-left:65px;font-size:15px;color:#9d9d9d;} .vmm-timeline .navigation .timenav-background .timenav-tag-row-2{background:#f1f1f1;} .vmm-timeline .navigation .timenav-background .timenav-tag-row-3{background:#e9e9e9;} .vmm-timeline .navigation .timenav{position:absolute;top:0px;left:-250px;z-index:1;}.vmm-timeline .navigation .timenav .content{position:relative;}.vmm-timeline .navigation .timenav .content .marker.start{display:none;} .vmm-timeline .navigation .timenav .content .marker.active .dot{background:#0088cc;z-index:200;} .vmm-timeline .navigation .timenav .content .marker.active .line{z-index:199;background:#0088cc;width:1px;}.vmm-timeline .navigation .timenav .content .marker.active .line .event-line{background:#0088cc;filter:alpha(opacity=75);-khtml-opacity:0.75;-moz-opacity:0.75;opacity:0.75;} -.vmm-timeline .navigation .timenav .content .marker.active .flag{z-index:200;background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px;}.vmm-timeline .navigation .timenav .content .marker.active .flag .flag-content h3{color:#0088cc;} +.vmm-timeline .navigation .timenav .content .marker.active .flag{z-index:200;background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px;}.vmm-timeline .navigation .timenav .content .marker.active .flag .flag-content h3{color:#0088cc;} .vmm-timeline .navigation .timenav .content .marker.active .flag .flag-content .thumbnail{opacity:1;-moz-opacity:1;filter:alpha(opacity=100);} .vmm-timeline .navigation .timenav .content .marker.active .flag.row1,.vmm-timeline .navigation .timenav .content .marker.active .flag.row2,.vmm-timeline .navigation .timenav .content .marker.active .flag.row3{z-index:200;} .vmm-timeline .navigation .timenav .content .marker.active:hover{cursor:default;}.vmm-timeline .navigation .timenav .content .marker.active:hover .flag .flag-content h3{color:#0088cc;} @@ -132,10 +138,10 @@ .vmm-timeline .navigation .timenav .content .marker:hover .line{z-index:24;background:#999999;} .vmm-timeline .navigation .timenav .content .marker{position:absolute;top:0px;left:150px;display:block;}.vmm-timeline .navigation .timenav .content .marker .dot{position:absolute;top:150px;left:0px;display:block;width:6px;height:6px;background:#333333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;z-index:21;} .vmm-timeline .navigation .timenav .content .marker .line{position:absolute;top:0px;left:3px;width:1px;height:150px;background:#cccccc;-moz-box-shadow:1px 0 0 #ffffff;-webkit-box-shadow:1px 0 0 #ffffff;box-shadow:1px 0 0 #ffffff;z-index:22;}.vmm-timeline .navigation .timenav .content .marker .line .event-line{position:absolute;z-index:22;left:0px;height:1px;width:1px;background:#0088cc;filter:alpha(opacity=15);-khtml-opacity:0.15;-moz-opacity:0.15;opacity:0.15;} -.vmm-timeline .navigation .timenav .content .marker .flag{position:absolute;top:15px;left:3px;padding:0px;display:block;z-index:23;width:153px;height:56px;background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:0 0;width:153px;height:53px;}.vmm-timeline .navigation .timenav .content .marker .flag .flag-content{padding:0px 7px 2px 6px;overflow:hidden;height:36px;}.vmm-timeline .navigation .timenav .content .marker .flag .flag-content h3{font-weight:bold;font-size:15px;line-height:20px;font-size:11px;line-height:11px;color:#999999;margin-top:5px;margin-bottom:2px;}.vmm-timeline .navigation .timenav .content .marker .flag .flag-content h3 small{display:none;} +.vmm-timeline .navigation .timenav .content .marker .flag{position:absolute;top:15px;left:3px;padding:0px;display:block;z-index:23;width:153px;height:56px;background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:0 0;width:153px;height:53px;}.vmm-timeline .navigation .timenav .content .marker .flag .flag-content{padding:0px 7px 2px 6px;overflow:hidden;height:36px;}.vmm-timeline .navigation .timenav .content .marker .flag .flag-content h3{font-weight:bold;font-size:15px;line-height:20px;font-size:11px;line-height:11px;color:#999999;margin-top:5px;margin-bottom:2px;}.vmm-timeline .navigation .timenav .content .marker .flag .flag-content h3 small{display:none;} .vmm-timeline .navigation .timenav .content .marker .flag .flag-content h4{display:none;font-weight:normal;font-size:15px;line-height:20px;margin-top:5px;font-size:10px;line-height:10px;color:#aaaaaa;}.vmm-timeline .navigation .timenav .content .marker .flag .flag-content h4 small{display:none;} .vmm-timeline .navigation .timenav .content .marker .flag .flag-content .thumbnail{margin-bottom:15px;margin-right:3px;opacity:0.5;-moz-opacity:0.5;filter:alpha(opacity=50);}.vmm-timeline .navigation .timenav .content .marker .flag .flag-content .thumbnail img{width:22px;height:22px;max-height:none;max-width:none;border:0;border:1px solid #999999;padding:0;margin:0;} -.vmm-timeline .navigation .timenav .content .marker .flag:hover{cursor:pointer;background-image:url(timeline.png?v2.2);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px;}.vmm-timeline .navigation .timenav .content .marker .flag:hover .flag-content h3{color:#333333;} +.vmm-timeline .navigation .timenav .content .marker .flag:hover{cursor:pointer;background-image:url(timeline.png?v2.4);background-repeat:no-repeat;background-position:0 -53px;width:153px;height:53px;}.vmm-timeline .navigation .timenav .content .marker .flag:hover .flag-content h3{color:#333333;} .vmm-timeline .navigation .timenav .content .marker .flag:hover .flag-content h4{color:#aaaaaa;} .vmm-timeline .navigation .timenav .content .marker .flag:hover .flag-content .thumbnail{opacity:1;-moz-opacity:1;filter:alpha(opacity=100);} .vmm-timeline .navigation .timenav .content .marker .flag.row1{z-index:25;top:48px;} diff --git a/compiled/css/timeline.png b/compiled/css/timeline.png index 09e5507..a045f0e 100644 Binary files a/compiled/css/timeline.png and b/compiled/css/timeline.png differ diff --git a/compiled/js/timeline-embed.js b/compiled/js/timeline-embed.js index d2407c1..54428d3 100644 --- a/compiled/js/timeline-embed.js +++ b/compiled/js/timeline-embed.js @@ -33,4 +33,4 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. @class LazyLoad @static @version 2.0.3 (git) -*/LazyLoad=function(a){function h(b,c){var d=a.createElement(b),e;for(e in c)c.hasOwnProperty(e)&&d.setAttribute(e,c[e]);return d}function i(a){var b=d[a],c,g;if(b){c=b.callback;g=b.urls;g.shift();e=0;if(!g.length){c&&c.call(b.context,b.obj);d[a]=null;f[a].length&&k(a)}}}function j(){var c=navigator.userAgent;b={async:a.createElement("script").async===!0};(b.webkit=/AppleWebKit\//.test(c))||(b.ie=/MSIE/.test(c))||(b.opera=/Opera/.test(c))||(b.gecko=/Gecko\//.test(c))||(b.unknown=!0)}function k(e,g,k,n,o){var p=function(){i(e)},q=e==="css",r=[],s,t,u,v,w,x;b||j();if(g){g=typeof g=="string"?[g]:g.concat();if(q||b.async||b.gecko||b.opera)f[e].push({urls:g,callback:k,obj:n,context:o});else for(s=0,t=g.length;s=0)if(g[b].href===a.urls[0]){i("css");break}e+=1;a&&(e<200?setTimeout(m,50):i("css"))}}var b,c,d={},e=0,f={css:[],js:[]},g=a.styleSheets;return{css:function(a,b,c,d){k("css",a,b,c,d)},js:function(a,b,c,d){k("js",a,b,c,d)}}}(this.document);LazyLoad=function(a){function h(b,c){var d=a.createElement(b),e;for(e in c)c.hasOwnProperty(e)&&d.setAttribute(e,c[e]);return d}function i(a){var b=d[a],c,g;if(b){c=b.callback;g=b.urls;g.shift();e=0;if(!g.length){c&&c.call(b.context,b.obj);d[a]=null;f[a].length&&k(a)}}}function j(){var c=navigator.userAgent;b={async:a.createElement("script").async===!0};(b.webkit=/AppleWebKit\//.test(c))||(b.ie=/MSIE/.test(c))||(b.opera=/Opera/.test(c))||(b.gecko=/Gecko\//.test(c))||(b.unknown=!0)}function k(e,g,k,n,o){var p=function(){i(e)},q=e==="css",r=[],s,t,u,v,w,x;b||j();if(g){g=typeof g=="string"?[g]:g.concat();if(q||b.async||b.gecko||b.opera)f[e].push({urls:g,callback:k,obj:n,context:o});else for(s=0,t=g.length;s=0)if(g[b].href===a.urls[0]){i("css");break}e+=1;a&&(e<200?setTimeout(m,50):i("css"))}}var b,c,d={},e=0,f={css:[],js:[]},g=a.styleSheets;return{css:function(a,b,c,d){k("css",a,b,c,d)},js:function(a,b,c,d){k("js",a,b,c,d)}}}(this.document);(function(){function k(){LazyLoad.js(i.js,l)}function l(){g.js=!0;i.lang!="en"?LazyLoad.js(h.locale+i.lang+".js?"+f,m):g.language=!0;q()}function m(){g.language=!0;q()}function n(){g.css=!0;q()}function o(){g.font.css=!0;q()}function p(){g.font.js=!0;q()}function q(){if(g.checks>40)return;g.checks++;if(g.js&&g.css&&g.font.css&&g.font.js&&g.language){if(!g.finished){g.finished=!0;s()}}else g.timeout=setTimeout("onloaded_check_again();",250)}function r(){b=document.createElement("div");c=document.getElementById("timeline-embed");c.appendChild(b);b.setAttribute("id","timeline");if(i.width.toString().match("%")){c.style.width=i.width;c.setAttribute("class","full-embed ");c.setAttribute("className","full-embed ")}else{c.setAttribute("class"," sized-embed");c.setAttribute("className"," sized-embed");i.width=i.width-2;c.style.width=i.width+"px"}if(i.height.toString().match("%"))c.style.height=i.height;else{i.height=i.height-16;c.style.height=i.height+"px"}b.style.position="relative"}function s(){a=new VMM.Timeline;a.init(i.source);e&&VMM.bindEvent(global,onTimelineHeadline,"TIMELINE_HEADLINE")}var a,b,c,d,e=!1,f="1.43",g={timeout:"",checks:0,finished:!1,js:!1,css:!1,jquery:!1,language:!1,font:{css:!1,js:!1}},h={base:"http://embed.verite.co/timeline/",css:"http://embed.verite.co/timeline/css/",js:"http://embed.verite.co/timeline/js/",locale:"http://embed.verite.co/timeline/js/locale/",font:{css:"http://embed.verite.co/timeline/css/themes/font/",js:"http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js",google:["Bevan::latin","Pontano+Sans::latin"]}},i={embed:!0,width:"100%",height:"650",source:"https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadFYzRjJPUGktY0NkWXFUWkVIZDNGRHc&output=html",lang:"en",font:"default",css:h.css+"timeline.css?"+f,js:h.js+"timeline-min.js?"+f};if(typeof url_config=="object"){i.height="100%";for(d in url_config)Object.prototype.hasOwnProperty.call(url_config,d)&&(i[d]=url_config[d]);i.source.match("docs.google.com")||i.source.match("json")||i.source.match("storify")||(i.source="https://docs.google.com/spreadsheet/pub?key="+i.source+"&output=html");e=!0}else if(typeof timeline_config=="object")for(d in timeline_config)Object.prototype.hasOwnProperty.call(timeline_config,d)&&(i[d]=timeline_config[d]);else if(typeof config=="object")for(d in config)Object.prototype.hasOwnProperty.call(config,d)&&(i[d]=config[d]);timeline_config=i;r();LazyLoad.css(i.css,n);if(i.font=="default"){g.font.js=!0;g.font.css=!0}else{i.font.match("/")?h.font.css=i.font:h.font.css=h.font.css+i.font+".css";LazyLoad.css(h.font.css,o);switch(i.font){case"Merriweather-NewsCycle":h.font.google=["News+Cycle:400,700:latin","Merriweather:400,700,900:latin"];break;case"PoiretOne-Molengo":h.font.google=["Poiret+One::latin","Molengo::latin"];break;case"Arvo-PTSans":h.font.google=["Arvo:400,700,400italic:latin","PT+Sans:400,700,400italic:latin"];break;case"PTSerif-PTSans":h.font.google=["PT+Sans:400,700,400italic:latin","PT+Serif:400,700,400italic:latin"];break;case"DroidSerif-DroidSans":h.font.google=["Droid+Sans:400,700:latin","Droid+Serif:400,700,400italic:latin"];break;case"Lekton-Molengo":h.font.google=["Lekton:400,700,400italic:latin","Molengo::latin"];break;case"NixieOne-Ledger":h.font.google=["Nixie+One::latin","Ledger::latin"];break;case"AbrilFatface-Average":h.font.google=["Average::latin","Abril+Fatface::latin"];break;case"PlayfairDisplay-Muli":h.font.google=["Playfair+Display:400,400italic:latin","Muli:300,400,300italic,400italic:latin"];break;case"Rancho-Gudea":h.font.google=["Rancho::latin","Gudea:400,700,400italic:latin"];break;case"Bevan-PotanoSans":h.font.google=["Bevan::latin","Pontano+Sans::latin"];break;case"BreeSerif-OpenSans":h.font.google=["Bree+Serif::latin","Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800:latin"];break;case"SansitaOne-Kameron":h.font.google=["Sansita+One::latin","Kameron:400,700:latin"];break;case"Pacifico-Arimo":h.font.google=["Pacifico::latin","Arimo:400,700,400italic,700italic:latin"];break;default:h.font.google=["News+Cycle:400,700:latin","Merriweather:400,700,900:latin"]}WebFontConfig={google:{families:h.font.google}};LazyLoad.js(h.font.js,p)}try{g.jquery=jQuery;g.jquery=!0}catch(j){g.jquery=!1}g.jquery?onJQueryLoaded():LazyLoad.js("http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js",k);this.onloaded_check_again=function(){q()}})(); \ No newline at end of file +*/LazyLoad=function(a){function h(b,c){var d=a.createElement(b),e;for(e in c)c.hasOwnProperty(e)&&d.setAttribute(e,c[e]);return d}function i(a){var b=d[a],c,g;if(b){c=b.callback;g=b.urls;g.shift();e=0;if(!g.length){c&&c.call(b.context,b.obj);d[a]=null;f[a].length&&k(a)}}}function j(){var c=navigator.userAgent;b={async:a.createElement("script").async===!0};(b.webkit=/AppleWebKit\//.test(c))||(b.ie=/MSIE/.test(c))||(b.opera=/Opera/.test(c))||(b.gecko=/Gecko\//.test(c))||(b.unknown=!0)}function k(e,g,k,n,o){var p=function(){i(e)},q=e==="css",r=[],s,t,u,v,w,x;b||j();if(g){g=typeof g=="string"?[g]:g.concat();if(q||b.async||b.gecko||b.opera)f[e].push({urls:g,callback:k,obj:n,context:o});else for(s=0,t=g.length;s=0)if(g[b].href===a.urls[0]){i("css");break}e+=1;a&&(e<200?setTimeout(m,50):i("css"))}}var b,c,d={},e=0,f={css:[],js:[]},g=a.styleSheets;return{css:function(a,b,c,d){k("css",a,b,c,d)},js:function(a,b,c,d){k("js",a,b,c,d)}}}(this.document);LazyLoad=function(a){function h(b,c){var d=a.createElement(b),e;for(e in c)c.hasOwnProperty(e)&&d.setAttribute(e,c[e]);return d}function i(a){var b=d[a],c,g;if(b){c=b.callback;g=b.urls;g.shift();e=0;if(!g.length){c&&c.call(b.context,b.obj);d[a]=null;f[a].length&&k(a)}}}function j(){var c=navigator.userAgent;b={async:a.createElement("script").async===!0};(b.webkit=/AppleWebKit\//.test(c))||(b.ie=/MSIE/.test(c))||(b.opera=/Opera/.test(c))||(b.gecko=/Gecko\//.test(c))||(b.unknown=!0)}function k(e,g,k,n,o){var p=function(){i(e)},q=e==="css",r=[],s,t,u,v,w,x;b||j();if(g){g=typeof g=="string"?[g]:g.concat();if(q||b.async||b.gecko||b.opera)f[e].push({urls:g,callback:k,obj:n,context:o});else for(s=0,t=g.length;s=0)if(g[b].href===a.urls[0]){i("css");break}e+=1;a&&(e<200?setTimeout(m,50):i("css"))}}var b,c,d={},e=0,f={css:[],js:[]},g=a.styleSheets;return{css:function(a,b,c,d){k("css",a,b,c,d)},js:function(a,b,c,d){k("js",a,b,c,d)}}}(this.document);(function(){function k(){LazyLoad.js(i.js,l)}function l(){g.js=!0;i.lang!="en"?LazyLoad.js(h.locale+i.lang+".js?"+f,m):g.language=!0;q()}function m(){g.language=!0;q()}function n(){g.css=!0;q()}function o(){g.font.css=!0;q()}function p(){g.font.js=!0;q()}function q(){if(g.checks>40)return;g.checks++;if(g.js&&g.css&&g.font.css&&g.font.js&&g.language){if(!g.finished){g.finished=!0;s()}}else g.timeout=setTimeout("onloaded_check_again();",250)}function r(){b=document.createElement("div");c=document.getElementById("timeline-embed");c.appendChild(b);b.setAttribute("id","timeline");if(i.width.toString().match("%")){c.style.width=i.width;c.setAttribute("class","full-embed ");c.setAttribute("className","full-embed ")}else{c.setAttribute("class"," sized-embed");c.setAttribute("className"," sized-embed");i.width=i.width-2;c.style.width=i.width+"px"}if(i.height.toString().match("%"))c.style.height=i.height;else{i.height=i.height-16;c.style.height=i.height+"px"}b.style.position="relative"}function s(){VMM.debug=i.debug;a=new VMM.Timeline;a.init(i.source);e&&VMM.bindEvent(global,onTimelineHeadline,"TIMELINE_HEADLINE")}var a,b,c,d,e=!1,f="1.43",g={timeout:"",checks:0,finished:!1,js:!1,css:!1,jquery:!1,language:!1,font:{css:!1,js:!1}},h={base:"http://embed.verite.co/timeline/",css:"http://embed.verite.co/timeline/css/",js:"http://embed.verite.co/timeline/js/",locale:"http://embed.verite.co/timeline/js/locale/",font:{css:"http://embed.verite.co/timeline/css/themes/font/",js:"http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js",google:["Bevan::latin","Pontano+Sans::latin"]}},i={debug:!1,embed:!0,width:"100%",height:"650",source:"https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadFYzRjJPUGktY0NkWXFUWkVIZDNGRHc&output=html",lang:"en",font:"default",css:h.css+"timeline.css?"+f,js:h.js+"timeline-min.js?"+f};if(typeof url_config=="object"){i.height="100%";for(d in url_config)Object.prototype.hasOwnProperty.call(url_config,d)&&(i[d]=url_config[d]);i.source.match("docs.google.com")||i.source.match("json")||i.source.match("storify")||(i.source="https://docs.google.com/spreadsheet/pub?key="+i.source+"&output=html");e=!0}else if(typeof timeline_config=="object")for(d in timeline_config)Object.prototype.hasOwnProperty.call(timeline_config,d)&&(i[d]=timeline_config[d]);else if(typeof config=="object")for(d in config)Object.prototype.hasOwnProperty.call(config,d)&&(i[d]=config[d]);if(i.js.match("locale")){i.lang=i.js.split("locale/")[1].replace(".js","");i.js=h.js+"timeline-min.js?"+f}timeline_config=i;r();LazyLoad.css(i.css,n);if(i.font=="default"){g.font.js=!0;g.font.css=!0}else{i.font.match("/")?h.font.css=i.font:h.font.css=h.font.css+i.font+".css";LazyLoad.css(h.font.css,o);switch(i.font){case"Merriweather-NewsCycle":h.font.google=["News+Cycle:400,700:latin","Merriweather:400,700,900:latin"];break;case"PoiretOne-Molengo":h.font.google=["Poiret+One::latin","Molengo::latin"];break;case"Arvo-PTSans":h.font.google=["Arvo:400,700,400italic:latin","PT+Sans:400,700,400italic:latin"];break;case"PTSerif-PTSans":h.font.google=["PT+Sans:400,700,400italic:latin","PT+Serif:400,700,400italic:latin"];break;case"DroidSerif-DroidSans":h.font.google=["Droid+Sans:400,700:latin","Droid+Serif:400,700,400italic:latin"];break;case"Lekton-Molengo":h.font.google=["Lekton:400,700,400italic:latin","Molengo::latin"];break;case"NixieOne-Ledger":h.font.google=["Nixie+One::latin","Ledger::latin"];break;case"AbrilFatface-Average":h.font.google=["Average::latin","Abril+Fatface::latin"];break;case"PlayfairDisplay-Muli":h.font.google=["Playfair+Display:400,400italic:latin","Muli:300,400,300italic,400italic:latin"];break;case"Rancho-Gudea":h.font.google=["Rancho::latin","Gudea:400,700,400italic:latin"];break;case"Bevan-PotanoSans":h.font.google=["Bevan::latin","Pontano+Sans::latin"];break;case"BreeSerif-OpenSans":h.font.google=["Bree+Serif::latin","Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800:latin"];break;case"SansitaOne-Kameron":h.font.google=["Sansita+One::latin","Kameron:400,700:latin"];break;case"Pacifico-Arimo":h.font.google=["Pacifico::latin","Arimo:400,700,400italic,700italic:latin"];break;default:h.font.google=["News+Cycle:400,700:latin","Merriweather:400,700,900:latin"]}WebFontConfig={google:{families:h.font.google}};LazyLoad.js(h.font.js,p)}try{g.jquery=jQuery;g.jquery=!0}catch(j){g.jquery=!1}g.jquery?onJQueryLoaded():LazyLoad.js("http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js",k);this.onloaded_check_again=function(){q()}})(); \ No newline at end of file diff --git a/compiled/js/timeline-min.js b/compiled/js/timeline-min.js index 22d1240..9ed141c 100644 --- a/compiled/js/timeline-min.js +++ b/compiled/js/timeline-min.js @@ -27,6 +27,6 @@ * By John Resig http://ejohn.org/ * MIT Licensed. ================================================== */function trace(a){VMM.debug&&(window.console?console.log(a):typeof jsTrace!="undefined"&&jsTrace.send(a))}function onYouTubePlayerAPIReady(){trace("GLOBAL YOUTUBE API CALLED");VMM.ExternalAPI.youtube.onAPIReady()}(function(){var a=!1,b=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(c){function g(){!a&&this.init&&this.init.apply(this,arguments)}var d=this.prototype;a=!0;var e=new this;a=!1;for(var f in c)e[f]=typeof c[f]=="function"&&typeof d[f]=="function"&&b.test(c[f])?function(a,b){return function(){var c=this._super;this._super=d[a];var e=b.apply(this,arguments);this._super=c;return e}}(f,c[f]):c[f];g.prototype=e;g.prototype.constructor=g;g.extend=arguments.callee;return g}})();var global=function(){return this||(1,eval)("this")}();if(typeof VMM=="undefined"){var VMM=Class.extend({});VMM.debug=!0;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=",twitter:""},flickr:{active:!1,array:[],api_loaded:!1,que:[]},youtube:{active:!1,array:[],api_loaded:!1,que:[]},vimeo:{active:!1,array:[],api_loaded:!1,que:[]},googlemaps:{active:!1,map_active:!1,places_active:!1,array:[],api_loaded:!1,que:[]},googledocs:{active:!1,array:[],api_loaded:!1,que:[]},wikipedia:{active:!1,array:[],api_loaded:!1,que:[]},soundcloud:{active:!1,array:[],api_loaded:!1,que:[]}}.init();VMM.createElement=function(a,b,c,d,e){var f="";if(a!=null&&a!=""){f+="<"+a;c!=null&&c!=""&&(f+=" class='"+c+"'");d!=null&&d!=""&&(f+=" "+d);e!=null&&e!=""&&(f+=" style='"+e+"'");f+=">";b!=null&&b!=""&&(f+=b);f=f+""}return f};VMM.createMediaElement=function(a,b,c){var d="",e=!1;d+="
";if(a!=null&&a!=""){valid=!0;d+="";c!=null&&c!=""&&(d+=VMM.createElement("div",c,"credit"));b!=null&&b!=""&&(d+=VMM.createElement("div",b,"caption"))}d+="
";return d};VMM.hideUrlBar=function(){var a=window,b=a.document;if(!location.hash||!a.addEventListener){window.scrollTo(0,1);var c=1,d=setInterval(function(){if(b.body){clearInterval(d);c="scrollTop"in b.body?b.body.scrollTop:1;a.scrollTo(0,c===1?0:1)}},15);a.addEventListener("load",function(){setTimeout(function(){a.scrollTo(0,c===1?0:1)},0)},!1)}}}Date.prototype.getWeek=function(){var a=new Date(this.getFullYear(),0,1);return Math.ceil(((this-a)/864e5+a.getDay()+1)/7)};Date.prototype.getDayOfYear=function(){var a=new Date(this.getFullYear(),0,1);return Math.ceil((this-a)/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:!1},String:function(a){return typeof a=="string"?!0:typeof a=="object"?a.constructor.toString().match(/string/i)!==null:!1},Array:function(a){return typeof a=="object"?a.constructor.toString().match(/array/i)!==null||a.length!==undefined:!1},Boolean:function(a){return typeof a=="boolean"?!0:typeof a=="object"?a.constructor.toString().match(/boolean/i)!==null:!1},Date:function(a){return typeof a=="date"?!0:typeof a=="object"?a.constructor.toString().match(/date/i)!==null:!1},HTML:function(a){return typeof a=="object"?a.constructor.toString().match(/html/i)!==null:!1},Number:function(a){return typeof a=="number"?!0:typeof a=="object"?a.constructor.toString().match(/Number/)!==null:!1},Object:function(a){return typeof a=="object"?a.constructor.toString().match(/object/i)!==null:!1},RegExp:function(a){return typeof a=="function"?a.constructor.toString().match(/regexp/i)!==null:!1}},type={of:function(a){for(var b in is)if(is[b](a))return b.toLowerCase()}};if(typeof VMM!="undefined"){VMM.attachElement=function(a,b){typeof jQuery!="undefined"&&jQuery(a).html(b)};VMM.appendElement=function(a,b){typeof jQuery!="undefined"&&jQuery(a).append(b)};VMM.getHTML=function(a){var b;if(typeof jQuery!="undefined"){b=jQuery(a).html();return b}};VMM.getElement=function(a,b){var c;if(typeof jQuery!="undefined"){b?c=jQuery(a).parent().get(0):c=jQuery(a).get(0);return c}};VMM.bindEvent=function(a,b,c,d){var e,f="click",g={};c!=null&&c!=""&&(f=c);g!=null&&g!=""&&(g=d);typeof jQuery!="undefined"&&jQuery(a).bind(f,g,b)};VMM.unbindEvent=function(a,b,c){var d,e="click",f={};c!=null&&c!=""&&(e=c);typeof jQuery!="undefined"&&jQuery(a).unbind(e,b)};VMM.fireEvent=function(a,b,c){var d,e="click",f=[];b!=null&&b!=""&&(e=b);c!=null&&c!=""&&(f=c);typeof jQuery!="undefined"&&jQuery(a).trigger(e,f)};VMM.getJSON=function(a,b,c){if(typeof jQuery!="undefined"){if(VMM.Browser.browser=="Explorer"&&parseInt(VMM.Browser.version,10)>=7&&window.XDomainRequest){trace("IE JSON");var d=a;if(d.match("^http://"))return jQuery.getJSON(d,b,c);if(d.match("^https://")){d=d.replace("https://","http://");return jQuery.getJSON(d,b,c)}return jQuery.getJSON(a,b,c)}return jQuery.getJSON(a,b,c)}};VMM.parseJSON=function(a){if(typeof jQuery!="undefined")return jQuery.parseJSON(a)};VMM.appendAndGetElement=function(a,b,c,d){var e,f="
",g="",h="";b!=null&&b!=""&&(f=b);c!=null&&c!=""&&(g=c);d!=null&&d!=""&&(h=d);if(typeof jQuery!="undefined"){e=jQuery(b);e.addClass(g);e.html(h);jQuery(a).append(e)}return e};VMM.Lib={init:function(){return this},hide:function(a,b){b!=null&&b!=""?typeof jQuery!="undefined"&&jQuery(a).hide(b):typeof jQuery!="undefined"&&jQuery(a).hide()},remove:function(a){typeof jQuery!="undefined"&&jQuery(a).remove()},detach:function(a){typeof jQuery!="undefined"&&jQuery(a).detach()},append:function(a,b){typeof jQuery!="undefined"&&jQuery(a).append(b)},prepend:function(a,b){typeof jQuery!="undefined"&&jQuery(a).prepend(b)},show:function(a,b){b!=null&&b!=""?typeof jQuery!="undefined"&&jQuery(a).show(b):typeof jQuery!="undefined"&&jQuery(a).show()},load:function(a,b,c){var d={elem:a};d!=null&&d!=""&&(d=c);typeof jQuery!="undefined"&&jQuery(a).load(d,b)},addClass:function(a,b){typeof jQuery!="undefined"&&jQuery(a).addClass(b)},removeClass:function(a,b){typeof jQuery!="undefined"&&jQuery(a).removeClass(b)},attr:function(a,b,c){if(c!=null&&c!="")typeof jQuery!="undefined"&&jQuery(a).attr(b,c);else if(typeof jQuery!="undefined")return jQuery(a).attr(b)},prop:function(a,b,c){typeof jQuery=="undefined"||!/[1-9]\.[3-9].[1-9]/.test(jQuery.fn.jquery)?VMM.Lib.attribute(a,b,c):jQuery(a).prop(b,c)},attribute:function(a,b,c){if(c!=null&&c!="")typeof jQuery!="undefined"&&jQuery(a).attr(b,c);else if(typeof jQuery!="undefined")return jQuery(a).attr(b)},visible:function(a,b){if(b!=null)typeof jQuery!="undefined"&&(b?jQuery(a).show(0):jQuery(a).hide(0));else if(typeof jQuery!="undefined")return jQuery(a).is(":visible")?!0:!1},css:function(a,b,c){if(c!=null&&c!="")typeof jQuery!="undefined"&&jQuery(a).css(b,c);else if(typeof jQuery!="undefined")return jQuery(a).css(b)},cssmultiple:function(a,b){if(typeof jQuery!="undefined")return jQuery(a).css(b)},offset:function(a){var b;typeof jQuery!="undefined"&&(b=jQuery(a).offset());return b},position:function(a){var b;typeof jQuery!="undefined"&&(b=jQuery(a).position());return b},width:function(a,b){if(b!=null&&b!="")typeof jQuery!="undefined"&&jQuery(a).width(b);else if(typeof jQuery!="undefined")return jQuery(a).width()},height:function(a,b){if(b!=null&&b!="")typeof jQuery!="undefined"&&jQuery(a).height(b);else if(typeof jQuery!="undefined")return jQuery(a).height()},toggleClass:function(a,b){typeof jQuery!="undefined"&&jQuery(a).toggleClass(b)},each:function(a,b){typeof jQuery!="undefined"&&jQuery(a).each(b)},html:function(a,b){var c;if(typeof jQuery!="undefined"){c=jQuery(a).html();return c}if(b!=null&&b!="")typeof jQuery!="undefined"&&jQuery(a).html(b);else{var c;if(typeof jQuery!="undefined"){c=jQuery(a).html();return c}}},find:function(a,b){if(typeof jQuery!="undefined")return jQuery(a).find(b)},stop:function(a){typeof jQuery!="undefined"&&jQuery(a).stop()},animate:function(a,b,c,d,e){var f="easein",g=1e3,h={};b!=null&&(b<1?g=1:g=Math.round(b));c!=null&&c!=""&&(f=c);d!=null?h=d:h={opacity:0};if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet"){var i=Math.round(g/1500*10)/10,j=i+"s";VMM.Lib.css(a,"-webkit-transition","all "+j+" ease");VMM.Lib.css(a,"-moz-transition","all "+j+" ease");VMM.Lib.css(a,"-o-transition","all "+j+" ease");VMM.Lib.css(a,"-ms-transition","all "+j+" ease");VMM.Lib.css(a,"transition","all "+j+" ease");VMM.Lib.cssmultiple(a,h)}else typeof jQuery!="undefined"&&(e!=null&&e!=""?jQuery(a).animate(h,{queue:!1,duration:g,easing:f,complete:e}):jQuery(a).animate(h,{queue:!1,duration:g,easing:f}))}}}if(typeof jQuery!="undefined"){(function(a){window.XDomainRequest&&a.ajaxTransport(function(b){if(b.crossDomain&&b.async){if(b.timeout){b.xdrTimeout=b.timeout;delete b.timeout}var c;return{send:function(d,e){function f(b,d,f,g){c.onload=c.onerror=c.ontimeout=a.noop;c=undefined;e(b,d,f,g)}c=new XDomainRequest;c.open(b.type,b.url);c.onload=function(){f(200,"OK",{text:c.responseText},"Content-Type: "+c.contentType)};c.onerror=function(){f(404,"Not Found")};if(b.xdrTimeout){c.ontimeout=function(){f(0,"timeout")};c.timeout=b.xdrTimeout}c.send(b.hasContent&&b.data||null)},abort:function(){if(c){c.onerror=a.noop();c.abort()}}}}})})(jQuery);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(a,b,c,d,e){return jQuery.easing[jQuery.easing.def](a,b,c,d,e)},easeInExpo:function(a,b,c,d,e){return b==0?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){return b==0?c:b==e?c+d:(b/=e/2)<1?d/2*Math.pow(2,10*(b-1))+c:d/2*(-Math.pow(2,-10*--b)+2)+c},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c}})}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.OS=this.searchString(this.dataOS)||"an unknown OS";this.device=this.searchDevice(navigator.userAgent);this.orientation=this.searchOrientation(window.orientation)},searchOrientation:function(a){return a==0||a==180?"portrait":a==90||a==-90?"landscape":"normal"},searchDevice:function(a){return a.match(/Android/i)||a.match(/iPhone|iPod/i)?"mobile":a.match(/iPad/i)?"tablet":a.match(/BlackBerry/i)||a.match(/IEMobile/i)?"other mobile":"desktop"},searchString:function(a){for(var b=0;b'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(a){trace("SET DATE LANGUAGE");VMM.Date.dateformats=a.dateformats;VMM.Date.month=a.date.month;VMM.Date.month_abbr=a.date.month_abbr;VMM.Date.day=a.date.day;VMM.Date.day_abbr=a.date.day_abbr;dateFormat.i18n.dayNames=a.date.day_abbr.concat(a.date.day);dateFormat.i18n.monthNames=a.date.month_abbr.concat(a.date.month)},parse:function(a){if(type.of(a)=="date")return a;var b=new Date(0,0,1,0,0,0,0),c,d,e,f;if(a.match(/,/gi)){c=a.split(",");for(var g=0;g1&&b.setMonth(c[1]-1);c[2]>1&&b.setDate(c[2]);c[3]>1&&b.setHours(c[3]);c[4]>1&&b.setMinutes(c[4]);c[5]>1&&b.setSeconds(c[5]);c[6]>1&&b.setMilliseconds(c[6])}else if(a.match("/")){if(a.match(" ")){e=a.split(" ");if(a.match(":")){d=e[1].split(":");d[0]>=1&&b.setHours(d[0]);d[1]>=1&&b.setMinutes(d[1]);d[2]>=1&&b.setSeconds(d[2]);d[3]>=1&&b.setMilliseconds(d[3])}c=e[0].split("/")}else c=a.split("/");c[2]&&b.setFullYear(c[2]);c[0]>1&&b.setMonth(c[0]-1);c[1]>1&&b.setDate(c[1])}else if(a.length<=5){b.setFullYear(parseInt(a));b.setMonth(0);b.setDate(1);b.setHours(0);b.setMinutes(0);b.setSeconds(0);b.setMilliseconds(0)}else if(a.match("T"))if(navigator.userAgent.match(/MSIE\s(?!9.0)/)){e=a.split("T");if(a.match(":")){d=e[1].split(":");d[0]>=1&&b.setHours(d[0]);d[1]>=1&&b.setMinutes(d[1]);d[2]>=1&&b.setSeconds(d[2]);d[3]>=1&&b.setMilliseconds(d[3])}c=e[0].split("-");c[0]&&b.setFullYear(c[0]);c[1]>1&&b.setMonth(c[1]-1);c[2]>1&&b.setDate(c[2])}else b=new Date(Date.parse(a));else b=new Date(parseInt(a.slice(0,4)),parseInt(a.slice(4,6))-1,parseInt(a.slice(6,8)),parseInt(a.slice(8,10)),parseInt(a.slice(10,12)));return b},prettyDate:function(a,b,c){var d,e,f,g,h=!1;c!=null&&(h=!0);if(type.of(a)=="date"){a.getMonth()===0&&a.getDate()==1&&a.getHours()===0&&a.getMinutes()===0?f=VMM.Date.dateformats.year:a.getDate()<=1&&a.getHours()===0&&a.getMinutes()===0?b?f=VMM.Date.dateformats.month_short:f=VMM.Date.dateformats.month:a.getHours()===0&&a.getMinutes()===0?b?f=VMM.Date.dateformats.full_short:f=VMM.Date.dateformats.full:a.getMinutes()===0?b?f=VMM.Date.dateformats.time_no_seconds_short:f=VMM.Date.dateformats.time_no_seconds_small_date:b?f=VMM.Date.dateformats.time_no_seconds_short:f=VMM.Date.dateformats.full_long;d=dateFormat(a,f);g=d.split(" ");for(var i=0;i99?Math.round(q/10):q),t:n<12?"a":"p",tt:n<12?"am":"pm",T:n<12?"A":"P",TT:n<12?"AM":"PM",Z:g?"UTC":(String(e).match(b)||[""]).pop().replace(c,""),o:(r>0?"-":"+")+d(Math.floor(Math.abs(r)/60)*100+Math.abs(r)%60,4),S:["th","st","nd","rd"][j%10>3?0:(j%100-j%10!=10)*j%10]};return f.replace(a,function(a){return a in s?s[a]:a.slice(1,a.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(a,b){return dateFormat(this,a,b)}}typeof VMM!="undefined"&&typeof VMM.Util=="undefined"&&(VMM.Util={init:function(){return this},correctProtocol:function(a){var b=window.parent.location.protocol.toString(),c="",d=a.split("://",2);b.match("http")?c=b:c="https";return c+"://"+d[1]},getObjectAttributeByIndex:function(a,b){if(typeof a!="undefined"){var c=0;for(var d in a){if(b===c)return a[d];c++}return""}return""},randomBetween:function(a,b){return Math.floor(Math.random()*(b-a+1)+a)},average:function(a){var b={mean:0,variance:0,deviation:0},c=a.length;for(var d,e=0,f=c;f--;e+=a[f]);for(d=b.mean=e/c,f=c,e=0;f--;e+=Math.pow(a[f]-d,2));return b.deviation=Math.sqrt(b.variance=e/c),b},customSort:function(a,b){var c=a,d=b;return c==d?0:c>d?1:-1},deDupeArray:function(a){var b,c=a.length,d=[],e={};for(b=0;bb){e.height=b;e.width=Math.round(b/d*c);e.width>a&&trace("FIT: DIDN'T FIT!!! ")}return e},r16_9:function(a,b){if(a!==null&&a!=="")return Math.round(b/16*9);if(b!==null&&b!=="")return Math.round(a/9*16)},r4_3:function(a,b){if(a!==null&&a!=="")return Math.round(b/4*3);if(b!==null&&b!=="")return Math.round(a/3*4)}},doubledigit:function(a){return(a<10?"0":"")+a},truncateWords:function(a,b,c){b||(b=30);c||(c=b);var d=/^[^A-Za-z0-9\'\-]+/gi,e=a.replace(d,""),f=e.split(" "),g=[];b=Math.min(f.length,b);c=Math.min(f.length,c);for(var h=0;h$&").replace(e,"$1$2").replace(f,"$1")},linkify_with_twitter:function(a,b,c){function h(a){var b=/(\b(https?|ftp|file):\/\/([-A-Z0-9+&@#%?=~_|!:,.;]*)([-A-Z0-9+&@#%?\/=~_|!:,.;]*)[-A-Z0-9+&@#\/%=~_|])/ig;return a.replace(b,"$3")}var d=/\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim,e=/(\()((?: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,f='$1$4$7$10$13$2$5$8$11$14$3$6$9$12',g=/(^|[^\/])(www\.[\S]+(\b|$))/gim,i=/(([a-zA-Z0-9_\-\.]+)@[a-zA-Z_]+?(?:\.[a-zA-Z]{2,6}))+/gim,j=/\B@([\w-]+)/gm,k=/(#([\w]+))/g;return a.replace(e,f).replace(g,"$1$2").replace(i,"$1").replace(j,"@$1").replace(k,"$1")},linkify_wikipedia:function(a){var b=/]*>(.*?)<\/i>/gim;return a.replace(b,"$&").replace(/]*>/gim,"").replace(/<\/i>/gim,"").replace(/]*>/gim,"").replace(/<\/b>/gim,"")},unlinkify:function(a){if(!a)return a;a=a.replace(/]*>/i,"");a=a.replace(/<\/a>/i,"");return a},untagify:function(a){if(!a)return a;a=a.replace(/<\s*\w.*?>/g,"");return a},nl2br:function(a){return a.replace(/(\r\n|[\r\n]|\\n|\\r)/g,"
")},unique_ID:function(a){var b=function(a){return Math.floor(Math.random()*a)},c=function(){var a="abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ";return a.substr(b(62),1)},d=function(a){var b="";for(var d=0;d=7)return a.replace("_","%20");var b={__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(a){var b="",c=a.split(/([:.;?!][ ]|(?:[ ]|^)["“])/);for(var d=0;d=0)if(g[b].href===a.urls[0]){k("css");break}e+=1;a&&(e<200?setTimeout(o,50):k("css"))}}var b,c,d={},e=0,f={css:[],js:[]},g=a.styleSheets,h=[];return{css:function(a,b,c,d){if(i(a))return b;m("css",a,b,c,d)},js:function(a,b,c,d){if(i(a))return b;m("js",a,b,c,d)}}}(this.document));typeof VMM!="undefined"&&typeof VMM.ExternalAPI=="undefined"&&(VMM.ExternalAPI={pushQues:function(){VMM.master_config.googlemaps.active&&VMM.ExternalAPI.googlemaps.pushQue();VMM.master_config.youtube.active&&VMM.ExternalAPI.youtube.pushQue();VMM.master_config.soundcloud.active&&VMM.ExternalAPI.soundcloud.pushQue();VMM.master_config.googledocs.active&&VMM.ExternalAPI.googledocs.pushQue();VMM.master_config.wikipedia.active&&VMM.ExternalAPI.wikipedia.pushQue();VMM.master_config.vimeo.active&&VMM.ExternalAPI.vimeo.pushQue()},twitter:{tweetArray:[],getHTML:function(a){var b="http://api.twitter.com/1/statuses/oembed.json?id="+a+"&callback=?";VMM.getJSON(b,VMM.ExternalAPI.twitter.onJSONLoaded)},onJSONLoaded:function(a){trace("TWITTER JSON LOADED");var b=a.id;VMM.attachElement("#"+b,VMM.Util.linkify_with_twitter(a.html))},parseTwitterDate:function(a){var b=new Date(Date.parse(a));return b},prettyParseTwitterDate:function(a){var b=new Date(Date.parse(a));return VMM.Date.prettyDate(b,!0)},getTweets:function(a){var b=[],c=a.length;for(var d=0;d
";d.content=e;d.raw=a;b.push(d);if(b.length==c){var g={tweetdata:b};VMM.fireEvent(global,"TWEETSLOADED",g)}}).success(function(){trace("second success")}).error(function(){trace("error")}).complete(function(){trace("complete")})}},getTweetSearch:function(a,b){var c=40;b!=null&&b!=""&&(c=b);var d="http://search.twitter.com/search.json?q="+a+"&rpp="+c+"&include_entities=true&result_type=mixed",e=[];VMM.getJSON(d,function(a){for(var b=0;b