futuro 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/html/overlay/search.liquid +2 -2
- data/_includes/html/search/loop.liquid +3 -1
- data/assets/js/footer/custom/Overlays.js +48 -41
- data/assets/js/footer/custom/SwitchFocus.js +11 -9
- data/assets/js/futuro.footer.custom.js +1 -1
- data/assets/js/futuro.header.custom.js +1 -1
- data/assets/js/header/custom/Config.js +2 -1
- data/assets/js/header/custom/Site.js +0 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af5ef60636ad4cdbf85ce7a99a682fd7957b9a74a4ddc52d42563f53d39b3789
|
4
|
+
data.tar.gz: 458ef05cce4112e5d4b20961a43a2963182a5595c99e95b094744aec44376677
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1696a1b1a08d793c7cbe9209487aff4d4a8b1680ef57785d2f8ec2048a7dc026ae5c1dcb0461392febb4cbc3b9856af635f1a03afbf63b67814964ba36e4026c
|
7
|
+
data.tar.gz: 8efbe138b5b5a2c6852db52b2ee4b4dd274a5c8258ea387d4c54cccd681bf62078cad33d482d81acc8bb97bd0ef873120796ea616aef43db26ca29ebf00dd837
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
{%- include {{ SvgIcon }} type="search" -%}
|
9
9
|
|
10
|
-
</div>
|
10
|
+
</div>
|
11
11
|
|
12
12
|
</div>
|
13
13
|
|
@@ -20,7 +20,7 @@ window.simpleJekyllSearch = new SimpleJekyllSearch({
|
|
20
20
|
resultsContainer: document.querySelector(".wrap.results"),
|
21
21
|
json: '/search.json',
|
22
22
|
searchResultTemplate:
|
23
|
-
'<a href="
|
23
|
+
'<a href="{url}" class="block results-entry book-{book} chapter-{chapter}">
|
24
24
|
<h1>{title}</h1>
|
25
25
|
<div class="block results-info">
|
26
26
|
<div class="block results-dot"></div>
|
@@ -3,11 +3,13 @@
|
|
3
3
|
|
4
4
|
{% for item in loop %}
|
5
5
|
|
6
|
+
{% assign url = item.url | prepend : site.url | replace : '.html','' %}
|
7
|
+
|
6
8
|
{
|
7
9
|
"book" : "{{ item.collection }}",
|
8
10
|
"chapter" : "{{ item.chapter }}",
|
9
11
|
"title" : "{{ item.title }}",
|
10
|
-
"url" : "{{
|
12
|
+
"url" : "{{ url | replace : '/index','' }}"
|
11
13
|
} {% unless forloop.last %},{% endunless %}
|
12
14
|
|
13
15
|
{% endfor %}
|
@@ -1,14 +1,29 @@
|
|
1
1
|
|
2
2
|
const ChangeScreen = (index,value,state) => {
|
3
3
|
|
4
|
+
let source = Overlay.custom[index],
|
5
|
+
target = ".area.overlay-" + source.name;
|
6
|
+
|
4
7
|
if (state == "close") {
|
5
|
-
gsap.set(body,{
|
6
|
-
|
7
|
-
|
8
|
+
gsap.set(body,{
|
9
|
+
clearProps : "overflow"
|
10
|
+
});
|
11
|
+
gsap.set(target, {
|
12
|
+
clearProps : "display"
|
13
|
+
});
|
14
|
+
source.open = false;
|
8
15
|
} else {
|
9
|
-
gsap.set(body, {
|
10
|
-
|
11
|
-
|
16
|
+
gsap.set(body, {
|
17
|
+
overflow : "hidden"
|
18
|
+
});
|
19
|
+
gsap.set(target, {
|
20
|
+
display : Config.display
|
21
|
+
});
|
22
|
+
source.open = true;
|
23
|
+
|
24
|
+
if (value.name == "search") {
|
25
|
+
$(".input.text-search").focus();
|
26
|
+
}
|
12
27
|
}
|
13
28
|
}
|
14
29
|
|
@@ -25,50 +40,42 @@ const BuildScreens = (index,value) => {
|
|
25
40
|
});
|
26
41
|
}
|
27
42
|
|
28
|
-
const KeyUp = e => {
|
43
|
+
const KeyUp = (e) => {
|
29
44
|
|
30
|
-
|
31
|
-
$(Overlay.custom).each(function(index,value) {
|
32
|
-
if (Overlay.custom[index].open) {
|
33
|
-
ChangeScreen(index,value,"close");
|
34
|
-
}
|
35
|
-
});
|
36
|
-
}
|
45
|
+
$(Overlay.custom).map((index,value) => {
|
37
46
|
|
38
|
-
|
39
|
-
$(Overlay.custom).each(function(index,value) {
|
40
|
-
if (!Overlay.custom[0].open) {
|
41
|
-
ChangeScreen(0,value,"open");
|
42
|
-
console.log(e.keyCode);
|
43
|
-
}
|
44
|
-
});
|
45
|
-
}
|
47
|
+
if (value.open && e.keyCode == 27) {
|
46
48
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
49
|
+
ChangeScreen(index,value,"close");
|
50
|
+
|
51
|
+
} else if (e.keyCode == 65 && value.name == "about") {
|
52
|
+
|
53
|
+
ChangeScreen(index,value,"open");
|
54
|
+
|
55
|
+
} else if (e.keyCode == 66 && value.name == "browse") {
|
56
|
+
|
57
|
+
ChangeScreen(index,value,"open");
|
58
|
+
|
59
|
+
} else if (e.keyCode == 83 && value.name == "search") {
|
60
|
+
|
61
|
+
ChangeScreen(index,value,"open");
|
62
|
+
|
63
|
+
}});
|
54
64
|
|
55
|
-
if (e.keyCode == 83) {
|
56
|
-
$(Overlay.custom).each(function(index,value) {
|
57
|
-
if (!Overlay.custom[2].open) {
|
58
|
-
ChangeScreen(2,value,"open");
|
59
|
-
}
|
60
|
-
});
|
61
|
-
}
|
62
65
|
}
|
63
66
|
|
64
|
-
$(function(){
|
65
|
-
|
66
|
-
|
67
|
-
|
67
|
+
$(Overlay.custom).each(function(index,value) {
|
68
|
+
|
69
|
+
BuildScreens(index,value);
|
70
|
+
|
68
71
|
});
|
69
72
|
|
70
73
|
$(document).keyup(function(e) {
|
71
|
-
|
74
|
+
|
75
|
+
if (!SiteInFocus) {
|
76
|
+
|
72
77
|
KeyUp(e);
|
78
|
+
|
73
79
|
}
|
80
|
+
|
74
81
|
});
|
@@ -1,13 +1,15 @@
|
|
1
1
|
|
2
|
-
|
2
|
+
let FocusInputs = ["input","textarea"];
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
const SetFocus = (focus) => {
|
7
|
-
Site.focus = focus;
|
8
|
-
}
|
9
|
-
|
10
|
-
$(target).focusin(SetFocus(true)).focusout(SetFocus(false));
|
4
|
+
const SetFocus = (focus) => {
|
5
|
+
SiteInFocus = focus;
|
11
6
|
}
|
12
7
|
|
13
|
-
|
8
|
+
FocusInputs.map((value) => {
|
9
|
+
$(value)
|
10
|
+
.focusin(function() {
|
11
|
+
SetFocus(true);
|
12
|
+
}).focusout(function() {
|
13
|
+
SetFocus(false);
|
14
|
+
});
|
15
|
+
});
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var Browseable,BodyIsHome,body="body",site=".site",shade="rgba(0,0,0,0.05)",controller=new ScrollMagic.Controller,BodyClasses=$(body)[0].classList;$(body).hasClass("type-home")&&(BodyIsHome=!0),SiteIsTheme||(Browseable=$(".wrap.type-page").length);var PrintWidth=function(){var e=$(document)[0].documentElement.clientWidth,a=Site.desktop.width-e+"px",o=100/Site.desktop.width*e+"%";$(".width").html(a),gsap.set(Overlay.mobile.bar,{width:o})},CheckWidth=function(){Site.desktop.active?(gsap.set(Overlay.mobile.screen,{clearProps:"display"}),gsap.set(site,{display:Config.display})):(gsap.set(site,{clearProps:"display"}),gsap.set(Overlay.mobile.screen,{display:Config.display}),PrintWidth())};Config.respond||($(CheckWidth),$(window).resize(CheckWidth));var SplitPath=window.location.pathname.split("/"),BookLinks=$(".link.browse-book",".wrap.browse-book"),ChapterBooks=$(".block.browse-book",".wrap.browse-chapter"),ChapterLinks=$(".link.browse-chapter",".wrap.browse-chapter"),PageBooks=$(".block.browse-book",".wrap.browse-page"),PageChapters=$(".block.browse-chapter",".wrap.browse-page"),PageLinks=$(".link.browse-page",".wrap.browse-page"),BackgroundShade={background:shade},ClearDisplay={clearProps:"display"},ClearBackground={clearProps:"background"},DisplayNone={display:"none"},BookClass="",BookNotFound=!0,ChapterClass="",ChapterNotFound=!0,PageClass="",PageNotFound=!0,Found="";$(SplitPath).each(function(e,a){if(1==e)BookClass="book-"+a;else if(2==e){ChapterClass="chapter-"+a}else if(3==e){PageClass="title-"+a}});var StartsWith=function(e,a){"book"==a?e.startsWith("book-")&&(BookClass=e):e.startsWith("chapter-")&&(ChapterClass=e)},CreateMatch=function(e,a){var o=1<arguments.length&&void 0!==a?a:"book";$(e.classList).each(function(e,a){StartsWith(a,o)})},CheckBookClass=function(e){Found=!1,$(e.classList).each(function(e,a){a.startsWith("book-")&&BookClass==a&&(BookNotFound=!(Found=!0))})},CheckChapterClass=function(e){Found=!1,$(e.classList).each(function(e,a){a.startsWith("chapter-")&&ChapterClass==a&&(ChapterNotFound=!(Found=!0))})},CheckPageClass=function(e){Found=!1,$(e.classList).each(function(e,a){a.startsWith("title-")&&PageClass==a&&(PageNotFound=!(Found=!0))})},IfFound=function(e){Found?gsap.set(e,ClearDisplay):gsap.set(e,DisplayNone)},ActiveBook=function(){if(!BodyIsHome){var t="";$(BodyClasses).each(function(e,a){if(a.startsWith("book-")){t=a.slice(5);var o=$("button",Site.topbar.lnk+"."+t);gsap.set(o,{borderBottom:"3px solid"})}})}};SiteIsTheme||$(ActiveBook),$(".item.scroller").each(function(e,a){var o=$(a)[0].classList[2],t="#".concat(o,"-").concat(o),s=".item.scroller.".concat(o);return new ScrollMagic.Scene({triggerElement:t}).setTween(s,.1,{opacity:1}).addTo(controller)});var ChangeScreen=function(e,a,o){"close"==o?(gsap.set(body,{clearProps:"overflow"}),gsap.set(
|
1
|
+
"use strict";var Browseable,BodyIsHome,body="body",site=".site",shade="rgba(0,0,0,0.05)",controller=new ScrollMagic.Controller,BodyClasses=$(body)[0].classList;$(body).hasClass("type-home")&&(BodyIsHome=!0),SiteIsTheme||(Browseable=$(".wrap.type-page").length);var PrintWidth=function(){var e=$(document)[0].documentElement.clientWidth,a=Site.desktop.width-e+"px",o=100/Site.desktop.width*e+"%";$(".width").html(a),gsap.set(Overlay.mobile.bar,{width:o})},CheckWidth=function(){Site.desktop.active?(gsap.set(Overlay.mobile.screen,{clearProps:"display"}),gsap.set(site,{display:Config.display})):(gsap.set(site,{clearProps:"display"}),gsap.set(Overlay.mobile.screen,{display:Config.display}),PrintWidth())};Config.respond||($(CheckWidth),$(window).resize(CheckWidth));var SplitPath=window.location.pathname.split("/"),BookLinks=$(".link.browse-book",".wrap.browse-book"),ChapterBooks=$(".block.browse-book",".wrap.browse-chapter"),ChapterLinks=$(".link.browse-chapter",".wrap.browse-chapter"),PageBooks=$(".block.browse-book",".wrap.browse-page"),PageChapters=$(".block.browse-chapter",".wrap.browse-page"),PageLinks=$(".link.browse-page",".wrap.browse-page"),BackgroundShade={background:shade},ClearDisplay={clearProps:"display"},ClearBackground={clearProps:"background"},DisplayNone={display:"none"},BookClass="",BookNotFound=!0,ChapterClass="",ChapterNotFound=!0,PageClass="",PageNotFound=!0,Found="";$(SplitPath).each(function(e,a){if(1==e)BookClass="book-"+a;else if(2==e){ChapterClass="chapter-"+a}else if(3==e){PageClass="title-"+a}});var StartsWith=function(e,a){"book"==a?e.startsWith("book-")&&(BookClass=e):e.startsWith("chapter-")&&(ChapterClass=e)},CreateMatch=function(e,a){var o=1<arguments.length&&void 0!==a?a:"book";$(e.classList).each(function(e,a){StartsWith(a,o)})},CheckBookClass=function(e){Found=!1,$(e.classList).each(function(e,a){a.startsWith("book-")&&BookClass==a&&(BookNotFound=!(Found=!0))})},CheckChapterClass=function(e){Found=!1,$(e.classList).each(function(e,a){a.startsWith("chapter-")&&ChapterClass==a&&(ChapterNotFound=!(Found=!0))})},CheckPageClass=function(e){Found=!1,$(e.classList).each(function(e,a){a.startsWith("title-")&&PageClass==a&&(PageNotFound=!(Found=!0))})},IfFound=function(e){Found?gsap.set(e,ClearDisplay):gsap.set(e,DisplayNone)},ActiveBook=function(){if(!BodyIsHome){var t="";$(BodyClasses).each(function(e,a){if(a.startsWith("book-")){t=a.slice(5);var o=$("button",Site.topbar.lnk+"."+t);gsap.set(o,{borderBottom:"3px solid"})}})}};SiteIsTheme||$(ActiveBook),$(".item.scroller").each(function(e,a){var o=$(a)[0].classList[2],t="#".concat(o,"-").concat(o),s=".item.scroller.".concat(o);return new ScrollMagic.Scene({triggerElement:t}).setTween(s,.1,{opacity:1}).addTo(controller)});var ChangeScreen=function(e,a,o){var t=Overlay.custom[e],s=".area.overlay-"+t.name;"close"==o?(gsap.set(body,{clearProps:"overflow"}),gsap.set(s,{clearProps:"display"}),t.open=!1):(gsap.set(body,{overflow:"hidden"}),gsap.set(s,{display:Config.display}),t.open=!0,"search"==a.name&&$(".input.text-search").focus())},BuildScreens=function(e,a){var o=Overlay.button+"."+a.name,t=Overlay.exit+"."+a.name;$(o).click(function(){ChangeScreen(e,a,"open")}),$(t).click(function(){ChangeScreen(e,a,"close")})},KeyUp=function(o){$(Overlay.custom).map(function(e,a){a.open&&27==o.keyCode?ChangeScreen(e,a,"close"):65==o.keyCode&&"about"==a.name||66==o.keyCode&&"browse"==a.name?ChangeScreen(e,a,"open"):83==o.keyCode&&"search"==a.name&&ChangeScreen(e,a,"open")})};$(Overlay.custom).each(function(e,a){BuildScreens(e,a)}),$(document).keyup(function(e){SiteInFocus||KeyUp(e)});var RespondBrowse=function(){BookLinks.hover(function(e){CreateMatch(this),gsap.set(BookLinks,ClearBackground),gsap.set(this,BackgroundShade),CheckBookClass(this),ChapterBooks.each(function(e,a){CheckBookClass(a),IfFound(a),gsap.set(a.children,ClearBackground),gsap.set(a.children[0],BackgroundShade)}),PageBooks.each(function(e,a){CheckBookClass(a),IfFound(a),gsap.set(a.children,DisplayNone),gsap.set(a.children[0],ClearDisplay),gsap.set(a.children[0].children,ClearBackground),gsap.set(a.children[0].children[0],BackgroundShade)})}),ChapterLinks.hover(function(e){var a=this.parentElement;CreateMatch(a,"book"),CreateMatch(this,"chapter"),gsap.set(ChapterLinks,ClearBackground),gsap.set(this,BackgroundShade),PageChapters.each(function(e,a){CheckChapterClass(a),IfFound(a),gsap.set(a.children,ClearBackground),gsap.set(a.children[0],BackgroundShade)})}),PageLinks.hover(function(e){gsap.set(PageLinks,ClearBackground),gsap.set(this,BackgroundShade)})};SiteIsTheme||BodyIsHome||Browseable&&RespondBrowse();var SetupHome=function(){BodyIsHome&&(gsap.timeline({repeat:-1,yoyo:!0,defaults:{ease:"sine.inOut"}}).fromTo(".area.book",{y:-5},{duration:1,y:5}),$(".wrap.home").slick(Config.slick),$(".wrap.book").hover(function(){gsap.to(this,{duration:.1,y:-20})},function(){gsap.to(this,{duration:.1,y:0})}))};SiteIsLibrary&&$(SetupHome);var SiteFunc=function(){Config.respond?SiteIsLibrary&&BodyIsHome?gsap.set(site,{display:"block"}):gsap.set(site,{display:Config.display}):Site.mobile.active||(SiteIsLibrary&&BodyIsHome?gsap.set(site,{display:"block"}):gsap.set(site,{display:Config.display})),setTimeout(function(){gsap.set(Overlay.load.screen,{clearProps:"display"}),SiteTl.pause()},1e3)};$(SiteFunc),$(window).resize(SiteFunc);var SmoothScroll=function(){$('a[href*="#"]').not('[href="#"]').not('[href="#0"]').click(function(e){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var a=$(this.hash);(a=a.length?a:$("[name="+this.hash.slice(1)+"]")).length&&(e.preventDefault(),$("html, body").animate({scrollTop:a.offset().top},500,function(){var e=$(a);if(e.focus(),e.is(":focus"))return!1;e.attr("tabindex","-1"),e.focus()}))}})};$(SmoothScroll);var StartBrowse=function(){BookLinks.each(function(e,a){CheckBookClass(a),Found&&gsap.set(a,BackgroundShade)}),ChapterBooks.each(function(e,a){CheckBookClass(a),Found?(gsap.set(a,ClearDisplay),$(a.children).each(function(e,a){CheckChapterClass(a),Found&&gsap.set(a,BackgroundShade)}),ChapterNotFound&&gsap.set(a.children[0],BackgroundShade)):gsap.set(a,DisplayNone)}),PageBooks.each(function(e,a){CheckBookClass(a),Found?(gsap.set(a,ClearDisplay),$(a.children).each(function(e,a){CheckChapterClass(a),Found?(gsap.set(a,ClearDisplay),$(a.children).each(function(e,a){CheckPageClass(a),Found&&gsap.set(a,BackgroundShade)}),PageNotFound&&gsap.set(a.children[0],BackgroundShade)):gsap.set(a,DisplayNone)}),ChapterNotFound&&(gsap.set(a.children[0],ClearDisplay),gsap.set(a.children[0].children[0],BackgroundShade))):gsap.set(a,DisplayNone)})};SiteIsTheme||BodyIsHome||Browseable&&StartBrowse();var Button={target:".button-wrap.switch-button"},ButtonSwitch=function(e,a){var o=$(e.target),t=o.siblings(".button-bg"),s=o.parent(),n={dis:{before:$(s).siblings(".before"),after:$(s).siblings(".after")},dat:{before:$(s).parent().siblings().children(".before"),after:$(s).parent().siblings().children(".after")}},i=[n.dis.before,n.dat.before],r=[n.dis.after,n.dat.after];if(s.hasClass("undo"))"down"===a?gsap.set([s,t],{clearProps:"all"}):"up"===a&&($(s).removeClass("undo"),gsap.set([i,r],{clearProps:"all"}),gsap.set(o,{text:"Next"}));else if("down"===a)gsap.set([s,t],{scale:.95});else if("up"===a){gsap.timeline().to(i,{duration:.2,opacity:0}).set([s,t],{backgroundColor:Color.green}).set(o,{text:"Undo"}).set(i,{display:"none"}).set(r,{display:"block"}).to(t,{duration:.5,scaleX:1.2,scaleY:1.3,opacity:0}).call(function(){$(s).addClass("undo")})}};$(Button.target).mousedown(function(e){ButtonSwitch(e,"down")}).mouseup(function(e){ButtonSwitch(e,"up")});var FocusInputs=["input","textarea"],SetFocus=function(e){SiteInFocus=e};FocusInputs.map(function(e){$(e).focusin(function(){SetFocus(!0)}).focusout(function(){SetFocus(!1)})});var UtilCopy=function(e){var a=document.createElement("textarea");a.value=e,document.body.appendChild(a),a.select(),document.execCommand("copy"),document.body.removeChild(a)},UtilShare=function(e){var a=$(e.target).parents(Site.page.share),o=$(a)[0].classList[2],t=$(a).children(Site.page.url).text().replace("index",""),s=$(a)[0].children[1],n=gsap.timeline(),i="";"page"==o&&(i="Copy page"),UtilCopy(t),n.set(s,{text:"Copied!"}).to(s,{duration:.3,opacity:0},"+=0.6").set(s,{text:i,clearProps:"all"},"+=0.3")};SiteIsTheme||SiteIsShareable&&$(Site.page.share).click(UtilShare);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var SiteIsTheme,SiteIsLibrary,SiteIsShareable,Color={system:"#6e46a0",brand:"#ff8200",supply:"#f00a0a",demo:"#005a9b",generic:"#fe5900",theatre:"#019fc6",talks:"#ff9000",music:"#dc3636",classical:"#bf8f3a",cinema:"#259d31",tours:"#718ab2",hire:"#412f79",members:"#5d91e5",art:"#f90082",shop:"#23D5B0",addicts:"#e6433a",family:"#029ddf",receptive:"#b25400",value:"#5fb641",next:"#ffa905",maybe:"#974597",paradise:"#e8396c",artforall:"#f9ae00",park:"#009640",news:"#009fe3",dodgers:"#0092FF",green:"#259d31"},Artforms={theatre:Color.theatre,talks:Color.talks,music:Color.music,classical:Color.classical,cinema:Color.cinema,tours:Color.tours,hire:Color.hire,members:Color.members,art:Color.art},SiteTl=gsap.timeline({repeat:-1});function Target(e){return document.querySelector(Overlay.load.wrap).children[e-1]}function SwitchOn(e){return{display:"block",fill:e}}function SwitchOff(){return{clearProps:"display",delay:Overlay.load.speed}}"theme"==Config.install&&(SiteIsTheme=!0),"library"==Config.install&&(SiteIsLibrary=!0),Config.shareable&&(SiteIsShareable=!0);var Overlay={mobile:{screen:".area.overlay-mobile",bar:".bar.mobile"},load:{screen:".area.overlay-load",wrap:".wrap.overlay-load",speed:.3},custom:[{name:"about",open:!1},{name:"browse",open:!1},{name:"search",open:!1}],button:"button.navigation",exit:".exit"},Site={scramble:{chars:"1234567890%",speed:.6},mobile:{active:!0},tablet:{active:!1,width:768},desktop:{active:!1,width:1200},
|
1
|
+
"use strict";var SiteIsTheme,SiteIsLibrary,SiteIsShareable,Color={system:"#6e46a0",brand:"#ff8200",supply:"#f00a0a",demo:"#005a9b",generic:"#fe5900",theatre:"#019fc6",talks:"#ff9000",music:"#dc3636",classical:"#bf8f3a",cinema:"#259d31",tours:"#718ab2",hire:"#412f79",members:"#5d91e5",art:"#f90082",shop:"#23D5B0",addicts:"#e6433a",family:"#029ddf",receptive:"#b25400",value:"#5fb641",next:"#ffa905",maybe:"#974597",paradise:"#e8396c",artforall:"#f9ae00",park:"#009640",news:"#009fe3",dodgers:"#0092FF",green:"#259d31"},Artforms={theatre:Color.theatre,talks:Color.talks,music:Color.music,classical:Color.classical,cinema:Color.cinema,tours:Color.tours,hire:Color.hire,members:Color.members,art:Color.art},SiteTl=gsap.timeline({repeat:-1}),SiteInFocus=!1;function Target(e){return document.querySelector(Overlay.load.wrap).children[e-1]}function SwitchOn(e){return{display:"block",fill:e}}function SwitchOff(){return{clearProps:"display",delay:Overlay.load.speed}}"theme"==Config.install&&(SiteIsTheme=!0),"library"==Config.install&&(SiteIsLibrary=!0),Config.shareable&&(SiteIsShareable=!0);var Overlay={mobile:{screen:".area.overlay-mobile",bar:".bar.mobile"},load:{screen:".area.overlay-load",wrap:".wrap.overlay-load",speed:.3},custom:[{name:"about",open:!1},{name:"browse",open:!1},{name:"search",open:!1}],button:"button.navigation",exit:".exit"},Site={scramble:{chars:"1234567890%",speed:.6},mobile:{active:!0},tablet:{active:!1,width:768},desktop:{active:!1,width:1200},topbar:{lnk:".link.navigation"},scroll:{lnk:".lnk.scroller"},chapter:{target:".wrap.type-chapter"},page:{artwork:".area.page-artwork",share:".util-share",url:".util-url",height:560},code:{page:".wrap.type-page.style-docs",expand:".block.expand-block",wrap:".code-wrap",scss:".code-scss",html:".code-html"}};Site.mobile.query="screen and (max-width:"+(Site.tablet.width-1)+"px)",Site.tablet.query="screen and (min-width:"+Site.tablet.width+"px) and (max-width:"+(Site.desktop.width-1)+"px)",Site.desktop.query="screen and (min-width:"+Site.desktop.width+"px)",enquire.register(Site.mobile.query,{match:function(){Site.mobile.active=!0,Site.tablet.active=!1,Site.desktop.active=!1}}),enquire.register(Site.tablet.query,{match:function(){Site.mobile.active=!1,Site.tablet.active=!0,Site.desktop.active=!1}}),enquire.register(Site.desktop.query,{match:function(){Site.mobile.active=!1,Site.tablet.active=!1,Site.desktop.active=!0}});
|