From dd92eac0993740e374f56c017ab42fc224e554f5 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 11:00:25 +0200 Subject: [PATCH 01/35] ensure full width images on home page --- assets/css/global.css | 2 +- assets/css/global.css.map | 2 +- assets/scss/styles/4-components/_gallery.scss | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/css/global.css b/assets/css/global.css index 700dbc4f..53ba4025 100644 --- a/assets/css/global.css +++ b/assets/css/global.css @@ -1 +1 @@ -html{box-sizing:border-box;font-weight:normal;font-style:normal}*,*::before,*::after{box-sizing:inherit}nav,section,main,aside,header,footer,blockquote,figure{display:block}body,h1,h2,h3,h4,h5,h6,ul,ol,li,p,pre,blockquote,figure,hr,dd,dt,dl{margin:0;padding:0}ul,ol{width:100%}ul,ol,li{list-style:none}li>a{display:block}input,textarea,select,button{color:inherit;font:inherit;letter-spacing:inherit}input,textarea{background-color:transparent}input,textarea,button{border:none;padding:.5rem}button{border-radius:0;background-color:transparent;display:inline-block;outline:none;text-align:left;user-select:none}a{color:inherit;text-decoration:none}a,button,[type=button],[type=submit]{cursor:pointer}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a abbr,a abbr[title],button abbr,button abbr[title]{text-decoration:none}h1,h2,h3,h4,h5,h6,strong,b,blockquote{font-weight:normal}hr{border:none}embed,iframe,img,object,canvas,video{display:block;max-width:100%;border:none;outline:none}noscript{padding:1rem;text-align:center}img{max-width:100%;width:100%;height:auto;display:inline-block;vertical-align:bottom}table{table-layout:fixed;width:100%}[hidden]{display:none !important}noscript{display:block;margin-bottom:1em;margin-top:1em}body{font-family:"Favorit",Favorit Std Book,Favorit Std,Favorit,Roboto,Helvetica,Arial,sans-serif}pre,code,blockquote,h5,.mono{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}.bar.history,.bar.archive,.bar.controls,.bar.pagination{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}button,.button{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;padding:.3em .6em}html{font-size:1rem}h1{font-size:2.8rem;margin:.5rem 0;line-height:.95}h2,.highlight{font-size:1.6rem;line-height:1.1}h2,h3{margin:.5em 0}body,h3,h4{font-size:1rem;line-height:1.2}h3,h4{margin:.5em 0}h5,h6{font-size:.8rem;margin:.5em 0;line-height:1.3}.content{padding:0 1rem}.content h2{padding-right:5%}.content p{margin:.5em 0}p a,dl a,.text a{text-decoration:underline;text-decoration-color:#ddd;text-underline-offset:.18em;transition:color 200ms ease,text-decoration-color 200ms ease}p a:hover,dl a:hover,.text a:hover{text-decoration-color:blue !important;color:blue}.black p a,.black dl a,.black .text a{text-decoration-color:#333}p{-webkit-hyphenate-limit-chars:auto 9;-webkit-hyphenate-limit-lines:2;-ms-hyphenate-limit-chars:auto 9;-ms-hyphenate-limit-lines:1;hyphens:auto}.file .title,.filename,.url,.path{-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}.bodytext{padding:.5em 0;font-size:1rem}.bodytext ul li{list-style:disc inside}.bodytext ol li{list-style:decimal inside}.bodytext li a{display:inline}.section--header{-webkit-user-select:none;user-select:none;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}img{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;font-size:.8rem;word-break:break-word}.bar{user-select:none}.page-wrapper .bar{display:flex;width:100%;height:2rem;padding:0 .5rem;flex-shrink:0}.page-wrapper .bar a,.page-wrapper .bar button,.page-wrapper .bar .item{border:none;display:inline-block;padding:.4rem .4rem}.page-wrapper .bar a:hover,.page-wrapper .bar button:hover,.page-wrapper .bar .item:hover{margin:0;border-radius:0}.page-wrapper .bar .left{flex:1}.page-wrapper .bar .right{text-align:right}.page-wrapper .bar div>span{display:inline-block;padding:.4rem .4rem}.page-wrapper .bar.vertical{display:block;width:2rem;top:0}.page-wrapper .bar.vertical a,.page-wrapper .bar.vertical button{padding:0}.sticky,.sticky-top{position:sticky;top:-0.1px}.sticky-bottom{position:sticky;bottom:-0.1px}body{padding-left:2rem}.page-wrapper{transform:translateX(0);transition:transform 400ms ease}aside#cda .bar{position:fixed;height:100%;width:2rem;top:0;left:0;z-index:3000;cursor:e-resize;color:#fff;background-color:#000;padding:0;transition:width 400ms ease;border-right:2px solid #fff}aside#cda .bar .about{display:none}aside#cda.open .bar{width:85vw;cursor:default;border-right-color:#fff !important;overflow-y:auto}aside#cda.open .bar .panel{display:block}aside#cda.open .bar .about{display:block}aside#cda a.logo{display:block;padding:.66rem .21rem;transform:translateX(0);transition:transform 400ms ease;text-align:center}aside#cda a.logo svg{width:auto;height:4rem}aside#cda a.logo svg rect,aside#cda a.logo svg path{fill:#fff}aside#cda a.logo.full{display:none;padding-left:.4rem}aside#cda a.logo.full svg{height:6rem}aside#cda.open a.logo{text-align:left}aside#cda.open a.logo.abbr{display:none}aside#cda.open a.logo.full{display:block}aside#cda button.bar-close{display:none;top:1rem;right:1rem;position:absolute;font-size:1.2rem}aside#cda.open button.bar-close{display:block}aside#cda .glass{position:fixed;top:0;left:0;width:0;height:0;display:none;z-index:2999;cursor:w-resize;background-color:#000;opacity:.7}aside#cda.open .glass{display:block;width:100%;height:100%}aside#cda.open~.page-wrapper{transform:translateX(calc( 85vw - 2rem ))}@media screen and (min-width: 768px){aside#cda.open .bar{width:50vw}aside#cda.open~.page-wrapper{transform:translateX(calc( 50vw - 2rem ))}}body.home aside#cda .bar{border:none}body.home aside#cda a.logo{transform:translateY(0.6rem)}body.home aside#cda.scrolled a.logo{transform:translateY(0)}body.light aside#cda .bar,body.white aside#cda .bar{border-right:2px solid #000}body.light aside#cda a.logo,body.white aside#cda a.logo{transform:translateX(1px)}nav.bar.history{font-family:"Favorit",Favorit Std Book,Favorit Std,Favorit,Roboto,Helvetica,Arial,sans-serif;position:sticky;background-color:#fff;top:-1px;color:#000;display:flex;flex-wrap:nowrap;z-index:2000;white-space:nowrap;overflow:hidden}nav.bar.history h3{margin:0;flex-grow:0;flex-shrink:0;flex-basis:auto}nav.bar.history .current .item,nav.bar.history a:hover{color:blue}nav.bar.history ol{flex-grow:1;flex-shrink:1;flex-basis:auto;display:flex;overflow-x:hidden}nav.bar.history ol div{display:flex;flex-wrap:nowrap}nav.bar.history ol.alignright{justify-content:flex-end;position:absolute}nav.bar.history ol.alignright:before{content:"";position:absolute;z-index:10;top:0;left:0;display:block;width:3rem;height:100%;background:linear-gradient(90deg, white 0%, rgba(255, 255, 255, 0) 100%)}nav.bar.history ol li a{padding-left:.3em;padding-right:.3em}nav.bar.history ol li a:before{content:"→";display:inline-block;margin-right:.6rem}nav.bar.history ol li.double a{overflow:hidden;width:1.4em}nav.bar.archive{position:sticky;bottom:-1px;z-index:1000;background-color:#000;color:#fff}nav.bar.archive a{transition:color 200ms ease}nav.bar.archive a:hover{color:blue}nav.bar.archive .keywords a{font-size:.8rem;padding-top:.45rem}nav.bar.archive .keywords a:before{content:"→";padding-right:.2em}body.home nav.bar.archive{display:none}nav.pagination{background-color:blue;color:#000;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;width:unset;height:unset}nav.pagination li{display:inline-block}nav.pagination a .title{display:none}nav.pagination a:hover{color:#66f}nav.pagination li.current{color:transparent}nav.pagination li.current a:hover{color:transparent}nav.pagination li.current a:after{content:"";display:block;background-color:#fff;width:.7em;height:.7em;border-radius:1em;margin-top:-0.9em}html,body{width:100%;max-width:100%;min-height:100%}body>.page-wrapper{flex-direction:column;min-height:100%}body.home .page-wrapper,body.regular .page-wrapper{height:unset;min-height:100vh}@media screen and (min-width: 768px){body>.page-wrapper{height:100%;height:100vh}.presentation .section--content{flex:1}body.multipanel{height:100%;max-height:100vh}body.multipanel>.page-wrapper{display:flex}body.multipanel>.page-wrapper>nav{flex-grow:0}body.multipanel>.page-wrapper .panels{width:100%;overflow:hidden;flex-grow:1;flex-shrink:1;flex-basis:1px}body.multipanel>.page-wrapper .panels .panel{height:100%;overflow-y:auto;transition:width 200ms ease}.panels.overlap{position:relative}.panels.overlap main{position:absolute !important;top:3rem;left:3rem;padding:0;padding-bottom:8rem;z-index:10;height:100%}.panels.overlap main>.content{padding:0}.panels.overlap main .tab{margin-top:4px;border-top:none !important;width:100%}.panels.overlap main .tab h3{margin:0;padding:.5rem;background-color:#fff}.panels.overlap main .tab.gallery{border-top:none}.panels.overlap main .tab.gallery h3{margin-bottom:4px}.panels.overlap main .tab.collection,.panels.overlap main .tab.cards{display:block}.panels.overlap main .tab.cards{padding:0}.panels.overlap main .tab.cards .card{padding:0;margin-top:4px}.panels.overlap main .tab.cards .card:nth-child(odd){padding-right:2px}.panels.overlap main .tab.cards .card:nth-child(even){padding-left:2px}.panels.overlap main .tab.info,.panels.overlap main .tab.meta,.panels.overlap main .tab.list{border-top:none;background-color:#fff}.panels.overlap main .tab.info .section--content,.panels.overlap main .tab.meta .section--content,.panels.overlap main .tab.list .section--content{padding:0 .5rem}.panels.overlap main .tab.info .section--content .list,.panels.overlap main .tab.meta .section--content .list,.panels.overlap main .tab.list .section--content .list{padding-bottom:.5rem}.panels.overlap main .tab.info h3+.section--content,.panels.overlap main .tab.meta h3+.section--content,.panels.overlap main .tab.list h3+.section--content{padding-top:0}.panels.overlap main .tab.collection{margin-top:4px !important}.panels.overlap main header{background-color:#fff;padding:0 .5rem;display:inline-block}.panels.overlap main header+.tab.info{margin-top:0;padding-top:.5rem}.panels.overlap main .gallery{padding:0}.panels.overlap main .gallery .card{padding:0;margin-bottom:4px}.panels.overlap .panel.presentation{width:100%;position:absolute;height:100%}.panels.overlap main.tour .tab.list{background-color:transparent}.panels.overlap main.tour .tab.list .section--content{padding:0}.panels.overlap main.tour .tab.list .section--content .list{padding:0}.grid [class*=col].panel{position:sticky}}@media screen and (max-width: 768px){body.entity.file .panels main{order:10}}.preview .section--header{display:none}.accordion .section--header{cursor:pointer;position:relative}.accordion .section--header:after{content:"";border:solid #000;border-width:0 1px 1px 0;display:inline-block;padding:.15em;position:absolute;top:.3em;right:.2rem;transform:rotate(45deg);-webkit-transform:rotate(45deg);pointer-events:none}.accordion .section--content{overflow:hidden}.accordion.open .section--header:after{top:.5em;transform:rotate(-135deg);-webkit-transform:rotate(-135deg)}.black .accordion .section--header:after{border-color:#fff}.panels.overlap .accordion .section--header:after{top:.8em;right:.7rem}.panels.overlap .accordion.open .section--header:after{top:1em}.card>a{display:flex}.card .title,.card .content{padding:.5rem}.card .title{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;font-size:.8rem}.card .title .count{display:block;color:#999;text-align:right;margin-left:.2em;float:right}.card .title .count:after{content:"→";padding-left:.2em}.card .title h4,.card .title h5{font-family:inherit;font-size:inherit;margin:0}.card .title h4{hyphens:none;word-break:break-word;flex:1}.card .title h5{width:100%;order:10}.list .card .title,.list-element .title{display:flex;flex-wrap:wrap}.list .card .title .count,.list-element .title .count{float:none;flex:0 1 auto;order:2}.cards .card>a,#map .card>a{flex-direction:column;height:100%}.card-element>a{flex-direction:column}.card.list-element>a{flex-direction:row}.entityinfo .card+.card{margin-top:2px}.entityinfo .card figure{width:5rem;height:5rem;display:flex;overflow:hidden}.entityinfo .card figure img{object-position:center;object-fit:cover}.entityinfo .card .title{flex:1;align-content:flex-start}.entityinfo .card h5{color:#999}.entityinfo .card a:hover h5{color:#66f}.cards .card.no-thumb figure{display:none}.cards.fixed-heights .card figure{height:15vw;overflow:hidden;display:flex}.cards.fixed-heights .card figure img{object-fit:cover;object-position:center}.cards.fixed-heights .card.\33 d figure img{object-fit:contain}.cards.fixed-heights .card .title h4{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card.image.panorama figure{overflow:hidden}.card.image.panorama figure img{min-height:140%;min-width:140%;width:auto;height:auto}.black .card.\33 d figure img,.black .card.image.panorama figure img,.black .card.image.object figure img{mix-blend-mode:screen;filter:contrast(125%)}.gallery .preview.audio{background-color:#1a1a1a}.gallery.grid .card{display:flex;flex-direction:column}.gallery.grid .card a{flex:1}.list .card>a,.card.list-element>a{min-height:2.5em}.list .card figure,.card.list-element figure{width:2.5em;height:2.5em;display:flex;overflow:hidden}.list .card figure img,.card.list-element figure img{object-position:center;object-fit:cover}.list .card .title,.card.list-element .title{flex:1;align-items:center;padding-top:2px;padding-bottom:2px}dl.table>div{border-top:1px solid #000;padding:.5rem 0}dl.table>div dt+div.long{margin-top:.5em}dl.table a{display:inline}dl.table dt.empty{display:none;padding:0}dl.table p{margin:0}dl.table dd+dd,dl.table dt+dd.long p,dl.table dd.long p+p{margin-top:.5em}@media screen and (min-width: 768px){dl.table>div{display:flex;flex-wrap:wrap}dl.table>div div{flex:1 0 50%}dl.table>div dt+div.long{flex-basis:100%}dl.table dt{flex:1 0 50%;padding-right:.3em}dl.table dd{flex:1 0 50%}dl.table dd.long{flex:1 0 100%}}.black dl.table>div{border-color:#fff}dl.table .list{margin:.5rem 0}dl.table .list a{display:flex;text-decoration:none}#map .card{width:40vw}@media screen and (min-width: 768px){#map .card{width:20vw}}.card>button{display:block}.card>button .title{padding:0}.presentation .list{padding-right:4px}body.black .presentation.collection .grid{padding-top:1px}.cards.grid{padding:2px}.cards .card,.gallery .card{padding:2px}.list .card+.card{margin-top:2px}.card h1,.card h2,.card h3,.card p{margin:.5rem 0}body{background-color:#000;color:#000;transition:background-color 200ms ease}::selection{background-color:blue}.bar.history{border-bottom:2px solid #000}body.home>.page-wrapper>nav.archive,body.home>.page-wrapper>div{border-left:2px solid #000;border-left-color:#fff}body.home>.page-wrapper .activity{border:none}body.white .bar.archive{border-left:2px solid #fff}.bar.archive,body.home .archive-bar{border-top:2px solid #000;border-color:#fff}.white{background-color:#fff}.light{background-color:#eee}.dark{background-color:#1a1a1a}.black{background-color:#000}.black,.blacks,.dark,.darks{color:#fff}.black .card a,.blacks .card a,.dark .card a,.darks .card a{background-color:#1a1a1a}.black .card a figure,.blacks .card a figure,.dark .card a figure,.darks .card a figure{background-color:#222}.white,.whites,.light,.lights,body.liebling-house,body.liebling-house.black{color:#000}.white .card a,.whites .card a,.light .card a,.lights .card a,body.liebling-house .card a,body.liebling-house.black .card a{background-color:#eee}.white .card a figure,.whites .card a figure,.light .card a figure,.lights .card a figure,body.liebling-house .card a figure,body.liebling-house.black .card a figure{background-color:#ddd}.card>a,.card>a figure,button,.button{transition:background-color 150ms ease}.card>a{user-select:none}.card>a figure{background-color:#222}.card>a:hover,.card.active a{color:#fff !important;background-color:blue !important}.card>a:hover figure,.card.active a figure{background-color:#33f}.card>a:hover img,.card.active a img{mix-blend-mode:screen;filter:contrast(115%)}.card>a:hover .count,.card.active a .count{color:#66f}.card.active>button{color:#fff;background-color:blue}button.blue,.button.blue{color:#fff;background-color:blue}button.blue:hover,.button.blue:hover{background-color:#66f}body.entity.file .panel.presentation{background-color:#1a1a1a}.bar.controls{background-color:blue;color:#fff;z-index:100;display:flex;width:100%;padding:0 .5rem;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;height:unset}.bar.controls .left{flex:1}.bar.controls .right{flex:1;text-align:right}.bar.controls button{display:inline-block;text-transform:uppercase;letter-spacing:.1em}.bar.controls .left span,.bar.controls .right span,.bar.controls span span{display:inline-block;padding:.5rem .5rem}.bar.controls .message{padding:.5rem .5rem}.bar.controls .tooltip{position:absolute;left:0;bottom:1.9rem;padding:.5rem .9rem;background-color:#66f}@media screen and (min-width: 768px){.presentation .section--header{display:none}.presentation .section--content{user-select:none;flex:1;flex-grow:1;flex-shrink:1;flex-basis:1px}.presentation .section--content .presentation-container,.presentation .section--content canvas{display:block;width:100%;height:100%}.presentation.image figure{pointer-events:none;width:100%}.presentation.image figure img{display:inline-block;width:100%;height:auto}.presentation.video,.presentation.audio{min-height:100%}.presentation.video.center,.presentation.audio.center,.presentation.panorama{display:flex;flex-direction:column;overflow:hidden !important;height:100%}.presentation.video.center .section--content,.presentation.audio.center .section--content,.presentation.panorama .section--content{align-items:center;display:flex}.presentation.panel.collection{display:flex;flex-direction:column}.presentation.panel.collection .bar.controls{position:sticky;bottom:-1px;background-color:blue}.presentation.panel.collection .load-more{position:relative;height:16rem}.presentation.image,.presentation.\33 d,.presentation.map,.presentation.liebling-house{overflow:hidden !important;display:flex;flex-direction:column;height:100%}.presentation.image .section--content,.presentation.\33 d .section--content,.presentation.map .section--content,.presentation.liebling-house .section--content{max-height:100%}.presentation.image figure{width:100%;height:100%;display:flex}.presentation.image figure img{width:100%;height:auto;object-fit:contain;object-position:center;max-width:100%;max-height:100%}}#view-liebling-house-controls{position:absolute;bottom:0}@media screen and (max-width: 768px){.presentation.\33 d .section--content,.presentation.map .section--content,.presentation.liebling-house .section--content{height:60vh}}.controls{z-index:500;font-size:.8rem}.presentation .transcript{padding:.5rem;font-size:1.05rem;line-height:1.3}.presentation .transcript div{padding:.5rem}.presentation .transcript h4{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;margin-top:0}.empty-results{text-align:center;padding:.5rem;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}.is-loading{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:absolute;top:0;left:0;z-index:5}.is-loading:after{content:"";position:absolute;display:block;height:2rem;width:2rem;top:50%;left:50%;margin-left:-1rem;margin-top:-1rem;border-radius:5rem;z-index:1;background-color:#fff;-webkit-animation:pulsate 1.5s ease infinite both;animation:pulsate 1.5s ease infinite both}.white .is-loading:after{background-color:#000}@keyframes pulsate{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}50%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.5);transform:scale(0.5)}}body.home header#top{min-height:65vh;transition:min-height 1000ms ease;position:relative;display:flex}body.home header#top h1{font-size:6rem;z-index:10;margin:.5rem .5rem;margin-left:.75rem}body.home header#top video{position:absolute;object-fit:cover;object-position:center;outline:none;pointer-events:none;min-width:100%;min-height:100%;z-index:0}body.home header#top.video-end{min-height:100px}body.home header#top.video-end video{display:none}body.home nav.bar.history{display:none}body.home.scrolled header#top{margin-top:-2rem}body.home.scrolled nav.bar.history{display:block}body.home .activity{padding:1px;padding-bottom:0}body.home .activity .card>a>div{padding:0 .5rem}body.home .activity .card h5{margin:.5rem 0}body.home .activity section ul{position:sticky;top:2.3rem}body.home .archive-bar{display:flex;padding:0 .5rem}body.home #archive-preview{padding:.5rem .5rem}body.home #archive-preview section{margin-top:2rem;margin-bottom:2rem}body.home #archive-preview section>h4{padding:0}body.home #archive-preview .cards.grid{padding:0}body.home .archive-search{display:flex;align-items:center;justify-content:center;margin-top:6rem;margin-bottom:9rem}body.home .archive-search h2{padding-left:0}body.home .archive-search form{background-color:#1a1a1a;margin-top:1rem;display:flex}body.home .archive-search form .input{flex:1}body.home .archive-search form input{outline:none}@media(max-width: 38rem){body.home header#top h1{font-size:calc(15vw - 0.6rem)}}body.archive main input{width:100%;outline:none;background-color:#1a1a1a}body.archive main input:focus{background-color:blue}body.archive main input ::selection,body.archive main input::selection,body.archive main inputfocus::selection,body.archive main inputfocus ::selection{background-color:#ccc}body.archive main input::placeholder{color:#000}body.archive main button{width:100%;background-color:#1a1a1a}body.archive main button:hover{background-color:blue}body.archive main form{margin-top:1rem}body.archive main form .input{margin-bottom:2px}body.archive main .filters .card{background-color:#1a1a1a}body.archive main .filters .card figure{display:none}body.archive main .filters .active{background-color:blue}body.item.building header h1,body.file header h1{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}body.file header h1{font-size:1.6rem}.tab.meta i{font-style:inherit;display:inline-block;margin:0 .2em}main>.content{padding:.5rem 1rem}main header .subtitle+div{border-top:1px solid #000}main .tab+.tab{margin-top:1rem}body.multipanel .tab+.tab{border-top:1px solid #000}body.multipanel .tab.info{border-top:none}body.multipanel .tab.info .section--header{display:none}body.multipanel .tab .cards{padding:0}body.multipanel .tab.meta dl.table{font-size:.8rem}body.multipanel .tab.info .section--content,body.multipanel .tab.meta .section--content{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}body.multipanel .tab.accordion+.tab.list,body.multipanel .tab.info+.tab.meta{margin-top:0}body.entity.black .subtitle+div{border-color:#fff}body.entity.black .tab .table{border-color:#1a1a1a}body.entity.black .tab+.tab{border-color:#fff}body.about .content,.bar.cda .about .content{padding:1rem}body.about section,.bar.cda .about section{margin-bottom:2rem}body.about .content li,.bar.cda .about .content li{margin:.3em 0}body.about .content li h4,.bar.cda .about .content li h4{margin:0}body.about .supporter-logos figure,.bar.cda .about .supporter-logos figure{margin-bottom:1rem}body.about .supporter-logos img,.bar.cda .about .supporter-logos img{width:auto;height:3.5rem}body.about .footer-nav,.bar.cda .about .footer-nav{font-size:.8rem}body.about .footer-nav li,.bar.cda .about .footer-nav li{display:inline-block}body.about .footer-nav li a,.bar.cda .about .footer-nav li a{margin-right:.5em .5rem}body.about h4,.bar.cda .about h4{margin:.5em 0}.panels.overlap{background-color:#eee}.panels.overlap header h1{hyphens:auto}.panels.overlap main .invitation{border-top:none !important}.panels.overlap main .invitation button,.panels.overlap main .invitation .button{display:block;width:100%}.panels.overlap main .tab.info div:first-child{border-top:none}/*# sourceMappingURL=global.css.map */ +html{box-sizing:border-box;font-weight:normal;font-style:normal}*,*::before,*::after{box-sizing:inherit}nav,section,main,aside,header,footer,blockquote,figure{display:block}body,h1,h2,h3,h4,h5,h6,ul,ol,li,p,pre,blockquote,figure,hr,dd,dt,dl{margin:0;padding:0}ul,ol{width:100%}ul,ol,li{list-style:none}li>a{display:block}input,textarea,select,button{color:inherit;font:inherit;letter-spacing:inherit}input,textarea{background-color:transparent}input,textarea,button{border:none;padding:.5rem}button{border-radius:0;background-color:transparent;display:inline-block;outline:none;text-align:left;user-select:none}a{color:inherit;text-decoration:none}a,button,[type=button],[type=submit]{cursor:pointer}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a abbr,a abbr[title],button abbr,button abbr[title]{text-decoration:none}h1,h2,h3,h4,h5,h6,strong,b,blockquote{font-weight:normal}hr{border:none}embed,iframe,img,object,canvas,video{display:block;max-width:100%;border:none;outline:none}noscript{padding:1rem;text-align:center}img{max-width:100%;width:100%;height:auto;display:inline-block;vertical-align:bottom}table{table-layout:fixed;width:100%}[hidden]{display:none !important}noscript{display:block;margin-bottom:1em;margin-top:1em}body{font-family:"Favorit",Favorit Std Book,Favorit Std,Favorit,Roboto,Helvetica,Arial,sans-serif}pre,code,blockquote,h5,.mono{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}.bar.history,.bar.archive,.bar.controls,.bar.pagination{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}button,.button{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;padding:.3em .6em}html{font-size:1rem}h1{font-size:2.8rem;margin:.5rem 0;line-height:.95}h2,.highlight{font-size:1.6rem;line-height:1.1}h2,h3{margin:.5em 0}body,h3,h4{font-size:1rem;line-height:1.2}h3,h4{margin:.5em 0}h5,h6{font-size:.8rem;margin:.5em 0;line-height:1.3}.content{padding:0 1rem}.content h2{padding-right:5%}.content p{margin:.5em 0}p a,dl a,.text a{text-decoration:underline;text-decoration-color:#ddd;text-underline-offset:.18em;transition:color 200ms ease,text-decoration-color 200ms ease}p a:hover,dl a:hover,.text a:hover{text-decoration-color:blue !important;color:blue}.black p a,.black dl a,.black .text a{text-decoration-color:#333}p{-webkit-hyphenate-limit-chars:auto 9;-webkit-hyphenate-limit-lines:2;-ms-hyphenate-limit-chars:auto 9;-ms-hyphenate-limit-lines:1;hyphens:auto}.file .title,.filename,.url,.path{-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}.bodytext{padding:.5em 0;font-size:1rem}.bodytext ul li{list-style:disc inside}.bodytext ol li{list-style:decimal inside}.bodytext li a{display:inline}.section--header{-webkit-user-select:none;user-select:none;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}img{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;font-size:.8rem;word-break:break-word}.bar{user-select:none}.page-wrapper .bar{display:flex;width:100%;height:2rem;padding:0 .5rem;flex-shrink:0}.page-wrapper .bar a,.page-wrapper .bar button,.page-wrapper .bar .item{border:none;display:inline-block;padding:.4rem .4rem}.page-wrapper .bar a:hover,.page-wrapper .bar button:hover,.page-wrapper .bar .item:hover{margin:0;border-radius:0}.page-wrapper .bar .left{flex:1}.page-wrapper .bar .right{text-align:right}.page-wrapper .bar div>span{display:inline-block;padding:.4rem .4rem}.page-wrapper .bar.vertical{display:block;width:2rem;top:0}.page-wrapper .bar.vertical a,.page-wrapper .bar.vertical button{padding:0}.sticky,.sticky-top{position:sticky;top:-0.1px}.sticky-bottom{position:sticky;bottom:-0.1px}body{padding-left:2rem}.page-wrapper{transform:translateX(0);transition:transform 400ms ease}aside#cda .bar{position:fixed;height:100%;width:2rem;top:0;left:0;z-index:3000;cursor:e-resize;color:#fff;background-color:#000;padding:0;transition:width 400ms ease;border-right:2px solid #fff}aside#cda .bar .about{display:none}aside#cda.open .bar{width:85vw;cursor:default;border-right-color:#fff !important;overflow-y:auto}aside#cda.open .bar .panel{display:block}aside#cda.open .bar .about{display:block}aside#cda a.logo{display:block;padding:.66rem .21rem;transform:translateX(0);transition:transform 400ms ease;text-align:center}aside#cda a.logo svg{width:auto;height:4rem}aside#cda a.logo svg rect,aside#cda a.logo svg path{fill:#fff}aside#cda a.logo.full{display:none;padding-left:.4rem}aside#cda a.logo.full svg{height:6rem}aside#cda.open a.logo{text-align:left}aside#cda.open a.logo.abbr{display:none}aside#cda.open a.logo.full{display:block}aside#cda button.bar-close{display:none;top:1rem;right:1rem;position:absolute;font-size:1.2rem}aside#cda.open button.bar-close{display:block}aside#cda .glass{position:fixed;top:0;left:0;width:0;height:0;display:none;z-index:2999;cursor:w-resize;background-color:#000;opacity:.7}aside#cda.open .glass{display:block;width:100%;height:100%}aside#cda.open~.page-wrapper{transform:translateX(calc( 85vw - 2rem ))}@media screen and (min-width: 768px){aside#cda.open .bar{width:50vw}aside#cda.open~.page-wrapper{transform:translateX(calc( 50vw - 2rem ))}}body.home aside#cda .bar{border:none}body.home aside#cda a.logo{transform:translateY(0.6rem)}body.home aside#cda.scrolled a.logo{transform:translateY(0)}body.light aside#cda .bar,body.white aside#cda .bar{border-right:2px solid #000}body.light aside#cda a.logo,body.white aside#cda a.logo{transform:translateX(1px)}nav.bar.history{font-family:"Favorit",Favorit Std Book,Favorit Std,Favorit,Roboto,Helvetica,Arial,sans-serif;position:sticky;background-color:#fff;top:-1px;color:#000;display:flex;flex-wrap:nowrap;z-index:2000;white-space:nowrap;overflow:hidden}nav.bar.history h3{margin:0;flex-grow:0;flex-shrink:0;flex-basis:auto}nav.bar.history .current .item,nav.bar.history a:hover{color:blue}nav.bar.history ol{flex-grow:1;flex-shrink:1;flex-basis:auto;display:flex;overflow-x:hidden}nav.bar.history ol div{display:flex;flex-wrap:nowrap}nav.bar.history ol.alignright{justify-content:flex-end;position:absolute}nav.bar.history ol.alignright:before{content:"";position:absolute;z-index:10;top:0;left:0;display:block;width:3rem;height:100%;background:linear-gradient(90deg, white 0%, rgba(255, 255, 255, 0) 100%)}nav.bar.history ol li a{padding-left:.3em;padding-right:.3em}nav.bar.history ol li a:before{content:"→";display:inline-block;margin-right:.6rem}nav.bar.history ol li.double a{overflow:hidden;width:1.4em}nav.bar.archive{position:sticky;bottom:-1px;z-index:1000;background-color:#000;color:#fff}nav.bar.archive a{transition:color 200ms ease}nav.bar.archive a:hover{color:blue}nav.bar.archive .keywords a{font-size:.8rem;padding-top:.45rem}nav.bar.archive .keywords a:before{content:"→";padding-right:.2em}body.home nav.bar.archive{display:none}nav.pagination{background-color:blue;color:#000;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;width:unset;height:unset}nav.pagination li{display:inline-block}nav.pagination a .title{display:none}nav.pagination a:hover{color:#66f}nav.pagination li.current{color:transparent}nav.pagination li.current a:hover{color:transparent}nav.pagination li.current a:after{content:"";display:block;background-color:#fff;width:.7em;height:.7em;border-radius:1em;margin-top:-0.9em}html,body{width:100%;max-width:100%;min-height:100%}body>.page-wrapper{flex-direction:column;min-height:100%}body.home .page-wrapper,body.regular .page-wrapper{height:unset;min-height:100vh}@media screen and (min-width: 768px){body>.page-wrapper{height:100%;height:100vh}.presentation .section--content{flex:1}body.multipanel{height:100%;max-height:100vh}body.multipanel>.page-wrapper{display:flex}body.multipanel>.page-wrapper>nav{flex-grow:0}body.multipanel>.page-wrapper .panels{width:100%;overflow:hidden;flex-grow:1;flex-shrink:1;flex-basis:1px}body.multipanel>.page-wrapper .panels .panel{height:100%;overflow-y:auto;transition:width 200ms ease}.panels.overlap{position:relative}.panels.overlap main{position:absolute !important;top:3rem;left:3rem;padding:0;padding-bottom:8rem;z-index:10;height:100%}.panels.overlap main>.content{padding:0}.panels.overlap main .tab{margin-top:4px;border-top:none !important;width:100%}.panels.overlap main .tab h3{margin:0;padding:.5rem;background-color:#fff}.panels.overlap main .tab.gallery{border-top:none}.panels.overlap main .tab.gallery h3{margin-bottom:4px}.panels.overlap main .tab.collection,.panels.overlap main .tab.cards{display:block}.panels.overlap main .tab.cards{padding:0}.panels.overlap main .tab.cards .card{padding:0;margin-top:4px}.panels.overlap main .tab.cards .card:nth-child(odd){padding-right:2px}.panels.overlap main .tab.cards .card:nth-child(even){padding-left:2px}.panels.overlap main .tab.info,.panels.overlap main .tab.meta,.panels.overlap main .tab.list{border-top:none;background-color:#fff}.panels.overlap main .tab.info .section--content,.panels.overlap main .tab.meta .section--content,.panels.overlap main .tab.list .section--content{padding:0 .5rem}.panels.overlap main .tab.info .section--content .list,.panels.overlap main .tab.meta .section--content .list,.panels.overlap main .tab.list .section--content .list{padding-bottom:.5rem}.panels.overlap main .tab.info h3+.section--content,.panels.overlap main .tab.meta h3+.section--content,.panels.overlap main .tab.list h3+.section--content{padding-top:0}.panels.overlap main .tab.collection{margin-top:4px !important}.panels.overlap main header{background-color:#fff;padding:0 .5rem;display:inline-block}.panels.overlap main header+.tab.info{margin-top:0;padding-top:.5rem}.panels.overlap main .gallery{padding:0}.panels.overlap main .gallery .card{padding:0;margin-bottom:4px}.panels.overlap .panel.presentation{width:100%;position:absolute;height:100%}.panels.overlap main.tour .tab.list{background-color:transparent}.panels.overlap main.tour .tab.list .section--content{padding:0}.panels.overlap main.tour .tab.list .section--content .list{padding:0}.grid [class*=col].panel{position:sticky}}@media screen and (max-width: 768px){body.entity.file .panels main{order:10}}.preview .section--header{display:none}.accordion .section--header{cursor:pointer;position:relative}.accordion .section--header:after{content:"";border:solid #000;border-width:0 1px 1px 0;display:inline-block;padding:.15em;position:absolute;top:.3em;right:.2rem;transform:rotate(45deg);-webkit-transform:rotate(45deg);pointer-events:none}.accordion .section--content{overflow:hidden}.accordion.open .section--header:after{top:.5em;transform:rotate(-135deg);-webkit-transform:rotate(-135deg)}.black .accordion .section--header:after{border-color:#fff}.panels.overlap .accordion .section--header:after{top:.8em;right:.7rem}.panels.overlap .accordion.open .section--header:after{top:1em}.card>a{display:flex}.card .title,.card .content{padding:.5rem}.card .title{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;font-size:.8rem}.card .title .count{display:block;color:#999;text-align:right;margin-left:.2em;float:right}.card .title .count:after{content:"→";padding-left:.2em}.card .title h4,.card .title h5{font-family:inherit;font-size:inherit;margin:0}.card .title h4{hyphens:none;word-break:break-word;flex:1}.card .title h5{width:100%;order:10}.list .card .title,.list-element .title{display:flex;flex-wrap:wrap}.list .card .title .count,.list-element .title .count{float:none;flex:0 1 auto;order:2}.cards .card>a,#map .card>a{flex-direction:column;height:100%}.card-element>a{flex-direction:column}.card.list-element>a{flex-direction:row}.entityinfo .card+.card{margin-top:2px}.entityinfo .card figure{width:5rem;height:5rem;display:flex;overflow:hidden}.entityinfo .card figure img{object-position:center;object-fit:cover}.entityinfo .card .title{flex:1;align-content:flex-start}.entityinfo .card h5{color:#999}.entityinfo .card a:hover h5{color:#66f}.cards .card.no-thumb figure{display:none}.cards.fixed-heights .card figure{height:15vw;overflow:hidden;display:flex}.cards.fixed-heights .card figure img{object-fit:cover;object-position:center}.cards.fixed-heights .card.\33 d figure img{object-fit:contain}.cards.fixed-heights .card .title h4{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card.image.panorama figure{overflow:hidden}.card.image.panorama figure img{min-height:140%;min-width:140%;width:auto;height:auto}.black .card.\33 d figure img,.black .card.image.panorama figure img,.black .card.image.object figure img{mix-blend-mode:screen;filter:contrast(125%)}.gallery .preview.audio{background-color:#1a1a1a}.gallery.grid .card{display:flex;flex-direction:column}.gallery.grid .card a{flex:1;display:block}.list .card>a,.card.list-element>a{min-height:2.5em}.list .card figure,.card.list-element figure{width:2.5em;height:2.5em;display:flex;overflow:hidden}.list .card figure img,.card.list-element figure img{object-position:center;object-fit:cover}.list .card .title,.card.list-element .title{flex:1;align-items:center;padding-top:2px;padding-bottom:2px}dl.table>div{border-top:1px solid #000;padding:.5rem 0}dl.table>div dt+div.long{margin-top:.5em}dl.table a{display:inline}dl.table dt.empty{display:none;padding:0}dl.table p{margin:0}dl.table dd+dd,dl.table dt+dd.long p,dl.table dd.long p+p{margin-top:.5em}@media screen and (min-width: 768px){dl.table>div{display:flex;flex-wrap:wrap}dl.table>div div{flex:1 0 50%}dl.table>div dt+div.long{flex-basis:100%}dl.table dt{flex:1 0 50%;padding-right:.3em}dl.table dd{flex:1 0 50%}dl.table dd.long{flex:1 0 100%}}.black dl.table>div{border-color:#fff}dl.table .list{margin:.5rem 0}dl.table .list a{display:flex;text-decoration:none}#map .card{width:40vw}@media screen and (min-width: 768px){#map .card{width:20vw}}.card>button{display:block}.card>button .title{padding:0}.presentation .list{padding-right:4px}body.black .presentation.collection .grid{padding-top:1px}.cards.grid{padding:2px}.cards .card,.gallery .card{padding:2px}.list .card+.card{margin-top:2px}.card h1,.card h2,.card h3,.card p{margin:.5rem 0}body{background-color:#000;color:#000;transition:background-color 200ms ease}::selection{background-color:blue}.bar.history{border-bottom:2px solid #000}body.home>.page-wrapper>nav.archive,body.home>.page-wrapper>div{border-left:2px solid #000;border-left-color:#fff}body.home>.page-wrapper .activity{border:none}body.white .bar.archive{border-left:2px solid #fff}.bar.archive,body.home .archive-bar{border-top:2px solid #000;border-color:#fff}.white{background-color:#fff}.light{background-color:#eee}.dark{background-color:#1a1a1a}.black{background-color:#000}.black,.blacks,.dark,.darks{color:#fff}.black .card a,.blacks .card a,.dark .card a,.darks .card a{background-color:#1a1a1a}.black .card a figure,.blacks .card a figure,.dark .card a figure,.darks .card a figure{background-color:#222}.white,.whites,.light,.lights,body.liebling-house,body.liebling-house.black{color:#000}.white .card a,.whites .card a,.light .card a,.lights .card a,body.liebling-house .card a,body.liebling-house.black .card a{background-color:#eee}.white .card a figure,.whites .card a figure,.light .card a figure,.lights .card a figure,body.liebling-house .card a figure,body.liebling-house.black .card a figure{background-color:#ddd}.card>a,.card>a figure,button,.button{transition:background-color 150ms ease}.card>a{user-select:none}.card>a figure{background-color:#222}.card>a:hover,.card.active a{color:#fff !important;background-color:blue !important}.card>a:hover figure,.card.active a figure{background-color:#33f}.card>a:hover img,.card.active a img{mix-blend-mode:screen;filter:contrast(115%)}.card>a:hover .count,.card.active a .count{color:#66f}.card.active>button{color:#fff;background-color:blue}button.blue,.button.blue{color:#fff;background-color:blue}button.blue:hover,.button.blue:hover{background-color:#66f}body.entity.file .panel.presentation{background-color:#1a1a1a}.bar.controls{background-color:blue;color:#fff;z-index:100;display:flex;width:100%;padding:0 .5rem;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;height:unset}.bar.controls .left{flex:1}.bar.controls .right{flex:1;text-align:right}.bar.controls button{display:inline-block;text-transform:uppercase;letter-spacing:.1em}.bar.controls .left span,.bar.controls .right span,.bar.controls span span{display:inline-block;padding:.5rem .5rem}.bar.controls .message{padding:.5rem .5rem}.bar.controls .tooltip{position:absolute;left:0;bottom:1.9rem;padding:.5rem .9rem;background-color:#66f}@media screen and (min-width: 768px){.presentation .section--header{display:none}.presentation .section--content{user-select:none;flex:1;flex-grow:1;flex-shrink:1;flex-basis:1px}.presentation .section--content .presentation-container,.presentation .section--content canvas{display:block;width:100%;height:100%}.presentation.image figure{pointer-events:none;width:100%}.presentation.image figure img{display:inline-block;width:100%;height:auto}.presentation.video,.presentation.audio{min-height:100%}.presentation.video.center,.presentation.audio.center,.presentation.panorama{display:flex;flex-direction:column;overflow:hidden !important;height:100%}.presentation.video.center .section--content,.presentation.audio.center .section--content,.presentation.panorama .section--content{align-items:center;display:flex}.presentation.panel.collection{display:flex;flex-direction:column}.presentation.panel.collection .bar.controls{position:sticky;bottom:-1px;background-color:blue}.presentation.panel.collection .load-more{position:relative;height:16rem}.presentation.image,.presentation.\33 d,.presentation.map,.presentation.liebling-house{overflow:hidden !important;display:flex;flex-direction:column;height:100%}.presentation.image .section--content,.presentation.\33 d .section--content,.presentation.map .section--content,.presentation.liebling-house .section--content{max-height:100%}.presentation.image figure{width:100%;height:100%;display:flex}.presentation.image figure img{width:100%;height:auto;object-fit:contain;object-position:center;max-width:100%;max-height:100%}}#view-liebling-house-controls{position:absolute;bottom:0}@media screen and (max-width: 768px){.presentation.\33 d .section--content,.presentation.map .section--content,.presentation.liebling-house .section--content{height:60vh}}.controls{z-index:500;font-size:.8rem}.presentation .transcript{padding:.5rem;font-size:1.05rem;line-height:1.3}.presentation .transcript div{padding:.5rem}.presentation .transcript h4{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;margin-top:0}.empty-results{text-align:center;padding:.5rem;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}.is-loading{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:absolute;top:0;left:0;z-index:5}.is-loading:after{content:"";position:absolute;display:block;height:2rem;width:2rem;top:50%;left:50%;margin-left:-1rem;margin-top:-1rem;border-radius:5rem;z-index:1;background-color:#fff;-webkit-animation:pulsate 1.5s ease infinite both;animation:pulsate 1.5s ease infinite both}.white .is-loading:after{background-color:#000}@keyframes pulsate{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}50%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.5);transform:scale(0.5)}}body.home header#top{min-height:65vh;transition:min-height 1000ms ease;position:relative;display:flex}body.home header#top h1{font-size:6rem;z-index:10;margin:.5rem .5rem;margin-left:.75rem}body.home header#top video{position:absolute;object-fit:cover;object-position:center;outline:none;pointer-events:none;min-width:100%;min-height:100%;z-index:0}body.home header#top.video-end{min-height:100px}body.home header#top.video-end video{display:none}body.home nav.bar.history{display:none}body.home.scrolled header#top{margin-top:-2rem}body.home.scrolled nav.bar.history{display:block}body.home .activity{padding:1px;padding-bottom:0}body.home .activity .card>a>div{padding:0 .5rem}body.home .activity .card h5{margin:.5rem 0}body.home .activity section ul{position:sticky;top:2.3rem}body.home .archive-bar{display:flex;padding:0 .5rem}body.home #archive-preview{padding:.5rem .5rem}body.home #archive-preview section{margin-top:2rem;margin-bottom:2rem}body.home #archive-preview section>h4{padding:0}body.home #archive-preview .cards.grid{padding:0}body.home .archive-search{display:flex;align-items:center;justify-content:center;margin-top:6rem;margin-bottom:9rem}body.home .archive-search h2{padding-left:0}body.home .archive-search form{background-color:#1a1a1a;margin-top:1rem;display:flex}body.home .archive-search form .input{flex:1}body.home .archive-search form input{outline:none}@media(max-width: 38rem){body.home header#top h1{font-size:calc(15vw - 0.6rem)}}body.archive main input{width:100%;outline:none;background-color:#1a1a1a}body.archive main input:focus{background-color:blue}body.archive main input ::selection,body.archive main input::selection,body.archive main inputfocus::selection,body.archive main inputfocus ::selection{background-color:#ccc}body.archive main input::placeholder{color:#000}body.archive main button{width:100%;background-color:#1a1a1a}body.archive main button:hover{background-color:blue}body.archive main form{margin-top:1rem}body.archive main form .input{margin-bottom:2px}body.archive main .filters .card{background-color:#1a1a1a}body.archive main .filters .card figure{display:none}body.archive main .filters .active{background-color:blue}body.item.building header h1,body.file header h1{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}body.file header h1{font-size:1.6rem}.tab.meta i{font-style:inherit;display:inline-block;margin:0 .2em}main>.content{padding:.5rem 1rem}main header .subtitle+div{border-top:1px solid #000}main .tab+.tab{margin-top:1rem}body.multipanel .tab+.tab{border-top:1px solid #000}body.multipanel .tab.info{border-top:none}body.multipanel .tab.info .section--header{display:none}body.multipanel .tab .cards{padding:0}body.multipanel .tab.meta dl.table{font-size:.8rem}body.multipanel .tab.info .section--content,body.multipanel .tab.meta .section--content{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}body.multipanel .tab.accordion+.tab.list,body.multipanel .tab.info+.tab.meta{margin-top:0}body.entity.black .subtitle+div{border-color:#fff}body.entity.black .tab .table{border-color:#1a1a1a}body.entity.black .tab+.tab{border-color:#fff}body.about .content,.bar.cda .about .content{padding:1rem}body.about section,.bar.cda .about section{margin-bottom:2rem}body.about .content li,.bar.cda .about .content li{margin:.3em 0}body.about .content li h4,.bar.cda .about .content li h4{margin:0}body.about .supporter-logos figure,.bar.cda .about .supporter-logos figure{margin-bottom:1rem}body.about .supporter-logos img,.bar.cda .about .supporter-logos img{width:auto;height:3.5rem}body.about .footer-nav,.bar.cda .about .footer-nav{font-size:.8rem}body.about .footer-nav li,.bar.cda .about .footer-nav li{display:inline-block}body.about .footer-nav li a,.bar.cda .about .footer-nav li a{margin-right:.5em .5rem}body.about h4,.bar.cda .about h4{margin:.5em 0}.panels.overlap{background-color:#eee}.panels.overlap header h1{hyphens:auto}.panels.overlap main .invitation{border-top:none !important}.panels.overlap main .invitation button,.panels.overlap main .invitation .button{display:block;width:100%}.panels.overlap main .tab.info div:first-child{border-top:none}/*# sourceMappingURL=global.css.map */ diff --git a/assets/css/global.css.map b/assets/css/global.css.map index d044aa16..0a97e032 100644 --- a/assets/css/global.css.map +++ b/assets/css/global.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../scss/styles/_0-reset.scss","../scss/styles/_1-typography.scss","../scss/global.scss","../scss/styles/_2-navigation.scss","../scss/styles/2-navigation/_cda.scss","../scss/styles/2-navigation/_history.scss","../scss/styles/2-navigation/_archive.scss","../scss/styles/2-navigation/_pagination.scss","../scss/styles/_3-layout.scss","../scss/styles/4-components/_accordion.scss","../scss/styles/4-components/_cards.scss","../scss/styles/4-components/_gallery.scss","../scss/styles/4-components/_list.scss","../scss/styles/4-components/_table.scss","../scss/styles/_4-components.scss","../scss/styles/_5-theme.scss","../scss/styles/_6-media.scss","../scss/styles/_7-content.scss"],"names":[],"mappings":"CAGA,KACC,sBACA,mBACA,kBAGD,qBAGC,mBAGD,uDAQC,cAID,oEAgBC,SACA,UAID,MACC,WAED,SACC,gBAED,KACC,cAID,6BAIC,cACA,aACA,uBAGD,eAEC,6BAGD,sBAGC,YACA,cAGD,OACC,gBACA,6BACA,qBACA,aACA,gBACA,iBAUD,EACC,cACA,qBAGD,qCACC,eAID,KACC,kCACG,mCACA,kCAKH,oDACC,qBAIF,sCAQC,mBAGD,GACC,YAID,qCAMC,cACA,eACA,YACA,aAGD,SACC,aACA,kBAGD,IACC,eACA,WACA,YACA,qBACA,sBAID,MACC,mBACA,WAID,SACC,wBAID,SACC,cACA,kBACA,eC1KD,KACC,YC6BS,iFD3BV,6BAKC,YCuBM,0FDpBP,wDAIC,YCgBM,0FDdP,eACC,YCaM,0FDZN,kBAQD,KACC,UCIW,KDFZ,GACC,UCIY,ODHZ,eACA,gBAED,cAEC,UCHa,ODIb,gBAED,MAEC,OCiBc,ODff,WAGC,UCfW,KDgBX,gBAED,MAEC,OCOc,ODLf,MAEC,UCvBY,MDwBZ,OCEc,ODDd,gBAGD,SACC,eACA,YACC,iBAED,WACC,OCRa,ODkBd,iBACC,0BACA,sBC5DW,KD8DX,4BACA,6DACA,mCACC,sCACA,MC9DI,KDsEL,sCACC,sBCzES,KDiFZ,EACC,qCACA,gCACA,iCACA,4BACA,aAGD,kCAIC,yBACA,sBACA,qBACA,iBACA,aAGD,UACC,QC/Dc,ODgEd,UC3FW,KD6FV,gBACC,uBAID,gBACC,0BAGF,eACC,eAIF,iBACC,yBACA,iBACA,YC/GM,0FDkHP,IACC,YCnHM,0FDoHN,UClHY,MDmHZ,sBErJD,KACC,iBAGD,mBAEC,aACA,WACA,ODHU,KCIV,gBACA,cAEA,wEACC,YACA,qBACA,oBACA,0FACC,SACA,gBAIF,yBACC,OAED,0BACC,iBAGD,4BACC,qBACA,oBAGD,4BACC,cACA,MD/BS,KCgCT,MACA,iEACC,UAMH,oBAEC,gBACA,WAED,eACC,gBACA,cCrDD,KACC,aFKU,KEHX,cACC,wBACA,gCAIA,eACC,eACA,YACA,MFNS,KEOT,MACA,OACA,aAEA,gBACA,MFTM,KEUN,iBFDM,KEEN,UAEA,4BAEA,aFuBa,eErBb,sBACC,aAIF,oBACC,WACA,eACA,mCACA,gBACA,2BACC,cAED,2BACC,cAIF,iBACC,cACA,sBACA,wBACA,gCACA,kBACA,qBACC,WACA,YACA,oDACC,KF7CI,KEgDN,sBACC,aACA,mBACA,0BACC,YAKF,sBACC,gBACA,2BACC,aAED,2BACC,cAIH,2BACC,aACA,SACA,WACA,kBACA,iBAGA,gCACC,cAIF,iBACC,eACA,MACA,OACA,QACA,SACA,aACA,aACA,gBACA,iBFhFM,KEiFN,WAGA,sBACC,cACA,WACA,YAMH,6BACC,0CAED,qCACC,oBACC,WAED,6BACC,2CASA,yBACC,YAED,2BACC,6BAED,oCACC,wBAOD,oDACC,aFnGM,eEqGP,wDACC,0BCjJH,gBACC,YH8BS,iFG5BT,gBACA,iBHIO,KGHP,SACA,MHWO,KGVP,aACA,iBACA,aAEA,mBACA,gBAEA,mBACC,SACA,YACA,cACA,gBAED,uDAEC,WAED,mBACC,YACA,cACA,gBAEA,aACA,kBAEA,uBACC,aACA,iBAED,8BACC,yBACA,kBACA,qCACE,WACA,kBACD,WACC,MACA,OACA,cACA,WACA,YACA,yEAKF,wBACC,kBACA,mBACA,+BACC,YACA,qBACA,mBAGF,+BACC,gBACA,YChEJ,gBAEC,gBACA,YACA,aACA,iBJYO,KIXP,MJEO,uBICN,4BACA,wBACC,MJaI,KITN,4BACC,UJkBW,MIjBX,mBACA,mCACC,YACA,mBAQD,0BACC,aC7BH,eAEC,iBLsBM,KKrBN,MLcO,KKbP,YL4BM,0FK3BN,YACA,aAEA,kBACC,qBAIA,wBACC,aAIF,uBACC,MLMY,KKJb,0BACC,kBACA,kCACC,kBAED,kCACC,WACA,cACA,iBLrBK,KKsBL,WACA,YACA,kBACA,kBCjCH,UAEC,WACA,eACA,gBAKA,mBACC,sBACA,gBAIA,mDACC,aACA,iBAKH,qCAIE,mBACC,YACA,aAKD,gCACC,OAKF,gBAEC,YACA,iBAEA,8BACC,aAEA,kCACC,YAGD,sCAEC,WACA,gBAEA,YACA,cACA,eAEA,6CAKC,YACA,gBACA,4BAQJ,gBACC,kBAEA,qBACC,6BACA,SACA,UACA,UACA,oBACA,WACA,YAQA,8BACC,UASD,0BACC,eACA,2BACA,WACA,6BACC,SACA,QN5DK,MM6DL,iBNtGG,KMwGJ,kCACC,gBACA,qCACC,kBAGF,qEAEC,cAED,gCACC,UACA,sCACC,UACA,eACA,qDACC,kBAED,sDACC,iBAIH,6FAGC,gBACA,iBNnIG,KMoIH,mJACC,gBACA,qKACC,eN9FG,MMiGL,4JACC,cAGF,qCACC,0BAGF,4BACC,iBNnJI,KMoJJ,gBACA,qBAED,sCACC,aACA,YNhHM,MMkHP,8BACC,UACA,oCACC,UACA,kBAIH,oCACC,WACA,kBACA,YAGA,oCACC,6BACA,sDACC,UACA,4DACC,UAOL,yBACC,iBAKF,qCAGG,8BACC,UAMJ,0BACC,aC9MA,4BACC,eACA,kBAEA,kCACC,WACA,kBACA,yBACA,qBACA,cACA,kBACA,SACA,YACA,wBACA,gCACA,oBAIF,6BACC,gBAGA,uCACC,SACA,0BACA,kCAIH,yCACC,aPvBO,KO6BL,kDACC,SACA,YAID,uDACC,QC3CH,QACC,aAED,4BAEC,QR2CQ,MQzCT,aACC,YRuBK,0FQtBL,URwBW,MQtBX,oBACC,cACA,MROI,KQNJ,iBACA,iBACA,YACA,0BACC,YACA,kBAIF,gCAEC,oBACA,kBACA,SAED,gBACC,aACA,sBACA,OAED,gBACC,WACA,SAOF,wCACC,aACA,eACA,sDACC,WACA,cACA,QAWF,4BACC,sBACA,YAGF,gBACC,sBAED,qBACC,mBAIA,wBACC,eAED,yBACC,WACA,YACA,aACA,gBACA,6BACC,uBACA,iBAGF,yBACC,OACA,yBAED,qBACC,MRvEK,KQ2EN,6BACC,MRxEY,KQiFb,6BACC,aAQA,kCACC,YACA,gBACA,aACA,sCACC,iBACA,uBAKA,4CACC,mBAIH,qCACC,mBACA,uBACA,gBAMF,4BACC,gBACA,gCACC,gBACA,eACA,WACA,YAUA,0GACC,sBACA,sBC9JH,wBACC,iBTaK,QSVP,oBACC,aACA,sBACA,sBACC,OCND,mCACC,WAJc,MAMf,6CACC,MAPc,MAQd,OARc,MASd,aACA,gBACA,qDACC,uBACA,iBAGF,6CACC,OACA,mBACA,gBACA,mBCnBD,aACC,WXyCY,eWxCZ,gBACA,yBACC,WXsDgB,KWnDlB,WACC,eAGA,kBACC,aACA,UAGF,WACC,SAED,0DAGC,WXoCiB,KWjCnB,qCAEE,aACC,aACA,eACA,iBACC,aAED,yBACC,gBAGF,YACC,aACA,mBAED,YACC,aACA,iBACC,eAMH,oBACC,aX3CM,KWgDP,eACC,eACA,iBACC,aACA,qBC1DH,WACC,WAED,qCACC,WACC,YAIF,aACC,cACA,oBACC,UAIF,oBACC,kBAIA,0CACC,gBAIF,YACC,YAIA,4BACC,YAID,kBACC,eAKD,mCACC,eChDF,KACC,iBbmBO,KalBP,MbkBO,KajBP,uCAOD,YACC,iBbgBM,KaTP,aACC,cb2BQ,eatBP,gEAEC,YboBM,eanBN,kBbhBK,KakBN,kCACC,YAIH,wBACC,Ybcc,eaXf,oCAEC,WbMQ,eaLR,ab9BO,KakCR,OACC,iBbnCO,KaqCR,OACC,iBbnCO,KaqCR,MACC,iBbnCM,QaqCP,OACC,iBbnCO,KasCR,4BAIC,MbnDO,KaqDN,4DACC,iBbhDI,QaiDJ,wFACC,iBbjDU,KauDd,4EAMC,Mb3DO,Ka6DN,4HACC,iBbpEK,KaqEL,sKACC,iBbrEW,Ka2Ef,sCAIC,uCAED,QACC,iBACA,eACC,iBbjFY,KaoFd,6BAEC,sBACA,iCACA,2CACC,sBAED,qCACC,sBACA,sBAED,2CACC,MbtFY,KayFd,oBACC,Mb3GO,Ka4GP,iBb5FM,KaiGN,yBACC,MblHM,KamHN,iBbnGK,KaoGL,qCACC,iBbpGW,KaqHb,qCACC,iBbjIK,QcbP,cAGC,iBdoBM,KcnBN,MdGO,KcFP,YACA,aACA,WACA,gBACA,YdsBM,0FcrBN,aAEA,oBACC,OAED,qBACC,OACA,iBAED,qBACC,qBACA,yBACA,oBAGD,2EAGC,qBACA,oBAED,uBACC,oBAGD,uBACC,kBACA,OACA,cACA,oBACA,iBdhBY,KcqBd,qCAIE,+BACC,aAGD,gCACC,iBACA,OACA,YACA,cACA,eAEA,+FAEC,cACA,WACA,YAMD,2BACC,oBACA,WAEA,+BACC,qBACA,WACA,YAKH,wCAEC,gBAGD,6EAGC,aACA,sBACA,2BACA,YAEA,mIACC,mBACA,aAIF,+BAEC,aACA,sBAEA,6CACC,gBACA,YACA,iBdtFG,KcwFJ,0CACC,kBACA,aAKF,uFAIC,2BACA,aACA,sBACA,YAEA,+JACC,gBAKD,2BACC,WACA,YACA,aACA,+BACC,WACA,YACA,mBACA,uBACA,eACA,iBASL,8BACC,kBACA,SAGD,qCAMG,yHACC,aAOJ,UACC,YACA,Ud5IY,McgJZ,0BACC,QdlIQ,Mc0IR,kBACA,gBARA,8BACC,QdpIO,McsIR,6BACC,YdxJI,0FcyJJ,aAOH,eACC,kBACA,QdjJS,MckJT,YdnKM,0FcmLP,YACC,WACA,YACA,gCAEA,kBACA,MACA,OACA,UAED,kBACC,WACA,kBACA,cACA,YACA,WACA,QACA,SACA,kBACA,iBACA,mBACA,UACA,iBdjOO,KckOP,kDACA,0CAED,yBACC,iBd7NO,Kc+NR,mBACC,GACC,6BACA,qBAED,IACC,2BACA,mBAED,KACC,6BACA,sBCxPD,qBAOC,gBACA,kCACA,kBACA,aATA,wBACC,eACA,WACA,OfgDW,Ye/CX,mBAMD,2BACC,kBACA,iBACA,uBACA,aACA,oBACA,eACA,gBACA,UAED,+BACC,iBACA,qCACC,aAKH,0BACC,aAIA,8BACC,iBAED,mCACC,cAIF,oBACC,YACA,iBAEC,gCACC,gBAED,6BACC,eAID,+BACC,gBACA,WAKH,uBACC,aACA,gBAGD,2BAUC,QfxBY,YegBZ,mCACC,gBACA,mBACA,sCACC,QfhBgB,EeqBlB,uCACC,UAKF,0BACC,aACA,mBACA,uBACA,gBACA,mBACA,6BACC,eAED,+BACC,iBflFI,QemFJ,gBACA,aACA,sCACC,OAED,qCACC,aAOJ,yBACI,wBACI,+BAUN,wBACC,WACA,aACA,iBf/GI,QegHJ,8BACC,iBfvGG,KeyGJ,wJAIC,sBAED,qCACC,MfvHI,Ke0HN,yBACC,WACA,iBf/HI,QegIJ,+BACC,iBfvHG,Ke0HL,uBACC,gBACA,8BACC,kBAID,iCACC,iBf5IG,Qe6IH,wCACC,aAGF,mCACC,iBfxIG,KeoJN,iDACC,Yf7IK,0FekJL,oBACC,UfhJW,OesJb,YACC,mBACA,qBACA,cAKD,cACC,mBAGA,0BACC,Wf5JW,ee+Jb,eACC,gBAMD,0BACC,WfvKY,eeyKb,0BACC,gBACA,2CACC,aAIF,4BACC,UAGD,mCACC,Uf7LW,MeiMX,wFACC,YfpMI,0FewMN,6EAEC,aAID,gCACC,afvOM,KeyOP,8BACC,afpOK,QesON,4BACC,af7OM,KesPP,6CACC,Qf5Me,Ke8MhB,2CACC,mBAED,mDACC,cACA,yDACC,SAID,2EACC,cfzNc,Ke2Nf,qEACC,WACA,cAGF,mDACC,UflPW,MemPX,yDACC,qBACA,6DACC,afxNkB,We4NrB,iCACC,OfjOa,OesOf,gBACC,iBfxRO,Ke0RN,0BACC,aAID,iCACC,2BACA,iFAEC,cACA,WAID,+CACC","file":"global.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../scss/styles/_0-reset.scss","../scss/styles/_1-typography.scss","../scss/global.scss","../scss/styles/_2-navigation.scss","../scss/styles/2-navigation/_cda.scss","../scss/styles/2-navigation/_history.scss","../scss/styles/2-navigation/_archive.scss","../scss/styles/2-navigation/_pagination.scss","../scss/styles/_3-layout.scss","../scss/styles/4-components/_accordion.scss","../scss/styles/4-components/_cards.scss","../scss/styles/4-components/_gallery.scss","../scss/styles/4-components/_list.scss","../scss/styles/4-components/_table.scss","../scss/styles/_4-components.scss","../scss/styles/_5-theme.scss","../scss/styles/_6-media.scss","../scss/styles/_7-content.scss"],"names":[],"mappings":"CAGA,KACC,sBACA,mBACA,kBAGD,qBAGC,mBAGD,uDAQC,cAID,oEAgBC,SACA,UAID,MACC,WAED,SACC,gBAED,KACC,cAID,6BAIC,cACA,aACA,uBAGD,eAEC,6BAGD,sBAGC,YACA,cAGD,OACC,gBACA,6BACA,qBACA,aACA,gBACA,iBAUD,EACC,cACA,qBAGD,qCACC,eAID,KACC,kCACG,mCACA,kCAKH,oDACC,qBAIF,sCAQC,mBAGD,GACC,YAID,qCAMC,cACA,eACA,YACA,aAGD,SACC,aACA,kBAGD,IACC,eACA,WACA,YACA,qBACA,sBAID,MACC,mBACA,WAID,SACC,wBAID,SACC,cACA,kBACA,eC1KD,KACC,YC6BS,iFD3BV,6BAKC,YCuBM,0FDpBP,wDAIC,YCgBM,0FDdP,eACC,YCaM,0FDZN,kBAQD,KACC,UCIW,KDFZ,GACC,UCIY,ODHZ,eACA,gBAED,cAEC,UCHa,ODIb,gBAED,MAEC,OCiBc,ODff,WAGC,UCfW,KDgBX,gBAED,MAEC,OCOc,ODLf,MAEC,UCvBY,MDwBZ,OCEc,ODDd,gBAGD,SACC,eACA,YACC,iBAED,WACC,OCRa,ODkBd,iBACC,0BACA,sBC5DW,KD8DX,4BACA,6DACA,mCACC,sCACA,MC9DI,KDsEL,sCACC,sBCzES,KDiFZ,EACC,qCACA,gCACA,iCACA,4BACA,aAGD,kCAIC,yBACA,sBACA,qBACA,iBACA,aAGD,UACC,QC/Dc,ODgEd,UC3FW,KD6FV,gBACC,uBAID,gBACC,0BAGF,eACC,eAIF,iBACC,yBACA,iBACA,YC/GM,0FDkHP,IACC,YCnHM,0FDoHN,UClHY,MDmHZ,sBErJD,KACC,iBAGD,mBAEC,aACA,WACA,ODHU,KCIV,gBACA,cAEA,wEACC,YACA,qBACA,oBACA,0FACC,SACA,gBAIF,yBACC,OAED,0BACC,iBAGD,4BACC,qBACA,oBAGD,4BACC,cACA,MD/BS,KCgCT,MACA,iEACC,UAMH,oBAEC,gBACA,WAED,eACC,gBACA,cCrDD,KACC,aFKU,KEHX,cACC,wBACA,gCAIA,eACC,eACA,YACA,MFNS,KEOT,MACA,OACA,aAEA,gBACA,MFTM,KEUN,iBFDM,KEEN,UAEA,4BAEA,aFuBa,eErBb,sBACC,aAIF,oBACC,WACA,eACA,mCACA,gBACA,2BACC,cAED,2BACC,cAIF,iBACC,cACA,sBACA,wBACA,gCACA,kBACA,qBACC,WACA,YACA,oDACC,KF7CI,KEgDN,sBACC,aACA,mBACA,0BACC,YAKF,sBACC,gBACA,2BACC,aAED,2BACC,cAIH,2BACC,aACA,SACA,WACA,kBACA,iBAGA,gCACC,cAIF,iBACC,eACA,MACA,OACA,QACA,SACA,aACA,aACA,gBACA,iBFhFM,KEiFN,WAGA,sBACC,cACA,WACA,YAMH,6BACC,0CAED,qCACC,oBACC,WAED,6BACC,2CASA,yBACC,YAED,2BACC,6BAED,oCACC,wBAOD,oDACC,aFnGM,eEqGP,wDACC,0BCjJH,gBACC,YH8BS,iFG5BT,gBACA,iBHIO,KGHP,SACA,MHWO,KGVP,aACA,iBACA,aAEA,mBACA,gBAEA,mBACC,SACA,YACA,cACA,gBAED,uDAEC,WAED,mBACC,YACA,cACA,gBAEA,aACA,kBAEA,uBACC,aACA,iBAED,8BACC,yBACA,kBACA,qCACE,WACA,kBACD,WACC,MACA,OACA,cACA,WACA,YACA,yEAKF,wBACC,kBACA,mBACA,+BACC,YACA,qBACA,mBAGF,+BACC,gBACA,YChEJ,gBAEC,gBACA,YACA,aACA,iBJYO,KIXP,MJEO,uBICN,4BACA,wBACC,MJaI,KITN,4BACC,UJkBW,MIjBX,mBACA,mCACC,YACA,mBAQD,0BACC,aC7BH,eAEC,iBLsBM,KKrBN,MLcO,KKbP,YL4BM,0FK3BN,YACA,aAEA,kBACC,qBAIA,wBACC,aAIF,uBACC,MLMY,KKJb,0BACC,kBACA,kCACC,kBAED,kCACC,WACA,cACA,iBLrBK,KKsBL,WACA,YACA,kBACA,kBCjCH,UAEC,WACA,eACA,gBAKA,mBACC,sBACA,gBAIA,mDACC,aACA,iBAKH,qCAIE,mBACC,YACA,aAKD,gCACC,OAKF,gBAEC,YACA,iBAEA,8BACC,aAEA,kCACC,YAGD,sCAEC,WACA,gBAEA,YACA,cACA,eAEA,6CAKC,YACA,gBACA,4BAQJ,gBACC,kBAEA,qBACC,6BACA,SACA,UACA,UACA,oBACA,WACA,YAQA,8BACC,UASD,0BACC,eACA,2BACA,WACA,6BACC,SACA,QN5DK,MM6DL,iBNtGG,KMwGJ,kCACC,gBACA,qCACC,kBAGF,qEAEC,cAED,gCACC,UACA,sCACC,UACA,eACA,qDACC,kBAED,sDACC,iBAIH,6FAGC,gBACA,iBNnIG,KMoIH,mJACC,gBACA,qKACC,eN9FG,MMiGL,4JACC,cAGF,qCACC,0BAGF,4BACC,iBNnJI,KMoJJ,gBACA,qBAED,sCACC,aACA,YNhHM,MMkHP,8BACC,UACA,oCACC,UACA,kBAIH,oCACC,WACA,kBACA,YAGA,oCACC,6BACA,sDACC,UACA,4DACC,UAOL,yBACC,iBAKF,qCAGG,8BACC,UAMJ,0BACC,aC9MA,4BACC,eACA,kBAEA,kCACC,WACA,kBACA,yBACA,qBACA,cACA,kBACA,SACA,YACA,wBACA,gCACA,oBAIF,6BACC,gBAGA,uCACC,SACA,0BACA,kCAIH,yCACC,aPvBO,KO6BL,kDACC,SACA,YAID,uDACC,QC3CH,QACC,aAED,4BAEC,QR2CQ,MQzCT,aACC,YRuBK,0FQtBL,URwBW,MQtBX,oBACC,cACA,MROI,KQNJ,iBACA,iBACA,YACA,0BACC,YACA,kBAIF,gCAEC,oBACA,kBACA,SAED,gBACC,aACA,sBACA,OAED,gBACC,WACA,SAOF,wCACC,aACA,eACA,sDACC,WACA,cACA,QAWF,4BACC,sBACA,YAGF,gBACC,sBAED,qBACC,mBAIA,wBACC,eAED,yBACC,WACA,YACA,aACA,gBACA,6BACC,uBACA,iBAGF,yBACC,OACA,yBAED,qBACC,MRvEK,KQ2EN,6BACC,MRxEY,KQiFb,6BACC,aAQA,kCACC,YACA,gBACA,aACA,sCACC,iBACA,uBAKA,4CACC,mBAIH,qCACC,mBACA,uBACA,gBAMF,4BACC,gBACA,gCACC,gBACA,eACA,WACA,YAUA,0GACC,sBACA,sBC9JH,wBACC,iBTaK,QSVP,oBACC,aACA,sBACA,sBACC,OACA,cCPD,mCACC,WAJc,MAMf,6CACC,MAPc,MAQd,OARc,MASd,aACA,gBACA,qDACC,uBACA,iBAGF,6CACC,OACA,mBACA,gBACA,mBCnBD,aACC,WXyCY,eWxCZ,gBACA,yBACC,WXsDgB,KWnDlB,WACC,eAGA,kBACC,aACA,UAGF,WACC,SAED,0DAGC,WXoCiB,KWjCnB,qCAEE,aACC,aACA,eACA,iBACC,aAED,yBACC,gBAGF,YACC,aACA,mBAED,YACC,aACA,iBACC,eAMH,oBACC,aX3CM,KWgDP,eACC,eACA,iBACC,aACA,qBC1DH,WACC,WAED,qCACC,WACC,YAIF,aACC,cACA,oBACC,UAIF,oBACC,kBAIA,0CACC,gBAIF,YACC,YAIA,4BACC,YAID,kBACC,eAKD,mCACC,eChDF,KACC,iBbmBO,KalBP,MbkBO,KajBP,uCAOD,YACC,iBbgBM,KaTP,aACC,cb2BQ,eatBP,gEAEC,YboBM,eanBN,kBbhBK,KakBN,kCACC,YAIH,wBACC,Ybcc,eaXf,oCAEC,WbMQ,eaLR,ab9BO,KakCR,OACC,iBbnCO,KaqCR,OACC,iBbnCO,KaqCR,MACC,iBbnCM,QaqCP,OACC,iBbnCO,KasCR,4BAIC,MbnDO,KaqDN,4DACC,iBbhDI,QaiDJ,wFACC,iBbjDU,KauDd,4EAMC,Mb3DO,Ka6DN,4HACC,iBbpEK,KaqEL,sKACC,iBbrEW,Ka2Ef,sCAIC,uCAED,QACC,iBACA,eACC,iBbjFY,KaoFd,6BAEC,sBACA,iCACA,2CACC,sBAED,qCACC,sBACA,sBAED,2CACC,MbtFY,KayFd,oBACC,Mb3GO,Ka4GP,iBb5FM,KaiGN,yBACC,MblHM,KamHN,iBbnGK,KaoGL,qCACC,iBbpGW,KaqHb,qCACC,iBbjIK,QcbP,cAGC,iBdoBM,KcnBN,MdGO,KcFP,YACA,aACA,WACA,gBACA,YdsBM,0FcrBN,aAEA,oBACC,OAED,qBACC,OACA,iBAED,qBACC,qBACA,yBACA,oBAGD,2EAGC,qBACA,oBAED,uBACC,oBAGD,uBACC,kBACA,OACA,cACA,oBACA,iBdhBY,KcqBd,qCAIE,+BACC,aAGD,gCACC,iBACA,OACA,YACA,cACA,eAEA,+FAEC,cACA,WACA,YAMD,2BACC,oBACA,WAEA,+BACC,qBACA,WACA,YAKH,wCAEC,gBAGD,6EAGC,aACA,sBACA,2BACA,YAEA,mIACC,mBACA,aAIF,+BAEC,aACA,sBAEA,6CACC,gBACA,YACA,iBdtFG,KcwFJ,0CACC,kBACA,aAKF,uFAIC,2BACA,aACA,sBACA,YAEA,+JACC,gBAKD,2BACC,WACA,YACA,aACA,+BACC,WACA,YACA,mBACA,uBACA,eACA,iBASL,8BACC,kBACA,SAGD,qCAMG,yHACC,aAOJ,UACC,YACA,Ud5IY,McgJZ,0BACC,QdlIQ,Mc0IR,kBACA,gBARA,8BACC,QdpIO,McsIR,6BACC,YdxJI,0FcyJJ,aAOH,eACC,kBACA,QdjJS,MckJT,YdnKM,0FcmLP,YACC,WACA,YACA,gCAEA,kBACA,MACA,OACA,UAED,kBACC,WACA,kBACA,cACA,YACA,WACA,QACA,SACA,kBACA,iBACA,mBACA,UACA,iBdjOO,KckOP,kDACA,0CAED,yBACC,iBd7NO,Kc+NR,mBACC,GACC,6BACA,qBAED,IACC,2BACA,mBAED,KACC,6BACA,sBCxPD,qBAOC,gBACA,kCACA,kBACA,aATA,wBACC,eACA,WACA,OfgDW,Ye/CX,mBAMD,2BACC,kBACA,iBACA,uBACA,aACA,oBACA,eACA,gBACA,UAED,+BACC,iBACA,qCACC,aAKH,0BACC,aAIA,8BACC,iBAED,mCACC,cAIF,oBACC,YACA,iBAEC,gCACC,gBAED,6BACC,eAID,+BACC,gBACA,WAKH,uBACC,aACA,gBAGD,2BAUC,QfxBY,YegBZ,mCACC,gBACA,mBACA,sCACC,QfhBgB,EeqBlB,uCACC,UAKF,0BACC,aACA,mBACA,uBACA,gBACA,mBACA,6BACC,eAED,+BACC,iBflFI,QemFJ,gBACA,aACA,sCACC,OAED,qCACC,aAOJ,yBACI,wBACI,+BAUN,wBACC,WACA,aACA,iBf/GI,QegHJ,8BACC,iBfvGG,KeyGJ,wJAIC,sBAED,qCACC,MfvHI,Ke0HN,yBACC,WACA,iBf/HI,QegIJ,+BACC,iBfvHG,Ke0HL,uBACC,gBACA,8BACC,kBAID,iCACC,iBf5IG,Qe6IH,wCACC,aAGF,mCACC,iBfxIG,KeoJN,iDACC,Yf7IK,0FekJL,oBACC,UfhJW,OesJb,YACC,mBACA,qBACA,cAKD,cACC,mBAGA,0BACC,Wf5JW,ee+Jb,eACC,gBAMD,0BACC,WfvKY,eeyKb,0BACC,gBACA,2CACC,aAIF,4BACC,UAGD,mCACC,Uf7LW,MeiMX,wFACC,YfpMI,0FewMN,6EAEC,aAID,gCACC,afvOM,KeyOP,8BACC,afpOK,QesON,4BACC,af7OM,KesPP,6CACC,Qf5Me,Ke8MhB,2CACC,mBAED,mDACC,cACA,yDACC,SAID,2EACC,cfzNc,Ke2Nf,qEACC,WACA,cAGF,mDACC,UflPW,MemPX,yDACC,qBACA,6DACC,afxNkB,We4NrB,iCACC,OfjOa,OesOf,gBACC,iBfxRO,Ke0RN,0BACC,aAID,iCACC,2BACA,iFAEC,cACA,WAID,+CACC","file":"global.css"} \ No newline at end of file diff --git a/assets/scss/styles/4-components/_gallery.scss b/assets/scss/styles/4-components/_gallery.scss index 2cff325f..fc80672b 100644 --- a/assets/scss/styles/4-components/_gallery.scss +++ b/assets/scss/styles/4-components/_gallery.scss @@ -11,5 +11,6 @@ flex-direction: column; a { flex: 1; + display: block; } } From 6a75ff9d5fe2a5b9908bd21ef7c6dbbc122a8e23 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 11:01:27 +0200 Subject: [PATCH 02/35] remove year of collections on home page --- site/snippets/pages/home.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/site/snippets/pages/home.php b/site/snippets/pages/home.php index e2dd5d53..d8a6182d 100755 --- a/site/snippets/pages/home.php +++ b/site/snippets/pages/home.php @@ -34,10 +34,7 @@
  • -
    - Online Collection, - date_modified()->toDate('Y') ?> -
    +
    Online Collection
    thumbnail()): ?>
    responsiveImage('large', false) ?> From 3cebf6365fc6c0002b38e65938f7b95c9a98e7da Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 12:01:11 +0200 Subject: [PATCH 03/35] avoid page scrolling when about panel is open --- assets/css/global.css | 2 +- assets/css/global.css.map | 2 +- assets/es6/global.js | 3 +++ assets/scss/styles/2-navigation/_cda.scss | 5 +++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/assets/css/global.css b/assets/css/global.css index 53ba4025..63690d8d 100644 --- a/assets/css/global.css +++ b/assets/css/global.css @@ -1 +1 @@ -html{box-sizing:border-box;font-weight:normal;font-style:normal}*,*::before,*::after{box-sizing:inherit}nav,section,main,aside,header,footer,blockquote,figure{display:block}body,h1,h2,h3,h4,h5,h6,ul,ol,li,p,pre,blockquote,figure,hr,dd,dt,dl{margin:0;padding:0}ul,ol{width:100%}ul,ol,li{list-style:none}li>a{display:block}input,textarea,select,button{color:inherit;font:inherit;letter-spacing:inherit}input,textarea{background-color:transparent}input,textarea,button{border:none;padding:.5rem}button{border-radius:0;background-color:transparent;display:inline-block;outline:none;text-align:left;user-select:none}a{color:inherit;text-decoration:none}a,button,[type=button],[type=submit]{cursor:pointer}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a abbr,a abbr[title],button abbr,button abbr[title]{text-decoration:none}h1,h2,h3,h4,h5,h6,strong,b,blockquote{font-weight:normal}hr{border:none}embed,iframe,img,object,canvas,video{display:block;max-width:100%;border:none;outline:none}noscript{padding:1rem;text-align:center}img{max-width:100%;width:100%;height:auto;display:inline-block;vertical-align:bottom}table{table-layout:fixed;width:100%}[hidden]{display:none !important}noscript{display:block;margin-bottom:1em;margin-top:1em}body{font-family:"Favorit",Favorit Std Book,Favorit Std,Favorit,Roboto,Helvetica,Arial,sans-serif}pre,code,blockquote,h5,.mono{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}.bar.history,.bar.archive,.bar.controls,.bar.pagination{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}button,.button{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;padding:.3em .6em}html{font-size:1rem}h1{font-size:2.8rem;margin:.5rem 0;line-height:.95}h2,.highlight{font-size:1.6rem;line-height:1.1}h2,h3{margin:.5em 0}body,h3,h4{font-size:1rem;line-height:1.2}h3,h4{margin:.5em 0}h5,h6{font-size:.8rem;margin:.5em 0;line-height:1.3}.content{padding:0 1rem}.content h2{padding-right:5%}.content p{margin:.5em 0}p a,dl a,.text a{text-decoration:underline;text-decoration-color:#ddd;text-underline-offset:.18em;transition:color 200ms ease,text-decoration-color 200ms ease}p a:hover,dl a:hover,.text a:hover{text-decoration-color:blue !important;color:blue}.black p a,.black dl a,.black .text a{text-decoration-color:#333}p{-webkit-hyphenate-limit-chars:auto 9;-webkit-hyphenate-limit-lines:2;-ms-hyphenate-limit-chars:auto 9;-ms-hyphenate-limit-lines:1;hyphens:auto}.file .title,.filename,.url,.path{-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}.bodytext{padding:.5em 0;font-size:1rem}.bodytext ul li{list-style:disc inside}.bodytext ol li{list-style:decimal inside}.bodytext li a{display:inline}.section--header{-webkit-user-select:none;user-select:none;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}img{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;font-size:.8rem;word-break:break-word}.bar{user-select:none}.page-wrapper .bar{display:flex;width:100%;height:2rem;padding:0 .5rem;flex-shrink:0}.page-wrapper .bar a,.page-wrapper .bar button,.page-wrapper .bar .item{border:none;display:inline-block;padding:.4rem .4rem}.page-wrapper .bar a:hover,.page-wrapper .bar button:hover,.page-wrapper .bar .item:hover{margin:0;border-radius:0}.page-wrapper .bar .left{flex:1}.page-wrapper .bar .right{text-align:right}.page-wrapper .bar div>span{display:inline-block;padding:.4rem .4rem}.page-wrapper .bar.vertical{display:block;width:2rem;top:0}.page-wrapper .bar.vertical a,.page-wrapper .bar.vertical button{padding:0}.sticky,.sticky-top{position:sticky;top:-0.1px}.sticky-bottom{position:sticky;bottom:-0.1px}body{padding-left:2rem}.page-wrapper{transform:translateX(0);transition:transform 400ms ease}aside#cda .bar{position:fixed;height:100%;width:2rem;top:0;left:0;z-index:3000;cursor:e-resize;color:#fff;background-color:#000;padding:0;transition:width 400ms ease;border-right:2px solid #fff}aside#cda .bar .about{display:none}aside#cda.open .bar{width:85vw;cursor:default;border-right-color:#fff !important;overflow-y:auto}aside#cda.open .bar .panel{display:block}aside#cda.open .bar .about{display:block}aside#cda a.logo{display:block;padding:.66rem .21rem;transform:translateX(0);transition:transform 400ms ease;text-align:center}aside#cda a.logo svg{width:auto;height:4rem}aside#cda a.logo svg rect,aside#cda a.logo svg path{fill:#fff}aside#cda a.logo.full{display:none;padding-left:.4rem}aside#cda a.logo.full svg{height:6rem}aside#cda.open a.logo{text-align:left}aside#cda.open a.logo.abbr{display:none}aside#cda.open a.logo.full{display:block}aside#cda button.bar-close{display:none;top:1rem;right:1rem;position:absolute;font-size:1.2rem}aside#cda.open button.bar-close{display:block}aside#cda .glass{position:fixed;top:0;left:0;width:0;height:0;display:none;z-index:2999;cursor:w-resize;background-color:#000;opacity:.7}aside#cda.open .glass{display:block;width:100%;height:100%}aside#cda.open~.page-wrapper{transform:translateX(calc( 85vw - 2rem ))}@media screen and (min-width: 768px){aside#cda.open .bar{width:50vw}aside#cda.open~.page-wrapper{transform:translateX(calc( 50vw - 2rem ))}}body.home aside#cda .bar{border:none}body.home aside#cda a.logo{transform:translateY(0.6rem)}body.home aside#cda.scrolled a.logo{transform:translateY(0)}body.light aside#cda .bar,body.white aside#cda .bar{border-right:2px solid #000}body.light aside#cda a.logo,body.white aside#cda a.logo{transform:translateX(1px)}nav.bar.history{font-family:"Favorit",Favorit Std Book,Favorit Std,Favorit,Roboto,Helvetica,Arial,sans-serif;position:sticky;background-color:#fff;top:-1px;color:#000;display:flex;flex-wrap:nowrap;z-index:2000;white-space:nowrap;overflow:hidden}nav.bar.history h3{margin:0;flex-grow:0;flex-shrink:0;flex-basis:auto}nav.bar.history .current .item,nav.bar.history a:hover{color:blue}nav.bar.history ol{flex-grow:1;flex-shrink:1;flex-basis:auto;display:flex;overflow-x:hidden}nav.bar.history ol div{display:flex;flex-wrap:nowrap}nav.bar.history ol.alignright{justify-content:flex-end;position:absolute}nav.bar.history ol.alignright:before{content:"";position:absolute;z-index:10;top:0;left:0;display:block;width:3rem;height:100%;background:linear-gradient(90deg, white 0%, rgba(255, 255, 255, 0) 100%)}nav.bar.history ol li a{padding-left:.3em;padding-right:.3em}nav.bar.history ol li a:before{content:"→";display:inline-block;margin-right:.6rem}nav.bar.history ol li.double a{overflow:hidden;width:1.4em}nav.bar.archive{position:sticky;bottom:-1px;z-index:1000;background-color:#000;color:#fff}nav.bar.archive a{transition:color 200ms ease}nav.bar.archive a:hover{color:blue}nav.bar.archive .keywords a{font-size:.8rem;padding-top:.45rem}nav.bar.archive .keywords a:before{content:"→";padding-right:.2em}body.home nav.bar.archive{display:none}nav.pagination{background-color:blue;color:#000;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;width:unset;height:unset}nav.pagination li{display:inline-block}nav.pagination a .title{display:none}nav.pagination a:hover{color:#66f}nav.pagination li.current{color:transparent}nav.pagination li.current a:hover{color:transparent}nav.pagination li.current a:after{content:"";display:block;background-color:#fff;width:.7em;height:.7em;border-radius:1em;margin-top:-0.9em}html,body{width:100%;max-width:100%;min-height:100%}body>.page-wrapper{flex-direction:column;min-height:100%}body.home .page-wrapper,body.regular .page-wrapper{height:unset;min-height:100vh}@media screen and (min-width: 768px){body>.page-wrapper{height:100%;height:100vh}.presentation .section--content{flex:1}body.multipanel{height:100%;max-height:100vh}body.multipanel>.page-wrapper{display:flex}body.multipanel>.page-wrapper>nav{flex-grow:0}body.multipanel>.page-wrapper .panels{width:100%;overflow:hidden;flex-grow:1;flex-shrink:1;flex-basis:1px}body.multipanel>.page-wrapper .panels .panel{height:100%;overflow-y:auto;transition:width 200ms ease}.panels.overlap{position:relative}.panels.overlap main{position:absolute !important;top:3rem;left:3rem;padding:0;padding-bottom:8rem;z-index:10;height:100%}.panels.overlap main>.content{padding:0}.panels.overlap main .tab{margin-top:4px;border-top:none !important;width:100%}.panels.overlap main .tab h3{margin:0;padding:.5rem;background-color:#fff}.panels.overlap main .tab.gallery{border-top:none}.panels.overlap main .tab.gallery h3{margin-bottom:4px}.panels.overlap main .tab.collection,.panels.overlap main .tab.cards{display:block}.panels.overlap main .tab.cards{padding:0}.panels.overlap main .tab.cards .card{padding:0;margin-top:4px}.panels.overlap main .tab.cards .card:nth-child(odd){padding-right:2px}.panels.overlap main .tab.cards .card:nth-child(even){padding-left:2px}.panels.overlap main .tab.info,.panels.overlap main .tab.meta,.panels.overlap main .tab.list{border-top:none;background-color:#fff}.panels.overlap main .tab.info .section--content,.panels.overlap main .tab.meta .section--content,.panels.overlap main .tab.list .section--content{padding:0 .5rem}.panels.overlap main .tab.info .section--content .list,.panels.overlap main .tab.meta .section--content .list,.panels.overlap main .tab.list .section--content .list{padding-bottom:.5rem}.panels.overlap main .tab.info h3+.section--content,.panels.overlap main .tab.meta h3+.section--content,.panels.overlap main .tab.list h3+.section--content{padding-top:0}.panels.overlap main .tab.collection{margin-top:4px !important}.panels.overlap main header{background-color:#fff;padding:0 .5rem;display:inline-block}.panels.overlap main header+.tab.info{margin-top:0;padding-top:.5rem}.panels.overlap main .gallery{padding:0}.panels.overlap main .gallery .card{padding:0;margin-bottom:4px}.panels.overlap .panel.presentation{width:100%;position:absolute;height:100%}.panels.overlap main.tour .tab.list{background-color:transparent}.panels.overlap main.tour .tab.list .section--content{padding:0}.panels.overlap main.tour .tab.list .section--content .list{padding:0}.grid [class*=col].panel{position:sticky}}@media screen and (max-width: 768px){body.entity.file .panels main{order:10}}.preview .section--header{display:none}.accordion .section--header{cursor:pointer;position:relative}.accordion .section--header:after{content:"";border:solid #000;border-width:0 1px 1px 0;display:inline-block;padding:.15em;position:absolute;top:.3em;right:.2rem;transform:rotate(45deg);-webkit-transform:rotate(45deg);pointer-events:none}.accordion .section--content{overflow:hidden}.accordion.open .section--header:after{top:.5em;transform:rotate(-135deg);-webkit-transform:rotate(-135deg)}.black .accordion .section--header:after{border-color:#fff}.panels.overlap .accordion .section--header:after{top:.8em;right:.7rem}.panels.overlap .accordion.open .section--header:after{top:1em}.card>a{display:flex}.card .title,.card .content{padding:.5rem}.card .title{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;font-size:.8rem}.card .title .count{display:block;color:#999;text-align:right;margin-left:.2em;float:right}.card .title .count:after{content:"→";padding-left:.2em}.card .title h4,.card .title h5{font-family:inherit;font-size:inherit;margin:0}.card .title h4{hyphens:none;word-break:break-word;flex:1}.card .title h5{width:100%;order:10}.list .card .title,.list-element .title{display:flex;flex-wrap:wrap}.list .card .title .count,.list-element .title .count{float:none;flex:0 1 auto;order:2}.cards .card>a,#map .card>a{flex-direction:column;height:100%}.card-element>a{flex-direction:column}.card.list-element>a{flex-direction:row}.entityinfo .card+.card{margin-top:2px}.entityinfo .card figure{width:5rem;height:5rem;display:flex;overflow:hidden}.entityinfo .card figure img{object-position:center;object-fit:cover}.entityinfo .card .title{flex:1;align-content:flex-start}.entityinfo .card h5{color:#999}.entityinfo .card a:hover h5{color:#66f}.cards .card.no-thumb figure{display:none}.cards.fixed-heights .card figure{height:15vw;overflow:hidden;display:flex}.cards.fixed-heights .card figure img{object-fit:cover;object-position:center}.cards.fixed-heights .card.\33 d figure img{object-fit:contain}.cards.fixed-heights .card .title h4{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card.image.panorama figure{overflow:hidden}.card.image.panorama figure img{min-height:140%;min-width:140%;width:auto;height:auto}.black .card.\33 d figure img,.black .card.image.panorama figure img,.black .card.image.object figure img{mix-blend-mode:screen;filter:contrast(125%)}.gallery .preview.audio{background-color:#1a1a1a}.gallery.grid .card{display:flex;flex-direction:column}.gallery.grid .card a{flex:1;display:block}.list .card>a,.card.list-element>a{min-height:2.5em}.list .card figure,.card.list-element figure{width:2.5em;height:2.5em;display:flex;overflow:hidden}.list .card figure img,.card.list-element figure img{object-position:center;object-fit:cover}.list .card .title,.card.list-element .title{flex:1;align-items:center;padding-top:2px;padding-bottom:2px}dl.table>div{border-top:1px solid #000;padding:.5rem 0}dl.table>div dt+div.long{margin-top:.5em}dl.table a{display:inline}dl.table dt.empty{display:none;padding:0}dl.table p{margin:0}dl.table dd+dd,dl.table dt+dd.long p,dl.table dd.long p+p{margin-top:.5em}@media screen and (min-width: 768px){dl.table>div{display:flex;flex-wrap:wrap}dl.table>div div{flex:1 0 50%}dl.table>div dt+div.long{flex-basis:100%}dl.table dt{flex:1 0 50%;padding-right:.3em}dl.table dd{flex:1 0 50%}dl.table dd.long{flex:1 0 100%}}.black dl.table>div{border-color:#fff}dl.table .list{margin:.5rem 0}dl.table .list a{display:flex;text-decoration:none}#map .card{width:40vw}@media screen and (min-width: 768px){#map .card{width:20vw}}.card>button{display:block}.card>button .title{padding:0}.presentation .list{padding-right:4px}body.black .presentation.collection .grid{padding-top:1px}.cards.grid{padding:2px}.cards .card,.gallery .card{padding:2px}.list .card+.card{margin-top:2px}.card h1,.card h2,.card h3,.card p{margin:.5rem 0}body{background-color:#000;color:#000;transition:background-color 200ms ease}::selection{background-color:blue}.bar.history{border-bottom:2px solid #000}body.home>.page-wrapper>nav.archive,body.home>.page-wrapper>div{border-left:2px solid #000;border-left-color:#fff}body.home>.page-wrapper .activity{border:none}body.white .bar.archive{border-left:2px solid #fff}.bar.archive,body.home .archive-bar{border-top:2px solid #000;border-color:#fff}.white{background-color:#fff}.light{background-color:#eee}.dark{background-color:#1a1a1a}.black{background-color:#000}.black,.blacks,.dark,.darks{color:#fff}.black .card a,.blacks .card a,.dark .card a,.darks .card a{background-color:#1a1a1a}.black .card a figure,.blacks .card a figure,.dark .card a figure,.darks .card a figure{background-color:#222}.white,.whites,.light,.lights,body.liebling-house,body.liebling-house.black{color:#000}.white .card a,.whites .card a,.light .card a,.lights .card a,body.liebling-house .card a,body.liebling-house.black .card a{background-color:#eee}.white .card a figure,.whites .card a figure,.light .card a figure,.lights .card a figure,body.liebling-house .card a figure,body.liebling-house.black .card a figure{background-color:#ddd}.card>a,.card>a figure,button,.button{transition:background-color 150ms ease}.card>a{user-select:none}.card>a figure{background-color:#222}.card>a:hover,.card.active a{color:#fff !important;background-color:blue !important}.card>a:hover figure,.card.active a figure{background-color:#33f}.card>a:hover img,.card.active a img{mix-blend-mode:screen;filter:contrast(115%)}.card>a:hover .count,.card.active a .count{color:#66f}.card.active>button{color:#fff;background-color:blue}button.blue,.button.blue{color:#fff;background-color:blue}button.blue:hover,.button.blue:hover{background-color:#66f}body.entity.file .panel.presentation{background-color:#1a1a1a}.bar.controls{background-color:blue;color:#fff;z-index:100;display:flex;width:100%;padding:0 .5rem;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;height:unset}.bar.controls .left{flex:1}.bar.controls .right{flex:1;text-align:right}.bar.controls button{display:inline-block;text-transform:uppercase;letter-spacing:.1em}.bar.controls .left span,.bar.controls .right span,.bar.controls span span{display:inline-block;padding:.5rem .5rem}.bar.controls .message{padding:.5rem .5rem}.bar.controls .tooltip{position:absolute;left:0;bottom:1.9rem;padding:.5rem .9rem;background-color:#66f}@media screen and (min-width: 768px){.presentation .section--header{display:none}.presentation .section--content{user-select:none;flex:1;flex-grow:1;flex-shrink:1;flex-basis:1px}.presentation .section--content .presentation-container,.presentation .section--content canvas{display:block;width:100%;height:100%}.presentation.image figure{pointer-events:none;width:100%}.presentation.image figure img{display:inline-block;width:100%;height:auto}.presentation.video,.presentation.audio{min-height:100%}.presentation.video.center,.presentation.audio.center,.presentation.panorama{display:flex;flex-direction:column;overflow:hidden !important;height:100%}.presentation.video.center .section--content,.presentation.audio.center .section--content,.presentation.panorama .section--content{align-items:center;display:flex}.presentation.panel.collection{display:flex;flex-direction:column}.presentation.panel.collection .bar.controls{position:sticky;bottom:-1px;background-color:blue}.presentation.panel.collection .load-more{position:relative;height:16rem}.presentation.image,.presentation.\33 d,.presentation.map,.presentation.liebling-house{overflow:hidden !important;display:flex;flex-direction:column;height:100%}.presentation.image .section--content,.presentation.\33 d .section--content,.presentation.map .section--content,.presentation.liebling-house .section--content{max-height:100%}.presentation.image figure{width:100%;height:100%;display:flex}.presentation.image figure img{width:100%;height:auto;object-fit:contain;object-position:center;max-width:100%;max-height:100%}}#view-liebling-house-controls{position:absolute;bottom:0}@media screen and (max-width: 768px){.presentation.\33 d .section--content,.presentation.map .section--content,.presentation.liebling-house .section--content{height:60vh}}.controls{z-index:500;font-size:.8rem}.presentation .transcript{padding:.5rem;font-size:1.05rem;line-height:1.3}.presentation .transcript div{padding:.5rem}.presentation .transcript h4{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;margin-top:0}.empty-results{text-align:center;padding:.5rem;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}.is-loading{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:absolute;top:0;left:0;z-index:5}.is-loading:after{content:"";position:absolute;display:block;height:2rem;width:2rem;top:50%;left:50%;margin-left:-1rem;margin-top:-1rem;border-radius:5rem;z-index:1;background-color:#fff;-webkit-animation:pulsate 1.5s ease infinite both;animation:pulsate 1.5s ease infinite both}.white .is-loading:after{background-color:#000}@keyframes pulsate{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}50%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.5);transform:scale(0.5)}}body.home header#top{min-height:65vh;transition:min-height 1000ms ease;position:relative;display:flex}body.home header#top h1{font-size:6rem;z-index:10;margin:.5rem .5rem;margin-left:.75rem}body.home header#top video{position:absolute;object-fit:cover;object-position:center;outline:none;pointer-events:none;min-width:100%;min-height:100%;z-index:0}body.home header#top.video-end{min-height:100px}body.home header#top.video-end video{display:none}body.home nav.bar.history{display:none}body.home.scrolled header#top{margin-top:-2rem}body.home.scrolled nav.bar.history{display:block}body.home .activity{padding:1px;padding-bottom:0}body.home .activity .card>a>div{padding:0 .5rem}body.home .activity .card h5{margin:.5rem 0}body.home .activity section ul{position:sticky;top:2.3rem}body.home .archive-bar{display:flex;padding:0 .5rem}body.home #archive-preview{padding:.5rem .5rem}body.home #archive-preview section{margin-top:2rem;margin-bottom:2rem}body.home #archive-preview section>h4{padding:0}body.home #archive-preview .cards.grid{padding:0}body.home .archive-search{display:flex;align-items:center;justify-content:center;margin-top:6rem;margin-bottom:9rem}body.home .archive-search h2{padding-left:0}body.home .archive-search form{background-color:#1a1a1a;margin-top:1rem;display:flex}body.home .archive-search form .input{flex:1}body.home .archive-search form input{outline:none}@media(max-width: 38rem){body.home header#top h1{font-size:calc(15vw - 0.6rem)}}body.archive main input{width:100%;outline:none;background-color:#1a1a1a}body.archive main input:focus{background-color:blue}body.archive main input ::selection,body.archive main input::selection,body.archive main inputfocus::selection,body.archive main inputfocus ::selection{background-color:#ccc}body.archive main input::placeholder{color:#000}body.archive main button{width:100%;background-color:#1a1a1a}body.archive main button:hover{background-color:blue}body.archive main form{margin-top:1rem}body.archive main form .input{margin-bottom:2px}body.archive main .filters .card{background-color:#1a1a1a}body.archive main .filters .card figure{display:none}body.archive main .filters .active{background-color:blue}body.item.building header h1,body.file header h1{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}body.file header h1{font-size:1.6rem}.tab.meta i{font-style:inherit;display:inline-block;margin:0 .2em}main>.content{padding:.5rem 1rem}main header .subtitle+div{border-top:1px solid #000}main .tab+.tab{margin-top:1rem}body.multipanel .tab+.tab{border-top:1px solid #000}body.multipanel .tab.info{border-top:none}body.multipanel .tab.info .section--header{display:none}body.multipanel .tab .cards{padding:0}body.multipanel .tab.meta dl.table{font-size:.8rem}body.multipanel .tab.info .section--content,body.multipanel .tab.meta .section--content{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}body.multipanel .tab.accordion+.tab.list,body.multipanel .tab.info+.tab.meta{margin-top:0}body.entity.black .subtitle+div{border-color:#fff}body.entity.black .tab .table{border-color:#1a1a1a}body.entity.black .tab+.tab{border-color:#fff}body.about .content,.bar.cda .about .content{padding:1rem}body.about section,.bar.cda .about section{margin-bottom:2rem}body.about .content li,.bar.cda .about .content li{margin:.3em 0}body.about .content li h4,.bar.cda .about .content li h4{margin:0}body.about .supporter-logos figure,.bar.cda .about .supporter-logos figure{margin-bottom:1rem}body.about .supporter-logos img,.bar.cda .about .supporter-logos img{width:auto;height:3.5rem}body.about .footer-nav,.bar.cda .about .footer-nav{font-size:.8rem}body.about .footer-nav li,.bar.cda .about .footer-nav li{display:inline-block}body.about .footer-nav li a,.bar.cda .about .footer-nav li a{margin-right:.5em .5rem}body.about h4,.bar.cda .about h4{margin:.5em 0}.panels.overlap{background-color:#eee}.panels.overlap header h1{hyphens:auto}.panels.overlap main .invitation{border-top:none !important}.panels.overlap main .invitation button,.panels.overlap main .invitation .button{display:block;width:100%}.panels.overlap main .tab.info div:first-child{border-top:none}/*# sourceMappingURL=global.css.map */ +html{box-sizing:border-box;font-weight:normal;font-style:normal}*,*::before,*::after{box-sizing:inherit}nav,section,main,aside,header,footer,blockquote,figure{display:block}body,h1,h2,h3,h4,h5,h6,ul,ol,li,p,pre,blockquote,figure,hr,dd,dt,dl{margin:0;padding:0}ul,ol{width:100%}ul,ol,li{list-style:none}li>a{display:block}input,textarea,select,button{color:inherit;font:inherit;letter-spacing:inherit}input,textarea{background-color:transparent}input,textarea,button{border:none;padding:.5rem}button{border-radius:0;background-color:transparent;display:inline-block;outline:none;text-align:left;user-select:none}a{color:inherit;text-decoration:none}a,button,[type=button],[type=submit]{cursor:pointer}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a abbr,a abbr[title],button abbr,button abbr[title]{text-decoration:none}h1,h2,h3,h4,h5,h6,strong,b,blockquote{font-weight:normal}hr{border:none}embed,iframe,img,object,canvas,video{display:block;max-width:100%;border:none;outline:none}noscript{padding:1rem;text-align:center}img{max-width:100%;width:100%;height:auto;display:inline-block;vertical-align:bottom}table{table-layout:fixed;width:100%}[hidden]{display:none !important}noscript{display:block;margin-bottom:1em;margin-top:1em}body{font-family:"Favorit",Favorit Std Book,Favorit Std,Favorit,Roboto,Helvetica,Arial,sans-serif}pre,code,blockquote,h5,.mono{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}.bar.history,.bar.archive,.bar.controls,.bar.pagination{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}button,.button{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;padding:.3em .6em}html{font-size:1rem}h1{font-size:2.8rem;margin:.5rem 0;line-height:.95}h2,.highlight{font-size:1.6rem;line-height:1.1}h2,h3{margin:.5em 0}body,h3,h4{font-size:1rem;line-height:1.2}h3,h4{margin:.5em 0}h5,h6{font-size:.8rem;margin:.5em 0;line-height:1.3}.content{padding:0 1rem}.content h2{padding-right:5%}.content p{margin:.5em 0}p a,dl a,.text a{text-decoration:underline;text-decoration-color:#ddd;text-underline-offset:.18em;transition:color 200ms ease,text-decoration-color 200ms ease}p a:hover,dl a:hover,.text a:hover{text-decoration-color:blue !important;color:blue}.black p a,.black dl a,.black .text a{text-decoration-color:#333}p{-webkit-hyphenate-limit-chars:auto 9;-webkit-hyphenate-limit-lines:2;-ms-hyphenate-limit-chars:auto 9;-ms-hyphenate-limit-lines:1;hyphens:auto}.file .title,.filename,.url,.path{-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}.bodytext{padding:.5em 0;font-size:1rem}.bodytext ul li{list-style:disc inside}.bodytext ol li{list-style:decimal inside}.bodytext li a{display:inline}.section--header{-webkit-user-select:none;user-select:none;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}img{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;font-size:.8rem;word-break:break-word}.bar{user-select:none}.page-wrapper .bar{display:flex;width:100%;height:2rem;padding:0 .5rem;flex-shrink:0}.page-wrapper .bar a,.page-wrapper .bar button,.page-wrapper .bar .item{border:none;display:inline-block;padding:.4rem .4rem}.page-wrapper .bar a:hover,.page-wrapper .bar button:hover,.page-wrapper .bar .item:hover{margin:0;border-radius:0}.page-wrapper .bar .left{flex:1}.page-wrapper .bar .right{text-align:right}.page-wrapper .bar div>span{display:inline-block;padding:.4rem .4rem}.page-wrapper .bar.vertical{display:block;width:2rem;top:0}.page-wrapper .bar.vertical a,.page-wrapper .bar.vertical button{padding:0}.sticky,.sticky-top{position:sticky;top:-0.1px}.sticky-bottom{position:sticky;bottom:-0.1px}body{padding-left:2rem}.page-wrapper{transform:translateX(0);transition:transform 400ms ease}aside#cda .bar{position:fixed;height:100%;width:2rem;top:0;left:0;z-index:3000;cursor:e-resize;color:#fff;background-color:#000;padding:0;transition:width 400ms ease;border-right:2px solid #fff}aside#cda .bar .about{display:none}aside#cda.open .bar{width:85vw;cursor:default;border-right-color:#fff !important;overflow-y:auto}aside#cda.open .bar .panel{display:block}aside#cda.open .bar .about{display:block}aside#cda a.logo{display:block;padding:.66rem .21rem;transform:translateX(0);transition:transform 400ms ease;text-align:center}aside#cda a.logo svg{width:auto;height:4rem}aside#cda a.logo svg rect,aside#cda a.logo svg path{fill:#fff}aside#cda a.logo.full{display:none;padding-left:.4rem}aside#cda a.logo.full svg{height:6rem}aside#cda.open a.logo{text-align:left}aside#cda.open a.logo.abbr{display:none}aside#cda.open a.logo.full{display:block}aside#cda button.bar-close{display:none;top:1rem;right:1rem;position:absolute;font-size:1.2rem}aside#cda.open button.bar-close{display:block}aside#cda .glass{position:fixed;top:0;left:0;width:0;height:0;display:none;z-index:2999;cursor:w-resize;background-color:#000;opacity:.7}aside#cda.open .glass{display:block;width:100%;height:100%}body.about-open{overflow:hidden}aside#cda.open~.page-wrapper{transform:translateX(calc( 85vw - 2rem ))}@media screen and (min-width: 768px){aside#cda.open .bar{width:50vw}aside#cda.open~.page-wrapper{transform:translateX(calc( 50vw - 2rem ))}}body.home aside#cda .bar{border:none}body.home aside#cda a.logo{transform:translateY(0.6rem)}body.home aside#cda.scrolled a.logo{transform:translateY(0)}body.light aside#cda .bar,body.white aside#cda .bar{border-right:2px solid #000}body.light aside#cda a.logo,body.white aside#cda a.logo{transform:translateX(1px)}nav.bar.history{font-family:"Favorit",Favorit Std Book,Favorit Std,Favorit,Roboto,Helvetica,Arial,sans-serif;position:sticky;background-color:#fff;top:-1px;color:#000;display:flex;flex-wrap:nowrap;z-index:2000;white-space:nowrap;overflow:hidden}nav.bar.history h3{margin:0;flex-grow:0;flex-shrink:0;flex-basis:auto}nav.bar.history .current .item,nav.bar.history a:hover{color:blue}nav.bar.history ol{flex-grow:1;flex-shrink:1;flex-basis:auto;display:flex;overflow-x:hidden}nav.bar.history ol div{display:flex;flex-wrap:nowrap}nav.bar.history ol.alignright{justify-content:flex-end;position:absolute}nav.bar.history ol.alignright:before{content:"";position:absolute;z-index:10;top:0;left:0;display:block;width:3rem;height:100%;background:linear-gradient(90deg, white 0%, rgba(255, 255, 255, 0) 100%)}nav.bar.history ol li a{padding-left:.3em;padding-right:.3em}nav.bar.history ol li a:before{content:"→";display:inline-block;margin-right:.6rem}nav.bar.history ol li.double a{overflow:hidden;width:1.4em}nav.bar.archive{position:sticky;bottom:-1px;z-index:1000;background-color:#000;color:#fff}nav.bar.archive a{transition:color 200ms ease}nav.bar.archive a:hover{color:blue}nav.bar.archive .keywords a{font-size:.8rem;padding-top:.45rem}nav.bar.archive .keywords a:before{content:"→";padding-right:.2em}body.home nav.bar.archive{display:none}nav.pagination{background-color:blue;color:#000;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;width:unset;height:unset}nav.pagination li{display:inline-block}nav.pagination a .title{display:none}nav.pagination a:hover{color:#66f}nav.pagination li.current{color:transparent}nav.pagination li.current a:hover{color:transparent}nav.pagination li.current a:after{content:"";display:block;background-color:#fff;width:.7em;height:.7em;border-radius:1em;margin-top:-0.9em}html,body{width:100%;max-width:100%;min-height:100%}body>.page-wrapper{flex-direction:column;min-height:100%}body.home .page-wrapper,body.regular .page-wrapper{height:unset;min-height:100vh}@media screen and (min-width: 768px){body>.page-wrapper{height:100%;height:100vh}.presentation .section--content{flex:1}body.multipanel{height:100%;max-height:100vh}body.multipanel>.page-wrapper{display:flex}body.multipanel>.page-wrapper>nav{flex-grow:0}body.multipanel>.page-wrapper .panels{width:100%;overflow:hidden;flex-grow:1;flex-shrink:1;flex-basis:1px}body.multipanel>.page-wrapper .panels .panel{height:100%;overflow-y:auto;transition:width 200ms ease}.panels.overlap{position:relative}.panels.overlap main{position:absolute !important;top:3rem;left:3rem;padding:0;padding-bottom:8rem;z-index:10;height:100%}.panels.overlap main>.content{padding:0}.panels.overlap main .tab{margin-top:4px;border-top:none !important;width:100%}.panels.overlap main .tab h3{margin:0;padding:.5rem;background-color:#fff}.panels.overlap main .tab.gallery{border-top:none}.panels.overlap main .tab.gallery h3{margin-bottom:4px}.panels.overlap main .tab.collection,.panels.overlap main .tab.cards{display:block}.panels.overlap main .tab.cards{padding:0}.panels.overlap main .tab.cards .card{padding:0;margin-top:4px}.panels.overlap main .tab.cards .card:nth-child(odd){padding-right:2px}.panels.overlap main .tab.cards .card:nth-child(even){padding-left:2px}.panels.overlap main .tab.info,.panels.overlap main .tab.meta,.panels.overlap main .tab.list{border-top:none;background-color:#fff}.panels.overlap main .tab.info .section--content,.panels.overlap main .tab.meta .section--content,.panels.overlap main .tab.list .section--content{padding:0 .5rem}.panels.overlap main .tab.info .section--content .list,.panels.overlap main .tab.meta .section--content .list,.panels.overlap main .tab.list .section--content .list{padding-bottom:.5rem}.panels.overlap main .tab.info h3+.section--content,.panels.overlap main .tab.meta h3+.section--content,.panels.overlap main .tab.list h3+.section--content{padding-top:0}.panels.overlap main .tab.collection{margin-top:4px !important}.panels.overlap main header{background-color:#fff;padding:0 .5rem;display:inline-block}.panels.overlap main header+.tab.info{margin-top:0;padding-top:.5rem}.panels.overlap main .gallery{padding:0}.panels.overlap main .gallery .card{padding:0;margin-bottom:4px}.panels.overlap .panel.presentation{width:100%;position:absolute;height:100%}.panels.overlap main.tour .tab.list{background-color:transparent}.panels.overlap main.tour .tab.list .section--content{padding:0}.panels.overlap main.tour .tab.list .section--content .list{padding:0}.grid [class*=col].panel{position:sticky}}@media screen and (max-width: 768px){body.entity.file .panels main{order:10}}.preview .section--header{display:none}.accordion .section--header{cursor:pointer;position:relative}.accordion .section--header:after{content:"";border:solid #000;border-width:0 1px 1px 0;display:inline-block;padding:.15em;position:absolute;top:.3em;right:.2rem;transform:rotate(45deg);-webkit-transform:rotate(45deg);pointer-events:none}.accordion .section--content{overflow:hidden}.accordion.open .section--header:after{top:.5em;transform:rotate(-135deg);-webkit-transform:rotate(-135deg)}.black .accordion .section--header:after{border-color:#fff}.panels.overlap .accordion .section--header:after{top:.8em;right:.7rem}.panels.overlap .accordion.open .section--header:after{top:1em}.card>a{display:flex}.card .title,.card .content{padding:.5rem}.card .title{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;font-size:.8rem}.card .title .count{display:block;color:#999;text-align:right;margin-left:.2em;float:right}.card .title .count:after{content:"→";padding-left:.2em}.card .title h4,.card .title h5{font-family:inherit;font-size:inherit;margin:0}.card .title h4{hyphens:none;word-break:break-word;flex:1}.card .title h5{width:100%;order:10}.list .card .title,.list-element .title{display:flex;flex-wrap:wrap}.list .card .title .count,.list-element .title .count{float:none;flex:0 1 auto;order:2}.cards .card>a,#map .card>a{flex-direction:column;height:100%}.card-element>a{flex-direction:column}.card.list-element>a{flex-direction:row}.entityinfo .card+.card{margin-top:2px}.entityinfo .card figure{width:5rem;height:5rem;display:flex;overflow:hidden}.entityinfo .card figure img{object-position:center;object-fit:cover}.entityinfo .card .title{flex:1;align-content:flex-start}.entityinfo .card h5{color:#999}.entityinfo .card a:hover h5{color:#66f}.cards .card.no-thumb figure{display:none}.cards.fixed-heights .card figure{height:15vw;overflow:hidden;display:flex}.cards.fixed-heights .card figure img{object-fit:cover;object-position:center}.cards.fixed-heights .card.\33 d figure img{object-fit:contain}.cards.fixed-heights .card .title h4{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card.image.panorama figure{overflow:hidden}.card.image.panorama figure img{min-height:140%;min-width:140%;width:auto;height:auto}.black .card.\33 d figure img,.black .card.image.panorama figure img,.black .card.image.object figure img{mix-blend-mode:screen;filter:contrast(125%)}.gallery .preview.audio{background-color:#1a1a1a}.gallery.grid .card{display:flex;flex-direction:column}.gallery.grid .card a{flex:1;display:block}.list .card>a,.card.list-element>a{min-height:2.5em}.list .card figure,.card.list-element figure{width:2.5em;height:2.5em;display:flex;overflow:hidden}.list .card figure img,.card.list-element figure img{object-position:center;object-fit:cover}.list .card .title,.card.list-element .title{flex:1;align-items:center;padding-top:2px;padding-bottom:2px}dl.table>div{border-top:1px solid #000;padding:.5rem 0}dl.table>div dt+div.long{margin-top:.5em}dl.table a{display:inline}dl.table dt.empty{display:none;padding:0}dl.table p{margin:0}dl.table dd+dd,dl.table dt+dd.long p,dl.table dd.long p+p{margin-top:.5em}@media screen and (min-width: 768px){dl.table>div{display:flex;flex-wrap:wrap}dl.table>div div{flex:1 0 50%}dl.table>div dt+div.long{flex-basis:100%}dl.table dt{flex:1 0 50%;padding-right:.3em}dl.table dd{flex:1 0 50%}dl.table dd.long{flex:1 0 100%}}.black dl.table>div{border-color:#fff}dl.table .list{margin:.5rem 0}dl.table .list a{display:flex;text-decoration:none}#map .card{width:40vw}@media screen and (min-width: 768px){#map .card{width:20vw}}.card>button{display:block}.card>button .title{padding:0}.presentation .list{padding-right:4px}body.black .presentation.collection .grid{padding-top:1px}.cards.grid{padding:2px}.cards .card,.gallery .card{padding:2px}.list .card+.card{margin-top:2px}.card h1,.card h2,.card h3,.card p{margin:.5rem 0}body{background-color:#000;color:#000;transition:background-color 200ms ease}::selection{background-color:blue}.bar.history{border-bottom:2px solid #000}body.home>.page-wrapper>nav.archive,body.home>.page-wrapper>div{border-left:2px solid #000;border-left-color:#fff}body.home>.page-wrapper .activity{border:none}body.white .bar.archive{border-left:2px solid #fff}.bar.archive,body.home .archive-bar{border-top:2px solid #000;border-color:#fff}.white{background-color:#fff}.light{background-color:#eee}.dark{background-color:#1a1a1a}.black{background-color:#000}.black,.blacks,.dark,.darks{color:#fff}.black .card a,.blacks .card a,.dark .card a,.darks .card a{background-color:#1a1a1a}.black .card a figure,.blacks .card a figure,.dark .card a figure,.darks .card a figure{background-color:#222}.white,.whites,.light,.lights,body.liebling-house,body.liebling-house.black{color:#000}.white .card a,.whites .card a,.light .card a,.lights .card a,body.liebling-house .card a,body.liebling-house.black .card a{background-color:#eee}.white .card a figure,.whites .card a figure,.light .card a figure,.lights .card a figure,body.liebling-house .card a figure,body.liebling-house.black .card a figure{background-color:#ddd}.card>a,.card>a figure,button,.button{transition:background-color 150ms ease}.card>a{user-select:none}.card>a figure{background-color:#222}.card>a:hover,.card.active a{color:#fff !important;background-color:blue !important}.card>a:hover figure,.card.active a figure{background-color:#33f}.card>a:hover img,.card.active a img{mix-blend-mode:screen;filter:contrast(115%)}.card>a:hover .count,.card.active a .count{color:#66f}.card.active>button{color:#fff;background-color:blue}button.blue,.button.blue{color:#fff;background-color:blue}button.blue:hover,.button.blue:hover{background-color:#66f}body.entity.file .panel.presentation{background-color:#1a1a1a}.bar.controls{background-color:blue;color:#fff;z-index:100;display:flex;width:100%;padding:0 .5rem;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;height:unset}.bar.controls .left{flex:1}.bar.controls .right{flex:1;text-align:right}.bar.controls button{display:inline-block;text-transform:uppercase;letter-spacing:.1em}.bar.controls .left span,.bar.controls .right span,.bar.controls span span{display:inline-block;padding:.5rem .5rem}.bar.controls .message{padding:.5rem .5rem}.bar.controls .tooltip{position:absolute;left:0;bottom:1.9rem;padding:.5rem .9rem;background-color:#66f}@media screen and (min-width: 768px){.presentation .section--header{display:none}.presentation .section--content{user-select:none;flex:1;flex-grow:1;flex-shrink:1;flex-basis:1px}.presentation .section--content .presentation-container,.presentation .section--content canvas{display:block;width:100%;height:100%}.presentation.image figure{pointer-events:none;width:100%}.presentation.image figure img{display:inline-block;width:100%;height:auto}.presentation.video,.presentation.audio{min-height:100%}.presentation.video.center,.presentation.audio.center,.presentation.panorama{display:flex;flex-direction:column;overflow:hidden !important;height:100%}.presentation.video.center .section--content,.presentation.audio.center .section--content,.presentation.panorama .section--content{align-items:center;display:flex}.presentation.panel.collection{display:flex;flex-direction:column}.presentation.panel.collection .bar.controls{position:sticky;bottom:-1px;background-color:blue}.presentation.panel.collection .load-more{position:relative;height:16rem}.presentation.image,.presentation.\33 d,.presentation.map,.presentation.liebling-house{overflow:hidden !important;display:flex;flex-direction:column;height:100%}.presentation.image .section--content,.presentation.\33 d .section--content,.presentation.map .section--content,.presentation.liebling-house .section--content{max-height:100%}.presentation.image figure{width:100%;height:100%;display:flex}.presentation.image figure img{width:100%;height:auto;object-fit:contain;object-position:center;max-width:100%;max-height:100%}}#view-liebling-house-controls{position:absolute;bottom:0}@media screen and (max-width: 768px){.presentation.\33 d .section--content,.presentation.map .section--content,.presentation.liebling-house .section--content{height:60vh}}.controls{z-index:500;font-size:.8rem}.presentation .transcript{padding:.5rem;font-size:1.05rem;line-height:1.3}.presentation .transcript div{padding:.5rem}.presentation .transcript h4{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace;margin-top:0}.empty-results{text-align:center;padding:.5rem;font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}.is-loading{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:absolute;top:0;left:0;z-index:5}.is-loading:after{content:"";position:absolute;display:block;height:2rem;width:2rem;top:50%;left:50%;margin-left:-1rem;margin-top:-1rem;border-radius:5rem;z-index:1;background-color:#fff;-webkit-animation:pulsate 1.5s ease infinite both;animation:pulsate 1.5s ease infinite both}.white .is-loading:after{background-color:#000}@keyframes pulsate{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}50%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.5);transform:scale(0.5)}}body.home header#top{min-height:65vh;transition:min-height 1000ms ease;position:relative;display:flex}body.home header#top h1{font-size:6rem;z-index:10;margin:.5rem .5rem;margin-left:.75rem}body.home header#top video{position:absolute;object-fit:cover;object-position:center;outline:none;pointer-events:none;min-width:100%;min-height:100%;z-index:0}body.home header#top.video-end{min-height:100px}body.home header#top.video-end video{display:none}body.home nav.bar.history{display:none}body.home.scrolled header#top{margin-top:-2rem}body.home.scrolled nav.bar.history{display:block}body.home .activity{padding:1px;padding-bottom:0}body.home .activity .card>a>div{padding:0 .5rem}body.home .activity .card h5{margin:.5rem 0}body.home .activity section ul{position:sticky;top:2.3rem}body.home .archive-bar{display:flex;padding:0 .5rem}body.home #archive-preview{padding:.5rem .5rem}body.home #archive-preview section{margin-top:2rem;margin-bottom:2rem}body.home #archive-preview section>h4{padding:0}body.home #archive-preview .cards.grid{padding:0}body.home .archive-search{display:flex;align-items:center;justify-content:center;margin-top:6rem;margin-bottom:9rem}body.home .archive-search h2{padding-left:0}body.home .archive-search form{background-color:#1a1a1a;margin-top:1rem;display:flex}body.home .archive-search form .input{flex:1}body.home .archive-search form input{outline:none}@media(max-width: 38rem){body.home header#top h1{font-size:calc(15vw - 0.6rem)}}body.archive main input{width:100%;outline:none;background-color:#1a1a1a}body.archive main input:focus{background-color:blue}body.archive main input ::selection,body.archive main input::selection,body.archive main inputfocus::selection,body.archive main inputfocus ::selection{background-color:#ccc}body.archive main input::placeholder{color:#000}body.archive main button{width:100%;background-color:#1a1a1a}body.archive main button:hover{background-color:blue}body.archive main form{margin-top:1rem}body.archive main form .input{margin-bottom:2px}body.archive main .filters .card{background-color:#1a1a1a}body.archive main .filters .card figure{display:none}body.archive main .filters .active{background-color:blue}body.item.building header h1,body.file header h1{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}body.file header h1{font-size:1.6rem}.tab.meta i{font-style:inherit;display:inline-block;margin:0 .2em}main>.content{padding:.5rem 1rem}main header .subtitle+div{border-top:1px solid #000}main .tab+.tab{margin-top:1rem}body.multipanel .tab+.tab{border-top:1px solid #000}body.multipanel .tab.info{border-top:none}body.multipanel .tab.info .section--header{display:none}body.multipanel .tab .cards{padding:0}body.multipanel .tab.meta dl.table{font-size:.8rem}body.multipanel .tab.info .section--content,body.multipanel .tab.meta .section--content{font-family:"Favorit Mono",Favorit Mono Std Book,Favorit Mono Book,Favorit Mono,Roboto Mono,monospace}body.multipanel .tab.accordion+.tab.list,body.multipanel .tab.info+.tab.meta{margin-top:0}body.entity.black .subtitle+div{border-color:#fff}body.entity.black .tab .table{border-color:#1a1a1a}body.entity.black .tab+.tab{border-color:#fff}body.about .content,.bar.cda .about .content{padding:1rem}body.about section,.bar.cda .about section{margin-bottom:2rem}body.about .content li,.bar.cda .about .content li{margin:.3em 0}body.about .content li h4,.bar.cda .about .content li h4{margin:0}body.about .supporter-logos figure,.bar.cda .about .supporter-logos figure{margin-bottom:1rem}body.about .supporter-logos img,.bar.cda .about .supporter-logos img{width:auto;height:3.5rem}body.about .footer-nav,.bar.cda .about .footer-nav{font-size:.8rem}body.about .footer-nav li,.bar.cda .about .footer-nav li{display:inline-block}body.about .footer-nav li a,.bar.cda .about .footer-nav li a{margin-right:.5em .5rem}body.about h4,.bar.cda .about h4{margin:.5em 0}.panels.overlap{background-color:#eee}.panels.overlap header h1{hyphens:auto}.panels.overlap main .invitation{border-top:none !important}.panels.overlap main .invitation button,.panels.overlap main .invitation .button{display:block;width:100%}.panels.overlap main .tab.info div:first-child{border-top:none}/*# sourceMappingURL=global.css.map */ diff --git a/assets/css/global.css.map b/assets/css/global.css.map index 0a97e032..8ca076fd 100644 --- a/assets/css/global.css.map +++ b/assets/css/global.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../scss/styles/_0-reset.scss","../scss/styles/_1-typography.scss","../scss/global.scss","../scss/styles/_2-navigation.scss","../scss/styles/2-navigation/_cda.scss","../scss/styles/2-navigation/_history.scss","../scss/styles/2-navigation/_archive.scss","../scss/styles/2-navigation/_pagination.scss","../scss/styles/_3-layout.scss","../scss/styles/4-components/_accordion.scss","../scss/styles/4-components/_cards.scss","../scss/styles/4-components/_gallery.scss","../scss/styles/4-components/_list.scss","../scss/styles/4-components/_table.scss","../scss/styles/_4-components.scss","../scss/styles/_5-theme.scss","../scss/styles/_6-media.scss","../scss/styles/_7-content.scss"],"names":[],"mappings":"CAGA,KACC,sBACA,mBACA,kBAGD,qBAGC,mBAGD,uDAQC,cAID,oEAgBC,SACA,UAID,MACC,WAED,SACC,gBAED,KACC,cAID,6BAIC,cACA,aACA,uBAGD,eAEC,6BAGD,sBAGC,YACA,cAGD,OACC,gBACA,6BACA,qBACA,aACA,gBACA,iBAUD,EACC,cACA,qBAGD,qCACC,eAID,KACC,kCACG,mCACA,kCAKH,oDACC,qBAIF,sCAQC,mBAGD,GACC,YAID,qCAMC,cACA,eACA,YACA,aAGD,SACC,aACA,kBAGD,IACC,eACA,WACA,YACA,qBACA,sBAID,MACC,mBACA,WAID,SACC,wBAID,SACC,cACA,kBACA,eC1KD,KACC,YC6BS,iFD3BV,6BAKC,YCuBM,0FDpBP,wDAIC,YCgBM,0FDdP,eACC,YCaM,0FDZN,kBAQD,KACC,UCIW,KDFZ,GACC,UCIY,ODHZ,eACA,gBAED,cAEC,UCHa,ODIb,gBAED,MAEC,OCiBc,ODff,WAGC,UCfW,KDgBX,gBAED,MAEC,OCOc,ODLf,MAEC,UCvBY,MDwBZ,OCEc,ODDd,gBAGD,SACC,eACA,YACC,iBAED,WACC,OCRa,ODkBd,iBACC,0BACA,sBC5DW,KD8DX,4BACA,6DACA,mCACC,sCACA,MC9DI,KDsEL,sCACC,sBCzES,KDiFZ,EACC,qCACA,gCACA,iCACA,4BACA,aAGD,kCAIC,yBACA,sBACA,qBACA,iBACA,aAGD,UACC,QC/Dc,ODgEd,UC3FW,KD6FV,gBACC,uBAID,gBACC,0BAGF,eACC,eAIF,iBACC,yBACA,iBACA,YC/GM,0FDkHP,IACC,YCnHM,0FDoHN,UClHY,MDmHZ,sBErJD,KACC,iBAGD,mBAEC,aACA,WACA,ODHU,KCIV,gBACA,cAEA,wEACC,YACA,qBACA,oBACA,0FACC,SACA,gBAIF,yBACC,OAED,0BACC,iBAGD,4BACC,qBACA,oBAGD,4BACC,cACA,MD/BS,KCgCT,MACA,iEACC,UAMH,oBAEC,gBACA,WAED,eACC,gBACA,cCrDD,KACC,aFKU,KEHX,cACC,wBACA,gCAIA,eACC,eACA,YACA,MFNS,KEOT,MACA,OACA,aAEA,gBACA,MFTM,KEUN,iBFDM,KEEN,UAEA,4BAEA,aFuBa,eErBb,sBACC,aAIF,oBACC,WACA,eACA,mCACA,gBACA,2BACC,cAED,2BACC,cAIF,iBACC,cACA,sBACA,wBACA,gCACA,kBACA,qBACC,WACA,YACA,oDACC,KF7CI,KEgDN,sBACC,aACA,mBACA,0BACC,YAKF,sBACC,gBACA,2BACC,aAED,2BACC,cAIH,2BACC,aACA,SACA,WACA,kBACA,iBAGA,gCACC,cAIF,iBACC,eACA,MACA,OACA,QACA,SACA,aACA,aACA,gBACA,iBFhFM,KEiFN,WAGA,sBACC,cACA,WACA,YAMH,6BACC,0CAED,qCACC,oBACC,WAED,6BACC,2CASA,yBACC,YAED,2BACC,6BAED,oCACC,wBAOD,oDACC,aFnGM,eEqGP,wDACC,0BCjJH,gBACC,YH8BS,iFG5BT,gBACA,iBHIO,KGHP,SACA,MHWO,KGVP,aACA,iBACA,aAEA,mBACA,gBAEA,mBACC,SACA,YACA,cACA,gBAED,uDAEC,WAED,mBACC,YACA,cACA,gBAEA,aACA,kBAEA,uBACC,aACA,iBAED,8BACC,yBACA,kBACA,qCACE,WACA,kBACD,WACC,MACA,OACA,cACA,WACA,YACA,yEAKF,wBACC,kBACA,mBACA,+BACC,YACA,qBACA,mBAGF,+BACC,gBACA,YChEJ,gBAEC,gBACA,YACA,aACA,iBJYO,KIXP,MJEO,uBICN,4BACA,wBACC,MJaI,KITN,4BACC,UJkBW,MIjBX,mBACA,mCACC,YACA,mBAQD,0BACC,aC7BH,eAEC,iBLsBM,KKrBN,MLcO,KKbP,YL4BM,0FK3BN,YACA,aAEA,kBACC,qBAIA,wBACC,aAIF,uBACC,MLMY,KKJb,0BACC,kBACA,kCACC,kBAED,kCACC,WACA,cACA,iBLrBK,KKsBL,WACA,YACA,kBACA,kBCjCH,UAEC,WACA,eACA,gBAKA,mBACC,sBACA,gBAIA,mDACC,aACA,iBAKH,qCAIE,mBACC,YACA,aAKD,gCACC,OAKF,gBAEC,YACA,iBAEA,8BACC,aAEA,kCACC,YAGD,sCAEC,WACA,gBAEA,YACA,cACA,eAEA,6CAKC,YACA,gBACA,4BAQJ,gBACC,kBAEA,qBACC,6BACA,SACA,UACA,UACA,oBACA,WACA,YAQA,8BACC,UASD,0BACC,eACA,2BACA,WACA,6BACC,SACA,QN5DK,MM6DL,iBNtGG,KMwGJ,kCACC,gBACA,qCACC,kBAGF,qEAEC,cAED,gCACC,UACA,sCACC,UACA,eACA,qDACC,kBAED,sDACC,iBAIH,6FAGC,gBACA,iBNnIG,KMoIH,mJACC,gBACA,qKACC,eN9FG,MMiGL,4JACC,cAGF,qCACC,0BAGF,4BACC,iBNnJI,KMoJJ,gBACA,qBAED,sCACC,aACA,YNhHM,MMkHP,8BACC,UACA,oCACC,UACA,kBAIH,oCACC,WACA,kBACA,YAGA,oCACC,6BACA,sDACC,UACA,4DACC,UAOL,yBACC,iBAKF,qCAGG,8BACC,UAMJ,0BACC,aC9MA,4BACC,eACA,kBAEA,kCACC,WACA,kBACA,yBACA,qBACA,cACA,kBACA,SACA,YACA,wBACA,gCACA,oBAIF,6BACC,gBAGA,uCACC,SACA,0BACA,kCAIH,yCACC,aPvBO,KO6BL,kDACC,SACA,YAID,uDACC,QC3CH,QACC,aAED,4BAEC,QR2CQ,MQzCT,aACC,YRuBK,0FQtBL,URwBW,MQtBX,oBACC,cACA,MROI,KQNJ,iBACA,iBACA,YACA,0BACC,YACA,kBAIF,gCAEC,oBACA,kBACA,SAED,gBACC,aACA,sBACA,OAED,gBACC,WACA,SAOF,wCACC,aACA,eACA,sDACC,WACA,cACA,QAWF,4BACC,sBACA,YAGF,gBACC,sBAED,qBACC,mBAIA,wBACC,eAED,yBACC,WACA,YACA,aACA,gBACA,6BACC,uBACA,iBAGF,yBACC,OACA,yBAED,qBACC,MRvEK,KQ2EN,6BACC,MRxEY,KQiFb,6BACC,aAQA,kCACC,YACA,gBACA,aACA,sCACC,iBACA,uBAKA,4CACC,mBAIH,qCACC,mBACA,uBACA,gBAMF,4BACC,gBACA,gCACC,gBACA,eACA,WACA,YAUA,0GACC,sBACA,sBC9JH,wBACC,iBTaK,QSVP,oBACC,aACA,sBACA,sBACC,OACA,cCPD,mCACC,WAJc,MAMf,6CACC,MAPc,MAQd,OARc,MASd,aACA,gBACA,qDACC,uBACA,iBAGF,6CACC,OACA,mBACA,gBACA,mBCnBD,aACC,WXyCY,eWxCZ,gBACA,yBACC,WXsDgB,KWnDlB,WACC,eAGA,kBACC,aACA,UAGF,WACC,SAED,0DAGC,WXoCiB,KWjCnB,qCAEE,aACC,aACA,eACA,iBACC,aAED,yBACC,gBAGF,YACC,aACA,mBAED,YACC,aACA,iBACC,eAMH,oBACC,aX3CM,KWgDP,eACC,eACA,iBACC,aACA,qBC1DH,WACC,WAED,qCACC,WACC,YAIF,aACC,cACA,oBACC,UAIF,oBACC,kBAIA,0CACC,gBAIF,YACC,YAIA,4BACC,YAID,kBACC,eAKD,mCACC,eChDF,KACC,iBbmBO,KalBP,MbkBO,KajBP,uCAOD,YACC,iBbgBM,KaTP,aACC,cb2BQ,eatBP,gEAEC,YboBM,eanBN,kBbhBK,KakBN,kCACC,YAIH,wBACC,Ybcc,eaXf,oCAEC,WbMQ,eaLR,ab9BO,KakCR,OACC,iBbnCO,KaqCR,OACC,iBbnCO,KaqCR,MACC,iBbnCM,QaqCP,OACC,iBbnCO,KasCR,4BAIC,MbnDO,KaqDN,4DACC,iBbhDI,QaiDJ,wFACC,iBbjDU,KauDd,4EAMC,Mb3DO,Ka6DN,4HACC,iBbpEK,KaqEL,sKACC,iBbrEW,Ka2Ef,sCAIC,uCAED,QACC,iBACA,eACC,iBbjFY,KaoFd,6BAEC,sBACA,iCACA,2CACC,sBAED,qCACC,sBACA,sBAED,2CACC,MbtFY,KayFd,oBACC,Mb3GO,Ka4GP,iBb5FM,KaiGN,yBACC,MblHM,KamHN,iBbnGK,KaoGL,qCACC,iBbpGW,KaqHb,qCACC,iBbjIK,QcbP,cAGC,iBdoBM,KcnBN,MdGO,KcFP,YACA,aACA,WACA,gBACA,YdsBM,0FcrBN,aAEA,oBACC,OAED,qBACC,OACA,iBAED,qBACC,qBACA,yBACA,oBAGD,2EAGC,qBACA,oBAED,uBACC,oBAGD,uBACC,kBACA,OACA,cACA,oBACA,iBdhBY,KcqBd,qCAIE,+BACC,aAGD,gCACC,iBACA,OACA,YACA,cACA,eAEA,+FAEC,cACA,WACA,YAMD,2BACC,oBACA,WAEA,+BACC,qBACA,WACA,YAKH,wCAEC,gBAGD,6EAGC,aACA,sBACA,2BACA,YAEA,mIACC,mBACA,aAIF,+BAEC,aACA,sBAEA,6CACC,gBACA,YACA,iBdtFG,KcwFJ,0CACC,kBACA,aAKF,uFAIC,2BACA,aACA,sBACA,YAEA,+JACC,gBAKD,2BACC,WACA,YACA,aACA,+BACC,WACA,YACA,mBACA,uBACA,eACA,iBASL,8BACC,kBACA,SAGD,qCAMG,yHACC,aAOJ,UACC,YACA,Ud5IY,McgJZ,0BACC,QdlIQ,Mc0IR,kBACA,gBARA,8BACC,QdpIO,McsIR,6BACC,YdxJI,0FcyJJ,aAOH,eACC,kBACA,QdjJS,MckJT,YdnKM,0FcmLP,YACC,WACA,YACA,gCAEA,kBACA,MACA,OACA,UAED,kBACC,WACA,kBACA,cACA,YACA,WACA,QACA,SACA,kBACA,iBACA,mBACA,UACA,iBdjOO,KckOP,kDACA,0CAED,yBACC,iBd7NO,Kc+NR,mBACC,GACC,6BACA,qBAED,IACC,2BACA,mBAED,KACC,6BACA,sBCxPD,qBAOC,gBACA,kCACA,kBACA,aATA,wBACC,eACA,WACA,OfgDW,Ye/CX,mBAMD,2BACC,kBACA,iBACA,uBACA,aACA,oBACA,eACA,gBACA,UAED,+BACC,iBACA,qCACC,aAKH,0BACC,aAIA,8BACC,iBAED,mCACC,cAIF,oBACC,YACA,iBAEC,gCACC,gBAED,6BACC,eAID,+BACC,gBACA,WAKH,uBACC,aACA,gBAGD,2BAUC,QfxBY,YegBZ,mCACC,gBACA,mBACA,sCACC,QfhBgB,EeqBlB,uCACC,UAKF,0BACC,aACA,mBACA,uBACA,gBACA,mBACA,6BACC,eAED,+BACC,iBflFI,QemFJ,gBACA,aACA,sCACC,OAED,qCACC,aAOJ,yBACI,wBACI,+BAUN,wBACC,WACA,aACA,iBf/GI,QegHJ,8BACC,iBfvGG,KeyGJ,wJAIC,sBAED,qCACC,MfvHI,Ke0HN,yBACC,WACA,iBf/HI,QegIJ,+BACC,iBfvHG,Ke0HL,uBACC,gBACA,8BACC,kBAID,iCACC,iBf5IG,Qe6IH,wCACC,aAGF,mCACC,iBfxIG,KeoJN,iDACC,Yf7IK,0FekJL,oBACC,UfhJW,OesJb,YACC,mBACA,qBACA,cAKD,cACC,mBAGA,0BACC,Wf5JW,ee+Jb,eACC,gBAMD,0BACC,WfvKY,eeyKb,0BACC,gBACA,2CACC,aAIF,4BACC,UAGD,mCACC,Uf7LW,MeiMX,wFACC,YfpMI,0FewMN,6EAEC,aAID,gCACC,afvOM,KeyOP,8BACC,afpOK,QesON,4BACC,af7OM,KesPP,6CACC,Qf5Me,Ke8MhB,2CACC,mBAED,mDACC,cACA,yDACC,SAID,2EACC,cfzNc,Ke2Nf,qEACC,WACA,cAGF,mDACC,UflPW,MemPX,yDACC,qBACA,6DACC,afxNkB,We4NrB,iCACC,OfjOa,OesOf,gBACC,iBfxRO,Ke0RN,0BACC,aAID,iCACC,2BACA,iFAEC,cACA,WAID,+CACC","file":"global.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../scss/styles/_0-reset.scss","../scss/styles/_1-typography.scss","../scss/global.scss","../scss/styles/_2-navigation.scss","../scss/styles/2-navigation/_cda.scss","../scss/styles/2-navigation/_history.scss","../scss/styles/2-navigation/_archive.scss","../scss/styles/2-navigation/_pagination.scss","../scss/styles/_3-layout.scss","../scss/styles/4-components/_accordion.scss","../scss/styles/4-components/_cards.scss","../scss/styles/4-components/_gallery.scss","../scss/styles/4-components/_list.scss","../scss/styles/4-components/_table.scss","../scss/styles/_4-components.scss","../scss/styles/_5-theme.scss","../scss/styles/_6-media.scss","../scss/styles/_7-content.scss"],"names":[],"mappings":"CAGA,KACC,sBACA,mBACA,kBAGD,qBAGC,mBAGD,uDAQC,cAID,oEAgBC,SACA,UAID,MACC,WAED,SACC,gBAED,KACC,cAID,6BAIC,cACA,aACA,uBAGD,eAEC,6BAGD,sBAGC,YACA,cAGD,OACC,gBACA,6BACA,qBACA,aACA,gBACA,iBAUD,EACC,cACA,qBAGD,qCACC,eAID,KACC,kCACG,mCACA,kCAKH,oDACC,qBAIF,sCAQC,mBAGD,GACC,YAID,qCAMC,cACA,eACA,YACA,aAGD,SACC,aACA,kBAGD,IACC,eACA,WACA,YACA,qBACA,sBAID,MACC,mBACA,WAID,SACC,wBAID,SACC,cACA,kBACA,eC1KD,KACC,YC6BS,iFD3BV,6BAKC,YCuBM,0FDpBP,wDAIC,YCgBM,0FDdP,eACC,YCaM,0FDZN,kBAQD,KACC,UCIW,KDFZ,GACC,UCIY,ODHZ,eACA,gBAED,cAEC,UCHa,ODIb,gBAED,MAEC,OCiBc,ODff,WAGC,UCfW,KDgBX,gBAED,MAEC,OCOc,ODLf,MAEC,UCvBY,MDwBZ,OCEc,ODDd,gBAGD,SACC,eACA,YACC,iBAED,WACC,OCRa,ODkBd,iBACC,0BACA,sBC5DW,KD8DX,4BACA,6DACA,mCACC,sCACA,MC9DI,KDsEL,sCACC,sBCzES,KDiFZ,EACC,qCACA,gCACA,iCACA,4BACA,aAGD,kCAIC,yBACA,sBACA,qBACA,iBACA,aAGD,UACC,QC/Dc,ODgEd,UC3FW,KD6FV,gBACC,uBAID,gBACC,0BAGF,eACC,eAIF,iBACC,yBACA,iBACA,YC/GM,0FDkHP,IACC,YCnHM,0FDoHN,UClHY,MDmHZ,sBErJD,KACC,iBAGD,mBAEC,aACA,WACA,ODHU,KCIV,gBACA,cAEA,wEACC,YACA,qBACA,oBACA,0FACC,SACA,gBAIF,yBACC,OAED,0BACC,iBAGD,4BACC,qBACA,oBAGD,4BACC,cACA,MD/BS,KCgCT,MACA,iEACC,UAMH,oBAEC,gBACA,WAED,eACC,gBACA,cCrDD,KACC,aFKU,KEHX,cACC,wBACA,gCAIA,eACC,eACA,YACA,MFNS,KEOT,MACA,OACA,aAEA,gBACA,MFTM,KEUN,iBFDM,KEEN,UAEA,4BAEA,aFuBa,eErBb,sBACC,aAIF,oBACC,WACA,eACA,mCACA,gBACA,2BACC,cAED,2BACC,cAIF,iBACC,cACA,sBACA,wBACA,gCACA,kBACA,qBACC,WACA,YACA,oDACC,KF7CI,KEgDN,sBACC,aACA,mBACA,0BACC,YAKF,sBACC,gBACA,2BACC,aAED,2BACC,cAIH,2BACC,aACA,SACA,WACA,kBACA,iBAGA,gCACC,cAIF,iBACC,eACA,MACA,OACA,QACA,SACA,aACA,aACA,gBACA,iBFhFM,KEiFN,WAGA,sBACC,cACA,WACA,YAMH,gBACC,gBAID,6BACC,0CAED,qCACC,oBACC,WAED,6BACC,2CASA,yBACC,YAED,2BACC,6BAED,oCACC,wBAOD,oDACC,aFxGM,eE0GP,wDACC,0BCtJH,gBACC,YH8BS,iFG5BT,gBACA,iBHIO,KGHP,SACA,MHWO,KGVP,aACA,iBACA,aAEA,mBACA,gBAEA,mBACC,SACA,YACA,cACA,gBAED,uDAEC,WAED,mBACC,YACA,cACA,gBAEA,aACA,kBAEA,uBACC,aACA,iBAED,8BACC,yBACA,kBACA,qCACE,WACA,kBACD,WACC,MACA,OACA,cACA,WACA,YACA,yEAKF,wBACC,kBACA,mBACA,+BACC,YACA,qBACA,mBAGF,+BACC,gBACA,YChEJ,gBAEC,gBACA,YACA,aACA,iBJYO,KIXP,MJEO,uBICN,4BACA,wBACC,MJaI,KITN,4BACC,UJkBW,MIjBX,mBACA,mCACC,YACA,mBAQD,0BACC,aC7BH,eAEC,iBLsBM,KKrBN,MLcO,KKbP,YL4BM,0FK3BN,YACA,aAEA,kBACC,qBAIA,wBACC,aAIF,uBACC,MLMY,KKJb,0BACC,kBACA,kCACC,kBAED,kCACC,WACA,cACA,iBLrBK,KKsBL,WACA,YACA,kBACA,kBCjCH,UAEC,WACA,eACA,gBAKA,mBACC,sBACA,gBAIA,mDACC,aACA,iBAKH,qCAIE,mBACC,YACA,aAKD,gCACC,OAKF,gBAEC,YACA,iBAEA,8BACC,aAEA,kCACC,YAGD,sCAEC,WACA,gBAEA,YACA,cACA,eAEA,6CAKC,YACA,gBACA,4BAQJ,gBACC,kBAEA,qBACC,6BACA,SACA,UACA,UACA,oBACA,WACA,YAQA,8BACC,UASD,0BACC,eACA,2BACA,WACA,6BACC,SACA,QN5DK,MM6DL,iBNtGG,KMwGJ,kCACC,gBACA,qCACC,kBAGF,qEAEC,cAED,gCACC,UACA,sCACC,UACA,eACA,qDACC,kBAED,sDACC,iBAIH,6FAGC,gBACA,iBNnIG,KMoIH,mJACC,gBACA,qKACC,eN9FG,MMiGL,4JACC,cAGF,qCACC,0BAGF,4BACC,iBNnJI,KMoJJ,gBACA,qBAED,sCACC,aACA,YNhHM,MMkHP,8BACC,UACA,oCACC,UACA,kBAIH,oCACC,WACA,kBACA,YAGA,oCACC,6BACA,sDACC,UACA,4DACC,UAOL,yBACC,iBAKF,qCAGG,8BACC,UAMJ,0BACC,aC9MA,4BACC,eACA,kBAEA,kCACC,WACA,kBACA,yBACA,qBACA,cACA,kBACA,SACA,YACA,wBACA,gCACA,oBAIF,6BACC,gBAGA,uCACC,SACA,0BACA,kCAIH,yCACC,aPvBO,KO6BL,kDACC,SACA,YAID,uDACC,QC3CH,QACC,aAED,4BAEC,QR2CQ,MQzCT,aACC,YRuBK,0FQtBL,URwBW,MQtBX,oBACC,cACA,MROI,KQNJ,iBACA,iBACA,YACA,0BACC,YACA,kBAIF,gCAEC,oBACA,kBACA,SAED,gBACC,aACA,sBACA,OAED,gBACC,WACA,SAOF,wCACC,aACA,eACA,sDACC,WACA,cACA,QAWF,4BACC,sBACA,YAGF,gBACC,sBAED,qBACC,mBAIA,wBACC,eAED,yBACC,WACA,YACA,aACA,gBACA,6BACC,uBACA,iBAGF,yBACC,OACA,yBAED,qBACC,MRvEK,KQ2EN,6BACC,MRxEY,KQiFb,6BACC,aAQA,kCACC,YACA,gBACA,aACA,sCACC,iBACA,uBAKA,4CACC,mBAIH,qCACC,mBACA,uBACA,gBAMF,4BACC,gBACA,gCACC,gBACA,eACA,WACA,YAUA,0GACC,sBACA,sBC9JH,wBACC,iBTaK,QSVP,oBACC,aACA,sBACA,sBACC,OACA,cCPD,mCACC,WAJc,MAMf,6CACC,MAPc,MAQd,OARc,MASd,aACA,gBACA,qDACC,uBACA,iBAGF,6CACC,OACA,mBACA,gBACA,mBCnBD,aACC,WXyCY,eWxCZ,gBACA,yBACC,WXsDgB,KWnDlB,WACC,eAGA,kBACC,aACA,UAGF,WACC,SAED,0DAGC,WXoCiB,KWjCnB,qCAEE,aACC,aACA,eACA,iBACC,aAED,yBACC,gBAGF,YACC,aACA,mBAED,YACC,aACA,iBACC,eAMH,oBACC,aX3CM,KWgDP,eACC,eACA,iBACC,aACA,qBC1DH,WACC,WAED,qCACC,WACC,YAIF,aACC,cACA,oBACC,UAIF,oBACC,kBAIA,0CACC,gBAIF,YACC,YAIA,4BACC,YAID,kBACC,eAKD,mCACC,eChDF,KACC,iBbmBO,KalBP,MbkBO,KajBP,uCAOD,YACC,iBbgBM,KaTP,aACC,cb2BQ,eatBP,gEAEC,YboBM,eanBN,kBbhBK,KakBN,kCACC,YAIH,wBACC,Ybcc,eaXf,oCAEC,WbMQ,eaLR,ab9BO,KakCR,OACC,iBbnCO,KaqCR,OACC,iBbnCO,KaqCR,MACC,iBbnCM,QaqCP,OACC,iBbnCO,KasCR,4BAIC,MbnDO,KaqDN,4DACC,iBbhDI,QaiDJ,wFACC,iBbjDU,KauDd,4EAMC,Mb3DO,Ka6DN,4HACC,iBbpEK,KaqEL,sKACC,iBbrEW,Ka2Ef,sCAIC,uCAED,QACC,iBACA,eACC,iBbjFY,KaoFd,6BAEC,sBACA,iCACA,2CACC,sBAED,qCACC,sBACA,sBAED,2CACC,MbtFY,KayFd,oBACC,Mb3GO,Ka4GP,iBb5FM,KaiGN,yBACC,MblHM,KamHN,iBbnGK,KaoGL,qCACC,iBbpGW,KaqHb,qCACC,iBbjIK,QcbP,cAGC,iBdoBM,KcnBN,MdGO,KcFP,YACA,aACA,WACA,gBACA,YdsBM,0FcrBN,aAEA,oBACC,OAED,qBACC,OACA,iBAED,qBACC,qBACA,yBACA,oBAGD,2EAGC,qBACA,oBAED,uBACC,oBAGD,uBACC,kBACA,OACA,cACA,oBACA,iBdhBY,KcqBd,qCAIE,+BACC,aAGD,gCACC,iBACA,OACA,YACA,cACA,eAEA,+FAEC,cACA,WACA,YAMD,2BACC,oBACA,WAEA,+BACC,qBACA,WACA,YAKH,wCAEC,gBAGD,6EAGC,aACA,sBACA,2BACA,YAEA,mIACC,mBACA,aAIF,+BAEC,aACA,sBAEA,6CACC,gBACA,YACA,iBdtFG,KcwFJ,0CACC,kBACA,aAKF,uFAIC,2BACA,aACA,sBACA,YAEA,+JACC,gBAKD,2BACC,WACA,YACA,aACA,+BACC,WACA,YACA,mBACA,uBACA,eACA,iBASL,8BACC,kBACA,SAGD,qCAMG,yHACC,aAOJ,UACC,YACA,Ud5IY,McgJZ,0BACC,QdlIQ,Mc0IR,kBACA,gBARA,8BACC,QdpIO,McsIR,6BACC,YdxJI,0FcyJJ,aAOH,eACC,kBACA,QdjJS,MckJT,YdnKM,0FcmLP,YACC,WACA,YACA,gCAEA,kBACA,MACA,OACA,UAED,kBACC,WACA,kBACA,cACA,YACA,WACA,QACA,SACA,kBACA,iBACA,mBACA,UACA,iBdjOO,KckOP,kDACA,0CAED,yBACC,iBd7NO,Kc+NR,mBACC,GACC,6BACA,qBAED,IACC,2BACA,mBAED,KACC,6BACA,sBCxPD,qBAOC,gBACA,kCACA,kBACA,aATA,wBACC,eACA,WACA,OfgDW,Ye/CX,mBAMD,2BACC,kBACA,iBACA,uBACA,aACA,oBACA,eACA,gBACA,UAED,+BACC,iBACA,qCACC,aAKH,0BACC,aAIA,8BACC,iBAED,mCACC,cAIF,oBACC,YACA,iBAEC,gCACC,gBAED,6BACC,eAID,+BACC,gBACA,WAKH,uBACC,aACA,gBAGD,2BAUC,QfxBY,YegBZ,mCACC,gBACA,mBACA,sCACC,QfhBgB,EeqBlB,uCACC,UAKF,0BACC,aACA,mBACA,uBACA,gBACA,mBACA,6BACC,eAED,+BACC,iBflFI,QemFJ,gBACA,aACA,sCACC,OAED,qCACC,aAOJ,yBACI,wBACI,+BAUN,wBACC,WACA,aACA,iBf/GI,QegHJ,8BACC,iBfvGG,KeyGJ,wJAIC,sBAED,qCACC,MfvHI,Ke0HN,yBACC,WACA,iBf/HI,QegIJ,+BACC,iBfvHG,Ke0HL,uBACC,gBACA,8BACC,kBAID,iCACC,iBf5IG,Qe6IH,wCACC,aAGF,mCACC,iBfxIG,KeoJN,iDACC,Yf7IK,0FekJL,oBACC,UfhJW,OesJb,YACC,mBACA,qBACA,cAKD,cACC,mBAGA,0BACC,Wf5JW,ee+Jb,eACC,gBAMD,0BACC,WfvKY,eeyKb,0BACC,gBACA,2CACC,aAIF,4BACC,UAGD,mCACC,Uf7LW,MeiMX,wFACC,YfpMI,0FewMN,6EAEC,aAID,gCACC,afvOM,KeyOP,8BACC,afpOK,QesON,4BACC,af7OM,KesPP,6CACC,Qf5Me,Ke8MhB,2CACC,mBAED,mDACC,cACA,yDACC,SAID,2EACC,cfzNc,Ke2Nf,qEACC,WACA,cAGF,mDACC,UflPW,MemPX,yDACC,qBACA,6DACC,afxNkB,We4NrB,iCACC,OfjOa,OesOf,gBACC,iBfxRO,Ke0RN,0BACC,aAID,iCACC,2BACA,iFAEC,cACA,WAID,+CACC","file":"global.css"} \ No newline at end of file diff --git a/assets/es6/global.js b/assets/es6/global.js index 7c3d1a37..8115cb2e 100755 --- a/assets/es6/global.js +++ b/assets/es6/global.js @@ -48,12 +48,15 @@ window.onscroll = function() { var aboutBar; function toggleAboutBar(){ + document.body.classList.toggle('about-open'); aboutBar.classList.toggle('open'); } function openAboutBar(){ + document.body.classList.add('about-open'); aboutBar.classList.add('open'); } function closeAboutBar( e ){ + document.body.classList.remove('about-open'); aboutBar.classList.remove('open'); e.stopPropagation(); } diff --git a/assets/scss/styles/2-navigation/_cda.scss b/assets/scss/styles/2-navigation/_cda.scss index d0ff0bfb..e6191b5d 100644 --- a/assets/scss/styles/2-navigation/_cda.scss +++ b/assets/scss/styles/2-navigation/_cda.scss @@ -112,6 +112,11 @@ aside#cda { } +body.about-open { + overflow: hidden; +} + + aside#cda.open ~ .page-wrapper { transform: translateX( calc( 85vw - #{$barWidth} ) ); } From 5f530bd5b983d414eb7ee3184990d3f39f62fdf6 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 13:16:40 +0200 Subject: [PATCH 04/35] update kirby --- kirby | 2 +- site/plugins/kirby-builder | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kirby b/kirby index 0330c0ae..dbd7fa7f 160000 --- a/kirby +++ b/kirby @@ -1 +1 @@ -Subproject commit 0330c0ae4214cde349710b099a770fffd0971b4e +Subproject commit dbd7fa7f303e7045626adb72c5f0b29c6ccadb44 diff --git a/site/plugins/kirby-builder b/site/plugins/kirby-builder index 88c6d13b..0705fc86 160000 --- a/site/plugins/kirby-builder +++ b/site/plugins/kirby-builder @@ -1 +1 @@ -Subproject commit 88c6d13ba96cd3a68fb57c6567fb69fb61201560 +Subproject commit 0705fc86c078e2b36f53a8bc8eeb109398c7e570 From 07d2b25715ad69e40b874e5bd1bb1616f56326a6 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 13:42:03 +0200 Subject: [PATCH 05/35] fix page/file hooks --- .../matter-of-data/extensions/hooks.php | 161 +++++++++--------- 1 file changed, 79 insertions(+), 82 deletions(-) diff --git a/site/plugins/matter-of-data/extensions/hooks.php b/site/plugins/matter-of-data/extensions/hooks.php index c1d81744..eed754de 100755 --- a/site/plugins/matter-of-data/extensions/hooks.php +++ b/site/plugins/matter-of-data/extensions/hooks.php @@ -12,6 +12,37 @@ /* * page */ + 'page.changeNum:after' => function ($newPage) { + flushCache( $newPage->id() ); + }, + 'page.changeSlug:after' => function ($newPage, $oldPage) { + flushCache( $newPage->id() ); + require_once __DIR__.'/../functions/syncContexts.php'; + syncContexts( $newPage, $oldPage ); + }, + 'page.changeStatus:after' => function ($newPage) { + flushCache( $newPage->id() ); + }, + 'page.changeTemplate:after' => function ($newPage) { + flushCache( $newPage->id() ); + }, + 'page.changeTitle:after' => function ($newPage) { + + flushCache( $newPage->id() ); + + $currentLang = $newPage->kirby()->languageCode(); + $newTitle = $newPage->content( $currentLang )->title()->value(); + + foreach( $newPage->kirby()->languages()->codes() as $lang ){ + if( $currentLang === $lang ){ + continue; + } + $newPage->update( [ + 'title' => $newTitle + ], $lang ); + } + + }, 'page.create:after' => function ($page) { $update = []; @@ -39,20 +70,36 @@ } $page->changeStatus('unlisted'); }, + 'page.delete:after' => function ($page) { + flushCache( $page->id() ); + }, + 'page.duplicate:after' => function ( $duplicatePage ) { + $update = []; - 'page.update:after' => function ( $page, $oldPage ) { + if( $duplicatePage->date_created()->exists() ){ + $update['date_created'] = date('Y-m-d H:i'); + } + if( $duplicatePage->date_modified()->exists() ){ + $update['date_modified'] = date('Y-m-d H:i'); + } + + if( !empty( $update ) ){ + $duplicatePage->update( $update, 'en'); + } + }, + 'page.update:after' => function ( $newPage, $oldPage ) { $update = []; - if( $page->date_modified()->exists() ){ + if( $newPage->date_modified()->exists() ){ // override date $update['date_modified'] = date('Y-m-d H:i'); } - if( $page->user_modified()->exists() ){ + if( $newPage->user_modified()->exists() ){ // override user $update['user_modified'] = Yaml::encode( $this->user()->email() ); } - if( $page->protocol()->exists() ){ - $protocol = $page->protocol()->yaml(); + if( $newPage->protocol()->exists() ){ + $protocol = $newPage->protocol()->yaml(); /* * I tried to collect all the fields that were actually updated and wanted to list them in the comment, @@ -99,69 +146,32 @@ } if( !empty( $update ) ){ - $page->update( $update, 'en'); + $newPage->update( $update, 'en'); } require_once __DIR__.'/../functions/syncContexts.php'; - syncContexts( $page, $oldPage ); + syncContexts( $newPage, $oldPage ); - flushCache( $page->id() ); - $abstract = $page->dataAbstract(); + flushCache( $newPage->id() ); + $abstract = $newPage->dataAbstract(); }, - 'page.duplicate:after' => function ( $page, $oldPage ) { - $update = []; - if( $page->date_created()->exists() ){ - $update['date_created'] = date('Y-m-d H:i'); - } - if( $page->date_modified()->exists() ){ - $update['date_modified'] = date('Y-m-d H:i'); - } - - flushCache( $page->id() ); - - if( !empty( $update ) ){ - $page->update( $update, 'en'); + /* + * file + */ + 'file.changeName:after' => function ($newFile, $oldFile) { + if( $newFile->template() != 'file_image' ){ + return; } - require_once __DIR__.'/../functions/syncContexts.php'; - syncContexts( $page, $oldPage ); - }, - 'page.changeSlug:after' => function ( $page, $oldPage ) { - flushCache( $page->id() ); - require_once __DIR__.'/../functions/syncContexts.php'; - syncContexts( $page, $oldPage ); - }, - 'page.changeTitle:after' => function ($newPage, $oldPage) { - - flushCache( $page->id() ); + flushCache( $newFile->id() ); - $currentLang = $newPage->kirby()->languageCode(); - $newTitle = $newPage->content( $currentLang )->title()->value(); - - foreach( $newPage->kirby()->languages()->codes() as $lang ){ - if( $currentLang === $lang ){ - continue; - } - $newPage->update( [ - 'title' => $newTitle - ], $lang ); - } + /* + * when filename is changed, all pages, where this image is used as thumbnail, should be updated + */ + searchReplaceFields( $oldFile->id(), $newFile->id(), 'thumbnail' ); }, - 'page.chengeNum:after' => function ($page) { - flushCache( $page->id() ); - }, - 'page.changeStatus:after' => function ($page) { - flushCache( $page->id() ); - }, - 'page.delete:after' => function ($page) { - flushCache( $page->id() ); - }, - - /* - * file - */ 'file.create:after' => function( $file ){ if( $file->template() != 'file_image' ){ return; @@ -215,12 +225,18 @@ $file->changeName( $name )->update( $update, 'en' ); }, - 'file.update:after' => function ( $file, $oldFile ) { - if( $file->template() != 'file_image' ){ + 'file.delete:after' => function ($file) { + flushCache( $file->id() ); + }, + 'file.replace:after' => function ($newFile) { + flushCache( $newFile->id() ); + }, + 'file.update:after' => function ( $newFile, $oldFile ) { + if( $newFile->template() != 'file_image' ){ return; } - flushCache( $file->id() ); + flushCache( $newFile->id() ); $update = [ 'date_modified' => date('Y-m-d H:i'), @@ -228,7 +244,7 @@ ]; - $protocol = $file->protocol()->yaml(); + $protocol = $newFile->protocol()->yaml(); $last = array_pop( $protocol ); $new = [ 'date' => $update['date_modified'], @@ -262,29 +278,10 @@ $protocol[] = $new; $update['protocol'] = Yaml::encode( $protocol ); - $file->update( $update, 'en'); + $newFile->update( $update, 'en'); require_once __DIR__.'/../functions/syncContexts.php'; - syncContexts( $file, $oldFile ); - }, - 'file.changeName:after' => function ($file, $oldFile) { - if( $file->template() != 'file_image' ){ - return; - } - - flushCache( $file->id() ); - - /* - * when filename is changed, all pages, where this image is used as thumbnail, should be updated - */ - searchReplaceFields( $oldFile->id(), $file->id(), 'thumbnail' ); - - }, - 'file.delte:after' => function ($file) { - flushCache( $file->id() ); - }, - 'file.replace:after' => function ($file) { - flushCache( $file->id() ); + syncContexts( $newFile, $oldFile ); }, ]; From 941cdd78870f5c809931c3ccc03031dcc9cba888 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 13:48:26 +0200 Subject: [PATCH 06/35] remove topic field --- site/blueprints/fields/topic.yml | 10 ---------- site/blueprints/tabs/content.yml | 5 ----- 2 files changed, 15 deletions(-) delete mode 100755 site/blueprints/fields/topic.yml diff --git a/site/blueprints/fields/topic.yml b/site/blueprints/fields/topic.yml deleted file mode 100755 index 6e8b2d87..00000000 --- a/site/blueprints/fields/topic.yml +++ /dev/null @@ -1,10 +0,0 @@ -type: tags -# https://getkirby.com/docs/reference/panel/fields/tags - -label: Topic - -max: 1 -translate: false -help: A topic this collection is about -options: query -query: site.index.addFiles.pluck( "tags", ",", true ) diff --git a/site/blueprints/tabs/content.yml b/site/blueprints/tabs/content.yml index 4809d5ff..f15c2390 100755 --- a/site/blueprints/tabs/content.yml +++ b/site/blueprints/tabs/content.yml @@ -20,11 +20,6 @@ columns: - Not connected - This directly represents another entity - topic: - extends: fields/topic - when: - represents_entity_switch: false - represents_entity: extends: fields/pages type: entities From 579465020828b350cdbd4eb3b6d839c54a3eb859 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 16:28:37 +0200 Subject: [PATCH 07/35] remove editing protocol --- site/blueprints/fields/protocol.yml | 35 ------- site/blueprints/tabs/meta.yml | 3 - .../matter-of-data/extensions/hooks.php | 96 ------------------- 3 files changed, 134 deletions(-) delete mode 100755 site/blueprints/fields/protocol.yml diff --git a/site/blueprints/fields/protocol.yml b/site/blueprints/fields/protocol.yml deleted file mode 100755 index c3022bba..00000000 --- a/site/blueprints/fields/protocol.yml +++ /dev/null @@ -1,35 +0,0 @@ -type: structure -# https://getkirby.com/docs/reference/panel/fields/structure - -label: Editing protocol -multiple: true -translate: false -sortable: false -sortBy: date asc - -columns: - date: - date: 1/3 - user: - width: 1/3 - comment: - width: 1/3 - -fields: - - date: - extends: fields/modified - width: 1/2 - disabled: true - - user: - extends: fields/user - width: 1/2 - disabled: true - - comment: - type: textarea - label: Comment - buttons: false - maxlength: 400 - placeholder: Commit this edit diff --git a/site/blueprints/tabs/meta.yml b/site/blueprints/tabs/meta.yml index e04383af..01e930c3 100755 --- a/site/blueprints/tabs/meta.yml +++ b/site/blueprints/tabs/meta.yml @@ -59,6 +59,3 @@ columns: extends: fields/user label: Last modified by width: 1/2 - - protocol: - extends: fields/protocol diff --git a/site/plugins/matter-of-data/extensions/hooks.php b/site/plugins/matter-of-data/extensions/hooks.php index eed754de..d30c1c24 100755 --- a/site/plugins/matter-of-data/extensions/hooks.php +++ b/site/plugins/matter-of-data/extensions/hooks.php @@ -52,14 +52,6 @@ if( $page->user_created()->exists() ){ $update['user_created'] = Yaml::encode( $this->user()->email() ); } - if( $page->protocol()->exists() ){ - // add first entry to protocol - $update['protocol'] = Yaml::encode([[ - 'date' => date('Y-m-d H:i'), - 'user' => $this->user()->email(), - 'comment' => 'Created' - ]]); - } if( $page->properties()->exists() && $page->depth() > 1 && $page->parent()->type_properties()->exists() ){ // copy defaults from parent $update['properties'] = $page->parent()->type_properties(); @@ -98,52 +90,6 @@ // override user $update['user_modified'] = Yaml::encode( $this->user()->email() ); } - if( $newPage->protocol()->exists() ){ - $protocol = $newPage->protocol()->yaml(); - - /* - * I tried to collect all the fields that were actually updated and wanted to list them in the comment, - * but that seems to be really hard. - * for now, it should be enough to only say "Updated", when: - * - the last user is the same as right now - * - the last edit is more than 15 mins ago - */ - - $last = array_pop( $protocol ); - $new = [ - 'date' => date('Y-m-d H:i'), - 'user' => $this->user()->email(), - 'comment' => 'Update' - ]; - - if( $last['user'][0] === $this->user()->email() ){ - /* - * same user as last update - */ - if( time() > ( strtotime( $last['date'] ) + (60*30) )){ - /* - * last update more than 30 mins ago, - * keep the last update and insert a new one - */ - $protocol[] = $last; - } else { - /* - * last update only few mins ago, - * edit the last one - */ - $new['date'] = $last['date']; - $new['comment'] = $last['comment']; - } - } else { - /* - * all new update - */ - $protocol[] = $last; - } - - $protocol[] = $new; - $update['protocol'] = Yaml::encode( $protocol ); - } if( !empty( $update ) ){ $newPage->update( $update, 'en'); @@ -183,13 +129,6 @@ 'user_created' => Yaml::encode( $this->user()->email() ), ]; - // add protocol - $update['protocol'] = Yaml::encode([[ - 'date' => $update['date_created'], - 'user' => $update['user_created'], - 'comment' => 'Uploaded' - ]]); - // reconstruct properties from parent page if( $file->properties()->exists() && $file->parent()->type_properties()->exists() ){ // copy defaults from parent @@ -243,41 +182,6 @@ 'user_modified' => Yaml::encode( $this->user()->email() ), ]; - - $protocol = $newFile->protocol()->yaml(); - $last = array_pop( $protocol ); - $new = [ - 'date' => $update['date_modified'], - 'user' => $update['user_modified'], - 'comment' => 'Update' - ]; - if( $last['user'][0] === $this->user()->email() ){ - /* - * same user as last update - */ - if( time() > ( strtotime( $last['date'] ) + (60*30) )){ - /* - * last update more than 30 mins ago, - * keep the last update and insert a new one - */ - $protocol[] = $last; - } else { - /* - * last update only few mins ago, - * edit the last one - */ - $new['date'] = $last['date']; - $new['comment'] = $last['comment']; - } - } else { - /* - * all new update - */ - $protocol[] = $last; - } - $protocol[] = $new; - $update['protocol'] = Yaml::encode( $protocol ); - $newFile->update( $update, 'en'); require_once __DIR__.'/../functions/syncContexts.php'; From 546fcea3bb78f9f671825653dc4ef7195b8603b1 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 17:23:27 +0200 Subject: [PATCH 08/35] install bettersearch plugin --- .gitmodules | 3 +++ site/plugins/kirby-bettersearch | 1 + 2 files changed, 4 insertions(+) create mode 160000 site/plugins/kirby-bettersearch diff --git a/.gitmodules b/.gitmodules index 1e2ebc2b..700f8aac 100755 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "assets/apps/liebling-house"] path = assets/apps/liebling-house url = https://moritzebeling@bitbucket.org/cdaweimar/liebling-house-world.git +[submodule "site/plugins/kirby-bettersearch"] + path = site/plugins/kirby-bettersearch + url = https://github.com/bvdputte/kirby-bettersearch.git diff --git a/site/plugins/kirby-bettersearch b/site/plugins/kirby-bettersearch new file mode 160000 index 00000000..bb0f508e --- /dev/null +++ b/site/plugins/kirby-bettersearch @@ -0,0 +1 @@ +Subproject commit bb0f508eb3324d2226b7b3deac679d08e41d4471 From 8040a8d4867b01e2f8bc3e54af92db501869f462 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 17:23:45 +0200 Subject: [PATCH 09/35] update archive search to use bettersearch --- site/plugins/matter-of-data/extensions/pageModels/archive.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/plugins/matter-of-data/extensions/pageModels/archive.php b/site/plugins/matter-of-data/extensions/pageModels/archive.php index 587399cb..0ea4c4d9 100755 --- a/site/plugins/matter-of-data/extensions/pageModels/archive.php +++ b/site/plugins/matter-of-data/extensions/pageModels/archive.php @@ -82,7 +82,9 @@ public function results( string $query = '' ){ return $this->recentActivity()->listed(); } - return $this->search( $query, 'title|additional_title|tags|content_text|description|category|transcript|credits|date_start|date_end|location_start|location_end|starring|occupation|sources' )->listed(); + return $this->entities()->listed()->bettersearch( $query, [ + 'fields' => ['title','additional_title','tags','content_text','description','category','transcript','credits','date_start','date_end','location_start','location_end','starring','occupation','sources'] + ]); } public function dataAbstract( string $srcset = 'medium' ) From 834ff0620905a42e38217d5aa820495e1ae2c052 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 17:28:23 +0200 Subject: [PATCH 10/35] update searchReplaceFields --- site/plugins/matter-of-data/functions/searchReplaceFields.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/plugins/matter-of-data/functions/searchReplaceFields.php b/site/plugins/matter-of-data/functions/searchReplaceFields.php index 8a71a10e..d488f4c7 100755 --- a/site/plugins/matter-of-data/functions/searchReplaceFields.php +++ b/site/plugins/matter-of-data/functions/searchReplaceFields.php @@ -7,7 +7,7 @@ function searchReplaceFields( $search, $replace, $fieldname = 'thumbnail' ){ $fieldname = 'thumbnail'; // make index search - $matches = kirby()->site()->search( $search, $fieldname ); + $matches = kirby()->site()->search( $search, ['fields' => [$fieldname]] ); foreach ($matches as $match) { @@ -20,4 +20,4 @@ function searchReplaceFields( $search, $replace, $fieldname = 'thumbnail' ){ } -} \ No newline at end of file +} From 341f89c0596a0d5b3a79039d15b7b7788c460e1a Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 17:44:42 +0200 Subject: [PATCH 11/35] remove old .json api endpoint --- site/plugins/frontend/index-copy.php | 193 -------------------------- site/plugins/frontend/index.php | 199 +-------------------------- 2 files changed, 1 insertion(+), 391 deletions(-) delete mode 100755 site/plugins/frontend/index-copy.php diff --git a/site/plugins/frontend/index-copy.php b/site/plugins/frontend/index-copy.php deleted file mode 100755 index af32e15d..00000000 --- a/site/plugins/frontend/index-copy.php +++ /dev/null @@ -1,193 +0,0 @@ - [ - [ - 'pattern' => [ - 'archive.json', - 'archive/(:any).json' - ], - 'action' => function ( $filter = '' ) { - - // https://getkirby.com/docs/reference/objects/request - $query = get(); - - if( isset( $query['filter'] ) && $filter === '' ){ - $filter = $query['filter']; - } - unset( $query['filter'] ); - - if( !isset( $query['research'] ) ){ - $query['research'] = ''; - } - $research = $query['research']; - - if( isset( $query['page'] ) ){ - $page = $query['page']; - } else { - $page = 1; - } - - $mainArchive = kirby()->site()->archive(); - if( $archiveFiltered = $mainArchive->find( $filter ) ){ - $archive = $archiveFiltered; - } else { - $archive = $mainArchive; - $filter = ''; - } - - // $archive = kirby()->site()->archive()->filter( $filter ); - $results = $archive->results( $research ); - - $count = $results->count(); - $pagination = option('centre-for-documentary-architecture.matter-of-data.pagination'); - $offset = ( $page * $pagination ) - $pagination; - - if( $offset + $pagination > $count ){ - $next = false; - } else { - $nextQuery = $query; - $nextQuery['page'] = $page + 1; - $next = archivePath( $mainArchive->url(), $filter, $nextQuery ); - } - - if( $page == 1 ){ - // new query - - $data = $archive->dataGeneral(); - - $data['url'] = archivePath( $mainArchive->url(), $filter, $query ); - $data['archive'] = [ - 'filters' => $mainArchive->dataFilters(), - 'filter' => $filter, - 'query' => $query['research'] - ]; - $data['results'] = [ - 'type' => 'collection', - 'headline' => 'Results', - 'total' => $count, - 'page' => 1, - 'next' => $next, - 'content' => $results->limit( $pagination )->dataAbstract() - ]; - - } else { - - $data = [ - 'total' => $count, - 'page' => $page, - 'next' => $next, - 'content' => $results->offset( $offset )->limit( $pagination )->dataAbstract() - ]; - - } - - return [ - 'status' => 'ok', - 'query' => $query, - 'data' => $data, - ]; - - } - ], - [ - 'pattern' => '(:all).json', - 'action' => function ( $all ) { - - $kirby = kirby(); - $query = get(); - - $jsonCache = $kirby->cache('json'); - $jsonCacheId = $all; - if( http_build_query($query) != '' ){ - $jsonCacheId .= '-' . http_build_query($query); - } - $jsonCacheData = $jsonCache->get( $jsonCacheId ); - if( isset( $query['flush'] ) ){ - $jsonCacheData = null; - } - $cached = true; - - if ($jsonCacheData === null) { - $cached = false; - - if( !$all ){ - - // requested nothing -> home - $requested = $kirby->site()->homePage(); - - } else if( $r = $kirby->page( $all ) ){ - - // requested page - $requested = $r; - - } else if ( $r = $kirby->file( $all ) ){ - - // requested file - $requested = $r->toImageEntity(); - - } - - if( isset( $query['collection'] ) ){ - - $pagination = option('centre-for-documentary-architecture.matter-of-data.pagination'); - - if( !isset( $query['page'] ) ){ - $page = 1; - } else { - $page = $query['page']; - } - - $collection = $requested->collection(); - $count = $collection->count(); - - $offset = ( $page * $pagination ) - $pagination; - - if( $offset + $pagination < $count ){ - - $next = $requested->url().'?collection&page='. ( $page+1 ); - - } else { - $next = false; - } - - $return = [ - 'page' => $page, - 'total' => $count, - 'next' => $next, - 'content' => $collection->offset( $offset )->limit( $pagination )->dataAbstract() - ]; - - } else { - - $return = $requested->dataSet(); - - } - - $jsonCacheData = $return; - $jsonCache->set($jsonCacheId, $jsonCacheData, option('cache-expires',1440) ); - - } - - return [ - 'status' => 'ok', - 'query' => $query, - 'cache' => $cached, - 'data' => $jsonCacheData - ]; - - } - ], - ], - -]); diff --git a/site/plugins/frontend/index.php b/site/plugins/frontend/index.php index b852c4db..80819cd0 100755 --- a/site/plugins/frontend/index.php +++ b/site/plugins/frontend/index.php @@ -1,200 +1,3 @@ [ - [ - 'pattern' => [ - 'archive.json', - 'archive/(:any).json' - ], - 'action' => function ( $filter = '' ) { - - // https://getkirby.com/docs/reference/objects/request - $query = get(); - - if( $filter !== '' ){ - $query['filter'] = $filter; - } else if ( isset( $query['filter'] ) ){ - $filter = $query['filter']; - } - - if( !isset( $query['research'] ) ){ - $query['research'] = ''; - } - $research = $query['research']; - - if( isset( $query['page'] ) ){ - $page = $query['page']; - } else { - $page = 1; - } - - $mainArchive = kirby()->site()->archive(); - /* - if( $archiveFiltered = $mainArchive->find( $filter ) ){ - $archive = $archiveFiltered; - } else { - $archive = $mainArchive; - $filter = ''; - } - */ - - $archive = kirby()->site()->archive()->filter( $filter ); - $results = $archive->results( $research ); - - $count = $results->count(); - $pagination = option('centre-for-documentary-architecture.matter-of-data.pagination'); - $offset = ( $page * $pagination ) - $pagination; - - if( $offset + $pagination > $count ){ - $next = false; - } else { - $nextQuery = $query; - $nextQuery['page'] = $page + 1; - $next = archivePath( $mainArchive->url(), '', $nextQuery ); - } - - if( $page == 1 ){ - // new query - - $data = $archive->dataGeneral(); - - $data['url'] = archivePath( $mainArchive->url(), $filter, ['research' => $query['research']] ); - $data['archive'] = [ - 'url' => $mainArchive->url(), - 'filter' => $filter, - 'query' => $query['research'], - 'filters' => $mainArchive->dataFilters(), - ]; - $data['results'] = [ - 'type' => 'collection', - 'headline' => 'Results', - 'total' => $count, - 'page' => 1, - 'next' => $next, - 'content' => $results->limit( $pagination )->dataAbstract() - ]; - /* - if( isset($query['research']) && $query['research'] != '' ){ - // $data['title'] .= ': '.$query['research']; - // $data['url'] .= '?'.http_build_query(['research' => $query['research'] ]); - } - */ - - } else { - - $data = [ - 'total' => $count, - 'page' => $page, - 'next' => $next, - 'content' => $results->offset( $offset )->limit( $pagination )->dataAbstract() - ]; - - } - - return [ - 'status' => 'ok', - 'query' => $query, - 'data' => $data, - ]; - - } - ], - [ - 'pattern' => '(:all).json', - 'action' => function ( $all ) { - - $kirby = kirby(); - $query = get(); - - $jsonCache = $kirby->cache('json'); - $jsonCacheId = $all; - if( http_build_query($query) != '' ){ - $jsonCacheId .= '-' . http_build_query($query); - } - $jsonCacheData = $jsonCache->get( $jsonCacheId ); - $cached = true; - - if ($jsonCacheData === null) { - $cached = false; - - if( !$all ){ - - // requested nothing -> home - $requested = $kirby->site()->homePage(); - - } else if( $r = $kirby->page( $all ) ){ - - // requested page - $requested = $r; - - } else if ( $r = $kirby->file( $all ) ){ - - // requested file - $requested = $r->toImageEntity(); - - } - - if( isset( $query['collection'] ) ){ - - $pagination = option('centre-for-documentary-architecture.matter-of-data.pagination'); - - if( !isset( $query['page'] ) ){ - $page = 1; - } else { - $page = $query['page']; - } - - $collection = $requested->collection(); - $count = $collection->count(); - - $offset = ( $page * $pagination ) - $pagination; - - if( $offset + $pagination < $count ){ - - $next = $requested->url().'?collection&page='. ( $page+1 ); - - } else { - $next = false; - } - - $return = [ - 'page' => $page, - 'total' => $count, - 'next' => $next, - 'content' => $collection->offset( $offset )->limit( $pagination )->dataAbstract() - ]; - - } else { - - $return = $requested->dataSet(); - - } - - $jsonCacheData = $return; - $jsonCache->set($jsonCacheId, $jsonCacheData, option('cache-expires',1440) ); - - } - - return [ - 'status' => 'ok', - 'query' => $query, - 'cache' => $cached, - 'data' => $jsonCacheData - ]; - - } - ], - ], - -]); +Kirby::plugin('centre-for-documentary-architecture/frontend'); From f6fe299e071d76ef88faa387909752c700b89b55 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 17:46:05 +0200 Subject: [PATCH 12/35] remove unused snippets --- site/snippets/navigation/_archive.php | 5 ----- 1 file changed, 5 deletions(-) delete mode 100755 site/snippets/navigation/_archive.php diff --git a/site/snippets/navigation/_archive.php b/site/snippets/navigation/_archive.php deleted file mode 100755 index 01d1ba81..00000000 --- a/site/snippets/navigation/_archive.php +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file From 2f82a5dda73d85aca90e1d2c01f4e5c1a7bf29fa Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 17:48:39 +0200 Subject: [PATCH 13/35] remove legacy code from liebling-house plugin --- site/plugins/a_liebling-house/functions.php | 24 --------------------- 1 file changed, 24 deletions(-) diff --git a/site/plugins/a_liebling-house/functions.php b/site/plugins/a_liebling-house/functions.php index 6db45e9a..3679e11d 100755 --- a/site/plugins/a_liebling-house/functions.php +++ b/site/plugins/a_liebling-house/functions.php @@ -65,27 +65,3 @@ function getTourData() { } return $tours; } - -// function extractTourstopContent($stop) { -// $content_collection = $stop->content_collection()->value(); -// $content = []; -// switch ( $content_collection ) { -// case 'pages': -// $content = $stop->content_pages()->yaml(); -// break; - -// case 'entities': -// $content = $stop->content_entities()->yaml(); -// break; - -// case 'contexts': -// case 'contextualized': -// $content = $stop->{$content_collection}()->yaml(); -// break; - -// case 'children'; -// default: -// break; -// } -// return $content; -// } \ No newline at end of file From 7733cdaea5014382c0253dca9ead4f8bc0133fe7 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 17:53:17 +0200 Subject: [PATCH 14/35] clean up file --- site/plugins/matter-of-data/extensions/pageModels/entity.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/plugins/matter-of-data/extensions/pageModels/entity.php b/site/plugins/matter-of-data/extensions/pageModels/entity.php index 5f5322c6..4f0a51e4 100755 --- a/site/plugins/matter-of-data/extensions/pageModels/entity.php +++ b/site/plugins/matter-of-data/extensions/pageModels/entity.php @@ -301,7 +301,7 @@ public function tabMeta(): array } /* - bonus + license ? if( $this->license()->isNotEmpty() ){ $content[] = [ 'key' => 'License', @@ -362,7 +362,6 @@ public function dataProperties(): array ]; foreach( $block->kombi()->toBuilderBlocks() as $field ){ - // dump( $field ); switch ($field->_key()) { case 'text': From 46a2278271c1bcaa17386c1f6055ce72df49c6d9 Mon Sep 17 00:00:00 2001 From: moritzebeling Date: Sun, 19 Jul 2020 17:56:56 +0200 Subject: [PATCH 15/35] remove unused view headlines --- assets/frontend/bundle.css | 2 +- assets/frontend/bundle.css.map | 14 +- assets/frontend/bundle.js | 11648 +++++++++++++++- assets/frontend/bundle.js.map | 2 +- .../frontend/assets/src/views/3d.svelte | 4 - .../frontend/assets/src/views/audio.svelte | 4 - .../assets/src/views/collection.svelte | 6 +- .../frontend/assets/src/views/image.svelte | 4 - .../frontend/assets/src/views/map.svelte | 4 - .../frontend/assets/src/views/panorama.svelte | 4 - .../frontend/assets/src/views/video.svelte | 4 - 11 files changed, 11657 insertions(+), 39 deletions(-) diff --git a/assets/frontend/bundle.css b/assets/frontend/bundle.css index fb01b9b9..34b8ad29 100644 --- a/assets/frontend/bundle.css +++ b/assets/frontend/bundle.css @@ -1,6 +1,6 @@ +.hover.svelte-1kpfqp4{background-color:#66f}.section--content.svelte-1kpfqp4{position:relative}.is-loading.svelte-1kpfqp4{width:100%;height:100%;background-color:#000;position:absolute;top:0;left:0}.is-loading.svelte-1kpfqp4:after{background-color:#fff} .section--content.svelte-1mm2wm5{display:block} .section--content.svelte-lzdsfu{padding:1rem;align-items:flex-end}audio.svelte-lzdsfu{width:100%;outline:none} #map.svelte-1m58pdr{height:100%}#map.svelte-1m58pdr .mapboxgl-popup-content{background-color:transparent;border-radius:0;padding:0}#map.svelte-1m58pdr .mapboxgl-popup > .mapboxgl-popup-tip{display:none} -.hover.svelte-1kpfqp4{background-color:#66f}.section--content.svelte-1kpfqp4{position:relative}.is-loading.svelte-1kpfqp4{width:100%;height:100%;background-color:#000;position:absolute;top:0;left:0}.is-loading.svelte-1kpfqp4:after{background-color:#fff} /*# sourceMappingURL=bundle.css.map */ \ No newline at end of file diff --git a/assets/frontend/bundle.css.map b/assets/frontend/bundle.css.map index 1d488f55..c218dab0 100644 --- a/assets/frontend/bundle.css.map +++ b/assets/frontend/bundle.css.map @@ -2,17 +2,17 @@ "version": 3, "file": "bundle.css", "sources": [ + "../../site/plugins/frontend/assets/src/liebling-house/world.svelte", "../../site/plugins/frontend/assets/src/views/collection.svelte", "../../site/plugins/frontend/assets/src/views/audio.svelte", - "../../site/plugins/frontend/assets/src/views/map.svelte", - "../../site/plugins/frontend/assets/src/liebling-house/world.svelte" + "../../site/plugins/frontend/assets/src/views/map.svelte" ], "sourcesContent": [ - "\n\n\n\n
    \n\n\t\n\n\t
    \n\n\t\t\n\n\t\t{#if view.next || loading === true}\n\t\t\t
    \n\t\t\t\t{#if loading === true}\n\t\t\t\t\t
    \n\t\t\t\t{:else}\n\t\t\t\t\t\n\t\t\t\t{/if}\n\t\t\t
    \n\t\t{/if}\n\n\t
    \n\n\t{#if controls }\n\t\t
    \n\n\t\t\t
    \n\t\t\t\tDisplay as:\n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t{view.total} Results\n\t\t\t
    \n\n\t\t
    \n\t{/if}\n\n
    \n", - "\n\n\n\n
    \n\n\t\n\n\t
    \n\n\t\t\n\n\t
    \n\n\t{#if transcript}\n\t\t\n\t{/if}\n\n
    \n", - "\n\n\n\n\n\n\t\n\n\n
    \n\n\t\n\n\t
    \n\t\t
    \n\t
    \n\n\t
    \n\t\t{#if loaded === false }\n\t\t\tLoading...\n\t\t{:else}\n\t\t\t\n\t\t\t\t{mapPositions.lat}, {mapPositions.lon}, {mapPositions.zoom}\n\t\t\t\n\t\t{/if}\n\t
    \n\n
    \n", - "\n\n\n\n\n\n
    \n\n\t
    \n\t\t
    \n\t\t{#if world.loaded === false }\n\t\t\t
    \n\t\t{/if}\n\t
    \n\n\t
    \n\t\t{#if world.loaded === false }\n\t\t\tLoading {world.progress}% ... Please wait.\n\t\t{:else}\n\n\t\t\t{#if world.tooltips.item !== false}\n\t\t\t\t{world.tooltips.item}\n\t\t\t{:else if world.help !== false }\n\n\t\t\t\t{world.help}\n\n\t\t\t\t\n\t\t\t\t\t{#if world.roaming }\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t{/if}\n\t\t\t\t\t{#if world.dollhouse }\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t{/if}\n\t\t\t\t\n\n\t\t\t{/if}\n\n\t\t{/if}\n\n\t
    \n\n
    \n" + "\n\n\n\n\n\n
    \n\n\t
    \n\t\t
    \n\t\t{#if world.loaded === false }\n\t\t\t
    \n\t\t{/if}\n\t
    \n\n\t
    \n\t\t{#if world.loaded === false }\n\t\t\tLoading {world.progress}% ... Please wait.\n\t\t{:else}\n\n\t\t\t{#if world.tooltips.item !== false}\n\t\t\t\t{world.tooltips.item}\n\t\t\t{:else if world.help !== false }\n\n\t\t\t\t{world.help}\n\n\t\t\t\t\n\t\t\t\t\t{#if world.roaming }\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t{/if}\n\t\t\t\t\t{#if world.dollhouse }\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t{/if}\n\t\t\t\t\n\n\t\t\t{/if}\n\n\t\t{/if}\n\n\t
    \n\n
    \n", + "\n\n\n\n
    \n\n\t
    \n\n\t\t\n\n\t\t{#if view.next || loading === true}\n\t\t\t
    \n\t\t\t\t{#if loading === true}\n\t\t\t\t\t
    \n\t\t\t\t{:else}\n\t\t\t\t\t\n\t\t\t\t{/if}\n\t\t\t
    \n\t\t{/if}\n\n\t
    \n\n\t{#if controls }\n\t\t
    \n\n\t\t\t
    \n\t\t\t\tDisplay as:\n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t{view.total} Results\n\t\t\t
    \n\n\t\t
    \n\t{/if}\n\n
    \n", + "\n\n\n\n
    \n\n\t
    \n\n\t\t\n\n\t
    \n\n\t{#if transcript}\n\t\t\n\t{/if}\n\n
    \n", + "\n\n\n\n\n\n\t\n\n\n
    \n\n\t
    \n\t\t
    \n\t
    \n\n\t
    \n\t\t{#if loaded === false }\n\t\t\tLoading...\n\t\t{:else}\n\t\t\t\n\t\t\t\t{mapPositions.lat}, {mapPositions.lon}, {mapPositions.zoom}\n\t\t\t\n\t\t{/if}\n\t
    \n\n
    \n" ], "names": [], - "mappings": "AA+DC,iBAAiB,eAAC,CAAC,AAClB,OAAO,CAAE,KAAK,AACf,CAAC;AC1CD,iBAAiB,cAAC,CAAC,AAClB,OAAO,CAAE,IAAI,CACb,WAAW,CAAE,QAAQ,AACtB,CAAC,AACD,KAAK,cAAC,CAAC,AACN,KAAK,CAAE,IAAI,CACX,OAAO,CAAE,IAAI,AACd,CAAC;ACoJD,IAAI,eAAC,CAAC,AACL,MAAM,CAAE,IAAI,AACb,CAAC,AAID,mBAAI,CAAC,AAAQ,uBAAuB,AAAE,CAAC,AACtC,gBAAgB,CAAE,WAAW,CAC7B,aAAa,CAAE,CAAC,CAChB,OAAO,CAAE,CAAC,AACX,CAAC,AAED,mBAAI,CAAC,AAAQ,qCAAqC,AAAE,CAAC,AACpD,OAAO,CAAE,IAAI,AACd,CAAC;AC6ED,MAAM,eAAC,CAAC,AAEP,gBAAgB,CAAE,IAAI,AACvB,CAAC,AACD,iBAAiB,eAAC,CAAC,AAClB,QAAQ,CAAE,QAAQ,AACnB,CAAC,AACD,WAAW,eAAC,CAAC,AACZ,KAAK,CAAE,IAAI,CACX,MAAM,CAAE,IAAI,CACZ,gBAAgB,CAAE,IAAI,CAEtB,QAAQ,CAAE,QAAQ,CAClB,GAAG,CAAE,CAAC,CACN,IAAI,CAAE,CAAC,AACR,CAAC,AACD,0BAAW,MAAM,AAAC,CAAC,AAClB,gBAAgB,CAAE,IAAI,AACvB,CAAC" + "mappings": "AA6QC,MAAM,eAAC,CAAC,AAEP,gBAAgB,CAAE,IAAI,AACvB,CAAC,AACD,iBAAiB,eAAC,CAAC,AAClB,QAAQ,CAAE,QAAQ,AACnB,CAAC,AACD,WAAW,eAAC,CAAC,AACZ,KAAK,CAAE,IAAI,CACX,MAAM,CAAE,IAAI,CACZ,gBAAgB,CAAE,IAAI,CAEtB,QAAQ,CAAE,QAAQ,CAClB,GAAG,CAAE,CAAC,CACN,IAAI,CAAE,CAAC,AACR,CAAC,AACD,0BAAW,MAAM,AAAC,CAAC,AAClB,gBAAgB,CAAE,IAAI,AACvB,CAAC;AChOD,iBAAiB,eAAC,CAAC,AAClB,OAAO,CAAE,KAAK,AACf,CAAC;AC1CD,iBAAiB,cAAC,CAAC,AAClB,OAAO,CAAE,IAAI,CACb,WAAW,CAAE,QAAQ,AACtB,CAAC,AACD,KAAK,cAAC,CAAC,AACN,KAAK,CAAE,IAAI,CACX,OAAO,CAAE,IAAI,AACd,CAAC;ACoJD,IAAI,eAAC,CAAC,AACL,MAAM,CAAE,IAAI,AACb,CAAC,AAID,mBAAI,CAAC,AAAQ,uBAAuB,AAAE,CAAC,AACtC,gBAAgB,CAAE,WAAW,CAC7B,aAAa,CAAE,CAAC,CAChB,OAAO,CAAE,CAAC,AACX,CAAC,AAED,mBAAI,CAAC,AAAQ,qCAAqC,AAAE,CAAC,AACpD,OAAO,CAAE,IAAI,AACd,CAAC" } \ No newline at end of file diff --git a/assets/frontend/bundle.js b/assets/frontend/bundle.js index cf33c90e..04db29e0 100644 --- a/assets/frontend/bundle.js +++ b/assets/frontend/bundle.js @@ -1,2 +1,11648 @@ -var app=function(){"use strict";function t(){}const e=t=>t;function n(t,e){for(const n in e)t[n]=e[n];return t}function o(t){return t()}function a(){return Object.create(null)}function i(t){t.forEach(o)}function r(t){return"function"==typeof t}function l(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function c(t,e,n){if(t){const o=s(t,e,n);return t[0](o)}}function s(t,e,o){return t[1]?n({},n(e.$$scope.ctx,t[1](o?o(e):{}))):e.$$scope.ctx}function u(t,e,o,a){return t[1]?n({},n(e.$$scope.changed||{},t[1](a?a(o):{}))):e.$$scope.changed||{}}const d="undefined"!=typeof window;let p=d?()=>window.performance.now():()=>Date.now(),m=d?t=>requestAnimationFrame(t):t;const g=new Set;let f,h=!1;function v(){g.forEach(t=>{t[0](p())||(g.delete(t),t[1]())}),(h=g.size>0)&&m(v)}function $(t,e){t.appendChild(e)}function w(t,e,n){t.insertBefore(e,n||null)}function y(t){t.parentNode.removeChild(t)}function b(t,e){for(let n=0;nt.removeEventListener(e,n,o)}function _(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function L(t,e){e=""+e,t.data!==e&&(t.data=e)}function C(t,e){(null!=e||t.value)&&(t.value=e)}function H(t,e){"static"===getComputedStyle(t).position&&(t.style.position="relative");const n=document.createElement("object");let o;return n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),n.type="text/html",n.tabIndex=-1,n.onload=(()=>{(o=n.contentDocument.defaultView).addEventListener("resize",e)}),/Trident/.test(navigator.userAgent)?(t.appendChild(n),n.data="about:blank"):(n.data="about:blank",t.appendChild(n)),{cancel:()=>{o&&o.removeEventListener&&o.removeEventListener("resize",e),t.removeChild(n)}}}function M(t,e,n){t.classList[n?"add":"remove"](e)}function W(t,e){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!1,!1,e),n}class S{constructor(t,e=null){this.e=x("div"),this.a=e,this.u(t)}m(t,e=null){for(let n=0;n>>0}(u)}_${l}`;if(!I[d]){if(!f){const t=x("style");document.head.appendChild(t),f=t.sheet}I[d]=!0,f.insertRule(`@keyframes ${d} ${u}`,f.cssRules.length)}const p=t.style.animation||"";return t.style.animation=`${p?`${p}, `:""}${d} ${o}ms linear ${a}ms 1 both`,z+=1,d}function F(t,e){t.style.animation=(t.style.animation||"").split(", ").filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")).join(", "),e&&!--z&&m(()=>{if(z)return;let t=f.cssRules.length;for(;t--;)f.deleteRule(t);I={}})}function A(t){j=t}function q(){if(!j)throw new Error("Function called outside component initialization");return j}function B(t){q().$$.before_update.push(t)}function O(t){q().$$.on_destroy.push(t)}function D(){const t=j;return(e,n)=>{const o=t.$$.callbacks[e];if(o){const a=W(e,n);o.slice().forEach(e=>{e.call(t,a)})}}}const N=[],V=[],G=[],U=[],K=Promise.resolve();let J,X=!1;function Z(t){G.push(t)}function Y(){const t=new Set;do{for(;N.length;){const t=N.shift();A(t),Q(t.$$)}for(;V.length;)V.pop()();for(let e=0;e{et.delete(t),o&&(n&&t.d(1),o())}),t.o(e)}}const lt={duration:0};function ct(n,o,a,l){let c=o(n,a),s=l?0:1,u=null,d=null,f=null;function $(){f&&F(n,f)}function w(t,e){const n=t.b-s;return e*=Math.abs(n),{a:s,b:t.b,d:n,duration:e,start:t.start,end:t.start+e,group:t.group}}function y(o){const{delay:a=0,duration:r=300,easing:l=e,tick:y=t,css:b}=c||lt,x={start:p()+a,b:o};o||(x.group=nt,nt.r+=1),u?d=x:(b&&($(),f=P(n,s,o,r,a,l,b)),o&&y(0,1),u=w(x,r),Z(()=>tt(n,o,"start")),function(t){let e;h||(h=!0,m(v)),new Promise(n=>{g.add(e=[t,n])})}(t=>{if(d&&t>d.start&&(u=w(d,r),d=null,tt(n,u.b,"start"),b&&($(),f=P(n,s,u.b,u.duration,0,l,c.css))),u)if(t>=u.end)y(s=u.b,1-s),tt(n,u.b,"end"),d||(u.b?$():--u.group.r||i(u.group.c)),u=null;else if(t>=u.start){const e=t-u.start;s=u.a+u.d*l(e/u.duration),y(s,1-s)}return!(!u&&!d)}))}return{run(t){r(c)?(J||(J=Promise.resolve()).then(()=>{J=null}),J).then(()=>{c=c(),y(t)}):y(t)},end(){$(),u=d=null}}}function st(t,e,n){const{fragment:a,on_mount:l,on_destroy:c,after_update:s}=t.$$;a.m(e,n),Z(()=>{const e=l.map(o).filter(r);c?c.push(...e):i(e),t.$$.on_mount=[]}),s.forEach(Z)}function ut(t,e){t.$$.fragment&&(i(t.$$.on_destroy),t.$$.fragment.d(e),t.$$.on_destroy=t.$$.fragment=null,t.$$.ctx={})}function dt(t,e){t.$$.dirty||(N.push(t),X||(X=!0,K.then(Y)),t.$$.dirty=a()),t.$$.dirty[e]=!0}function pt(e,n,o,r,l,c){const s=j;A(e);const u=n.props||{},d=e.$$={fragment:null,ctx:null,props:c,update:t,not_equal:l,bound:a(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(s?s.$$.context:[]),callbacks:a(),dirty:null};let p=!1;var m;d.ctx=o?o(e,u,(t,n,o=n)=>(d.ctx&&l(d.ctx[t],d.ctx[t]=o)&&(d.bound[t]&&d.bound[t](o),p&&dt(e,t)),n)):u,d.update(),p=!0,i(d.before_update),d.fragment=r(d.ctx),n.target&&(n.hydrate?d.fragment.l((m=n.target,Array.from(m.childNodes))):d.fragment.c(),n.intro&&it(e.$$.fragment),st(e,n.target,n.anchor),Y()),A(s)}class mt{$destroy(){ut(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(){}}function gt(t){const e=t-1;return e*e*e+1}function ft(t,{delay:e=0,duration:n=400,easing:o=gt}){const a=getComputedStyle(t),i=+a.opacity,r=parseFloat(a.height),l=parseFloat(a.paddingTop),c=parseFloat(a.paddingBottom),s=parseFloat(a.marginTop),u=parseFloat(a.marginBottom),d=parseFloat(a.borderTopWidth),p=parseFloat(a.borderBottomWidth);return{delay:e,duration:n,easing:o,css:t=>"overflow: hidden;"+`opacity: ${Math.min(20*t,1)*i};`+`height: ${t*r}px;`+`padding-top: ${t*l}px;`+`padding-bottom: ${t*c}px;`+`margin-top: ${t*s}px;`+`margin-bottom: ${t*u}px;`+`border-top-width: ${t*d}px;`+`border-bottom-width: ${t*p}px;`}}const ht=[];function vt(e,n=t){let o;const a=[];function i(t){if(l(e,t)&&(e=t,o)){const t=!ht.length;for(let t=0;t{const t=a.indexOf(c);-1!==t&&a.splice(t,1),0===a.length&&(o(),o=null)}}}}const $t=vt([]);function wt(t){$t.update(e=>[...e,t])}function yt(t){$t.update(e=>(e[e.length-1]=t,e))}const bt=vt({title:document.title,url:window.location.href});function xt(t){bt.set(t)}function Rt(t){bt.update(e=>{for(var n in t)e[n]=t[n];return e})}function kt(t){return{url:t.url,title:t.title||t.url.split("/").pop(),template:t.template||!1,worlditem:t.worlditem||!1}}function Tt(t){return""!==t&&"/"!==t&&(t.match(/^\/?archive\/.+\/.+/)?"entity":!!t.match(/^\/?archive.*/)&&"archive")}function Et(t){let e=t.search.match(/research=([^&]*)/);if(e)return e[0].replace("research=","");if(t.pathname){return t.pathname.split("/").pop()}return""}async function _t(t){t=t.replace(".json","");const e=new URL(t);t=e.origin+"/get"+e.pathname+e.search,console.log("loadData( "+t+" )");const n=await fetch(t);if(!n.ok)return console.error("HTTP-Error: "+n.status),!1;let o={};return"json"===(n.headers.get("content-type").includes("json")?"json":"html")?o=await n.json():(o.data={},o.data.html=await n.text()),o.data}let Lt=!1;async function Ct(t,e={},n=!1){if(!0===Lt)return console.log("navigateTo() already loading"),!1;if(t===window.location.href)return!1;const o=new URL(t);if(o.host!==window.location.host)return void window.open(o,"_blank");Lt=!0,e.url=t,e.template=e.template||Tt(o.pathname),e.title=e.title||Et(o);let a=kt(e);xt({...e,loading:!0}),!1===n?history.pushState(a,a.title,a.url):history.replaceState(a,a.title,a.url),wt(a);let i=await _t(t),r=["dynamic"];i.html?(i.url=a.url,i.title=a.title,i.template="html",r=[...r,"reqular","black"]):(a=kt(i),r=[...r,i.theme,i.layout,i.template,i.type,i.entity]),xt({...i,loading:!1}),history.replaceState(a,i.title,i.url),yt(a),document.body.className=r.join(" "),Lt=!1}let Ht=!1;async function Mt(t,e={},n=!1){if(!0===Ht)return console.log("replaceContent() already loading"),!1;if(t===window.location.href)return!1;console.log("REPLAAAACE");const o=new URL(t);Ht=!0;let a=history.state;a.url=t,a.title=e.title||Et(o),a.worlditem=e.worlditem||!1,Rt({...e,loading:!0}),!1===n?(wt(a),history.pushState(a,a.title,a.url)):(yt(a),history.replaceState(a,a.title,t));let i=await _t(t);a.title=i.title,a.worlditem=i.worlditem,window.goToItem(i.worlditem),Rt({...a,id:i.id,category:i.category,keywords:i.keywords,description:i.description,content:i.content,pagination:i.pagination||!1,loading:!1}),yt(a),history.replaceState(a,a.title,a.url),Ht=!1}function Wt(t){var e,n,o,a,i,r,l=t.target.title+"";const d=t.$$slots.default,p=c(d,t,null);return{c(){var i;e=x("a"),p||(n=R(l)),p&&p.c(),_(e,"href",o=t.target.url),_(e,"title",a=t.target.title),_(e,"class",t.classList),M(e,"current",t.target.url===window.location.href),r=E(e,"click",(i=t.onClick,function(t){return t.preventDefault(),i.call(this,t)}))},l(t){p&&p.l(a_nodes)},m(t,o){w(t,e,o),p?p.m(e,null):$(e,n),i=!0},p(t,r){p||i&&!t.target||l===(l=r.target.title+"")||L(n,l),p&&p.p&&t.$$scope&&p.p(u(d,r,t,null),s(d,r,null)),i&&!t.target||o===(o=r.target.url)||_(e,"href",o),i&&!t.target||a===(a=r.target.title)||_(e,"title",a),i&&!t.classList||_(e,"class",r.classList),(t.classList||t.target)&&M(e,"current",r.target.url===window.location.href)},i(t){i||(it(p,t),i=!0)},o(t){rt(p,t),i=!1},d(t){t&&y(e),p&&p.d(t),r()}}}function St(t,e,n){const o=D();let{target:a={},url:i=!1,title:r=!1,template:l=!1}=e;n("target",a.url=i||a.url,a),n("target",a.title=r||a.title,a),n("target",a.template=l||a.template,a);let{replace:c=!1,class:s=""}=e;let{$$slots:u={},$$scope:d}=e;return t.$set=(t=>{"target"in t&&n("target",a=t.target),"url"in t&&n("url",i=t.url),"title"in t&&n("title",r=t.title),"template"in t&&n("template",l=t.template),"replace"in t&&n("replace",c=t.replace),"class"in t&&n("classList",s=t.class),"$$scope"in t&&n("$$scope",d=t.$$scope)}),{target:a,url:i,title:r,template:l,replace:c,classList:s,onClick:function(t){a.worlditem&&document.body.classList.contains("liebling-house")?Mt(a.url,a,c):Ct(a.url,a,c),o("click",t)},$$slots:u,$$scope:d}}class jt extends mt{constructor(t){super(),pt(this,t,St,Wt,l,["target","url","title","template","replace","class"])}}function zt(t,e,n){const o=Object.create(t);return o.item=e[n],o}function It(t){var e,n,o,a,i=new jt({props:{target:t.item}});return{c(){e=x("li"),i.$$.fragment.c(),n=k(),_(e,"class",o=t.item.double?"double":"")},m(t,o){w(t,e,o),st(i,e,null),$(e,n),a=!0},p(t,n){var r={};t.list&&(r.target=n.item),i.$set(r),a&&!t.list||o===(o=n.item.double?"double":"")||_(e,"class",o)},i(t){a||(it(i.$$.fragment,t),a=!0)},o(t){rt(i.$$.fragment,t),a=!1},d(t){t&&y(e),ut(i)}}}function Pt(t){var e,n,o,a,i,r,l,c,s;let u=t.list,d=[];for(let e=0;ert(d[t],1,1,()=>{d[t]=null});return{c(){e=x("nav"),(n=x("h3")).innerHTML=`Start`,o=k(),a=x("ol"),i=x("div");for(let t=0;tt.div_resize_handler.call(i)),Z(()=>t.ol_resize_handler.call(a)),_(a,"class",c=t.innerWidth>t.outerWidth?"alignright":""),_(e,"class","bar history horizontal white")},m(c,u){w(c,e,u),$(e,n),$(e,o),$(e,a),$(a,i);for(let t=0;te.outerWidth?"alignright":"")||_(a,"class",c)},i(t){if(!s){for(let t=0;t{t.length>50&&t.splice(1,1);let e=[];for(let n=t.length-1;n>=0;n--)e.includes(t[n].url)?t[n].double=!0:(t[n].double=!1,e.push(t[n].url));n("list",o=t)});let i,r;return O(()=>{a()}),{list:o,outerWidth:i,innerWidth:r,div_resize_handler:function(){r=this.offsetWidth,n("innerWidth",r)},ol_resize_handler:function(){i=this.offsetWidth,n("outerWidth",i)}}}class At extends mt{constructor(t){super(),pt(this,t,Ft,Pt,l,[])}}function qt(t,e,n){const o=Object.create(t);return o.keyword=e[n],o}function Bt(t){var e,n;let o=t.page.keywords,a=[];for(let e=0;ert(a[t],1,1,()=>{a[t]=null});return{c(){e=x("div");for(let t=0;t{r=null}),at())},i(t){a||(it(i.$$.fragment,t),it(r),a=!0)},o(t){rt(i.$$.fragment,t),rt(r),a=!1},d(t){t&&y(e),ut(i),r&&r.d()}}}function Nt(t,e,n){let o=location.origin+"/archive",{page:a}=e;return t.$set=(t=>{"page"in t&&n("page",a=t.page)}),{url:o,page:a}}class Vt extends mt{constructor(t){super(),pt(this,t,Nt,Dt,l,["page"])}}function Gt(t){var e,n=t.item.thumbnail+"";return{c(){e=new S(n,null)},m(t,n){e.m(t,n)},p(t,o){t.item&&n!==(n=o.item.thumbnail+"")&&e.p(n)},d(t){t&&e.d()}}}function Ut(t){var e;return{c(){e=x("h5")},m(n,o){w(n,e,o),e.innerHTML=t.info},p(t,n){t.info&&(e.innerHTML=n.info)},d(t){t&&y(e)}}}function Kt(t){var e,n,o,a,i,r,l,c,s=t.item.count||"",u=t.item.title+"",d=t.item.thumbnail&&Gt(t),p=t.info&&Ut(t);return{c(){e=x("figure"),d&&d.c(),n=k(),o=x("div"),a=x("span"),i=R(s),r=k(),l=x("h4"),c=k(),p&&p.c(),_(a,"class","count"),_(o,"class","title")},m(t,s){w(t,e,s),d&&d.m(e,null),w(t,n,s),w(t,o,s),$(o,a),$(a,i),$(o,r),$(o,l),l.innerHTML=u,$(o,c),p&&p.m(o,null)},p(t,n){n.item.thumbnail?d?d.p(t,n):((d=Gt(n)).c(),d.m(e,null)):d&&(d.d(1),d=null),t.item&&s!==(s=n.item.count||"")&&L(i,s),t.item&&u!==(u=n.item.title+"")&&(l.innerHTML=u),n.info?p?p.p(t,n):((p=Ut(n)).c(),p.m(o,null)):p&&(p.d(1),p=null)},d(t){t&&y(e),d&&d.d(),t&&(y(n),y(o)),p&&p.d()}}}function Jt(t){var e,n,o,a=new jt({props:{target:t.item,$$slots:{default:[Kt]},$$scope:{ctx:t}}});return{c(){e=x("li"),a.$$.fragment.c(),_(e,"class",n="card "+t.classname+" "+t.item.classlist+" "+(t.width?"col-"+t.width:"")+" "+(t.item.thumbnail?"":"no-thumb"))},m(t,n){w(t,e,n),st(a,e,null),o=!0},p(t,i){var r={};t.item&&(r.target=i.item),(t.$$scope||t.info||t.item)&&(r.$$scope={changed:t,ctx:i}),a.$set(r),(!o||t.classname||t.item||t.width)&&n!==(n="card "+i.classname+" "+i.item.classlist+" "+(i.width?"col-"+i.width:"")+" "+(i.item.thumbnail?"":"no-thumb"))&&_(e,"class",n)},i(t){o||(it(a.$$.fragment,t),o=!0)},o(t){rt(a.$$.fragment,t),o=!1},d(t){t&&y(e),ut(a)}}}function Xt(t,e,n){let{item:o,width:a=!1,info:i=!1,classname:r=""}=e;return t.$set=(t=>{"item"in t&&n("item",o=t.item),"width"in t&&n("width",a=t.width),"info"in t&&n("info",i=t.info),"classname"in t&&n("classname",r=t.classname)}),{item:o,width:a,info:i,classname:r}}class Zt extends mt{constructor(t){super(),pt(this,t,Xt,Jt,l,["item","width","info","classname"])}}function Yt(t,e,n){const o=Object.create(t);return o.item=e[n],o}function Qt(t){var e,n=new Zt({props:{item:t.item,width:t.columnWidth}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.list&&(o.item=e.item),t.columnWidth&&(o.width=e.columnWidth),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function te(t){var e,n;let o=t.list,a=[];for(let e=0;ert(a[t],1,1,()=>{a[t]=null});return{c(){e=x("ul");for(let t=0;t{n("columnWidth",i=12/a),o.length<4&&2==a&&n("columnWidth",i=12)}),t.$set=(t=>{"list"in t&&n("list",o=t.list),"columns"in t&&n("columns",a=t.columns)}),{list:o,columns:a,columnWidth:i}}class ne extends mt{constructor(t){super(),pt(this,t,ee,te,l,["list","columns"])}}function oe(t,e,n){const o=Object.create(t);return o.item=e[n],o}function ae(t){var e,n=new Zt({props:{item:t.item}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.list&&(o.item=e.item),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function ie(t){var e,n;let o=t.list,a=[];for(let e=0;ert(a[t],1,1,()=>{a[t]=null});return{c(){e=x("ul");for(let t=0;t{"list"in t&&n("list",o=t.list),"category"in t&&n("category",a=t.category)}),{list:o,category:a}}class le extends mt{constructor(t){super(),pt(this,t,re,ie,l,["list","category"])}}function ce(t){var e,n,o,a,i=t.transcript.en+"";return{c(){e=x("div"),(n=x("h4")).textContent="EN",o=k(),a=new S(i,null),_(e,"class","en col-sm-"+t.columnWidth())},m(t,i){w(t,e,i),$(e,n),$(e,o),a.m(e)},p(t,e){t.transcript&&i!==(i=e.transcript.en+"")&&a.p(i)},d(t){t&&y(e)}}}function se(t){var e,n,o,a,i=t.transcript.de+"";return{c(){e=x("div"),(n=x("h4")).textContent="DE",o=k(),a=new S(i,null),_(e,"class","de col-sm-"+t.columnWidth())},m(t,i){w(t,e,i),$(e,n),$(e,o),a.m(e)},p(t,e){t.transcript&&i!==(i=e.transcript.de+"")&&a.p(i)},d(t){t&&y(e)}}}function ue(e){var n,o,a=e.transcript.en&&ce(e),i=e.transcript.de&&se(e);return{c(){n=x("div"),a&&a.c(),o=k(),i&&i.c(),_(n,"class","transcript grid")},m(t,e){w(t,n,e),a&&a.m(n,null),$(n,o),i&&i.m(n,null)},p(t,e){e.transcript.en?a?a.p(t,e):((a=ce(e)).c(),a.m(n,o)):a&&(a.d(1),a=null),e.transcript.de?i?i.p(t,e):((i=se(e)).c(),i.m(n,null)):i&&(i.d(1),i=null)},i:t,o:t,d(t){t&&y(n),a&&a.d(),i&&i.d()}}}function de(t,e,n){let{transcript:o}=e;return console.log(o),t.$set=(t=>{"transcript"in t&&n("transcript",o=t.transcript)}),{transcript:o,columnWidth:function(){return o.en&&o.de?6:12}}}class pe extends mt{constructor(t){super(),pt(this,t,de,ue,l,["transcript"])}}function me(t,e,n){const o=Object.create(t);return o.source=e[n],o}function ge(t){var e,n,o,a,i,r,l=!0===t.render&&fe(t),c=t.transcript&&$e(t);return{c(){e=x("section"),n=x("div"),l&&l.c(),o=k(),c&&c.c(),_(n,"class","section--content"),Z(()=>t.section_resize_handler.call(e)),_(e,"class",i=t.classname+" "+t.view.type+" "+(t.transcript?"":"center"))},m(i,s){w(i,e,s),$(e,n),l&&l.m(n,null),$(e,o),c&&c.m(e,null),a=H(e,t.section_resize_handler.bind(e)),r=!0},p(t,o){!0===o.render?l?l.p(t,o):((l=fe(o)).c(),l.m(n,null)):l&&(l.d(1),l=null),o.transcript?c?(c.p(t,o),it(c,1)):((c=$e(o)).c(),it(c,1),c.m(e,null)):c&&(ot(),rt(c,1,1,()=>{c=null}),at()),(!r||t.classname||t.view||t.transcript)&&i!==(i=o.classname+" "+o.view.type+" "+(o.transcript?"":"center"))&&_(e,"class",i)},i(t){r||(it(c),r=!0)},o(t){rt(c),r=!1},d(t){t&&y(e),l&&l.d(),c&&c.d(),a.cancel()}}}function fe(t){var e,n,o;let a=t.view.content.srcset,i=[];for(let e=0;e0&&ge(t);return{c(){o&&o.c(),e=T()},m(t,a){o&&o.m(t,a),w(t,e,a),n=!0},p(t,n){n.view.content.srcset.length>0?o?(o.p(t,n),it(o,1)):((o=ge(n)).c(),it(o,1),o.m(e.parentNode,e)):o&&(ot(),rt(o,1,1,()=>{o=null}),at())},i(t){n||(it(o),n=!0)},o(t){rt(o),n=!1},d(t){o&&o.d(t),t&&y(e)}}}function ye(t){return t.preventDefault(),!1}function be(t,e,n){let o,{view:a}=e,{transcript:i=!1,classname:r="preview"}=e,l=0,c=!0;return t.$set=(t=>{"view"in t&&n("view",a=t.view),"transcript"in t&&n("transcript",i=t.transcript),"classname"in t&&n("classname",r=t.classname)}),t.$$.update=((t={view:1})=>{t.view&&(a.content.srcset[0].url,n("render",c=!1),setTimeout(()=>n("render",c=!0),0))}),{view:a,transcript:i,classname:r,mediaElement:o,videoWidth:l,render:c,video_binding:function(t){V[t?"unshift":"push"](()=>{n("mediaElement",o=t)})},section_resize_handler:function(){l=this.offsetWidth,n("videoWidth",l)}}}class xe extends mt{constructor(t){super(),pt(this,t,be,we,l,["view","transcript","classname"])}}function Re(t){var e,n=new pe({props:{transcript:t.transcript}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.transcript&&(o.transcript=e.transcript),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function ke(t){var e,n,o,a,i,r,l,c=t.transcript&&Re(t);return{c(){e=x("section"),n=x("div"),o=x("audio"),i=k(),c&&c.c(),_(o,"width","100%"),_(o,"height","auto"),o.controls=!0,_(o,"preload","meta"),_(o,"src",a=t.view.content.url),_(o,"class","svelte-lzdsfu"),_(n,"class","section--content svelte-lzdsfu"),_(e,"class",r=t.classname+" "+t.view.type+" "+(t.transcript?"":"center")+" svelte-lzdsfu")},m(a,r){w(a,e,r),$(e,n),$(n,o),t.audio_binding(o),$(e,i),c&&c.m(e,null),l=!0},p(t,n){l&&!t.view||a===(a=n.view.content.url)||_(o,"src",a),n.transcript?c?(c.p(t,n),it(c,1)):((c=Re(n)).c(),it(c,1),c.m(e,null)):c&&(ot(),rt(c,1,1,()=>{c=null}),at()),(!l||t.classname||t.view||t.transcript)&&r!==(r=n.classname+" "+n.view.type+" "+(n.transcript?"":"center")+" svelte-lzdsfu")&&_(e,"class",r)},i(t){l||(it(c),l=!0)},o(t){rt(c),l=!1},d(n){n&&y(e),t.audio_binding(null),c&&c.d()}}}function Te(t,e,n){let{view:o}=e,{transcript:a,classname:i="preview"}=e;B(()=>{!1!==r&&r.pause()});let r=!1;return t.$set=(t=>{"view"in t&&n("view",o=t.view),"transcript"in t&&n("transcript",a=t.transcript),"classname"in t&&n("classname",i=t.classname)}),{view:o,transcript:a,classname:i,mediaElement:r,audio_binding:function(t){V[t?"unshift":"push"](()=>{n("mediaElement",r=t)})}}}class Ee extends mt{constructor(t){super(),pt(this,t,Te,ke,l,["view","transcript","classname"])}}function _e(t,e,n){const o=Object.create(t);return o.item=e[n],o}function Le(t){var e,n=new Zt({props:{item:t.item,classname:"card-element",width:t.columnWidth}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.list&&(o.item=e.item),t.columnWidth&&(o.width=e.columnWidth),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function Ce(t){var e,n,o,a,i,r=t.views[t.item.view.type];function l(t){return{props:{view:t.item.view}}}if(r)var c=new r(l(t));var s=new jt({props:{target:t.item,$$slots:{default:[Me]},$$scope:{ctx:t}}});return{c(){e=x("li"),c&&c.$$.fragment.c(),n=k(),s.$$.fragment.c(),o=k(),_(e,"class",a="card preview "+t.item.classlist+" "+(t.columnWidth?"col-"+t.columnWidth:""))},m(t,a){w(t,e,a),c&&st(c,e,null),$(e,n),st(s,e,null),$(e,o),i=!0},p(t,o){var u={};if(t.list&&(u.view=o.item.view),r!==(r=o.views[o.item.view.type])){if(c){ot();const t=c;rt(t.$$.fragment,1,0,()=>{ut(t,1)}),at()}r?((c=new r(l(o))).$$.fragment.c(),it(c.$$.fragment,1),st(c,e,n)):c=null}else r&&c.$set(u);var d={};t.list&&(d.target=o.item),(t.$$scope||t.list)&&(d.$$scope={changed:t,ctx:o}),s.$set(d),i&&!t.list&&!t.columnWidth||a===(a="card preview "+o.item.classlist+" "+(o.columnWidth?"col-"+o.columnWidth:""))||_(e,"class",a)},i(t){i||(c&&it(c.$$.fragment,t),it(s.$$.fragment,t),i=!0)},o(t){c&&rt(c.$$.fragment,t),rt(s.$$.fragment,t),i=!1},d(t){t&&y(e),c&&ut(c),ut(s)}}}function He(t){var e,n=new Zt({props:{item:t.item,classname:"list-element",width:t.columnWidth}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.list&&(o.item=e.item),t.columnWidth&&(o.width=e.columnWidth),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function Me(t){var e,n,o,a,i,r=t.item.count||"",l=t.item.title+"";return{c(){e=x("div"),n=x("span"),o=R(r),a=k(),i=x("h4"),_(n,"class","count"),_(e,"class","title")},m(t,r){w(t,e,r),$(e,n),$(n,o),$(e,a),$(e,i),i.innerHTML=l},p(t,e){t.list&&r!==(r=e.item.count||"")&&L(o,r),t.list&&l!==(l=e.item.title+"")&&(i.innerHTML=l)},d(t){t&&y(e)}}}function We(t){var e,n,o,a,i=[He,Ce,Le],r=[];function l(t,e){return"tourstop"==e.category&&null!==e.item.worlditem?0:!e.item.view||"audio"!=e.item.view.type&&"video"!=e.item.view.type?2:1}return e=l(0,t),n=r[e]=i[e](t),{c(){n.c(),o=T()},m(t,n){r[e].m(t,n),w(t,o,n),a=!0},p(t,a){var c=e;(e=l(0,a))===c?r[e].p(t,a):(ot(),rt(r[c],1,1,()=>{r[c]=null}),at(),(n=r[e])||(n=r[e]=i[e](a)).c(),it(n,1),n.m(o.parentNode,o))},i(t){a||(it(n),a=!0)},o(t){rt(n),a=!1},d(t){r[e].d(t),t&&y(o)}}}function Se(t){var e,n,o;let a=t.list,i=[];for(let e=0;ert(i[t],1,1,()=>{i[t]=null});return{c(){e=x("ul");for(let t=0;t{n("columnWidth",l=12/r),o.length<4&&2==r&&n("columnWidth",l=12)}),t.$set=(t=>{"list"in t&&n("list",o=t.list),"category"in t&&n("category",a=t.category),"columns"in t&&n("columns",r=t.columns)}),{list:o,category:a,views:i,columns:r,columnWidth:l}}class ze extends mt{constructor(t){super(),pt(this,t,je,Se,l,["list","category","columns"])}}function Ie(t){var e;function n(t,e){return!0===e.loading?Fe:Pe}var o=n(0,t),a=o(t);return{c(){e=x("div"),a.c(),_(e,"class","load-more")},m(t,n){w(t,e,n),a.m(e,null)},p(t,i){o!==(o=n(0,i))&&(a.d(1),(a=o(i))&&(a.c(),a.m(e,null)))},d(t){t&&y(e),a.d()}}}function Pe(t){var e,n;return{c(){(e=x("button")).textContent="Load more",_(e,"class","card"),n=E(e,"click",t.loadNext)},m(t,n){w(t,e,n)},d(t){t&&y(e),n()}}}function Fe(t){var e;return{c(){_(e=x("div"),"class","is-loading")},m(t,n){w(t,e,n)},d(t){t&&y(e)}}}function Ae(t){var e,n,o,a,r,l,c,s,u,d,p,m,g,f=t.view.total+"";return{c(){e=x("div"),n=x("div"),(o=x("span")).textContent="Display as:",a=k(),(r=x("button")).textContent="Cards",l=k(),(c=x("button")).textContent="List",s=k(),u=x("div"),d=x("span"),p=R(f),m=R(" Results"),_(n,"class","left display"),_(u,"class","right info"),_(e,"class","bar controls"),g=[E(r,"click",t.click_handler),E(c,"click",t.click_handler_1)]},m(t,i){w(t,e,i),$(e,n),$(n,o),$(n,a),$(n,r),$(n,l),$(n,c),$(e,s),$(e,u),$(u,d),$(d,p),$(d,m)},p(t,e){t.view&&f!==(f=e.view.total+"")&&L(p,f)},d(t){t&&y(e),i(g)}}}function qe(t){var e,n,o,a,i,r,l,c,s=t.layouts[t.layout];function u(t){return{props:{list:t.view.content,columns:t.columns}}}if(s)var d=new s(u(t));var p=(t.view.next||!0===t.loading)&&Ie(t),m=t.controls&&Ae(t);return{c(){e=x("section"),n=x("div"),d&&d.$$.fragment.c(),o=k(),p&&p.c(),i=k(),m&&m.c(),Z(()=>t.div_resize_handler.call(n)),_(n,"class","section--content svelte-1mm2wm5"),_(e,"class",r=t.classname+" "+t.view.type+" svelte-1mm2wm5"),c=E(e,"scroll",t.scrollTrigger,{passive:!0})},m(r,c){w(r,e,c),$(e,n),d&&st(d,n,null),$(n,o),p&&p.m(n,null),a=H(n,t.div_resize_handler.bind(n)),$(e,i),m&&m.m(e,null),t.section_binding(e),l=!0},p(t,a){var i={};if(t.view&&(i.list=a.view.content),t.columns&&(i.columns=a.columns),s!==(s=a.layouts[a.layout])){if(d){ot();const t=d;rt(t.$$.fragment,1,0,()=>{ut(t,1)}),at()}s?((d=new s(u(a))).$$.fragment.c(),it(d.$$.fragment,1),st(d,n,o)):d=null}else s&&d.$set(i);a.view.next||!0===a.loading?p?p.p(t,a):((p=Ie(a)).c(),p.m(n,null)):p&&(p.d(1),p=null),a.controls?m?m.p(t,a):((m=Ae(a)).c(),m.m(e,null)):m&&(m.d(1),m=null),l&&!t.classname&&!t.view||r===(r=a.classname+" "+a.view.type+" svelte-1mm2wm5")||_(e,"class",r)},i(t){l||(d&&it(d.$$.fragment,t),l=!0)},o(t){d&&rt(d.$$.fragment,t),l=!1},d(n){n&&y(e),d&&ut(d),p&&p.d(),a.cancel(),m&&m.d(),t.section_binding(null),c()}}}let Be=4e3;function Oe(t,e,n){let{transcript:o=!1,view:a,classname:i,controls:r=!1,columns:l=a.columns||2}=e,c={cards:ne,list:le,gallery:ze},{layout:s="cards"}=e;var u;u=(()=>{"layout"in a&&n("layout",s=a.layout)}),q().$$.after_update.push(u);let d=!1;async function p(){n("loading",d=!0);let t=await _t(a.next);t&&(n("loading",d=!1),n("view",a.next=t.next,a),n("view",a.content=a.content.concat(t.content),a))}let m=100,g=0,f=0;return t.$set=(t=>{"transcript"in t&&n("transcript",o=t.transcript),"view"in t&&n("view",a=t.view),"classname"in t&&n("classname",i=t.classname),"controls"in t&&n("controls",r=t.controls),"columns"in t&&n("columns",l=t.columns),"layout"in t&&n("layout",s=t.layout)}),{transcript:o,view:a,classname:i,controls:r,columns:l,layouts:c,layout:s,loading:d,loadNext:p,pageHeight:m,container:g,scrollTrigger:function(){!1!==a.next&&!0!==d&&(f=g.scrollTop)>m-Be&&p()},div_resize_handler:function(){m=this.clientHeight,n("pageHeight",m)},click_handler:()=>n("layout",s="cards"),click_handler_1:()=>n("layout",s="list"),section_binding:function(t){V[t?"unshift":"push"](()=>{n("container",g=t)})}}}class De extends mt{constructor(t){super(),pt(this,t,Oe,qe,l,["transcript","view","classname","controls","columns","layout"])}}function Ne(t,e,n){const o=Object.create(t);return o.item=e[n],o}function Ve(t){var e,n,o,a;let i=t.page.archive.filters.content,r=[];for(let e=0;e{r[c]=null}),at(),(n=r[e])||(n=r[e]=i[e](a)).c(),it(n,1),n.m(o.parentNode,o))},i(t){a||(it(n),a=!0)},o(t){rt(n),a=!1},d(t){r[e].d(t),t&&y(o)}}}function Je(t){var e,n=new De({props:{view:t.page.results,classname:"presentation panel col-sm-9",controls:!0,columns:"3"}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.page&&(o.view=e.page.results),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function Xe(e){var n,o,a,i,r=e.archive.query+"",l=e.archive.filter&&Ze(e);return{c(){n=x("div"),o=R("No results for »"),a=R(r),i=R("«\n\t\t\t\t"),l&&l.c(),_(n,"class","panel col-sm-9 empty-results")},m(t,e){w(t,n,e),$(n,o),$(n,a),$(n,i),l&&l.m(n,null)},p(t,e){t.archive&&r!==(r=e.archive.query+"")&&L(a,r),e.archive.filter?l?l.p(t,e):((l=Ze(e)).c(),l.m(n,null)):l&&(l.d(1),l=null)},i:t,o:t,d(t){t&&y(n),l&&l.d()}}}function Ze(t){var e,n,o=t.archive.filter+"";return{c(){e=R("in "),n=R(o)},m(t,o){w(t,e,o),w(t,n,o)},p(t,e){t.archive&&o!==(o=e.archive.filter+"")&&L(n,o)},d(t){t&&(y(e),y(n))}}}function Ye(t){var e,n,o,a,r,l,c,s,u,d,p,m,g,f=t.page.archive&&t.page.archive.filters&&Ve(t),h=(!0===t.loading||t.page.loading)&&Ue(),v=t.page.results&&Ke(t);return{c(){e=x("div"),n=x("main"),o=x("div"),a=x("header"),(r=x("h1")).textContent="Archive",l=k(),c=x("form"),s=x("input"),u=k(),f&&f.c(),d=k(),h&&h.c(),p=k(),v&&v.c(),_(s,"class","input"),_(s,"type","search"),_(s,"name","research"),_(s,"autocomplete","off"),_(s,"spellcheck","false"),_(s,"autocorrect","off"),_(s,"aria-label","Search the archive ..."),_(s,"placeholder","Search the archive ..."),_(c,"id","search"),_(c,"autocomplete","off"),_(a,"id","top"),_(a,"class","tab"),_(o,"class","content"),_(n,"class","panel col-sm-3"),_(e,"class","grid panels"),g=[E(s,"input",t.input_input_handler),E(s,"input",t.input_handler),E(c,"click",t.click_handler)]},m(i,g){w(i,e,g),$(e,n),$(n,o),$(o,a),$(a,r),$(a,l),$(a,c),$(c,s),C(s,t.archive.query),t.input_binding(s),$(o,u),f&&f.m(o,null),$(e,d),h&&h.m(e,null),$(e,p),v&&v.m(e,null),m=!0},p(t,n){t.archive&&C(s,n.archive.query),n.page.archive&&n.page.archive.filters?f?f.p(t,n):((f=Ve(n)).c(),f.m(o,null)):f&&(f.d(1),f=null),!0===n.loading||n.page.loading?h||((h=Ue()).c(),h.m(e,p)):h&&(h.d(1),h=null),n.page.results?v?(v.p(t,n),it(v,1)):((v=Ke(n)).c(),it(v,1),v.m(e,null)):v&&(ot(),rt(v,1,1,()=>{v=null}),at())},i(t){m||(it(v),m=!0)},o(t){rt(v),m=!1},d(n){n&&y(e),t.input_binding(null),f&&f.d(),h&&h.d(),v&&v.d(),i(g)}}}function Qe(t,e,n){let o,{page:a}=e,i=!1,r={filter:!1,query:"",previous:{url:!1},url:window.location.origin+"/archive",wait:!1,input:function(){clearTimeout(this.wait),this.wait=setTimeout(()=>{this.search()},250)},search:async function(){n("loading",i=!0);let t=this.url;if(this.filter&&(t+="/"+encodeURIComponent(this.filter)),this.query&&(t+="?research="+encodeURIComponent(this.query)),t===this.previous.url)return!1;this.previous.url=t,console.log("search "+t);let e=history.state;e.url=t,history.replaceState(e,e.title,e.url),Rt({results:(await _t(t)).results}),n("loading",i=!1)}};const l=bt.subscribe(t=>{t.archive&&(t.archive.filter&&n("archive",r.filter=t.archive.filter,r),t.archive.query&&n("archive",r.query=t.archive.query,r)),!1===t.loading&&setTimeout(()=>{l()},5)});return t.$set=(t=>{"page"in t&&n("page",a=t.page)}),{page:a,field:o,loading:i,archive:r,input_input_handler:function(){r.query=this.value,n("archive",r)},input_binding:function(t){V[t?"unshift":"push"](()=>{n("field",o=t)})},input_handler:()=>r.input(),click_handler:()=>o.focus(),click_handler_1:({item:t})=>{n("archive",r.filter=t.filter,r),r.search()}}}class tn extends mt{constructor(t){super(),pt(this,t,Qe,Ye,l,["page"])}}function en(t){var e,n=t.tab.content.h2+"";return{c(){_(e=x("h2"),"class","subtitle")},m(t,o){w(t,e,o),e.innerHTML=n},p(t,o){t.tab&&n!==(n=o.tab.content.h2+"")&&(e.innerHTML=n)},d(t){t&&y(e)}}}function nn(t){var e,n=t.tab.content.p+"";return{c(){_(e=x("div"),"class","highlight")},m(t,o){w(t,e,o),e.innerHTML=n},p(t,o){t.tab&&n!==(n=o.tab.content.p+"")&&(e.innerHTML=n)},d(t){t&&y(e)}}}function on(e){var n,o,a,i,r=e.tab.content.h1+"",l=e.tab.content.h2&&en(e),c=e.tab.content.p&&nn(e);return{c(){n=x("header"),o=x("h1"),a=k(),l&&l.c(),i=k(),c&&c.c(),_(o,"class","title"),_(n,"id","top"),_(n,"class","tab")},m(t,e){w(t,n,e),$(n,o),o.innerHTML=r,$(n,a),l&&l.m(n,null),$(n,i),c&&c.m(n,null)},p(t,e){t.tab&&r!==(r=e.tab.content.h1+"")&&(o.innerHTML=r),e.tab.content.h2?l?l.p(t,e):((l=en(e)).c(),l.m(n,i)):l&&(l.d(1),l=null),e.tab.content.p?c?c.p(t,e):((c=nn(e)).c(),c.m(n,null)):c&&(c.d(1),c=null)},i:t,o:t,d(t){t&&y(n),l&&l.d(),c&&c.d()}}}function an(t,e,n){let{entity:o,tab:a,category:i}=e;return t.$set=(t=>{"entity"in t&&n("entity",o=t.entity),"tab"in t&&n("tab",a=t.tab),"category"in t&&n("category",i=t.category)}),{entity:o,tab:a,category:i}}class rn extends mt{constructor(t){super(),pt(this,t,an,on,l,["entity","tab","category"])}}function ln(t,e,n){const o=Object.create(t);return o.item=e[n],o}function cn(t){var e,n=new Zt({props:{item:t.item,info:t.item.info}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.list&&(o.item=e.item),t.list&&(o.info=e.item.info),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function sn(t){var e,n;let o=t.list,a=[];for(let e=0;ert(a[t],1,1,()=>{a[t]=null});return{c(){e=x("ul");for(let t=0;t{"list"in t&&n("list",o=t.list)}),{list:o}}class dn extends mt{constructor(t){super(),pt(this,t,un,sn,l,["list"])}}function pn(t){var e,n,o=t.tab.headline+"";return{c(){e=x("h3"),n=R(o),_(e,"class","section--header")},m(t,o){w(t,e,o),$(e,n)},p(t,e){t.tab&&o!==(o=e.tab.headline+"")&&L(n,o)},d(t){t&&y(e)}}}function mn(t){var e,n,o,a,i,r=t.tab.headline&&pn(t),l=t.layout[t.tab.layout];function c(t){return{props:{list:t.tab.content,category:t.category}}}if(l)var s=new l(c(t));return{c(){e=x("section"),r&&r.c(),n=k(),o=x("div"),s&&s.$$.fragment.c(),_(o,"class","section--content"),_(e,"class",a="tab collection "+t.tab.layout)},m(t,a){w(t,e,a),r&&r.m(e,null),$(e,n),$(e,o),s&&st(s,o,null),i=!0},p(t,u){u.tab.headline?r?r.p(t,u):((r=pn(u)).c(),r.m(e,n)):r&&(r.d(1),r=null);var d={};if(t.tab&&(d.list=u.tab.content),t.category&&(d.category=u.category),l!==(l=u.layout[u.tab.layout])){if(s){ot();const t=s;rt(t.$$.fragment,1,0,()=>{ut(t,1)}),at()}l?((s=new l(c(u))).$$.fragment.c(),it(s.$$.fragment,1),st(s,o,null)):s=null}else l&&s.$set(d);i&&!t.tab||a===(a="tab collection "+u.tab.layout)||_(e,"class",a)},i(t){i||(s&&it(s.$$.fragment,t),i=!0)},o(t){s&&rt(s.$$.fragment,t),i=!1},d(t){t&&y(e),r&&r.d(),s&&ut(s)}}}function gn(t,e,n){let{entity:o,tab:a,category:i}=e,r={cards:ne,list:le,entityinfo:dn,gallery:ze};return t.$set=(t=>{"entity"in t&&n("entity",o=t.entity),"tab"in t&&n("tab",a=t.tab),"category"in t&&n("category",i=t.category)}),{entity:o,tab:a,category:i,layout:r}}class fn extends mt{constructor(t){super(),pt(this,t,gn,mn,l,["entity","tab","category"])}}function hn(t,e,n){const o=Object.create(t);return o.bit=e[n],o}function vn(t,e,n){const o=Object.create(t);return o.line=e[n],o}function $n(t){var e,n,o;let a=t.tab.content,i=[];for(let e=0;ert(i[t],1,1,()=>{i[t]=null});return{c(){e=x("dl");for(let t=0;t{n||(n=ct(e,ft,{duration:200},!0)),n.run(1)}),o=!0}},o(t){i=i.filter(Boolean);for(let t=0;t{p[l]=null}),at(),(i=p[a])||(i=p[a]=d[a](o)).c(),it(i,1),i.m(e,r))},i(t){l||(it(i),l=!0)},o(t){rt(i),l=!1},d(t){t&&y(e),u.d(),p[a].d()}}}function En(t){var e,n,o,a,i,r,l,c=t.tab.headline||"Info",s=t.open&&$n(t);return{c(){e=x("section"),n=x("h3"),o=R(c),a=k(),s&&s.c(),_(n,"class","section--header"),_(e,"class",i="tab accordion "+t.tabClass(t.tab.headline)),M(e,"open",t.open),l=E(n,"click",t.click_handler)},m(t,i){w(t,e,i),$(e,n),$(n,o),$(e,a),s&&s.m(e,null),r=!0},p(t,n){r&&!t.tab||c===(c=n.tab.headline||"Info")||L(o,c),n.open?s?(s.p(t,n),it(s,1)):((s=$n(n)).c(),it(s,1),s.m(e,null)):s&&(ot(),rt(s,1,1,()=>{s=null}),at()),r&&!t.tab||i===(i="tab accordion "+n.tabClass(n.tab.headline))||_(e,"class",i),(t.tab||t.open)&&M(e,"open",n.open)},i(t){r||(it(s),r=!0)},o(t){rt(s),r=!1},d(t){t&&y(e),s&&s.d(),l()}}}function _n(t){return(t=t.replace(/<[^>]+>/g,"")).length>160?"long":""}function Ln(t,e,n){let{tab:o,category:a,entity:i}=e,r=!1;return t.$set=(t=>{"tab"in t&&n("tab",o=t.tab),"category"in t&&n("category",a=t.category),"entity"in t&&n("entity",i=t.entity)}),{tab:o,category:a,entity:i,open:r,tabClass:function(t=""){return"meta"==(t=t.toLowerCase())&&"file"!=i||n("open",r=!0),t},click_handler:()=>n("open",r=!r)}}class Cn extends mt{constructor(t){super(),pt(this,t,Ln,En,l,["tab","category","entity"])}}function Hn(e){var n,o,a,i,r,l=e.tab.headline+"",c=e.tab.content.html||"";return{c(){n=x("section"),o=x("h3"),a=R(l),i=k(),r=x("div"),_(o,"class","section--header"),_(r,"class","bodytext"),_(n,"class","tab text")},m(t,e){w(t,n,e),$(n,o),$(o,a),$(n,i),$(n,r),r.innerHTML=c},p(t,e){t.tab&&l!==(l=e.tab.headline+"")&&L(a,l),t.tab&&c!==(c=e.tab.content.html||"")&&(r.innerHTML=c)},i:t,o:t,d(t){t&&y(n)}}}function Mn(t,e,n){let{tab:o,category:a}=e;return t.$set=(t=>{"tab"in t&&n("tab",o=t.tab),"category"in t&&n("category",a=t.category)}),{tab:o,category:a}}class Wn extends mt{constructor(t){super(),pt(this,t,Mn,Hn,l,["tab","category"])}}function Sn(e){var n,o,a,i,r=e.view.content.html+"";return{c(){n=x("section"),o=x("div"),a=x("figure"),_(o,"class","section--content"),_(n,"class",i=e.classname+" "+e.view.type)},m(t,e){w(t,n,e),$(n,o),$(o,a),a.innerHTML=r},p(t,e){t.view&&r!==(r=e.view.content.html+"")&&(a.innerHTML=r),(t.classname||t.view)&&i!==(i=e.classname+" "+e.view.type)&&_(n,"class",i)},i:t,o:t,d(t){t&&y(n)}}}function jn(t,e,n){let{view:o,classname:a,transcript:i}=e;return t.$set=(t=>{"view"in t&&n("view",o=t.view),"classname"in t&&n("classname",a=t.classname),"transcript"in t&&n("transcript",i=t.transcript)}),{view:o,classname:a,transcript:i}}class zn extends mt{constructor(t){super(),pt(this,t,jn,Sn,l,["view","classname","transcript"])}}function In(e){return{c:t,m:t,p:t,i:t,o:t,d:t}}function Pn(t,e,n){const o=D();let{dependencies:a}=e,i=0,r=[];for(const t of a){let e=document.createElement("script");e.type="text/javascript",e.src=t,e.async=!1,e.onload=function(){i++,console.log("Load "+i+" of "+a.length+": "+t),io("loaded",{loaded:!0}),1)},document.body.appendChild(e),r.push(e)}return O(()=>{for(const t of r)console.log("Remove script "+t.src),t.remove();r=[]}),t.$set=(t=>{"dependencies"in t&&n("dependencies",a=t.dependencies)}),{dependencies:a}}class Fn extends mt{constructor(t){super(),pt(this,t,Pn,In,l,["dependencies"])}}function An(t){var e,n,o,a,i,r,l,c=t.mapPositions.lat+"",s=t.mapPositions.lon+"",u=t.mapPositions.zoom+"";return{c(){e=x("span"),n=x("span"),o=R(c),a=R(", "),i=R(s),r=R(", "),l=R(u),_(n,"class","map-position"),_(e,"class","right")},m(t,c){w(t,e,c),$(e,n),$(n,o),$(n,a),$(n,i),$(n,r),$(n,l)},p(t,e){t.mapPositions&&c!==(c=e.mapPositions.lat+"")&&L(o,c),t.mapPositions&&s!==(s=e.mapPositions.lon+"")&&L(i,s),t.mapPositions&&u!==(u=e.mapPositions.zoom+"")&&L(l,u)},d(t){t&&y(e)}}}function qn(e){var n;return{c(){(n=x("span")).textContent="Loading...",_(n,"class","message")},m(t,e){w(t,n,e)},p:t,d(t){t&&y(n)}}}function Bn(t){var e,n,o,a,i,r,l,c,s,u=new Fn({props:{dependencies:t.dependencies}});function d(t,e){return!1===e.loaded?qn:An}u.$on("loaded",t.mapInit);var p=d(0,t),m=p(t);return{c(){u.$$.fragment.c(),e=k(),n=x("link"),o=k(),a=x("section"),(i=x("div")).innerHTML='
    ',r=k(),l=x("div"),m.c(),_(n,"href","https://api.mapbox.com/mapbox-gl-js/v1.2.0/mapbox-gl.css"),_(n,"rel","stylesheet"),_(i,"class","section--content"),_(l,"class","section--controls bar controls"),_(l,"id","map-controls"),_(a,"class",c=t.classname+" "+t.view.type)},m(t,c){st(u,t,c),w(t,e,c),$(document.head,n),w(t,o,c),w(t,a,c),$(a,i),$(a,r),$(a,l),m.m(l,null),s=!0},p(t,e){p===(p=d(0,e))&&m?m.p(t,e):(m.d(1),(m=p(e))&&(m.c(),m.m(l,null))),s&&!t.classname&&!t.view||c===(c=e.classname+" "+e.view.type)||_(a,"class",c)},i(t){s||(it(u.$$.fragment,t),s=!0)},o(t){rt(u.$$.fragment,t),s=!1},d(t){ut(u,t),t&&y(e),y(n),t&&(y(o),y(a)),m.d()}}}function On(t,e=2){return t.toFixed(e)}function Dn(t,e,n){let{view:o,classname:a}=e;var i;let r={lat:25,lon:30,zoom:1};const l={dark:"mapbox://styles/moriwaan/cjzqsxone04y21ctdxp1dgogb",light:"mapbox://styles/moriwaan/ck3njz1ds2lgm1cqp2poywa3i"};let c=!1,s={visible:!1,threshold:16,elements:[],show:function(){console.log("show()");let t=this.elements;o.content.forEach(function(e){let n=e.properties,o='
  • ';n.thumbnail&&(o+="
    "+n.thumbnail+"
    "),o+='
    ',o+=''+(n.count||1)+"",o+="

    "+n.title+"

    ",o+="
    ",o+="
    ",o+="
  • ";var a=new mapboxgl.Popup({closeOnClick:!1,closeButton:!1,anchor:"bottom-left"}).setLngLat(e.geometry.coordinates).setHTML(o).addTo(i);t.push(a)}),this.visible=!0},hide:function(){for(const t of this.elements)t.remove();this.elements=[],this.visible=!1}};return t.$set=(t=>{"view"in t&&n("view",o=t.view),"classname"in t&&n("classname",a=t.classname)}),{dependencies:["https://api.mapbox.com/mapbox-gl-js/v1.2.0/mapbox-gl.js"],view:o,classname:a,mapPositions:r,loaded:c,mapInit:function(){console.log("mapInit"),mapboxgl.accessToken="pk.eyJ1IjoibW9yaXdhYW4iLCJhIjoiY2l4cnIxNTFvMDAzZjJ3cGJ6MmpiY2ZmciJ9.KnmjmhWCBzMm-D30JdnnXg",(i=new mapboxgl.Map({container:"map",style:l.light,center:[r.lon,r.lat],zoom:r.zoom})).on("load",function(){i.addSource("buildings",{type:"geojson",data:{type:"FeatureCollection",features:o.content},cluster:!0,clusterMaxZoom:7,clusterRadius:24}),i.addLayer({id:"dots",type:"circle",source:"buildings",filter:["==","$type","Point"],paint:{"circle-radius":{base:5,stops:[[2,18],[6,12],[8,5],[10,4],[13,4],[16,8],[22,180]]},"circle-color":"#00f"}}),n("loaded",c=!0)}),i.on("move",function(t){var e=i.getCenter();n("mapPositions",r.lat=On(e.lat),r),n("mapPositions",r.lon=On(e.lng),r)}),i.on("zoom",function(t){var e=i.getZoom();n("mapPositions",r.zoom=On(e,0),r),e>s.threshold&&!1===s.visible?s.show():e10&&(t=s.threshold+.2),i.easeTo({center:e[0].geometry.coordinates,zoom:t})}})}}}class Nn extends mt{constructor(t){super(),pt(this,t,Dn,Bn,l,["view","classname"])}}function Vn(t){var e,n,o,a,i,r,l,c,s,u=t.cameraRotation.x+"",d=t.cameraRotation.y+"",p=t.cameraRotation.z+"";function m(t,e){return!0===e.autoRotate?Kn:Un}var g=m(0,t),f=g(t);return{c(){e=x("span"),f.c(),n=k(),o=x("span"),a=x("span"),i=R(u),r=R(", "),l=R(d),c=R(", "),s=R(p),_(e,"class","left"),_(a,"class","3d-rotation"),_(o,"class","right")},m(t,u){w(t,e,u),f.m(e,null),w(t,n,u),w(t,o,u),$(o,a),$(a,i),$(a,r),$(a,l),$(a,c),$(a,s)},p(t,n){g!==(g=m(0,n))&&(f.d(1),(f=g(n))&&(f.c(),f.m(e,null))),t.cameraRotation&&u!==(u=n.cameraRotation.x+"")&&L(i,u),t.cameraRotation&&d!==(d=n.cameraRotation.y+"")&&L(l,d),t.cameraRotation&&p!==(p=n.cameraRotation.z+"")&&L(s,p)},d(t){t&&y(e),f.d(),t&&(y(n),y(o))}}}function Gn(e){var n;return{c(){(n=x("span")).textContent="Loading ...",_(n,"class","message")},m(t,e){w(t,n,e)},p:t,d(t){t&&y(n)}}}function Un(t){var e,n;return{c(){(e=x("button")).textContent="Rotate",_(e,"class","3d-play"),n=E(e,"click",t.startRotation)},m(t,n){w(t,e,n)},d(t){t&&y(e),n()}}}function Kn(t){var e,n;return{c(){(e=x("button")).textContent="Pause",_(e,"class","3d-pause"),n=E(e,"click",t.stopRotation)},m(t,n){w(t,e,n)},d(t){t&&y(e),n()}}}function Jn(t){var e,n,o,a,i,r,l,c=new Fn({props:{dependencies:t.dependencies}});function s(t,e){return 0==e.loaded?Gn:Vn}c.$on("loaded",t.threeInit);var u=s(0,t),d=u(t);return{c(){c.$$.fragment.c(),e=k(),n=x("section"),(o=x("div")).innerHTML='
    ',a=k(),i=x("div"),d.c(),_(o,"class","section--content"),_(i,"class","bar controls section--controls"),_(i,"id","view-3d-controls"),_(n,"class",r=t.classname+" "+t.view.type)},m(t,r){st(c,t,r),w(t,e,r),w(t,n,r),$(n,o),$(n,a),$(n,i),d.m(i,null),l=!0},p(t,e){u===(u=s(0,e))&&d?d.p(t,e):(d.d(1),(d=u(e))&&(d.c(),d.m(i,null))),l&&!t.classname&&!t.view||r===(r=e.classname+" "+e.view.type)||_(n,"class",r)},i(t){l||(it(c.$$.fragment,t),l=!0)},o(t){rt(c.$$.fragment,t),l=!1},d(t){ut(c,t),t&&(y(e),y(n)),d.d()}}}function Xn(t,e,n){let{view:o,classname:a}=e;var i,r,l,c,s,u,d,p=!1,m={x:0,y:0,z:0},g=!0;function f(){u=s.parentElement.offsetWidth,d=s.parentElement.offsetHeight,i.aspect=u/d,i.updateProjectionMatrix(),l.setSize(u,d)}function h(){requestAnimationFrame(h),c.update(),n("cameraRotation",m.x=Math.round(i.position.x),m),n("cameraRotation",m.y=Math.round(i.position.y),m),n("cameraRotation",m.z=Math.round(i.position.z),m),l.render(r,i)}return t.$set=(t=>{"view"in t&&n("view",o=t.view),"classname"in t&&n("classname",a=t.classname)}),{dependencies:["https://documentary-architecture.fra1.digitaloceanspaces.com/cda/assets/js/three.min.js","https://documentary-architecture.fra1.digitaloceanspaces.com/cda/assets/js/inflate.min.js","https://documentary-architecture.fra1.digitaloceanspaces.com/cda/assets/js/FBXLoader.js","https://documentary-architecture.fra1.digitaloceanspaces.com/cda/assets/js/OrbitControls.js"],view:o,classname:a,loaded:p,cameraRotation:m,autoRotate:g,threeInit:function(){s=document.getElementById("view-3d"),u=s.parentElement.offsetWidth,d=s.parentElement.offsetHeight,function(){(i=new THREE.PerspectiveCamera(45,u/d,1,1e4)).position.set(50,50,50),r=new THREE.Scene;var t=new THREE.AmbientLight(13421772,.5);r.add(t);var e=new THREE.PointLight(16777215,.8);i.add(e),r.add(i),(new THREE.FBXLoader).load(o.content.url,function(t){n("loaded",p=!0),r.add(t),c.autoRotate=!0},void 0,function(t){console.error(t)}),(l=new THREE.WebGLRenderer).setPixelRatio(window.devicePixelRatio),l.setSize(u,d),s.appendChild(l.domElement),(c=new THREE.OrbitControls(i,l.domElement)).target.set(0,0,0),c.autoRotate=!1,c.update();var a=new THREE.LineBasicMaterial({color:255}),m=new THREE.Geometry;m.vertices.push(new THREE.Vector3(20,0,0)),m.vertices.push(new THREE.Vector3(0,0,0)),m.vertices.push(new THREE.Vector3(0,20,0)),m.vertices.push(new THREE.Vector3(0,0,0)),m.vertices.push(new THREE.Vector3(0,0,20));var g=new THREE.Line(m,a);r.add(g),window.addEventListener("resize",f,!1)}(),h()},startRotation:function(){console.log("start 3d rotation"),n("autoRotate",g=!0),c.autoRotate=!0},stopRotation:function(){console.log("stop 3d rotation"),n("autoRotate",g=!1),c.autoRotate=!1}}}class Zn extends mt{constructor(t){super(),pt(this,t,Xn,Jn,l,["view","classname"])}}function Yn(t){var e,n,o,a,i,r,l,c=t.cameraRotation.lat+"",s=t.cameraRotation.lon+"";function u(t,e){return!0===e.autoRotate?eo:to}var d=u(0,t),p=d(t);return{c(){e=x("span"),p.c(),n=k(),o=x("span"),a=x("span"),i=R(c),r=R(", "),l=R(s),_(e,"class","left"),_(a,"class","3d-rotation"),_(o,"class","right")},m(t,c){w(t,e,c),p.m(e,null),w(t,n,c),w(t,o,c),$(o,a),$(a,i),$(a,r),$(a,l)},p(t,n){d!==(d=u(0,n))&&(p.d(1),(p=d(n))&&(p.c(),p.m(e,null))),t.cameraRotation&&c!==(c=n.cameraRotation.lat+"")&&L(i,c),t.cameraRotation&&s!==(s=n.cameraRotation.lon+"")&&L(l,s)},d(t){t&&y(e),p.d(),t&&(y(n),y(o))}}}function Qn(e){var n;return{c(){(n=x("span")).textContent="Loading ...",_(n,"class","message")},m(t,e){w(t,n,e)},p:t,d(t){t&&y(n)}}}function to(t){var e,n;return{c(){(e=x("button")).textContent="Rotate",_(e,"class","3d-play"),n=E(e,"click",t.startRotation)},m(t,n){w(t,e,n)},d(t){t&&y(e),n()}}}function eo(t){var e,n;return{c(){(e=x("button")).textContent="Pause",_(e,"class","3d-pause"),n=E(e,"click",t.stopRotation)},m(t,n){w(t,e,n)},d(t){t&&y(e),n()}}}function no(t){var e,n,o,a,i,r,l,c=new Fn({props:{dependencies:t.dependencies}});function s(t,e){return 0==e.loaded?Qn:Yn}c.$on("loaded",t.threeInit);var u=s(0,t),d=u(t);return{c(){c.$$.fragment.c(),e=k(),n=x("section"),(o=x("div")).innerHTML='
    ',a=k(),i=x("div"),d.c(),_(o,"class","section--content"),_(i,"class","bar controls section--controls"),_(i,"id","view-3d-controls"),_(n,"class",r=t.classname+" "+t.view.type)},m(t,r){st(c,t,r),w(t,e,r),w(t,n,r),$(n,o),$(n,a),$(n,i),d.m(i,null),l=!0},p(t,e){u===(u=s(0,e))&&d?d.p(t,e):(d.d(1),(d=u(e))&&(d.c(),d.m(i,null))),l&&!t.classname&&!t.view||r===(r=e.classname+" "+e.view.type)||_(n,"class",r)},i(t){l||(it(c.$$.fragment,t),l=!0)},o(t){rt(c.$$.fragment,t),l=!1},d(t){ut(c,t),t&&(y(e),y(n)),d.d()}}}var oo=180;function ao(t,e,n){let{view:o,classname:a,transcript:i}=e;var r,l,c,s,u,d,p,m=!0,g=!1,f=!1,h=0,v=0,$=180,w=180,y=0,b=0,x=0,R=0,k={lat:0,lon:0};function T(){d=u.parentElement.offsetWidth,p=u.parentElement.offsetHeight,r.aspect=d/p,r.updateProjectionMatrix(),c.setSize(d,p)}function E(){requestAnimationFrame(E),function(){!1===f&&!0===m&&($+=.09);y=Math.max(-85,Math.min(85,y)),x=THREE.Math.degToRad(90-y),R=THREE.Math.degToRad($),r.target.x=oo*Math.sin(x)*Math.cos(R),r.target.y=oo*Math.cos(x),r.target.z=oo*Math.sin(x)*Math.sin(R),r.lookAt(r.target),n("cameraRotation",k.lat=Math.round(y),k),n("cameraRotation",k.lon=Math.round($%360-180),k),c.render(l,r)}()}function _(t){t.preventDefault(),f=!0,h=t.clientX,v=t.clientY,w=$,b=y}function L(t){!0===f&&($=.1*(h-t.clientX)+w,y=.1*(t.clientY-v)+b)}function C(t){f=!1}return t.$set=(t=>{"view"in t&&n("view",o=t.view),"classname"in t&&n("classname",a=t.classname),"transcript"in t&&n("transcript",i=t.transcript)}),{dependencies:["https://documentary-architecture.fra1.digitaloceanspaces.com/cda/assets/js/three.min.js","https://documentary-architecture.fra1.digitaloceanspaces.com/cda/assets/js/OrbitControls.js"],view:o,classname:a,transcript:i,autoRotate:m,loaded:g,cameraRotation:k,threeInit:function(){u=document.getElementById("view-3d"),d=u.parentElement.offsetWidth,p=u.parentElement.offsetHeight,function(){(r=new THREE.PerspectiveCamera(100,d/p,1,1100)).target=new THREE.Vector3(20,0,0),l=new THREE.Scene;var t=new THREE.SphereGeometry(oo,60,40);t.scale(-1,1,1);var e=new THREE.MeshBasicMaterial({map:(new THREE.TextureLoader).load(o.content.url,function(){n("loaded",g=!0)},void 0,function(t){console.log("panorama loading error")})});s=new THREE.Mesh(t,e),l.add(s),(c=new THREE.WebGLRenderer).setPixelRatio(window.devicePixelRatio),c.setSize(d,p),u.appendChild(c.domElement),window.addEventListener("resize",T,!1),document.addEventListener("mousedown",_,!1),document.addEventListener("mousemove",L,!1),document.addEventListener("mouseup",C,!1)}(),E()},startRotation:function(){n("autoRotate",m=!0)},stopRotation:function(){n("autoRotate",m=!1)}}}class io extends mt{constructor(t){super(),pt(this,t,ao,no,l,["view","classname","transcript"])}}function ro(t,e,n){const o=Object.create(t);return o.tab=e[n],o}function lo(t){var e;return{c(){_(e=x("div"),"class","is-loading")},m(t,n){w(t,e,n)},d(t){t&&y(e)}}}function co(t){var e,n,o,a,i,r;let l=t.page.content,c=[];for(let e=0;ert(c[t],1,1,()=>{c[t]=null});return{c(){e=x("main"),n=x("div"),o=x("div");for(let t=0;t{ut(t,1)}),at()}o?((i=new o(a(n))).$$.fragment.c(),it(i.$$.fragment,1),st(i,e.parentNode,e)):i=null}else o&&i.$set(r)},i(t){n||(i&&it(i.$$.fragment,t),n=!0)},o(t){i&&rt(i.$$.fragment,t),n=!1},d(t){t&&y(e),i&&ut(i,t)}}}function uo(t){var e,n,o=t.views[t.page.view.type];function a(t){return{props:{view:t.page.view,classname:"presentation panel col-sm-"+(12-mo(t.page.entity)),transcript:t.page.transcript||!1}}}if(o)var i=new o(a(t));return{c(){i&&i.$$.fragment.c(),e=T()},m(t,o){i&&st(i,t,o),w(t,e,o),n=!0},p(t,n){var r={};if(t.page&&(r.view=n.page.view),t.page&&(r.classname="presentation panel col-sm-"+(12-mo(n.page.entity))),t.page&&(r.transcript=n.page.transcript||!1),o!==(o=n.views[n.page.view.type])){if(i){ot();const t=i;rt(t.$$.fragment,1,0,()=>{ut(t,1)}),at()}o?((i=new o(a(n))).$$.fragment.c(),it(i.$$.fragment,1),st(i,e.parentNode,e)):i=null}else o&&i.$set(r)},i(t){n||(i&&it(i.$$.fragment,t),n=!0)},o(t){i&&rt(i.$$.fragment,t),n=!1},d(t){t&&y(e),i&&ut(i,t)}}}function po(t){var e,n,o,a,i=t.page.loading&&lo(),r=t.page.content&&co(t),l=t.page.view&&uo(t);return{c(){e=x("div"),i&&i.c(),n=k(),r&&r.c(),o=k(),l&&l.c(),_(e,"class","grid panels")},m(t,c){w(t,e,c),i&&i.m(e,null),$(e,n),r&&r.m(e,null),$(e,o),l&&l.m(e,null),a=!0},p(t,a){a.page.loading?i||((i=lo()).c(),i.m(e,n)):i&&(i.d(1),i=null),a.page.content?r?(r.p(t,a),it(r,1)):((r=co(a)).c(),it(r,1),r.m(e,o)):r&&(ot(),rt(r,1,1,()=>{r=null}),at()),a.page.view?l?(l.p(t,a),it(l,1)):((l=uo(a)).c(),it(l,1),l.m(e,null)):l&&(ot(),rt(l,1,1,()=>{l=null}),at())},i(t){a||(it(r),it(l),a=!0)},o(t){rt(r),rt(l),a=!1},d(t){t&&y(e),i&&i.d(),r&&r.d(),l&&l.d()}}}function mo(t){return"file"==t?3:6}function go(t,e,n){let o,a={header:rn,collection:fn,table:Cn,text:Wn},i={collection:De,image:zn,video:xe,audio:Ee,map:Nn,"3d":Zn,panorama:io},{page:r}=e;var l=!1,c=!1;return t.$set=(t=>{"page"in t&&n("page",r=t.page)}),{tabs:a,views:i,page:r,main:o,scrolling:function(){(l=o.scrollTop>100)!==c&&(!0===(c=l)?document.body.classList.add("scrolled"):document.body.classList.remove("scrolled"))},main_1_binding:function(t){V[t?"unshift":"push"](()=>{n("main",o=t)})}}}class fo extends mt{constructor(t){super(),pt(this,t,go,po,l,["page"])}}function ho(t,e,n){const o=Object.create(t);return o.item=e[n],o.i=n,o}function vo(t){var e,n=new jt({props:{target:t.pagination.prev,replace:!0,$$slots:{default:[$o]},$$scope:{ctx:t}}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.pagination&&(o.target=e.pagination.prev),t.$$scope&&(o.$$scope={changed:t,ctx:e}),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function $o(t){var e;return{c(){e=R("←")},m(t,n){w(t,e,n)},d(t){t&&y(e)}}}function wo(t){var e,n;let o=t.pagination.siblings,a=[];for(let e=0;ert(a[t],1,1,()=>{a[t]=null});return{c(){e=x("ol");for(let t=0;t{l=null}),at()),r.pagination.siblings?c?(c.p(t,r),it(c,1)):((c=wo(r)).c(),it(c,1),c.m(e,o)):c&&(ot(),rt(c,1,1,()=>{c=null}),at());var p=a;(a=d(0,r))===p?u[a].p(t,r):(ot(),rt(u[p],1,1,()=>{u[p]=null}),at(),(i=u[a])||(i=u[a]=s[a](r)).c(),it(i,1),i.m(e,null))},i(t){r||(it(l),it(c),it(i),r=!0)},o(t){rt(l),rt(c),rt(i),r=!1},d(t){t&&y(e),l&&l.d(),c&&c.d(),u[a].d()}}}function _o(t,e,n){let{pagination:o}=e;return t.$set=(t=>{"pagination"in t&&n("pagination",o=t.pagination)}),{pagination:o}}class Lo extends mt{constructor(t){super(),pt(this,t,_o,Eo,l,["pagination"])}}function Co(t){var e,n;const o=t.$$slots.default,a=c(o,t,null);return{c(){e=x("section"),a&&a.c(),_(e,"class","tab invitation")},l(t){a&&a.l(section_nodes)},m(t,o){w(t,e,o),a&&a.m(e,null),n=!0},p(t,e){a&&a.p&&t.$$scope&&a.p(u(o,e,t,null),s(o,e,null))},i(t){n||(it(a,t),n=!0)},o(t){rt(a,t),n=!1},d(t){t&&y(e),a&&a.d(t)}}}function Ho(t,e,n){let{$$slots:o={},$$scope:a}=e;return t.$set=(t=>{"$$scope"in t&&n("$$scope",a=t.$$scope)}),{$$slots:o,$$scope:a}}class Mo extends mt{constructor(t){super(),pt(this,t,Ho,Co,l,[])}}function Wo(t){var e;return{c(){_(e=x("div"),"class","is-loading svelte-1kpfqp4")},m(t,n){w(t,e,n)},d(t){t&&y(e)}}}function So(t){var e,n,o,a,i,r=t.world.help+"",l=t.world.roaming&&Io(t),c=t.world.dollhouse&&Po(t);return{c(){e=x("span"),n=R(r),o=k(),a=x("span"),l&&l.c(),i=k(),c&&c.c(),_(e,"class","message"),_(a,"class","right")},m(t,r){w(t,e,r),$(e,n),w(t,o,r),w(t,a,r),l&&l.m(a,null),$(a,i),c&&c.m(a,null)},p(t,e){t.world&&r!==(r=e.world.help+"")&&L(n,r),e.world.roaming?l?l.p(t,e):((l=Io(e)).c(),l.m(a,i)):l&&(l.d(1),l=null),e.world.dollhouse?c||((c=Po(e)).c(),c.m(a,null)):c&&(c.d(1),c=null)},d(t){t&&(y(e),y(o),y(a)),l&&l.d(),c&&c.d()}}}function jo(t){var e,n,o=t.world.tooltips.item+"";return{c(){e=x("span"),n=R(o),_(e,"class","message")},m(t,o){w(t,e,o),$(e,n)},p(t,e){t.world&&o!==(o=e.world.tooltips.item+"")&&L(n,o)},d(t){t&&y(e)}}}function zo(t){var e,n,o,a,i=t.world.progress+"";return{c(){e=x("span"),n=R("Loading "),o=R(i),a=R("% ... Please wait."),_(e,"class","message")},m(t,i){w(t,e,i),$(e,n),$(e,o),$(e,a)},p(t,e){t.world&&i!==(i=e.world.progress+"")&&L(o,i)},d(t){t&&y(e)}}}function Io(t){var e,n,o,a=t.world.roaming+"";return{c(){e=x("button"),n=R(a),o=E(e,"click",t.click_handler)},m(t,o){w(t,e,o),$(e,n)},p(t,e){t.world&&a!==(a=e.world.roaming+"")&&L(n,a)},d(t){t&&y(e),o()}}}function Po(t){var e,n;return{c(){(e=x("button")).textContent="Overview",n=E(e,"click",t.click_handler_1)},m(t,n){w(t,e,n)},d(t){t&&y(e),n()}}}function Fo(t){var e,n,o,a,i,r,l,c,s,u,d,p=new Fn({props:{dependencies:t.dependencies}});p.$on("loaded",t.unityInit);var m=!1===t.world.loaded&&Wo();function g(t,e){return!1===e.world.loaded?zo:!1!==e.world.tooltips.item?jo:!1!==e.world.help?So:void 0}var f=g(0,t),h=f&&f(t);return{c(){p.$$.fragment.c(),e=k(),n=x("section"),o=x("div"),a=x("div"),i=k(),m&&m.c(),r=k(),l=x("div"),h&&h.c(),_(a,"id","worldContainer"),_(a,"class","presentation-container"),_(o,"class","section--content svelte-1kpfqp4"),_(o,"id","view-liebling-house"),_(l,"class",c="bar controls section--controls "+(t.world.tooltips.item?"hover":"")+" svelte-1kpfqp4"),_(l,"id","view-liebling-house-controls"),_(n,"class",s=t.classname+" "+t.view.type+" svelte-1kpfqp4"),d=E(a,"click",t.canvasClick)},m(t,c){st(p,t,c),w(t,e,c),w(t,n,c),$(n,o),$(o,a),$(o,i),m&&m.m(o,null),$(n,r),$(n,l),h&&h.m(l,null),u=!0},p(t,e){!1===e.world.loaded?m||((m=Wo()).c(),m.m(o,null)):m&&(m.d(1),m=null),f===(f=g(0,e))&&h?h.p(t,e):(h&&h.d(1),(h=f&&f(e))&&(h.c(),h.m(l,null))),u&&!t.world||c===(c="bar controls section--controls "+(e.world.tooltips.item?"hover":"")+" svelte-1kpfqp4")||_(l,"class",c),u&&!t.classname&&!t.view||s===(s=e.classname+" "+e.view.type+" svelte-1kpfqp4")||_(n,"class",s)},i(t){u||(it(p.$$.fragment,t),u=!0)},o(t){rt(p.$$.fragment,t),u=!1},d(t){ut(p,t),t&&(y(e),y(n)),m&&m.d(),h&&h.d(),d()}}}function Ao(t){switch(console.log("worldCallMethod("+t+")"),t){case"Kiosk":case"Dollhouse":break;default:t="FreeRoaming"}lieblingHouseWorldInstance.SendMessage("GameManager",t)}function qo(t,e,n){let{view:o,page:a,classname:i}=e;const r=[o.content.unityLoader||"https://documentary-architecture.fra1.digitaloceanspaces.com/cda/assets/liebling-house/Build/UnityLoader.js"];console.log(r),window.worldSetState=(t=>{console.warn("deprecated: window.worldSetState("+t+")"),Ao(t)}),window.goThroughGlass=(t=>{console.warn("deprecated: window.goThroughGlass("+t+")"),Ao("FreeRoaming")}),window.teleportToItem=(t=>{console.warn("deprecated: window.teleportToItem("+t+")"),lieblingHouseWorldInstance.SendMessage("GameManager","TeleportToItem",t)});var l={loaded:!1,progress:0,setInitialState:!1,tooltips:{item:!1,help:!1},roaming:"Start exploring",dollhouse:!1,help:"Click on the builing to start exploring.",state:"ViewingKiosk",states:{FreeRoaming:{roaming:!1,dollhouse:!0,help:"Use W ← A ↑ S ↓ D → to navigate and drag to rotate camera."},MovingToItem:{roaming:"Stop",dollhouse:!1,help:!1},ViewingDollhouse:{roaming:"Continue exploring",dollhouse:!1,help:"Drag to rotate building or click on one of the highlighted spots."},ViewingItem:{roaming:"Continue exploring",dollhouse:!0,help:"Click to start exploring."},ViewingKiosk:{roaming:"Start exploring",dollhouse:!1,help:"Click on the builing to start exploring."}}};function c(t,e){t.Module&&(n("world",l.progress=Math.round(100*e),l),1!==e||t.removeTimeout||(t.removeTimeout=setTimeout(function(){n("world",l.loaded=!0,l),console.log("Unity loaded")},3e3)))}O(()=>{console.log("onDestroy()"),lieblingHouseWorldInstance.Quit(function(){console.log("lieblingHouseWorldInstance.Quit")}),lieblingHouseWorldInstance=null}),window.worldCallMethod=(t=>{Ao(t)}),window.onWorldReady=(()=>{console.log("window.onWorldReady()"),"overview"===a?Ao("Kiosk"):o.content.worlditemStart?(console.log('could navigate to "'+o.content.worlditemStart+'"'),lieblingHouseWorldInstance.SendMessage("GameManager","TeleportToItem",o.content.worlditemStart)):Ao("Kiosk")});let s=!1;window.worldUpdateState=(t=>{switch(!1===s&&"FreeRoaming"===t&&(console.log("window.worldUpdateState("+t+") -> window.onWorldReady()"),window.onWorldReady(),s=!0),console.log("window.worldUpdateState("+t+")"),t){case"ViewingPlatform":console.warn("deprecated: ViewingPlatform state");case"MovingToItem":case"ViewingDollhouse":case"ViewingItem":case"ViewingKiosk":break;default:t="FreeRoaming"}n("world",l.state=t,l),n("world",l.roaming=l.states[t].roaming,l),n("world",l.dollhouse=l.states[t].dollhouse,l),n("world",l.help=l.states[t].help,l)}),window.worldHoverItem=(t=>(console.log("window.worldHoverItem("+t+")"),n("world",l.tooltips.item=""!=t&&t,l),!0)),window.worldSelectItem=(t=>(console.log("window.worldSelectItem("+t+")"),""!=t&&(async function(t){console.log("async function showWorlditemContent("+t+")"),Mt(window.location.origin+"/"+t,{},!0)}(t),!0))),window.worldSelectTourstopOfItem=(t=>(console.log("window.worldSelectTourstopOfItem("+t+")"),""!=t&&(naviFromWorld(t),!0))),window.worldFreeRoaming=(t=>{console.log("window.worldFreeRoaming()"),Ao("FreeRoaming")}),window.goToItem=(t=>{console.log("window.goToItem("+t+")"),lieblingHouseWorldInstance.SendMessage("GameManager","GoToItem",t)});return t.$set=(t=>{"view"in t&&n("view",o=t.view),"page"in t&&n("page",a=t.page),"classname"in t&&n("classname",i=t.classname)}),{view:o,page:a,classname:i,dependencies:r,world:l,unityInit:function(){console.log("unityInit()"),lieblingHouseWorldContainer=document.getElementById("worldContainer"),lieblingHouseWorldInstance=UnityLoader.instantiate(lieblingHouseWorldContainer,o.content.unityJson,{onProgress:c})},canvasClick:function(){console.log("canvasClick()"),"Kiosk "===l.state&&Ao("FreeRoaming")},click_handler:()=>Ao("FreeRoaming"),click_handler_1:()=>Ao("Dollhouse")}}class Bo extends mt{constructor(t){super(),pt(this,t,qo,Fo,l,["view","page","classname"])}}function Oo(t,e,n){const o=Object.create(t);return o.tab=e[n],o}function Do(t){var e,n,o,a,r,l,c,s,u,d,p=t.page.loading&&No(),m=[Uo,Go,Vo],g=[];function f(t,e){return"overview"==e.page.category?0:"tour"==e.page.category?1:"tourstop"==e.page.category&&e.page.pagination?2:-1}~(r=f(0,t))&&(l=g[r]=m[r](t));let h=t.page.content,v=[];for(let e=0;ert(v[t],1,1,()=>{v[t]=null});return{c(){e=x("main"),n=x("div"),o=x("div"),p&&p.c(),a=k(),l&&l.c(),c=k();for(let t=0;t{g[i]=null}),at()),~r?((l=g[r])||(l=g[r]=m[r](n)).c(),it(l,1),l.m(o,c)):l=null),t.tabs||t.page){let e;for(h=n.page.content,e=0;e{ut(t,1)}),at()}o?((i=new o(a(n))).$$.fragment.c(),it(i.$$.fragment,1),st(i,e.parentNode,e)):i=null}else o&&i.$set(r)},i(t){n||(i&&it(i.$$.fragment,t),n=!0)},o(t){i&&rt(i.$$.fragment,t),n=!1},d(t){t&&y(e),i&&ut(i,t)}}}function Yo(t){var e,n=new Bo({props:{view:t.page.view,page:t.page.category,classname:"presentation panel col-12"}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.page&&(o.view=e.page.view),t.page&&(o.page=e.page.category),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function Qo(t){var e,n,o,a=t.page.content&&Do(t),i=t.page.view&&Yo(t);return{c(){e=x("div"),a&&a.c(),n=k(),i&&i.c(),_(e,"class","grid panels overlap")},m(t,r){w(t,e,r),a&&a.m(e,null),$(e,n),i&&i.m(e,null),o=!0},p(t,o){o.page.content?a?(a.p(t,o),it(a,1)):((a=Do(o)).c(),it(a,1),a.m(e,n)):a&&(ot(),rt(a,1,1,()=>{a=null}),at()),o.page.view?i?(i.p(t,o),it(i,1)):((i=Yo(o)).c(),it(i,1),i.m(e,null)):i&&(ot(),rt(i,1,1,()=>{i=null}),at())},i(t){o||(it(a),it(i),o=!0)},o(t){rt(a),rt(i),o=!1},d(t){t&&y(e),a&&a.d(),i&&i.d()}}}function ta(t,e,n){let o,a={header:rn,collection:fn,table:Cn,text:Wn},{page:i}=e;window.touchGlass=(t=>"liebling-house"===i.view.type&&(t.target===o&&void window.goThroughGlass()));var r=!1,l=!1;return document.body.classList.add("liebling-house"),O(()=>{document.body.classList.remove("liebling-house")}),t.$set=(t=>{"page"in t&&n("page",i=t.page)}),{tabs:a,page:i,glass:o,scrolling:function(){(r=o.scrollTop>100)!==l&&(!0===(l=r)?document.body.classList.add("scrolled"):document.body.classList.remove("scrolled"))},window:window,main_binding:function(t){V[t?"unshift":"push"](()=>{n("glass",o=t)})}}}class ea extends mt{constructor(t){super(),pt(this,t,ta,Qo,l,["page"])}}async function na(t){xt({...t,loading:!0}),$t.update(t=>(t.pop(),t)),xt({...await _t(t.url),loading:!1})}async function oa(t){if(!t.state)throw Error("popState() no history.state object");console.log("popState("+t.state.url+")"),na(t.state)}function aa(t){let e=t.target.closest("a");e&&e.classList.contains("follow")&&(console.log("clickAnyLink",e),t.preventDefault(),Ct(e.href))}function ia(e){var n;return{c(){_(n=x("div"),"class","is-loading")},m(t,e){w(t,n,e)},p:t,i:t,o:t,d(t){t&&y(n)}}}function ra(t){var e,n=new tn({props:{page:t.page}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.page&&(o.page=e.page),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function la(t){var e,n,o,a,i=[ua,sa],r=[];function l(t,e){return e.page.view&&"liebling-house"===e.page.view.type?0:1}e=l(0,t),n=r[e]=i[e](t);var c=new Vt({props:{page:t.page}});return{c(){n.c(),o=k(),c.$$.fragment.c()},m(t,n){r[e].m(t,n),w(t,o,n),st(c,t,n),a=!0},p(t,a){var s=e;(e=l(0,a))===s?r[e].p(t,a):(ot(),rt(r[s],1,1,()=>{r[s]=null}),at(),(n=r[e])||(n=r[e]=i[e](a)).c(),it(n,1),n.m(o.parentNode,o));var u={};t.page&&(u.page=a.page),c.$set(u)},i(t){a||(it(n),it(c.$$.fragment,t),a=!0)},o(t){rt(n),rt(c.$$.fragment,t),a=!1},d(t){r[e].d(t),t&&y(o),ut(c,t)}}}function ca(e){var n,o=e.page.html+"";return{c(){n=x("div")},m(t,e){w(t,n,e),n.innerHTML=o},p(t,e){t.page&&o!==(o=e.page.html+"")&&(n.innerHTML=o)},i:t,o:t,d(t){t&&y(n)}}}function sa(t){var e,n=new fo({props:{page:t.page}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.page&&(o.page=e.page),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function ua(t){var e,n=new ea({props:{page:t.page}});return{c(){n.$$.fragment.c()},m(t,o){st(n,t,o),e=!0},p(t,e){var o={};t.page&&(o.page=e.page),n.$set(o)},i(t){e||(it(n.$$.fragment,t),e=!0)},o(t){rt(n.$$.fragment,t),e=!1},d(t){ut(n,t)}}}function da(t){var e,n,o,a,r,l,c,s;document.title=e="CDA "+t.page.title;var u=new At({}),d=[ca,la,ra,ia],p=[];function m(t,e){return"html"===e.page.template?0:"entity"===e.page.template?1:"archive"===e.page.template?2:e.page.loading?3:-1}return~(a=m(0,t))&&(r=p[a]=d[a](t)),{c(){n=k(),u.$$.fragment.c(),o=k(),r&&r.c(),l=T(),s=[E(window,"popstate",oa),E(window,"click",aa)]},m(t,e){w(t,n,e),st(u,t,e),w(t,o,e),~a&&p[a].m(t,e),w(t,l,e),c=!0},p(t,n){c&&!t.page||e===(e="CDA "+n.page.title)||(document.title=e);var o=a;(a=m(0,n))===o?~a&&p[a].p(t,n):(r&&(ot(),rt(p[o],1,1,()=>{p[o]=null}),at()),~a?((r=p[a])||(r=p[a]=d[a](n)).c(),it(r,1),r.m(l.parentNode,l)):r=null)},i(t){c||(it(u.$$.fragment,t),it(r),c=!0)},o(t){rt(u.$$.fragment,t),rt(r),c=!1},d(t){t&&y(n),ut(u,t),t&&y(o),~a&&p[a].d(t),t&&y(l),i(s)}}}function pa(t,e,n){var o;o=(async()=>{!async function(t=!1,e=!1){let n=kt({title:e||document.title.replace("CDA ",""),url:t||window.location.href,template:Tt(window.location.pathname)});xt({...n,loading:!0}),wt(n);let o=await _t(n.url);o.html?(o.url=n.url,o.title=n.title,o.template="html"):n=kt(o),xt({...o,loading:!1}),history.replaceState(n,n.title,n.url),yt(n)}()}),q().$$.on_mount.push(o);let a={};bt.subscribe(t=>{for(var e in t)t[e]!==a[e]&&n("page",a[e]=t[e],a);console.log(a)});return{page:a}}return console.log("CDA Centre for Documentary Architecture"),new class extends mt{constructor(t){super(),pt(this,t,pa,da,l,[])}}({target:document.querySelector("#frontend")})}(); + +(function(l, i, v, e) { v = l.createElement(i); v.async = 1; v.src = '//' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1'; e = l.getElementsByTagName(i)[0]; e.parentNode.insertBefore(v, e)})(document, 'script'); +var app = (function () { + 'use strict'; + + function noop() { } + const identity = x => x; + function assign(tar, src) { + // @ts-ignore + for (const k in src) + tar[k] = src[k]; + return tar; + } + function add_location(element, file, line, column, char) { + element.__svelte_meta = { + loc: { file, line, column, char } + }; + } + function run(fn) { + return fn(); + } + function blank_object() { + return Object.create(null); + } + function run_all(fns) { + fns.forEach(run); + } + function is_function(thing) { + return typeof thing === 'function'; + } + function safe_not_equal(a, b) { + return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function'); + } + function create_slot(definition, ctx, fn) { + if (definition) { + const slot_ctx = get_slot_context(definition, ctx, fn); + return definition[0](slot_ctx); + } + } + function get_slot_context(definition, ctx, fn) { + return definition[1] + ? assign({}, assign(ctx.$$scope.ctx, definition[1](fn ? fn(ctx) : {}))) + : ctx.$$scope.ctx; + } + function get_slot_changes(definition, ctx, changed, fn) { + return definition[1] + ? assign({}, assign(ctx.$$scope.changed || {}, definition[1](fn ? fn(changed) : {}))) + : ctx.$$scope.changed || {}; + } + + const is_client = typeof window !== 'undefined'; + let now = is_client + ? () => window.performance.now() + : () => Date.now(); + let raf = is_client ? cb => requestAnimationFrame(cb) : noop; + + const tasks = new Set(); + let running = false; + function run_tasks() { + tasks.forEach(task => { + if (!task[0](now())) { + tasks.delete(task); + task[1](); + } + }); + running = tasks.size > 0; + if (running) + raf(run_tasks); + } + function loop(fn) { + let task; + if (!running) { + running = true; + raf(run_tasks); + } + return { + promise: new Promise(fulfil => { + tasks.add(task = [fn, fulfil]); + }), + abort() { + tasks.delete(task); + } + }; + } + + function append(target, node) { + target.appendChild(node); + } + function insert(target, node, anchor) { + target.insertBefore(node, anchor || null); + } + function detach(node) { + node.parentNode.removeChild(node); + } + function destroy_each(iterations, detaching) { + for (let i = 0; i < iterations.length; i += 1) { + if (iterations[i]) + iterations[i].d(detaching); + } + } + function element(name) { + return document.createElement(name); + } + function text(data) { + return document.createTextNode(data); + } + function space() { + return text(' '); + } + function empty() { + return text(''); + } + function listen(node, event, handler, options) { + node.addEventListener(event, handler, options); + return () => node.removeEventListener(event, handler, options); + } + function prevent_default(fn) { + return function (event) { + event.preventDefault(); + // @ts-ignore + return fn.call(this, event); + }; + } + function attr(node, attribute, value) { + if (value == null) + node.removeAttribute(attribute); + else + node.setAttribute(attribute, value); + } + function children(element) { + return Array.from(element.childNodes); + } + function set_input_value(input, value) { + if (value != null || input.value) { + input.value = value; + } + } + function set_style(node, key, value, important) { + node.style.setProperty(key, value, important ? 'important' : ''); + } + function add_resize_listener(element, fn) { + if (getComputedStyle(element).position === 'static') { + element.style.position = 'relative'; + } + const object = document.createElement('object'); + object.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;'); + object.type = 'text/html'; + object.tabIndex = -1; + let win; + object.onload = () => { + win = object.contentDocument.defaultView; + win.addEventListener('resize', fn); + }; + if (/Trident/.test(navigator.userAgent)) { + element.appendChild(object); + object.data = 'about:blank'; + } + else { + object.data = 'about:blank'; + element.appendChild(object); + } + return { + cancel: () => { + win && win.removeEventListener && win.removeEventListener('resize', fn); + element.removeChild(object); + } + }; + } + function toggle_class(element, name, toggle) { + element.classList[toggle ? 'add' : 'remove'](name); + } + function custom_event(type, detail) { + const e = document.createEvent('CustomEvent'); + e.initCustomEvent(type, false, false, detail); + return e; + } + class HtmlTag { + constructor(html, anchor = null) { + this.e = element('div'); + this.a = anchor; + this.u(html); + } + m(target, anchor = null) { + for (let i = 0; i < this.n.length; i += 1) { + insert(target, this.n[i], anchor); + } + this.t = target; + } + u(html) { + this.e.innerHTML = html; + this.n = Array.from(this.e.childNodes); + } + p(html) { + this.d(); + this.u(html); + this.m(this.t, this.a); + } + d() { + this.n.forEach(detach); + } + } + + let stylesheet; + let active = 0; + let current_rules = {}; + // https://github.com/darkskyapp/string-hash/blob/master/index.js + function hash(str) { + let hash = 5381; + let i = str.length; + while (i--) + hash = ((hash << 5) - hash) ^ str.charCodeAt(i); + return hash >>> 0; + } + function create_rule(node, a, b, duration, delay, ease, fn, uid = 0) { + const step = 16.666 / duration; + let keyframes = '{\n'; + for (let p = 0; p <= 1; p += step) { + const t = a + (b - a) * ease(p); + keyframes += p * 100 + `%{${fn(t, 1 - t)}}\n`; + } + const rule = keyframes + `100% {${fn(b, 1 - b)}}\n}`; + const name = `__svelte_${hash(rule)}_${uid}`; + if (!current_rules[name]) { + if (!stylesheet) { + const style = element('style'); + document.head.appendChild(style); + stylesheet = style.sheet; + } + current_rules[name] = true; + stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length); + } + const animation = node.style.animation || ''; + node.style.animation = `${animation ? `${animation}, ` : ``}${name} ${duration}ms linear ${delay}ms 1 both`; + active += 1; + return name; + } + function delete_rule(node, name) { + node.style.animation = (node.style.animation || '') + .split(', ') + .filter(name + ? anim => anim.indexOf(name) < 0 // remove specific animation + : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations + ) + .join(', '); + if (name && !--active) + clear_rules(); + } + function clear_rules() { + raf(() => { + if (active) + return; + let i = stylesheet.cssRules.length; + while (i--) + stylesheet.deleteRule(i); + current_rules = {}; + }); + } + + let current_component; + function set_current_component(component) { + current_component = component; + } + function get_current_component() { + if (!current_component) + throw new Error(`Function called outside component initialization`); + return current_component; + } + function beforeUpdate(fn) { + get_current_component().$$.before_update.push(fn); + } + function onMount(fn) { + get_current_component().$$.on_mount.push(fn); + } + function afterUpdate(fn) { + get_current_component().$$.after_update.push(fn); + } + function onDestroy(fn) { + get_current_component().$$.on_destroy.push(fn); + } + function createEventDispatcher() { + const component = current_component; + return (type, detail) => { + const callbacks = component.$$.callbacks[type]; + if (callbacks) { + // TODO are there situations where events could be dispatched + // in a server (non-DOM) environment? + const event = custom_event(type, detail); + callbacks.slice().forEach(fn => { + fn.call(component, event); + }); + } + }; + } + + const dirty_components = []; + const binding_callbacks = []; + const render_callbacks = []; + const flush_callbacks = []; + const resolved_promise = Promise.resolve(); + let update_scheduled = false; + function schedule_update() { + if (!update_scheduled) { + update_scheduled = true; + resolved_promise.then(flush); + } + } + function add_render_callback(fn) { + render_callbacks.push(fn); + } + function flush() { + const seen_callbacks = new Set(); + do { + // first, call beforeUpdate functions + // and update components + while (dirty_components.length) { + const component = dirty_components.shift(); + set_current_component(component); + update(component.$$); + } + while (binding_callbacks.length) + binding_callbacks.pop()(); + // then, once components are updated, call + // afterUpdate functions. This may cause + // subsequent updates... + for (let i = 0; i < render_callbacks.length; i += 1) { + const callback = render_callbacks[i]; + if (!seen_callbacks.has(callback)) { + callback(); + // ...so guard against infinite loops + seen_callbacks.add(callback); + } + } + render_callbacks.length = 0; + } while (dirty_components.length); + while (flush_callbacks.length) { + flush_callbacks.pop()(); + } + update_scheduled = false; + } + function update($$) { + if ($$.fragment) { + $$.update($$.dirty); + run_all($$.before_update); + $$.fragment.p($$.dirty, $$.ctx); + $$.dirty = null; + $$.after_update.forEach(add_render_callback); + } + } + + let promise; + function wait() { + if (!promise) { + promise = Promise.resolve(); + promise.then(() => { + promise = null; + }); + } + return promise; + } + function dispatch(node, direction, kind) { + node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`)); + } + const outroing = new Set(); + let outros; + function group_outros() { + outros = { + r: 0, + c: [], + p: outros // parent group + }; + } + function check_outros() { + if (!outros.r) { + run_all(outros.c); + } + outros = outros.p; + } + function transition_in(block, local) { + if (block && block.i) { + outroing.delete(block); + block.i(local); + } + } + function transition_out(block, local, detach, callback) { + if (block && block.o) { + if (outroing.has(block)) + return; + outroing.add(block); + outros.c.push(() => { + outroing.delete(block); + if (callback) { + if (detach) + block.d(1); + callback(); + } + }); + block.o(local); + } + } + const null_transition = { duration: 0 }; + function create_bidirectional_transition(node, fn, params, intro) { + let config = fn(node, params); + let t = intro ? 0 : 1; + let running_program = null; + let pending_program = null; + let animation_name = null; + function clear_animation() { + if (animation_name) + delete_rule(node, animation_name); + } + function init(program, duration) { + const d = program.b - t; + duration *= Math.abs(d); + return { + a: t, + b: program.b, + d, + duration, + start: program.start, + end: program.start + duration, + group: program.group + }; + } + function go(b) { + const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition; + const program = { + start: now() + delay, + b + }; + if (!b) { + // @ts-ignore todo: improve typings + program.group = outros; + outros.r += 1; + } + if (running_program) { + pending_program = program; + } + else { + // if this is an intro, and there's a delay, we need to do + // an initial tick and/or apply CSS animation immediately + if (css) { + clear_animation(); + animation_name = create_rule(node, t, b, duration, delay, easing, css); + } + if (b) + tick(0, 1); + running_program = init(program, duration); + add_render_callback(() => dispatch(node, b, 'start')); + loop(now => { + if (pending_program && now > pending_program.start) { + running_program = init(pending_program, duration); + pending_program = null; + dispatch(node, running_program.b, 'start'); + if (css) { + clear_animation(); + animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css); + } + } + if (running_program) { + if (now >= running_program.end) { + tick(t = running_program.b, 1 - t); + dispatch(node, running_program.b, 'end'); + if (!pending_program) { + // we're done + if (running_program.b) { + // intro — we can tidy up immediately + clear_animation(); + } + else { + // outro — needs to be coordinated + if (!--running_program.group.r) + run_all(running_program.group.c); + } + } + running_program = null; + } + else if (now >= running_program.start) { + const p = now - running_program.start; + t = running_program.a + running_program.d * easing(p / running_program.duration); + tick(t, 1 - t); + } + } + return !!(running_program || pending_program); + }); + } + } + return { + run(b) { + if (is_function(config)) { + wait().then(() => { + // @ts-ignore + config = config(); + go(b); + }); + } + else { + go(b); + } + }, + end() { + clear_animation(); + running_program = pending_program = null; + } + }; + } + + const globals = (typeof window !== 'undefined' ? window : global); + function mount_component(component, target, anchor) { + const { fragment, on_mount, on_destroy, after_update } = component.$$; + fragment.m(target, anchor); + // onMount happens before the initial afterUpdate + add_render_callback(() => { + const new_on_destroy = on_mount.map(run).filter(is_function); + if (on_destroy) { + on_destroy.push(...new_on_destroy); + } + else { + // Edge case - component was destroyed immediately, + // most likely as a result of a binding initialising + run_all(new_on_destroy); + } + component.$$.on_mount = []; + }); + after_update.forEach(add_render_callback); + } + function destroy_component(component, detaching) { + if (component.$$.fragment) { + run_all(component.$$.on_destroy); + component.$$.fragment.d(detaching); + // TODO null out other refs, including component.$$ (but need to + // preserve final state?) + component.$$.on_destroy = component.$$.fragment = null; + component.$$.ctx = {}; + } + } + function make_dirty(component, key) { + if (!component.$$.dirty) { + dirty_components.push(component); + schedule_update(); + component.$$.dirty = blank_object(); + } + component.$$.dirty[key] = true; + } + function init(component, options, instance, create_fragment, not_equal, prop_names) { + const parent_component = current_component; + set_current_component(component); + const props = options.props || {}; + const $$ = component.$$ = { + fragment: null, + ctx: null, + // state + props: prop_names, + update: noop, + not_equal, + bound: blank_object(), + // lifecycle + on_mount: [], + on_destroy: [], + before_update: [], + after_update: [], + context: new Map(parent_component ? parent_component.$$.context : []), + // everything else + callbacks: blank_object(), + dirty: null + }; + let ready = false; + $$.ctx = instance + ? instance(component, props, (key, ret, value = ret) => { + if ($$.ctx && not_equal($$.ctx[key], $$.ctx[key] = value)) { + if ($$.bound[key]) + $$.bound[key](value); + if (ready) + make_dirty(component, key); + } + return ret; + }) + : props; + $$.update(); + ready = true; + run_all($$.before_update); + $$.fragment = create_fragment($$.ctx); + if (options.target) { + if (options.hydrate) { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + $$.fragment.l(children(options.target)); + } + else { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + $$.fragment.c(); + } + if (options.intro) + transition_in(component.$$.fragment); + mount_component(component, options.target, options.anchor); + flush(); + } + set_current_component(parent_component); + } + class SvelteComponent { + $destroy() { + destroy_component(this, 1); + this.$destroy = noop; + } + $on(type, callback) { + const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = [])); + callbacks.push(callback); + return () => { + const index = callbacks.indexOf(callback); + if (index !== -1) + callbacks.splice(index, 1); + }; + } + $set() { + // overridden by instance, if it has props + } + } + + function dispatch_dev(type, detail) { + document.dispatchEvent(custom_event(type, detail)); + } + function append_dev(target, node) { + dispatch_dev("SvelteDOMInsert", { target, node }); + append(target, node); + } + function insert_dev(target, node, anchor) { + dispatch_dev("SvelteDOMInsert", { target, node, anchor }); + insert(target, node, anchor); + } + function detach_dev(node) { + dispatch_dev("SvelteDOMRemove", { node }); + detach(node); + } + function listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) { + const modifiers = options === true ? ["capture"] : options ? Array.from(Object.keys(options)) : []; + if (has_prevent_default) + modifiers.push('preventDefault'); + if (has_stop_propagation) + modifiers.push('stopPropagation'); + dispatch_dev("SvelteDOMAddEventListener", { node, event, handler, modifiers }); + const dispose = listen(node, event, handler, options); + return () => { + dispatch_dev("SvelteDOMRemoveEventListener", { node, event, handler, modifiers }); + dispose(); + }; + } + function attr_dev(node, attribute, value) { + attr(node, attribute, value); + if (value == null) + dispatch_dev("SvelteDOMRemoveAttribute", { node, attribute }); + else + dispatch_dev("SvelteDOMSetAttribute", { node, attribute, value }); + } + function set_data_dev(text, data) { + data = '' + data; + if (text.data === data) + return; + dispatch_dev("SvelteDOMSetData", { node: text, data }); + text.data = data; + } + class SvelteComponentDev extends SvelteComponent { + constructor(options) { + if (!options || (!options.target && !options.$$inline)) { + throw new Error(`'target' is a required option`); + } + super(); + } + $destroy() { + super.$destroy(); + this.$destroy = () => { + console.warn(`Component was already destroyed`); // eslint-disable-line no-console + }; + } + } + + function cubicOut(t) { + const f = t - 1.0; + return f * f * f + 1.0; + } + + function slide(node, { delay = 0, duration = 400, easing = cubicOut }) { + const style = getComputedStyle(node); + const opacity = +style.opacity; + const height = parseFloat(style.height); + const padding_top = parseFloat(style.paddingTop); + const padding_bottom = parseFloat(style.paddingBottom); + const margin_top = parseFloat(style.marginTop); + const margin_bottom = parseFloat(style.marginBottom); + const border_top_width = parseFloat(style.borderTopWidth); + const border_bottom_width = parseFloat(style.borderBottomWidth); + return { + delay, + duration, + easing, + css: t => `overflow: hidden;` + + `opacity: ${Math.min(t * 20, 1) * opacity};` + + `height: ${t * height}px;` + + `padding-top: ${t * padding_top}px;` + + `padding-bottom: ${t * padding_bottom}px;` + + `margin-top: ${t * margin_top}px;` + + `margin-bottom: ${t * margin_bottom}px;` + + `border-top-width: ${t * border_top_width}px;` + + `border-bottom-width: ${t * border_bottom_width}px;` + }; + } + + const subscriber_queue = []; + /** + * Create a `Writable` store that allows both updating and reading by subscription. + * @param {*=}value initial value + * @param {StartStopNotifier=}start start and stop notifications for subscriptions + */ + function writable(value, start = noop) { + let stop; + const subscribers = []; + function set(new_value) { + if (safe_not_equal(value, new_value)) { + value = new_value; + if (stop) { // store is ready + const run_queue = !subscriber_queue.length; + for (let i = 0; i < subscribers.length; i += 1) { + const s = subscribers[i]; + s[1](); + subscriber_queue.push(s, value); + } + if (run_queue) { + for (let i = 0; i < subscriber_queue.length; i += 2) { + subscriber_queue[i][0](subscriber_queue[i + 1]); + } + subscriber_queue.length = 0; + } + } + } + } + function update(fn) { + set(fn(value)); + } + function subscribe(run, invalidate = noop) { + const subscriber = [run, invalidate]; + subscribers.push(subscriber); + if (subscribers.length === 1) { + stop = start(set) || noop; + } + run(value); + return () => { + const index = subscribers.indexOf(subscriber); + if (index !== -1) { + subscribers.splice(index, 1); + } + if (subscribers.length === 0) { + stop(); + stop = null; + } + }; + } + return { set, update, subscribe }; + } + + const historyStore = writable([]); + + function historyStoreAdd( state ){ + historyStore.update(h => [...h, state]); + } + function historyStoreReplaceLast( state ){ + historyStore.update( h => { + h[h.length-1] = state; + return h; + }); + } + function historyStoreRemoveLast(){ + historyStore.update( h => { + h.pop(); + return h; + }); + } + + const pageStore = writable({ + title: document.title, + url: window.location.href + }); + + function pageStoreSet( pageObject ){ + pageStore.set( pageObject ); + } + + function pageStoreReplaceProperties( properties ){ + pageStore.update( page => { + for (var key in properties) { + page[key] = properties[key]; + } + return page; + }); + } + + function createStateObject( obj ){ + return { + url: obj.url, + title: obj.title || obj.url.split('/').pop(), + template: obj.template || false, + worlditem: obj.worlditem || false + }; + } + + function assumeTemplate( pathname ){ + if( pathname === '' || pathname === '/' ){ + return false; + } else if( pathname.match(/^\/?archive\/.+\/.+/) ){ + return 'entity'; + } else if( pathname.match(/^\/?archive.*/) ){ + return 'archive'; + } + return false; + } + + function assumeTitle( href ){ + + // from query + let matches = href.search.match(/research=([^&]*)/); + if( matches ){ + return matches[0].replace('research=',''); + } + + // from last slug + if( href.pathname ){ + let slugs = href.pathname.split('/'); + return slugs.pop(); + } + + return ''; + + } + + function readHeader( header ){ + if( header.includes('json') ){ + return 'json'; + } + return 'html'; + } + + async function loadData( url ){ + + url = url.replace( '.json', '' ); + + const location = new URL( url ); + url = location.origin + '/get' + location.pathname + location.search; + + console.log( 'loadData( '+url+' )' ); + const response = await fetch( url ); + + if (!response.ok) { + console.error("HTTP-Error: " + response.status); + return false; + } + + let format = readHeader( response.headers.get('content-type') ); + let data = {}; + + if( format === 'json' ){ + data = await response.json(); + } else { + data.data = {}; + data.data.html = await response.text(); + } + + return data.data; + } + + let loading = false; + + async function navigateTo( url, target = {}, replace = false ) { + if( loading === true ){ + console.log('navigateTo() already loading'); + return false; + } + if( url === window.location.href ){ + return false; + } + const href = new URL( url ); + if( href.host !== window.location.host ){ + window.open( href, '_blank' ); + return; + } + + loading = true; + + target.url = url; + target.template = target.template || assumeTemplate( href.pathname ); + target.title = target.title || assumeTitle( href ); + + let state = createStateObject( target ); + + // use info provided by page object for + + pageStoreSet({...target, loading: true}); + + if( replace === false ){ + history.pushState( state, state.title, state.url); + } else { + history.replaceState( state, state.title, state.url); + } + + historyStoreAdd( state ); + + // load data + let data = await loadData( url ); + + let classlist = ['dynamic']; + if( data.html ){ + data.url = state.url; + data.title = state.title; + data.template = 'html'; + classlist = [...classlist, 'reqular', 'black']; + } else { + state = createStateObject( data ); + // let classlist = ['dynamic', data.theme, data.layout, data.template, data.entity, data.type, data.category ]; + classlist = [...classlist, data.theme, data.layout, data.template, data.type, data.entity ]; + } + + // replace info in page object and history + pageStoreSet({...data , loading: false }); + + // naviWorld( entity.worlditem ); + + history.replaceState( state, data.title, data.url ); + historyStoreReplaceLast( state ); + + document.body.className = classlist.join(' '); + + loading = false; + } + + let loading$1 = false; + + async function replaceContent( url, target = {}, replace = false ) { + if( loading$1 === true ){ + console.log('replaceContent() already loading'); + return false; + } + if( url === window.location.href ){ + return false; + } + + console.log('REPLAAAACE'); + + const href = new URL( url ); + + loading$1 = true; + let state = history.state; + + state.url = url; + state.title = target.title || assumeTitle( href ); + state.worlditem = target.worlditem || false; + + // use info provided by page object for + + pageStoreReplaceProperties({...target, loading: true}); + + if( replace === false ){ + historyStoreAdd( state ); + history.pushState( state, state.title, state.url); + } else { + historyStoreReplaceLast( state ); + history.replaceState( state, state.title, url ); + } + + // load data + let data = await loadData( url ); + + state.title = data.title; + state.worlditem = data.worlditem; + + window.goToItem( data.worlditem ); + + pageStoreReplaceProperties({ + ...state, + id: data.id, + category: data.category, + keywords: data.keywords, + description: data.description, + content: data.content, + pagination: data.pagination || false, + loading: false + }); + historyStoreReplaceLast( state ); + history.replaceState( state, state.title, state.url ); + + loading$1 = false; + } + + /* src/router/Link.svelte generated by Svelte v3.12.1 */ + + const file = "src/router/Link.svelte"; + + function create_fragment(ctx) { + var a, t_value = ctx.target.title + "", t, a_href_value, a_title_value, current, dispose; + + const default_slot_template = ctx.$$slots.default; + const default_slot = create_slot(default_slot_template, ctx, null); + + const block = { + c: function create() { + a = element("a"); + + if (!default_slot) { + t = text(t_value); + } + + if (default_slot) default_slot.c(); + + attr_dev(a, "href", a_href_value = ctx.target.url); + attr_dev(a, "title", a_title_value = ctx.target.title); + attr_dev(a, "class", ctx.classList); + toggle_class(a, "current", ctx.target.url === window.location.href); + add_location(a, file, 31, 0, 829); + dispose = listen_dev(a, "click", prevent_default(ctx.onClick), false, true); + }, + + l: function claim(nodes) { + if (default_slot) default_slot.l(a_nodes); + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + + m: function mount(target_1, anchor) { + insert_dev(target_1, a, anchor); + + if (!default_slot) { + append_dev(a, t); + } + + else { + default_slot.m(a, null); + } + + current = true; + }, + + p: function update(changed, ctx) { + if (!default_slot) { + if ((!current || changed.target) && t_value !== (t_value = ctx.target.title + "")) { + set_data_dev(t, t_value); + } + } + + if (default_slot && default_slot.p && changed.$$scope) { + default_slot.p( + get_slot_changes(default_slot_template, ctx, changed, null), + get_slot_context(default_slot_template, ctx, null) + ); + } + + if ((!current || changed.target) && a_href_value !== (a_href_value = ctx.target.url)) { + attr_dev(a, "href", a_href_value); + } + + if ((!current || changed.target) && a_title_value !== (a_title_value = ctx.target.title)) { + attr_dev(a, "title", a_title_value); + } + + if (!current || changed.classList) { + attr_dev(a, "class", ctx.classList); + } + + if ((changed.classList || changed.target)) { + toggle_class(a, "current", ctx.target.url === window.location.href); + } + }, + + i: function intro(local) { + if (current) return; + transition_in(default_slot, local); + current = true; + }, + + o: function outro(local) { + transition_out(default_slot, local); + current = false; + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(a); + } + + if (default_slot) default_slot.d(detaching); + dispose(); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_fragment.name, type: "component", source: "", ctx }); + return block; + } + + function instance($$self, $$props, $$invalidate) { + + const dispatch = createEventDispatcher(); + + let { target = {}, url = false, title = false, template = false } = $$props; + + $$invalidate('target', target.url = url || target.url, target); + $$invalidate('target', target.title = title || target.title, target); + $$invalidate('target', target.template = template || target.template, target); + + let { replace = false, class: classList = '' } = $$props; + + function onClick(event) { + if( target.worlditem && document.body.classList.contains('liebling-house') ){ + replaceContent( target.url, target, replace); + } else { + navigateTo( target.url, target, replace); + } + dispatch('click', event); + } + + const writable_props = ['target', 'url', 'title', 'template', 'replace', 'class']; + Object.keys($$props).forEach(key => { + if (!writable_props.includes(key) && !key.startsWith('$$')) console.warn(` was created with unknown prop '${key}'`); + }); + + let { $$slots = {}, $$scope } = $$props; + + $$self.$set = $$props => { + if ('target' in $$props) $$invalidate('target', target = $$props.target); + if ('url' in $$props) $$invalidate('url', url = $$props.url); + if ('title' in $$props) $$invalidate('title', title = $$props.title); + if ('template' in $$props) $$invalidate('template', template = $$props.template); + if ('replace' in $$props) $$invalidate('replace', replace = $$props.replace); + if ('class' in $$props) $$invalidate('classList', classList = $$props.class); + if ('$$scope' in $$props) $$invalidate('$$scope', $$scope = $$props.$$scope); + }; + + $$self.$capture_state = () => { + return { target, url, title, template, replace, classList }; + }; + + $$self.$inject_state = $$props => { + if ('target' in $$props) $$invalidate('target', target = $$props.target); + if ('url' in $$props) $$invalidate('url', url = $$props.url); + if ('title' in $$props) $$invalidate('title', title = $$props.title); + if ('template' in $$props) $$invalidate('template', template = $$props.template); + if ('replace' in $$props) $$invalidate('replace', replace = $$props.replace); + if ('classList' in $$props) $$invalidate('classList', classList = $$props.classList); + }; + + return { + target, + url, + title, + template, + replace, + classList, + onClick, + $$slots, + $$scope + }; + } + + class Link extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance, create_fragment, safe_not_equal, ["target", "url", "title", "template", "replace", "class"]); + dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "Link", options, id: create_fragment.name }); + } + + get target() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set target(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get url() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set url(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get title() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set title(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get template() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set template(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get replace() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set replace(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get class() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set class(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/components/navigation/historyBar.svelte generated by Svelte v3.12.1 */ + + const file$1 = "src/components/navigation/historyBar.svelte"; + + function get_each_context(ctx, list, i) { + const child_ctx = Object.create(ctx); + child_ctx.item = list[i]; + return child_ctx; + } + + // (41:6) {#each list as item} + function create_each_block(ctx) { + var li, t, li_class_value, current; + + var link = new Link({ + props: { target: ctx.item }, + $$inline: true + }); + + const block = { + c: function create() { + li = element("li"); + link.$$.fragment.c(); + t = space(); + attr_dev(li, "class", li_class_value = ctx.item.double ? 'double' : ''); + add_location(li, file$1, 41, 8, 913); + }, + + m: function mount(target, anchor) { + insert_dev(target, li, anchor); + mount_component(link, li, null); + append_dev(li, t); + current = true; + }, + + p: function update(changed, ctx) { + var link_changes = {}; + if (changed.list) link_changes.target = ctx.item; + link.$set(link_changes); + + if ((!current || changed.list) && li_class_value !== (li_class_value = ctx.item.double ? 'double' : '')) { + attr_dev(li, "class", li_class_value); + } + }, + + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + + current = true; + }, + + o: function outro(local) { + transition_out(link.$$.fragment, local); + current = false; + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(li); + } + + destroy_component(link); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_each_block.name, type: "each", source: "(41:6) {#each list as item}", ctx }); + return block; + } + + function create_fragment$1(ctx) { + var nav, h3, a, t_1, ol, div, div_resize_listener, ol_resize_listener, ol_class_value, current; + + let each_value = ctx.list; + + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); + } + + const out = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + const block = { + c: function create() { + nav = element("nav"); + h3 = element("h3"); + a = element("a"); + a.textContent = "Start"; + t_1 = space(); + ol = element("ol"); + div = element("div"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + attr_dev(a, "href", window.location.origin); + attr_dev(a, "title", "Start"); + add_location(a, file$1, 36, 4, 680); + add_location(h3, file$1, 35, 2, 671); + add_render_callback(() => ctx.div_resize_handler.call(div)); + add_location(div, file$1, 39, 4, 842); + add_render_callback(() => ctx.ol_resize_handler.call(ol)); + attr_dev(ol, "class", ol_class_value = ctx.innerWidth > ctx.outerWidth ? 'alignright' : ''); + add_location(ol, file$1, 38, 2, 748); + attr_dev(nav, "class", "bar history horizontal white"); + add_location(nav, file$1, 34, 0, 626); + }, + + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + + m: function mount(target, anchor) { + insert_dev(target, nav, anchor); + append_dev(nav, h3); + append_dev(h3, a); + append_dev(nav, t_1); + append_dev(nav, ol); + append_dev(ol, div); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(div, null); + } + + div_resize_listener = add_resize_listener(div, ctx.div_resize_handler.bind(div)); + ol_resize_listener = add_resize_listener(ol, ctx.ol_resize_handler.bind(ol)); + current = true; + }, + + p: function update(changed, ctx) { + if (changed.list) { + each_value = ctx.list; + + let i; + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(changed, child_ctx); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(div, null); + } + } + + group_outros(); + for (i = each_value.length; i < each_blocks.length; i += 1) { + out(i); + } + check_outros(); + } + + if ((!current || changed.innerWidth || changed.outerWidth) && ol_class_value !== (ol_class_value = ctx.innerWidth > ctx.outerWidth ? 'alignright' : '')) { + attr_dev(ol, "class", ol_class_value); + } + }, + + i: function intro(local) { + if (current) return; + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + + o: function outro(local) { + each_blocks = each_blocks.filter(Boolean); + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(nav); + } + + destroy_each(each_blocks, detaching); + + div_resize_listener.cancel(); + ol_resize_listener.cancel(); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_fragment$1.name, type: "component", source: "", ctx }); + return block; + } + + function instance$1($$self, $$props, $$invalidate) { + + + let list; + const unsubscribe = historyStore.subscribe(value => { + if( value.length > 50 ){ + value.splice(1,1); + } + + let doubles = []; + + for( let i = value.length - 1; i >= 0; i--){ + if( doubles.includes( value[i].url) ){ + value[i].double = true; + } else { + value[i].double = false; + doubles.push(value[i].url); + } + } + + $$invalidate('list', list = value); + }); + onDestroy(() => { + unsubscribe(); + }); + + let outerWidth, innerWidth; + + // ← → + + function div_resize_handler() { + innerWidth = this.offsetWidth; + $$invalidate('innerWidth', innerWidth); + } + + function ol_resize_handler() { + outerWidth = this.offsetWidth; + $$invalidate('outerWidth', outerWidth); + } + + $$self.$capture_state = () => { + return {}; + }; + + $$self.$inject_state = $$props => { + if ('list' in $$props) $$invalidate('list', list = $$props.list); + if ('outerWidth' in $$props) $$invalidate('outerWidth', outerWidth = $$props.outerWidth); + if ('innerWidth' in $$props) $$invalidate('innerWidth', innerWidth = $$props.innerWidth); + }; + + return { + list, + outerWidth, + innerWidth, + div_resize_handler, + ol_resize_handler + }; + } + + class HistoryBar extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$1, create_fragment$1, safe_not_equal, []); + dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "HistoryBar", options, id: create_fragment$1.name }); + } + } + + /* src/components/navigation/archiveBar.svelte generated by Svelte v3.12.1 */ + + const file$2 = "src/components/navigation/archiveBar.svelte"; + + function get_each_context$1(ctx, list, i) { + const child_ctx = Object.create(ctx); + child_ctx.keyword = list[i]; + return child_ctx; + } + + // (16:2) {#if page.keywords} + function create_if_block(ctx) { + var div, current; + + let each_value = ctx.page.keywords; + + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i)); + } + + const out = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + const block = { + c: function create() { + div = element("div"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + attr_dev(div, "class", "right keywords"); + add_location(div, file$2, 16, 4, 280); + }, + + m: function mount(target, anchor) { + insert_dev(target, div, anchor); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(div, null); + } + + current = true; + }, + + p: function update(changed, ctx) { + if (changed.url || changed.page) { + each_value = ctx.page.keywords; + + let i; + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$1(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(changed, child_ctx); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block$1(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(div, null); + } + } + + group_outros(); + for (i = each_value.length; i < each_blocks.length; i += 1) { + out(i); + } + check_outros(); + } + }, + + i: function intro(local) { + if (current) return; + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + + o: function outro(local) { + each_blocks = each_blocks.filter(Boolean); + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(div); + } + + destroy_each(each_blocks, detaching); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_if_block.name, type: "if", source: "(16:2) {#if page.keywords}", ctx }); + return block; + } + + // (18:6) {#each page.keywords as keyword} + function create_each_block$1(ctx) { + var current; + + var link = new Link({ + props: { + url: ctx.url+'?research='+ctx.keyword, + template: "archive", + title: ctx.keyword + }, + $$inline: true + }); + + const block = { + c: function create() { + link.$$.fragment.c(); + }, + + m: function mount(target, anchor) { + mount_component(link, target, anchor); + current = true; + }, + + p: function update(changed, ctx) { + var link_changes = {}; + if (changed.page) link_changes.url = ctx.url+'?research='+ctx.keyword; + if (changed.page) link_changes.title = ctx.keyword; + link.$set(link_changes); + }, + + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + + current = true; + }, + + o: function outro(local) { + transition_out(link.$$.fragment, local); + current = false; + }, + + d: function destroy(detaching) { + destroy_component(link, detaching); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_each_block$1.name, type: "each", source: "(18:6) {#each page.keywords as keyword}", ctx }); + return block; + } + + function create_fragment$2(ctx) { + var nav, div, t, current; + + var link = new Link({ + props: { + url: ctx.url, + title: "Archive", + template: "archive" + }, + $$inline: true + }); + + var if_block = (ctx.page.keywords) && create_if_block(ctx); + + const block = { + c: function create() { + nav = element("nav"); + div = element("div"); + link.$$.fragment.c(); + t = space(); + if (if_block) if_block.c(); + attr_dev(div, "class", "left"); + add_location(div, file$2, 11, 2, 171); + attr_dev(nav, "class", "bar archive horizontal"); + add_location(nav, file$2, 9, 0, 131); + }, + + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + + m: function mount(target, anchor) { + insert_dev(target, nav, anchor); + append_dev(nav, div); + mount_component(link, div, null); + append_dev(nav, t); + if (if_block) if_block.m(nav, null); + current = true; + }, + + p: function update(changed, ctx) { + if (ctx.page.keywords) { + if (if_block) { + if_block.p(changed, ctx); + transition_in(if_block, 1); + } else { + if_block = create_if_block(ctx); + if_block.c(); + transition_in(if_block, 1); + if_block.m(nav, null); + } + } else if (if_block) { + group_outros(); + transition_out(if_block, 1, 1, () => { + if_block = null; + }); + check_outros(); + } + }, + + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + + transition_in(if_block); + current = true; + }, + + o: function outro(local) { + transition_out(link.$$.fragment, local); + transition_out(if_block); + current = false; + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(nav); + } + + destroy_component(link); + + if (if_block) if_block.d(); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_fragment$2.name, type: "component", source: "", ctx }); + return block; + } + + function instance$2($$self, $$props, $$invalidate) { + let url = location.origin + '/archive'; + + let { page } = $$props; + + const writable_props = ['page']; + Object.keys($$props).forEach(key => { + if (!writable_props.includes(key) && !key.startsWith('$$')) console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$set = $$props => { + if ('page' in $$props) $$invalidate('page', page = $$props.page); + }; + + $$self.$capture_state = () => { + return { url, page }; + }; + + $$self.$inject_state = $$props => { + if ('url' in $$props) $$invalidate('url', url = $$props.url); + if ('page' in $$props) $$invalidate('page', page = $$props.page); + }; + + return { url, page }; + } + + class ArchiveBar extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$2, create_fragment$2, safe_not_equal, ["page"]); + dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "ArchiveBar", options, id: create_fragment$2.name }); + + const { ctx } = this.$$; + const props = options.props || {}; + if (ctx.page === undefined && !('page' in props)) { + console.warn(" was created without expected prop 'page'"); + } + } + + get page() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set page(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/components/collection/card.svelte generated by Svelte v3.12.1 */ + + const file$3 = "src/components/collection/card.svelte"; + + // (16:10) {#if item.thumbnail} + function create_if_block_1(ctx) { + var html_tag, raw_value = ctx.item.thumbnail + ""; + + const block = { + c: function create() { + html_tag = new HtmlTag(raw_value, null); + }, + + m: function mount(target, anchor) { + html_tag.m(target, anchor); + }, + + p: function update(changed, ctx) { + if ((changed.item) && raw_value !== (raw_value = ctx.item.thumbnail + "")) { + html_tag.p(raw_value); + } + }, + + d: function destroy(detaching) { + if (detaching) { + html_tag.d(); + } + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_if_block_1.name, type: "if", source: "(16:10) {#if item.thumbnail}", ctx }); + return block; + } + + // (23:10) {#if info} + function create_if_block$1(ctx) { + var h5; + + const block = { + c: function create() { + h5 = element("h5"); + add_location(h5, file$3, 22, 20, 538); + }, + + m: function mount(target, anchor) { + insert_dev(target, h5, anchor); + h5.innerHTML = ctx.info; + }, + + p: function update(changed, ctx) { + if (changed.info) { + h5.innerHTML = ctx.info; + } + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(h5); + } + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_if_block$1.name, type: "if", source: "(23:10) {#if info}", ctx }); + return block; + } + + // (13:2) + function create_default_slot(ctx) { + var figure, t0, div, span, t1_value = ctx.item.count || '' + "", t1, t2, h4, raw_value = ctx.item.title + "", t3; + + var if_block0 = (ctx.item.thumbnail) && create_if_block_1(ctx); + + var if_block1 = (ctx.info) && create_if_block$1(ctx); + + const block = { + c: function create() { + figure = element("figure"); + if (if_block0) if_block0.c(); + t0 = space(); + div = element("div"); + span = element("span"); + t1 = text(t1_value); + t2 = space(); + h4 = element("h4"); + t3 = space(); + if (if_block1) if_block1.c(); + add_location(figure, file$3, 14, 6, 313); + attr_dev(span, "class", "count"); + add_location(span, file$3, 20, 10, 434); + add_location(h4, file$3, 21, 10, 490); + attr_dev(div, "class", "title"); + add_location(div, file$3, 18, 6, 403); + }, + + m: function mount(target, anchor) { + insert_dev(target, figure, anchor); + if (if_block0) if_block0.m(figure, null); + insert_dev(target, t0, anchor); + insert_dev(target, div, anchor); + append_dev(div, span); + append_dev(span, t1); + append_dev(div, t2); + append_dev(div, h4); + h4.innerHTML = raw_value; + append_dev(div, t3); + if (if_block1) if_block1.m(div, null); + }, + + p: function update(changed, ctx) { + if (ctx.item.thumbnail) { + if (if_block0) { + if_block0.p(changed, ctx); + } else { + if_block0 = create_if_block_1(ctx); + if_block0.c(); + if_block0.m(figure, null); + } + } else if (if_block0) { + if_block0.d(1); + if_block0 = null; + } + + if ((changed.item) && t1_value !== (t1_value = ctx.item.count || '' + "")) { + set_data_dev(t1, t1_value); + } + + if ((changed.item) && raw_value !== (raw_value = ctx.item.title + "")) { + h4.innerHTML = raw_value; + } + + if (ctx.info) { + if (if_block1) { + if_block1.p(changed, ctx); + } else { + if_block1 = create_if_block$1(ctx); + if_block1.c(); + if_block1.m(div, null); + } + } else if (if_block1) { + if_block1.d(1); + if_block1 = null; + } + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(figure); + } + + if (if_block0) if_block0.d(); + + if (detaching) { + detach_dev(t0); + detach_dev(div); + } + + if (if_block1) if_block1.d(); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_default_slot.name, type: "slot", source: "(13:2) ", ctx }); + return block; + } + + function create_fragment$3(ctx) { + var li, li_class_value, current; + + var link = new Link({ + props: { + target: ctx.item, + $$slots: { default: [create_default_slot] }, + $$scope: { ctx } + }, + $$inline: true + }); + + const block = { + c: function create() { + li = element("li"); + link.$$.fragment.c(); + attr_dev(li, "class", li_class_value = "card " + ctx.classname + " " + ctx.item.classlist + " " + (ctx.width ? 'col-'+ctx.width : '') + " " + (ctx.item.thumbnail ? '' : 'no-thumb')); + add_location(li, file$3, 10, 0, 172); + }, + + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + + m: function mount(target, anchor) { + insert_dev(target, li, anchor); + mount_component(link, li, null); + current = true; + }, + + p: function update(changed, ctx) { + var link_changes = {}; + if (changed.item) link_changes.target = ctx.item; + if (changed.$$scope || changed.info || changed.item) link_changes.$$scope = { changed, ctx }; + link.$set(link_changes); + + if ((!current || changed.classname || changed.item || changed.width) && li_class_value !== (li_class_value = "card " + ctx.classname + " " + ctx.item.classlist + " " + (ctx.width ? 'col-'+ctx.width : '') + " " + (ctx.item.thumbnail ? '' : 'no-thumb'))) { + attr_dev(li, "class", li_class_value); + } + }, + + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + + current = true; + }, + + o: function outro(local) { + transition_out(link.$$.fragment, local); + current = false; + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(li); + } + + destroy_component(link); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_fragment$3.name, type: "component", source: "", ctx }); + return block; + } + + function instance$3($$self, $$props, $$invalidate) { + let { item, width = false, info = false, classname = '' } = $$props; + + const writable_props = ['item', 'width', 'info', 'classname']; + Object.keys($$props).forEach(key => { + if (!writable_props.includes(key) && !key.startsWith('$$')) console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$set = $$props => { + if ('item' in $$props) $$invalidate('item', item = $$props.item); + if ('width' in $$props) $$invalidate('width', width = $$props.width); + if ('info' in $$props) $$invalidate('info', info = $$props.info); + if ('classname' in $$props) $$invalidate('classname', classname = $$props.classname); + }; + + $$self.$capture_state = () => { + return { item, width, info, classname }; + }; + + $$self.$inject_state = $$props => { + if ('item' in $$props) $$invalidate('item', item = $$props.item); + if ('width' in $$props) $$invalidate('width', width = $$props.width); + if ('info' in $$props) $$invalidate('info', info = $$props.info); + if ('classname' in $$props) $$invalidate('classname', classname = $$props.classname); + }; + + return { item, width, info, classname }; + } + + class Card extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$3, create_fragment$3, safe_not_equal, ["item", "width", "info", "classname"]); + dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "Card", options, id: create_fragment$3.name }); + + const { ctx } = this.$$; + const props = options.props || {}; + if (ctx.item === undefined && !('item' in props)) { + console.warn(" was created without expected prop 'item'"); + } + } + + get item() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set item(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get width() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set width(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get info() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set info(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get classname() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set classname(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/components/collection/cards.svelte generated by Svelte v3.12.1 */ + + const file$4 = "src/components/collection/cards.svelte"; + + function get_each_context$2(ctx, list, i) { + const child_ctx = Object.create(ctx); + child_ctx.item = list[i]; + return child_ctx; + } + + // (25:2) {#each list as item} + function create_each_block$2(ctx) { + var current; + + var card = new Card({ + props: { item: ctx.item, width: ctx.columnWidth }, + $$inline: true + }); + + const block = { + c: function create() { + card.$$.fragment.c(); + }, + + m: function mount(target, anchor) { + mount_component(card, target, anchor); + current = true; + }, + + p: function update(changed, ctx) { + var card_changes = {}; + if (changed.list) card_changes.item = ctx.item; + if (changed.columnWidth) card_changes.width = ctx.columnWidth; + card.$set(card_changes); + }, + + i: function intro(local) { + if (current) return; + transition_in(card.$$.fragment, local); + + current = true; + }, + + o: function outro(local) { + transition_out(card.$$.fragment, local); + current = false; + }, + + d: function destroy(detaching) { + destroy_component(card, detaching); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_each_block$2.name, type: "each", source: "(25:2) {#each list as item}", ctx }); + return block; + } + + function create_fragment$4(ctx) { + var ul, current; + + let each_value = ctx.list; + + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i)); + } + + const out = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + const block = { + c: function create() { + ul = element("ul"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + attr_dev(ul, "class", "cards grid"); + add_location(ul, file$4, 23, 0, 337); + }, + + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + + m: function mount(target, anchor) { + insert_dev(target, ul, anchor); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(ul, null); + } + + current = true; + }, + + p: function update(changed, ctx) { + if (changed.list || changed.columnWidth) { + each_value = ctx.list; + + let i; + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$2(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(changed, child_ctx); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block$2(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(ul, null); + } + } + + group_outros(); + for (i = each_value.length; i < each_blocks.length; i += 1) { + out(i); + } + check_outros(); + } + }, + + i: function intro(local) { + if (current) return; + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + + o: function outro(local) { + each_blocks = each_blocks.filter(Boolean); + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(ul); + } + + destroy_each(each_blocks, detaching); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_fragment$4.name, type: "component", source: "", ctx }); + return block; + } + + function instance$4($$self, $$props, $$invalidate) { + let { list, columns = 2 } = $$props; + let columnWidth = 12 / columns; + beforeUpdate(() => { + $$invalidate('columnWidth', columnWidth = 12 / columns); + if( list.length < 4 ){ + if( columns == 2 ){ + + $$invalidate('columnWidth', columnWidth = 12); + + } + } + }); + + const writable_props = ['list', 'columns']; + Object.keys($$props).forEach(key => { + if (!writable_props.includes(key) && !key.startsWith('$$')) console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$set = $$props => { + if ('list' in $$props) $$invalidate('list', list = $$props.list); + if ('columns' in $$props) $$invalidate('columns', columns = $$props.columns); + }; + + $$self.$capture_state = () => { + return { list, columns, columnWidth }; + }; + + $$self.$inject_state = $$props => { + if ('list' in $$props) $$invalidate('list', list = $$props.list); + if ('columns' in $$props) $$invalidate('columns', columns = $$props.columns); + if ('columnWidth' in $$props) $$invalidate('columnWidth', columnWidth = $$props.columnWidth); + }; + + return { list, columns, columnWidth }; + } + + class Cards extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$4, create_fragment$4, safe_not_equal, ["list", "columns"]); + dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "Cards", options, id: create_fragment$4.name }); + + const { ctx } = this.$$; + const props = options.props || {}; + if (ctx.list === undefined && !('list' in props)) { + console.warn(" was created without expected prop 'list'"); + } + } + + get list() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set list(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get columns() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set columns(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/components/collection/list.svelte generated by Svelte v3.12.1 */ + + const file$5 = "src/components/collection/list.svelte"; + + function get_each_context$3(ctx, list, i) { + const child_ctx = Object.create(ctx); + child_ctx.item = list[i]; + return child_ctx; + } + + // (11:2) {#each list as item} + function create_each_block$3(ctx) { + var current; + + var card = new Card({ + props: { item: ctx.item }, + $$inline: true + }); + + const block = { + c: function create() { + card.$$.fragment.c(); + }, + + m: function mount(target, anchor) { + mount_component(card, target, anchor); + current = true; + }, + + p: function update(changed, ctx) { + var card_changes = {}; + if (changed.list) card_changes.item = ctx.item; + card.$set(card_changes); + }, + + i: function intro(local) { + if (current) return; + transition_in(card.$$.fragment, local); + + current = true; + }, + + o: function outro(local) { + transition_out(card.$$.fragment, local); + current = false; + }, + + d: function destroy(detaching) { + destroy_component(card, detaching); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_each_block$3.name, type: "each", source: "(11:2) {#each list as item}", ctx }); + return block; + } + + function create_fragment$5(ctx) { + var ul, current; + + let each_value = ctx.list; + + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i)); + } + + const out = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + const block = { + c: function create() { + ul = element("ul"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + attr_dev(ul, "class", "list"); + add_location(ul, file$5, 9, 0, 109); + }, + + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + + m: function mount(target, anchor) { + insert_dev(target, ul, anchor); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(ul, null); + } + + current = true; + }, + + p: function update(changed, ctx) { + if (changed.list) { + each_value = ctx.list; + + let i; + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$3(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(changed, child_ctx); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block$3(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(ul, null); + } + } + + group_outros(); + for (i = each_value.length; i < each_blocks.length; i += 1) { + out(i); + } + check_outros(); + } + }, + + i: function intro(local) { + if (current) return; + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + + o: function outro(local) { + each_blocks = each_blocks.filter(Boolean); + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(ul); + } + + destroy_each(each_blocks, detaching); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_fragment$5.name, type: "component", source: "", ctx }); + return block; + } + + function instance$5($$self, $$props, $$invalidate) { + let { list, category = false } = $$props; + + const writable_props = ['list', 'category']; + Object.keys($$props).forEach(key => { + if (!writable_props.includes(key) && !key.startsWith('$$')) console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$set = $$props => { + if ('list' in $$props) $$invalidate('list', list = $$props.list); + if ('category' in $$props) $$invalidate('category', category = $$props.category); + }; + + $$self.$capture_state = () => { + return { list, category }; + }; + + $$self.$inject_state = $$props => { + if ('list' in $$props) $$invalidate('list', list = $$props.list); + if ('category' in $$props) $$invalidate('category', category = $$props.category); + }; + + return { list, category }; + } + + class List extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$5, create_fragment$5, safe_not_equal, ["list", "category"]); + dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "List", options, id: create_fragment$5.name }); + + const { ctx } = this.$$; + const props = options.props || {}; + if (ctx.list === undefined && !('list' in props)) { + console.warn(" was created without expected prop 'list'"); + } + } + + get list() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set list(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get category() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set category(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/views/transcript.svelte generated by Svelte v3.12.1 */ + const { console: console_1 } = globals; + + const file$6 = "src/views/transcript.svelte"; + + // (17:4) {#if transcript.en} + function create_if_block_1$1(ctx) { + var div, h4, t_1, html_tag, raw_value = ctx.transcript.en + ""; + + const block = { + c: function create() { + div = element("div"); + h4 = element("h4"); + h4.textContent = "EN"; + t_1 = space(); + add_location(h4, file$6, 18, 12, 328); + html_tag = new HtmlTag(raw_value, null); + attr_dev(div, "class", "en col-sm-" + ctx.columnWidth()); + add_location(div, file$6, 17, 8, 276); + }, + + m: function mount(target, anchor) { + insert_dev(target, div, anchor); + append_dev(div, h4); + append_dev(div, t_1); + html_tag.m(div); + }, + + p: function update(changed, ctx) { + if ((changed.transcript) && raw_value !== (raw_value = ctx.transcript.en + "")) { + html_tag.p(raw_value); + } + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(div); + } + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_if_block_1$1.name, type: "if", source: "(17:4) {#if transcript.en}", ctx }); + return block; + } + + // (23:4) {#if transcript.de} + function create_if_block$2(ctx) { + var div, h4, t_1, html_tag, raw_value = ctx.transcript.de + ""; + + const block = { + c: function create() { + div = element("div"); + h4 = element("h4"); + h4.textContent = "DE"; + t_1 = space(); + add_location(h4, file$6, 24, 12, 483); + html_tag = new HtmlTag(raw_value, null); + attr_dev(div, "class", "de col-sm-" + ctx.columnWidth()); + add_location(div, file$6, 23, 8, 431); + }, + + m: function mount(target, anchor) { + insert_dev(target, div, anchor); + append_dev(div, h4); + append_dev(div, t_1); + html_tag.m(div); + }, + + p: function update(changed, ctx) { + if ((changed.transcript) && raw_value !== (raw_value = ctx.transcript.de + "")) { + html_tag.p(raw_value); + } + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(div); + } + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_if_block$2.name, type: "if", source: "(23:4) {#if transcript.de}", ctx }); + return block; + } + + function create_fragment$6(ctx) { + var div, t; + + var if_block0 = (ctx.transcript.en) && create_if_block_1$1(ctx); + + var if_block1 = (ctx.transcript.de) && create_if_block$2(ctx); + + const block = { + c: function create() { + div = element("div"); + if (if_block0) if_block0.c(); + t = space(); + if (if_block1) if_block1.c(); + attr_dev(div, "class", "transcript grid"); + add_location(div, file$6, 15, 0, 214); + }, + + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + + m: function mount(target, anchor) { + insert_dev(target, div, anchor); + if (if_block0) if_block0.m(div, null); + append_dev(div, t); + if (if_block1) if_block1.m(div, null); + }, + + p: function update(changed, ctx) { + if (ctx.transcript.en) { + if (if_block0) { + if_block0.p(changed, ctx); + } else { + if_block0 = create_if_block_1$1(ctx); + if_block0.c(); + if_block0.m(div, t); + } + } else if (if_block0) { + if_block0.d(1); + if_block0 = null; + } + + if (ctx.transcript.de) { + if (if_block1) { + if_block1.p(changed, ctx); + } else { + if_block1 = create_if_block$2(ctx); + if_block1.c(); + if_block1.m(div, null); + } + } else if (if_block1) { + if_block1.d(1); + if_block1 = null; + } + }, + + i: noop, + o: noop, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(div); + } + + if (if_block0) if_block0.d(); + if (if_block1) if_block1.d(); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_fragment$6.name, type: "component", source: "", ctx }); + return block; + } + + function instance$6($$self, $$props, $$invalidate) { + let { transcript } = $$props; + + console.log( transcript ); + + function columnWidth(){ + if ( transcript.en && transcript.de ){ + return 6; + } + return 12; + } + + const writable_props = ['transcript']; + Object.keys($$props).forEach(key => { + if (!writable_props.includes(key) && !key.startsWith('$$')) console_1.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$set = $$props => { + if ('transcript' in $$props) $$invalidate('transcript', transcript = $$props.transcript); + }; + + $$self.$capture_state = () => { + return { transcript }; + }; + + $$self.$inject_state = $$props => { + if ('transcript' in $$props) $$invalidate('transcript', transcript = $$props.transcript); + }; + + return { transcript, columnWidth }; + } + + class Transcript extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$6, create_fragment$6, safe_not_equal, ["transcript"]); + dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "Transcript", options, id: create_fragment$6.name }); + + const { ctx } = this.$$; + const props = options.props || {}; + if (ctx.transcript === undefined && !('transcript' in props)) { + console_1.warn(" was created without expected prop 'transcript'"); + } + } + + get transcript() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set transcript(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/views/video.svelte generated by Svelte v3.12.1 */ + + const file$7 = "src/views/video.svelte"; + + function get_each_context$4(ctx, list, i) { + const child_ctx = Object.create(ctx); + child_ctx.source = list[i]; + return child_ctx; + } + + // (29:0) {#if view.content.srcset.length > 0} + function create_if_block$3(ctx) { + var section, div, t, section_resize_listener, section_class_value, current; + + var if_block0 = (ctx.render === true) && create_if_block_2(ctx); + + var if_block1 = (ctx.transcript) && create_if_block_1$2(ctx); + + const block = { + c: function create() { + section = element("section"); + div = element("div"); + if (if_block0) if_block0.c(); + t = space(); + if (if_block1) if_block1.c(); + attr_dev(div, "class", "section--content"); + add_location(div, file$7, 32, 1, 602); + add_render_callback(() => ctx.section_resize_handler.call(section)); + attr_dev(section, "class", section_class_value = "" + ctx.classname + " " + ctx.view.type + " " + (ctx.transcript ? '' : 'center')); + add_location(section, file$7, 30, 0, 499); + }, + + m: function mount(target, anchor) { + insert_dev(target, section, anchor); + append_dev(section, div); + if (if_block0) if_block0.m(div, null); + append_dev(section, t); + if (if_block1) if_block1.m(section, null); + section_resize_listener = add_resize_listener(section, ctx.section_resize_handler.bind(section)); + current = true; + }, + + p: function update(changed, ctx) { + if (ctx.render === true) { + if (if_block0) { + if_block0.p(changed, ctx); + } else { + if_block0 = create_if_block_2(ctx); + if_block0.c(); + if_block0.m(div, null); + } + } else if (if_block0) { + if_block0.d(1); + if_block0 = null; + } + + if (ctx.transcript) { + if (if_block1) { + if_block1.p(changed, ctx); + transition_in(if_block1, 1); + } else { + if_block1 = create_if_block_1$2(ctx); + if_block1.c(); + transition_in(if_block1, 1); + if_block1.m(section, null); + } + } else if (if_block1) { + group_outros(); + transition_out(if_block1, 1, 1, () => { + if_block1 = null; + }); + check_outros(); + } + + if ((!current || changed.classname || changed.view || changed.transcript) && section_class_value !== (section_class_value = "" + ctx.classname + " " + ctx.view.type + " " + (ctx.transcript ? '' : 'center'))) { + attr_dev(section, "class", section_class_value); + } + }, + + i: function intro(local) { + if (current) return; + transition_in(if_block1); + current = true; + }, + + o: function outro(local) { + transition_out(if_block1); + current = false; + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(section); + } + + if (if_block0) if_block0.d(); + if (if_block1) if_block1.d(); + section_resize_listener.cancel(); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_if_block$3.name, type: "if", source: "(29:0) {#if view.content.srcset.length > 0}", ctx }); + return block; + } + + // (34:2) {#if render === true} + function create_if_block_2(ctx) { + var video, video_poster_value, dispose; + + let each_value = ctx.view.content.srcset; + + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i)); + } + + const block = { + c: function create() { + video = element("video"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + attr_dev(video, "width", "100%"); + attr_dev(video, "height", "auto"); + video.controls = true; + attr_dev(video, "preload", "metadata"); + attr_dev(video, "poster", video_poster_value = ctx.view.content.poster); + add_location(video, file$7, 34, 3, 660); + dispose = listen_dev(video, "contextmenu", preventContextMenu); + }, + + m: function mount(target, anchor) { + insert_dev(target, video, anchor); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(video, null); + } + + ctx.video_binding(video); + }, + + p: function update(changed, ctx) { + if (changed.videoWidth || changed.view) { + each_value = ctx.view.content.srcset; + + let i; + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$4(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(changed, child_ctx); + } else { + each_blocks[i] = create_each_block$4(child_ctx); + each_blocks[i].c(); + each_blocks[i].m(video, null); + } + } + + for (; i < each_blocks.length; i += 1) { + each_blocks[i].d(1); + } + each_blocks.length = each_value.length; + } + + if ((changed.view) && video_poster_value !== (video_poster_value = ctx.view.content.poster)) { + attr_dev(video, "poster", video_poster_value); + } + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(video); + } + + destroy_each(each_blocks, detaching); + + ctx.video_binding(null); + dispose(); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_if_block_2.name, type: "if", source: "(34:2) {#if render === true}", ctx }); + return block; + } + + // (39:5) {#if videoWidth < source.width } + function create_if_block_3(ctx) { + var source, source_type_value, source_media_value, source_src_value; + + const block = { + c: function create() { + source = element("source"); + attr_dev(source, "type", source_type_value = ctx.source.mime); + attr_dev(source, "media", source_media_value = ctx.source.media); + attr_dev(source, "src", source_src_value = ctx.source.url); + add_location(source, file$7, 39, 6, 908); + }, + + m: function mount(target, anchor) { + insert_dev(target, source, anchor); + }, + + p: function update(changed, ctx) { + if ((changed.view) && source_type_value !== (source_type_value = ctx.source.mime)) { + attr_dev(source, "type", source_type_value); + } + + if ((changed.view) && source_media_value !== (source_media_value = ctx.source.media)) { + attr_dev(source, "media", source_media_value); + } + + if ((changed.view) && source_src_value !== (source_src_value = ctx.source.url)) { + attr_dev(source, "src", source_src_value); + } + }, + + d: function destroy(detaching) { + if (detaching) { + detach_dev(source); + } + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_if_block_3.name, type: "if", source: "(39:5) {#if videoWidth < source.width }", ctx }); + return block; + } + + // (38:4) {#each view.content.srcset as source} + function create_each_block$4(ctx) { + var if_block_anchor; + + var if_block = (ctx.videoWidth < ctx.source.width) && create_if_block_3(ctx); + + const block = { + c: function create() { + if (if_block) if_block.c(); + if_block_anchor = empty(); + }, + + m: function mount(target, anchor) { + if (if_block) if_block.m(target, anchor); + insert_dev(target, if_block_anchor, anchor); + }, + + p: function update(changed, ctx) { + if (ctx.videoWidth < ctx.source.width) { + if (if_block) { + if_block.p(changed, ctx); + } else { + if_block = create_if_block_3(ctx); + if_block.c(); + if_block.m(if_block_anchor.parentNode, if_block_anchor); + } + } else if (if_block) { + if_block.d(1); + if_block = null; + } + }, + + d: function destroy(detaching) { + if (if_block) if_block.d(detaching); + + if (detaching) { + detach_dev(if_block_anchor); + } + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_each_block$4.name, type: "each", source: "(38:4) {#each view.content.srcset as source}", ctx }); + return block; + } + + // (48:1) {#if transcript} + function create_if_block_1$2(ctx) { + var current; + + var transcript_1 = new Transcript({ + props: { transcript: ctx.transcript }, + $$inline: true + }); + + const block = { + c: function create() { + transcript_1.$$.fragment.c(); + }, + + m: function mount(target, anchor) { + mount_component(transcript_1, target, anchor); + current = true; + }, + + p: function update(changed, ctx) { + var transcript_1_changes = {}; + if (changed.transcript) transcript_1_changes.transcript = ctx.transcript; + transcript_1.$set(transcript_1_changes); + }, + + i: function intro(local) { + if (current) return; + transition_in(transcript_1.$$.fragment, local); + + current = true; + }, + + o: function outro(local) { + transition_out(transcript_1.$$.fragment, local); + current = false; + }, + + d: function destroy(detaching) { + destroy_component(transcript_1, detaching); + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_if_block_1$2.name, type: "if", source: "(48:1) {#if transcript}", ctx }); + return block; + } + + function create_fragment$7(ctx) { + var if_block_anchor, current; + + var if_block = (ctx.view.content.srcset.length > 0) && create_if_block$3(ctx); + + const block = { + c: function create() { + if (if_block) if_block.c(); + if_block_anchor = empty(); + }, + + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + + m: function mount(target, anchor) { + if (if_block) if_block.m(target, anchor); + insert_dev(target, if_block_anchor, anchor); + current = true; + }, + + p: function update(changed, ctx) { + if (ctx.view.content.srcset.length > 0) { + if (if_block) { + if_block.p(changed, ctx); + transition_in(if_block, 1); + } else { + if_block = create_if_block$3(ctx); + if_block.c(); + transition_in(if_block, 1); + if_block.m(if_block_anchor.parentNode, if_block_anchor); + } + } else if (if_block) { + group_outros(); + transition_out(if_block, 1, 1, () => { + if_block = null; + }); + check_outros(); + } + }, + + i: function intro(local) { + if (current) return; + transition_in(if_block); + current = true; + }, + + o: function outro(local) { + transition_out(if_block); + current = false; + }, + + d: function destroy(detaching) { + if (if_block) if_block.d(detaching); + + if (detaching) { + detach_dev(if_block_anchor); + } + } + }; + dispatch_dev("SvelteRegisterBlock", { block, id: create_fragment$7.name, type: "component", source: "", ctx }); + return block; + } + + function preventContextMenu( e ){ + e.preventDefault(); + return false; + } + + function instance$7($$self, $$props, $$invalidate) { + let { view } = $$props; + let { transcript = false, classname = 'preview' } = $$props; + + let mediaElement; + + let videoWidth = 0; + + let render = true; + function reMountVideo(){ + // console.log('remount'); + $$invalidate('render', render = false); + setTimeout(() => $$invalidate('render', render = true), 0); + } + + const writable_props = ['view', 'transcript', 'classname']; + Object.keys($$props).forEach(key => { + if (!writable_props.includes(key) && !key.startsWith('$$')) console.warn(`