PageSourceSearch

https://www.deutschestheatermuseum.de/assets/main.js?v=6e7a35a

js deutschestheatermuseum.de collected 2026-10-02 10:03:14 UTC 74,114 bytes, 1 lines download raw bytes

1!function(){"use strict";var t,e,n={90:function(t,e,n){n.d(e,{PX:function(){return l},Yn:function(){return c},kY:function(){return u}});var i=n(717),s=n(3076);const r=!i.M||"ontransitionend"in document.documentElement,o=r?t=>t.toLowerCase():t=>`webkit${t}`,a=r?t=>t:t=>`webkit${(0,s.T)(t)}`,c=o("transitionend"),l=o("transitioncancel"),u=a("transition")},106:function(t,e,n){n.d(e,{k:function(){return u}});var i=n(8263),s=n(3319),r=n(4226),o=n(7056),a=n(3923);const c=String.prototype.startsWith||function(t){return 0===this.lastIndexOf(t,0)};const l=("undefined"!=typeof Element?Element.prototype:{}).closest||function(t){let e=this;do{if((0,r.c)(e,t))return e}while(e=(0,a.$)(e))};function u(t,e){var n,r;return n=e,r=">",c.call(n,r)&&(e=e.slice(1)),t?(0,i.v)(t)?l.call(t,e):(0,s.n)(t).map((t=>u(t,e))).filter(o.k):null}},141:function(t,e,n){function i(t){return"string"==typeof t}n.d(e,{K:function(){return i}})},226:function(t,e,n){n.d(e,{l:function(){return r}});var i=n(3481),s=n(90);function r(t,e,n={}){const o=r.defaultOptions,{delay:a=o.delay,duration:c=o.duration,timingFunction:l=o.timingFunction}=n,u=t.style,d=["transition"],h=[],f=[];return f.push([s.kY,Object.keys(e).map((t=>{const n=e[t];let i=a,s=c,r=l;return"string"==typeof n?f.push([t,n]):(n.delay&&(i=n.delay),n.duration&&(s=n.duration),n.timingFunction&&(r=n.timingFunction),n.from&&h.push([t,n.from]),n.clear&&d.push(t),f.push([t,n.to])),`${t} ${s}ms ${i}ms ${"function"==typeof r?r.toCSS():r}`})).join(",")]),new Promise((e=>{let n=f.length-1;function r(i){i.target===t&&("propertyName"in i&&--n>0||(t.removeEventListener(s.Yn,r),t.removeEventListener(s.PX,r),d.forEach((t=>u[t]="")),e()))}h.length&&(0,i.C)(t,(()=>{h.forEach((([t,e])=>u[t]=e))})),t.addEventListener(s.Yn,r),t.addEventListener(s.PX,r),f.forEach((([t,e])=>u[t]=e))}))}!function(t){t.defaultOptions={delay:0,duration:400,timingFunction:"ease-in-out"}}(r||(r={}))},251:function(t,e,n){function i(t){return void 0===t}n.d(e,{b:function(){return i}})},409:function(t,e,n){n.d(e,{C:function(){return l}});var i=n(2072),s=n(3319),r=n(7659),o=n(141),a=n(251),c=n(8289);function l(t,e,n){if(!(0,o.K)(e))return Object.keys(e).forEach((n=>l(t,n,e[n])));if((0,a.b)(n)){const n=(0,i.w)(t);return n?n.getAttribute(e):null}for(const i of(0,s.n)(t))(0,r.T)(n)?l(t,e,n(l(i,e),i)):null===n?(0,c.K)(i,e):i.setAttribute(e,n.toString())}},455:function(t,e,n){function i(){return window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop}n.d(e,{h:function(){return i}})},588:function(t,e,n){n.d(e,{O:function(){return r}});var i=n(1635),s=n(7904);function r(t,e,n,r={}){var{condition:o}=r,a=(0,i.Tt)(r,["condition"]);const c=(0,s.on)(t,e,(t=>{o&&!o(t)||(c(),n(t))}),a);return c}},717:function(t,e,n){n.d(e,{M:function(){return s},lT:function(){return r}});var i=n(409);const s="undefined"!=typeof window,r=s&&/msie|trident/i.test(window.navigator.userAgent);s&&(0,i.C)(document.documentElement,"dir")},1142:function(t,e,n){function i(t){return t&&"object"==typeof t&&"__param"in t&&s(t.__param)}function s(t){return"boolean"==typeof t||"number"==typeof t||"string"==typeof t}n.d(e,{s:function(){return r}});class r{constructor(t){this.parse(t)}clearParam(t){return delete this.query[t],this}clearParams(){return this.query={},this}getParam(t,e=null){const n=t in this.query?this.query[t]:e;return n&&i(n)?n.__param:n}getIntParam(t,e=null){const n=this.getParam(t,e);return"number"==typeof n?n:"string"==typeof n?parseInt(n):e}getStringParam(t,e=null){const n=this.getParam(t,e);return"string"==typeof n?n:e}parse(t){const[e,n=""]=t.split("#",2),[i,s=""]=e.split("?",2),r=s.split("&");return this.path=i,this.fragment=n,this.query=r.reduce(((t,e)=>{const n=e.split("=",2);return 2==n.length&&(t[n[0]]=decodeURIComponent(n[1])),t}),{}),this}setParam(t,e=null){return null==e?this.clearParam(t):this.query[t]=e,this}setParams(t){for(const e in t)this.setParam(e,t[e]);return this}toString(){return r.compose(this)}static compose({fragment:t,path:e,query:n}){const r=[e],o=[];for(const t in n){const e=n[t];s(e)?o.push(`${t}=${encodeURIComponent(e)}`):i(e)&&e.__param&&o.push(`${t}=${e.__param}`)}o.length&&r.push(o.join("&"));let a=r.join("?");return t&&(a+="#"+t),a}static create(t){return new r(t)}static safeParam(t){return{__param:t}}}},1635:function(t,e,n){n.d(e,{Cg:function(){return s},Tt:function(){return i},sH:function(){return r}});function i(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(i=Object.getOwnPropertySymbols(t);s<i.length;s++)e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(t,i[s])&&(n[i[s]]=t[i[s]])}return n}function s(t,e,n,i){var s,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;
1a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(e,n,o):s(e,n))||o);return r>3&&o&&Object.defineProperty(e,n,o),o}function r(t,e,n,i){return new(n||(n=Promise))((function(s,r){function o(t){try{c(i.next(t))}catch(t){r(t)}}function a(t){try{c(i.throw(t))}catch(t){r(t)}}function c(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,a)}c((i=i.apply(t,e||[])).next())}))}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError},1761:function(t,e,n){function i(t){return t.trim().replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()}n.d(e,{_:function(){return i}})},1816:function(t,e,n){n.d(e,{G:function(){return s}});var i=n(9851);function s(t){return(0,i.L)(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&!!t}},1943:function(t,e,n){function i(){return window.innerWidth||document.documentElement.clientWidth}n.d(e,{N:function(){return i}})},1983:function(t,e,n){let i;function s(t){i=t}n.d(e,{e:function(){return s},y:function(){return i}})},2072:function(t,e,n){n.d(e,{w:function(){return o}});var i=n(8263),s=n(5639),r=n(3319);function o(t){return(0,i.v)(t)?t:((0,s.p)(t)||Array.isArray(t))&&(0,r.n)(t)[0]||null}},2381:function(t,e,n){function i(t){return null!==t&&"object"==typeof t}n.d(e,{G:function(){return i}})},2573:function(t,e,n){function i({events:t="update",mode:e="write"}={}){return function(n,i){(n.hasOwnProperty("_updates")?n._updates:n._updates=Object.assign({},n._updates))[i]={events:"string"==typeof t?[t]:t,handler:i,mode:e}}}n.d(e,{y:function(){return i}})},2959:function(t,e,n){n.d(e,{b:function(){return s}});var i=n(4849);function s(t){(0,i.h)(t).map((t=>t.parentNode&&t.parentNode.removeChild(t)))}},3076:function(t,e,n){function i(t){return t.length?t.charAt(0).toUpperCase()+t.slice(1):""}n.d(e,{T:function(){return i}})},3138:function(t,e,n){function i(t){return function(e,n){(e.hasOwnProperty("_events")?e._events:e._events=Object.assign({},e._events))[n]=Object.assign(Object.assign({},t),{handler:n})}}n.d(e,{f:function(){return i}})},3201:function(t,e,n){function i(t,e=0,n=1){return t<e?e:t>n?n:t}n.d(e,{q:function(){return i}})},3319:function(t,e,n){n.d(e,{n:function(){return a}});var i=n(8263),s=n(5639),r=n(7056),o=n(2072);function a(t){return(0,i.v)(t)?[t]:((0,s.p)(t)&&(t=Array.prototype.slice.call(t)),Array.isArray(t)?t.map(o.w).filter(r.k):[])}},3481:function(t,e,n){n.d(e,{C:function(){return s}});var i=n(90);function s(t,e){const n=t.style;n[i.kY]="none",e(),t.getBoundingClientRect(),n[i.kY]=""}},3601:function(t,e,n){n.d(e,{h:function(){return r}});var i=n(141);var s=n(6226);function r(t,e,n){return(0,s.O)(t).reduce(((t,s)=>t&&s.dispatchEvent(function(t,e=!0,n=!1,s){if(!(0,i.K)(t))return t;const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,e,n,s),r}(e,!0,!0,n))),!0)}},3923:function(t,e,n){n.d(e,{$:function(){return s}});var i=n(2072);function s(t){const e=(0,i.w)(t);return e?e.parentElement:null}},4090:function(t,e,n){n.d(e,{w:function(){return s}});var i=n(2381);function s(t){return(0,i.G)(t)&&9===t.nodeType}},4226:function(t,e,n){n.d(e,{c:function(){return a}});var i=n(5995),s=n(3319);const r="undefined"!=typeof Element?Element.prototype:{},o=r.matches||r.webkitMatchesSelector||r.msMatchesSelector||i.l;function a(t,e){return(0,s.n)(t).some((t=>o.call(t,e)))}},4246:function(t,e,n){n.d(e,{L:function(){return u}});const i=[],s=[];let r=!1;function o(t=1){c(i),c(s.splice(0,s.length)),r=!1,(i.length||s.length)&&a(t+1)}function a(t=1){if(!r){if(r=!0,t>5)throw new Error("Maximum recursion limit reached.");t?Promise.resolve().then((()=>o(t))):requestAnimationFrame((()=>o()))}}function c(t){let e;for(;e=t.shift();)e()}function l(t,e){const n=t.indexOf(e);return!!~n&&!!t.splice(n,1)}const u={get reads(){return i},get scheduled(){return r},get writes(){return s},read(t){return this.reads.push(t),a(),t},write(t){return this.writes.push(t),a(),t},clear(t){return l(this.reads,t)||l(this.writes,t)},flush:o}},4269:function(t,e,n){n.d(e,{A:function(){return y}});const i={},s=/([a-z\d])([A-Z])/g;const r={},o=["webkit","moz","ms"];function a(t){var e;(e=t)in i||(i[e]=e.replace(s,"$1-$2").toLowerCase()),t=i[e];const{style:n}=document.documentElement;if(t in n)return t;let r,a=o.length;for(;a--;)if(r=`-${o[a]}-${t}`,r in n)return r;return t}function c(t){let e=r[t];return e||(e=r[t]=a(t)),e}var l=n(2072);function u(t,e){var n;const i=(0,l.w)(t),s=null===(n=null==i?void 0:i.ownerDocument)||void 0===n?void 0:n.defaultView;return i&&s?s.getComputedStyle(i,e):null}var d=n(5201),h=n(7277),f=n(141);var p=n(251),m=n(3319);const g={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function y(t,e,n){return(0,m.n)(t).map((t=>{if((0,f.K)(e)){if(e=c(e),(0,p.b)(n))return function(t,e,n){const i=u(t,n);return i&&e in i?i[e]:null}(t,e);null===n?t.style.removeProperty(e):t.style[e]=function(t){return(0,h.E)(t)||(0,f.K)(t)&&!isNaN(t-parseFloat(t))}(n)&&!(e in g)?`${n}px`:`${n}`}else{if((0,d.c)(e)){const n=u(t);return e.reduce(((t,e)=>(t[e]=n[c(e)],t)),{})}for(const n in e)y(t,n,e[n])}return t}))[0]}},4395:function(t,e,n){n.d(e,{S:function(){return x}});var i=n(9320),s=n(4246),r=n(8052);function o(t,e,n){return(0,r.J)(t,e).reduce(((t,e)=>{const i=e.__tynyViews;if(!i)return t;
1if(n)if("string"==typeof n)n in i&&t.push(i[n]);else for(const e in i){const s=i[e];s instanceof n&&t.push(s)}else t.push(...Object.values(i));return t}),[])}var a=n(5201),c=n(2381);var l=n(8556),u=n(1761),d=n(8263),h=n(1816);var f=n(8999),p=n(7688);function m(t){const{appendTo:e,attributes:n,className:i,extraClassName:s,prependTo:r,tagName:o="div",template:a}=t,c=document.createElement(o);return i&&(c.className=i),s&&c.classList.add(s),n&&Object.keys(n).forEach((t=>{c.setAttribute(t,n[t])})),a&&(c.innerHTML="function"==typeof a?a(t):a),e?e.appendChild(c):r&&r.insertBefore(c,r.firstElementChild),c}class g{constructor(t){this.element=t}getValue(t,e){const{attribute:n=`data-${(0,u._)(t)}`}=e;return this.element.getAttribute(n)}hasValue(t,e){const{attribute:n=`data-${(0,u._)(t)}`}=e;return this.element.hasAttribute(n)}}class y{constructor(t){this.object=t}getValue(t,e){const{property:n=t}=e;return n in this.object?this.object[n]:null}hasValue(t,e){const{property:n=t}=e;return n in this.object}}class b{constructor(t,e){this.view=t,this.options=e,this.readers=[new y(e),new g(t.el)]}read(t){const{defaultValue:e,name:n}=t,{readers:i}=this;for(let e=0;e<i.length;e++){const s=i[e];if(s.hasValue(n,t))return s.getValue(n,t)}return"function"==typeof e?e.call(this.view):e}bool(t){return(0,h.G)(this.read(t))}element(t){const e=this.read(t);if((0,d.v)(e))return e;const{view:n}=this;if(n){if("string"==typeof e){const t=n.find(e);if(t)return t}if(t.tagName)return m({attributes:t.attributes,appendTo:t.appendTo||n.el,className:t.className,tagName:t.tagName})}return null}enum(t){const e=this.read(t);return null===e?e:function(t,e){if(t.hasOwnProperty(e))return e;if("string"==typeof e){e=e.toLowerCase();for(let n in t){const i=t[n];if("string"==typeof i){if(i.toLowerCase()===e.toLowerCase())return parseInt(n)}else if(e===i)return i}}return null}(t.enum,e)}instance(t){const{ctor:e}=t,n=this.read(t);return n instanceof e?n:new e(n)}int(t){const e=this.read(t);return null===e?e:(0,p.R)(e)}number(t){const e=this.read(t);return null===e?null:(0,f.S)(e)}string(t){const e=this.read(t);return null===e?e:`${e}`}}var v=n(2959),w=n(3601),C=n(9352);let A=0;class x extends l.v{constructor(t={}){super(),this._behaviours=[];const{className:e,name:n}=this._component,r=t.el||m(Object.assign(Object.assign({},t),{extraClassName:e})),o=r.__tynyViews||(r.__tynyViews={});if(n in o)throw new Error(`View ${n} already exists on target.`);o[n]=this,this.el=r,this.params=new b(this,t),this.uid=A++,(0,i.JN)(),(0,C.u)(r,document)&&s.L.read(this._callConnected.bind(this))}get behaviours(){return[...this._behaviours]}get component(){return this._component}addClass(...t){return this.el.classList.add(...t),this}callUpdate(t){super.callUpdate(t),this._behaviours.forEach((e=>e.callUpdate(t)))}destroy(t){const{el:e,_component:n}=this;var i;super.destroy(),e.__tynyViews&&(delete e.__tynyViews[n.name],i=e.__tynyViews,((0,a.c)(i)?i.length:!(0,c.G)(i)||Object.keys(i).length)||delete e.__tynyViews),t&&t.remove&&(0,v.b)(e)}find(t){return(0,r.I)(t,this.el)}findView(t,e){return function(t,e,n){return o(t,e,n)[0]||null}(t,this.el,e)}findAll(t){return(0,r.J)(t,this.el)}findAllViews(t,e){return o(t,this.el,e)}hasClass(t){return this.el.classList.contains(t)}removeClass(...t){return this.el.classList.remove(...t),this}toggleClass(t,e){return this.el.classList.toggle(t,e),this}trigger(t,e){(0,w.h)(this.el,t,e)}triggerUpdate(t){(0,i.hJ)(this.el,t)}addBehaviour(t,e={}){const n=new t(this,e);return this._behaviours.push(n),n}_callConnected(){super._callConnected(),this._behaviours.forEach((t=>t._callConnected())),this.callUpdate()}_callDestroyed(){super._callDestroyed(),this._behaviours.forEach((t=>t._callDestroyed()))}_callDisconnected(){super._callDisconnected(),this._behaviours.forEach((t=>t._callDisconnected()))}}},4506:function(t,e,n){n.d(e,{XD:function(){return v}});var i=n(717);var s=n(3319);var r=n(4269),o=n(2381);function a(t){return(0,o.G)(t)&&t===t.window}var c=n(4090),l=n(7522);function u(t){if(a(t))return t;const e=(0,l.y)(t);if(!e)return window;const n=(0,c.w)(e)?e:e.ownerDocument;return n&&n.defaultView||window}function d(t){const{pageXOffset:e,pageYOffset:n}=u(t);
1return a(t)?function(t,e,n){const i=t.innerHeight,s=t.innerWidth;return{bottom:n+i,height:i,left:e,right:e+s,top:n,width:s}}(t,e,n):function(t,e,n){const i=t.getBoundingClientRect();return{bottom:n+i.bottom,height:i.height,left:e+i.left,right:e+i.right,top:n+i.top,width:i.width}}(t,e,n)}var h=n(5862);function f(t){const{document:e}=u(t);return e.scrollingElement||e.documentElement}function p(t){return function(t,e=/auto|scroll/){const n=f(t),i=(0,h.M)(t).filter((t=>t===n||e.test((0,r.A)(t,"overflow")||"")&&t.scrollHeight>d(t).height)).reverse();return i.length?i:[n]}(t,/auto|scroll|hidden/)}function m(t,e=0,n=0){if(!function(t){return(0,s.n)(t).some((t=>t.offsetWidth||t.offsetHeight||t.getClientRects().length))}(t))return!1;const i=p(t);return i.every(((s,r)=>{const o=d(i[r+1]||t),{top:a,left:c,bottom:l,right:u}=d(function(t){return t===f(t)?window:t}(s));return p={top:a-e,left:c-n,bottom:l+e,right:u+n},(h=o).left<p.right&&h.right>p.left&&h.top<p.bottom&&h.bottom>p.top;var h,p}))}var g=n(7904),y=n(8999);const b=i.M&&window.IntersectionObserver||class{constructor(t,{rootMargin:e="0 0"}={}){let n=!1;const[s,r]=(e||"0 0").split(" ").map(y.S);this.root=null,this.rootMargin=e,this.thresholds=[],this.targets=[],this.offsetTop=s,this.offsetLeft=r,this.apply=()=>{n||(n=requestAnimationFrame((()=>setTimeout((()=>{const e=this.takeRecords();e.length&&t(e,this),n=!1})))))},i.M&&(this.off=(0,g.on)(window,"scroll resize load",this.apply,{passive:!0,capture:!0}))}disconnect(){this.targets=[],this.off&&this.off()}observe(t){this.targets.push({target:t,isIntersecting:null}),this.apply()}takeRecords(){return this.targets.filter((t=>{const e=m(t.target,this.offsetTop,this.offsetLeft);if(e!==t.isIntersecting)return t.isIntersecting=e,!0}))}unobserve(t){this.targets=this.targets.filter((e=>e.target!==t))}};const v=new class{constructor(){this.isPrinting=!1,this.targets=[];"undefined"!=typeof window&&((0,g.on)(window,"afterprint",this.onAfterPrint,{scope:this}),(0,g.on)(window,"beforeprint",this.onBeforePrint,{scope:this})),this.observer=new b((t=>{const{isPrinting:e,targets:n}=this;for(const i of n)for(const n of t)if(i.el===n.target){i.setVisible(n.isIntersecting||e),i.setVisible.isIntersecting=n.isIntersecting;break}}),{rootMargin:"500px 0px"})}hasTargets(t){return this.targets.some((e=>e.el===t))}observe(t){const e=this.hasTargets(t.el);this.targets.push(t),e||this.observer.observe(t.el)}onAfterPrint(){this.isPrinting=!1,this.updateTargets()}onBeforePrint(){this.isPrinting=!0,this.updateTargets()}unobserve(t){this.targets=this.targets.filter((e=>e!==t)),this.hasTargets(t.el)||this.observer.unobserve(t.el)}updateTargets(){const{isPrinting:t,targets:e}=this;for(const n of e)n.setVisible(n.setVisible.isIntersecting||t)}}},4849:function(t,e,n){n.d(e,{h:function(){return a}});var i=n(9331),s=n(5639),r=n(7056),o=n(7522);function a(t){return(0,i.L)(t)?[t]:((0,s.p)(t)&&(t=Array.prototype.slice.call(t)),Array.isArray(t)?t.map(o.y).filter(r.k):[])}},4940:function(t,e,n){n.d(e,{Q:function(){return s}});var i=n(8556);class s extends i.v{constructor(t,e={}){super(),this.view=t}get el(){return this.view.el}onConnected(){}onDestroyed(){}onDisconnected(){}}},5101:function(t,e,n){n.d(e,{M:function(){return s}});var i=n(1635);function s(t={}){return function(e,n){const s=arguments[2],{param:r}=t;let o=s||Object.getOwnPropertyDescriptor(e,n)||{};const{get:a}=o,c=(0,i.Tt)(o,["get"]);function l(){const t=this._watchValues||(this._watchValues={});if(n in t)return t[n];if(r){const{type:e}=r,s=(0,i.Tt)(r,["type"]);return t[n]=this.params[e](Object.assign(Object.assign({defaultValue:a},s),{name:n}))}return t[n]=a?a.apply(this):void 0}(e.hasOwnProperty("_properties")?e._properties:e._properties=Object.assign({},e._properties))[n]=Object.assign(Object.assign({},t),{name:n}),s?s.get=l:Object.defineProperty(e,n,Object.assign(Object.assign({},c),{get:l}))}}},5201:function(t,e,n){n.d(e,{c:function(){return i}});const{isArray:i}=Array},5405:function(t,e,n){n.d(e,{bZ:function(){return h},m9:function(){return m}});var i=n(3601),s=n(4269);var r=n(455);const o=[];let a=!0,c=Number.NaN,l=0,u=0;const d="tyny:scrollbarsChange",h={classOptions:null,scrollbarProp:""};function f(){const{body:t}=document,{classOptions:e}=h;e?e.target.classList.add(e.className):(0,s.A)(t,{position:"fixed",width:"100%"})}function p(t){if(a===t)return;a=t;const{body:e}=document,{classOptions:n,scrollbarProp:o}=h;if(t)n&&n.target.classList.remove(n.className),(0,s.A)(e,{position:null,paddingRight:null,width:null,left:null,top:null}),window.scrollTo(l,u);else{if(l=window.pageXOffset||document.documentElement&&document.documentElement.scrollLeft||document.body.scrollLeft,u=(0,r.h)(),isNaN(c)){const{offsetWidth:t}=e;f(),c=e.offsetWidth-t,"function"==typeof o?o(c):o&&e.style.setProperty(o,`${c}px`)}else f();(0,s.A)(e,{paddingRight:`${c}
1px`,left:-l+"px",top:-u+"px"})}(0,i.h)(e,d,{hasScrollbars:a,scrollBarSize:c})}function m(t,e){const n=o.indexOf(t);e||-1!==n?e&&-1!==n&&o.splice(n,1):o.push(t),p(0===o.length)}},5639:function(t,e,n){function i(t){return!!toString.call(t).match(/^\[object (NodeList|HTMLCollection)\]$/)}n.d(e,{p:function(){return i}})},5862:function(t,e,n){n.d(e,{M:function(){return r},z:function(){return o}});var i=n(4226),s=n(2072);function r(t,e,n){const r=[];let o=(0,s.w)(t);for(!n&&o&&(o=o.parentElement);o;)e&&!(0,i.c)(o,e)||r.push(o),o=o.parentElement;return r}function o(t,e){return r(t,e,!0)}},5995:function(t,e,n){function i(){}n.d(e,{l:function(){return i}})},6033:function(t,e,n){var i;n.d(e,{mb:function(){return i}}),function(t){t[t.Always=0]="Always",t[t.Explicit=1]="Explicit",t[t.Visibility=2]="Visibility"}(i||(i={}))},6122:function(t,e,n){n.d(e,{Y:function(){return o}});var i=n(1635),s=n(4940),r=n(3138);class o extends s.Q{constructor(t,e){super(t,e),this.isCaptionVisible=!1,this.caption=this.view.find(".dtmDigitalExhibit__figureCaption")}onCloserClick(){this.setCaptionVisible(!1)}onInfoClick(){this.setCaptionVisible(!0)}onKeyDown(t){"Escape"===t.key&&this.setCaptionVisible(!1)}setCaptionVisible(t){if(this.isCaptionVisible===t)return;this.isCaptionVisible=t;const{caption:e}=this;e&&(e.classList.remove("fadeIn","fadeOut"),e.classList.add(t?"fadeIn":"fadeOut"),setTimeout((()=>e.classList.remove("fadeOut")),300))}}(0,i.Cg)([(0,r.f)({name:"click",selector:".dtmDigitalExhibit__figureCaptionCloser"})],o.prototype,"onCloserClick",null),(0,i.Cg)([(0,r.f)({name:"click",selector:".dtmDigitalExhibit__toolbarInfo"})],o.prototype,"onInfoClick",null),(0,i.Cg)([(0,r.f)({name:"keydown",target:window})],o.prototype,"onKeyDown",null)},6225:function(t,e,n){n.d(e,{AS:function(){return d},Tu:function(){return c},bp:function(){return h},ds:function(){return l},nc:function(){return u}});const i=[],s=[],r=[];let o=!1;function a(t=Date.now()){o||(o=!0,window.requestAnimationFrame((()=>{o=!1,function(t){let e=0;for(;e<r.length;){const n=r[e],i=n.update(t);n.accessor.setValue(n.getCurrentValue()),i?e+=1:r.splice(e,1)}for(let e=0;e<s.length;e++)s[e](t);for(let t=0;t<i.length;t++)i[t]();i.length=0,(s.length||r.length)&&a()}(Date.now()-t)})))}function c(t){l(t.context,t.property),r.push(t),a()}function l(t,e){let n=0;for(;n<r.length;){const i=r[n];t&&t!==i.context||e&&e!==i.property?n+=1:(i.stop(),r.splice(n,1))}}function u(t){i.push(t),a()}function d(t){-1===s.findIndex((e=>e===t))&&(s.push(t),a())}function h(t){const e=s.findIndex((e=>e===t));-1!==e&&s.splice(e,1)}},6226:function(t,e,n){n.d(e,{O:function(){return u}});var i=n(8052),s=n(7056),r=n(141),o=n(7522),a=n(4849);function c(t){return t&&"addEventListener"in t}function l(t){return c(t)?t:(0,o.y)(t)}function u(t){return c(t)?[t]:Array.isArray(t)?t.map(l).filter(s.k):(0,r.K)(t)?(0,i.J)(t):(0,a.h)(t)}},6536:function(t,e,n){n.d(e,{Ob:function(){return o},_y:function(){return u}});var i=n(1943),s=n(7904),r=n(3601);const o="tyny:breakpoint",a=[{index:0,name:"xs",width:0},{index:1,name:"sm",width:576},{index:2,name:"md",width:768},{index:3,name:"lg",width:992},{index:4,name:"xl",width:1200},{index:5,name:"xxl",width:1400}];let c=0;function l(){const t=a.length,e=(0,i.N)();for(let n=1;n<t;n++)if(a[n].width>e)return n-1;return t-1}function u(){return a[c]}"undefined"!=typeof window&&(c=l(),(0,s.on)(window,"resize",(function(){const t=l();t!==c&&(c=t,(0,r.h)(window,o,{breakpoint:a[t],index:t}))})))},6934:function(t,e,n){n.d(e,{B:function(){return s}});var i=n(455);function s(t){if(!t)return;const e=(t.getAttribute("href")||"").substring(1),n=document.getElementById(e);n&&window.scrollTo({behavior:"smooth",top:(0,i.h)()+n.getBoundingClientRect().top})}},6977:function(t,e,n){n.d(e,{p:function(){return r}});var i=n(409),s=n(3319);function r(t,e){return function(t,e){return(0,s.n)(t).some((t=>t.hasAttribute(e)))}(t,e)?(0,i.C)(t,e):(0,i.C)(t,`data-${e}`)}},7056:function(t,e,n){function i(t){return null!=t}n.d(e,{k:function(){return i}})},7277:function(t,e,n){function i(t){return"number"==typeof t}n.d(e,{E:function(){return i}})},7396:function(t,e,n){n.d(e,{_:function(){return y}});var i=n(1635),s=n(409),r=n(6033),o=n(588),a=n(4395),c=n(5101),l=n(2573);const u={},d={lossy:"UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",lossless:"UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",alpha:"UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",animation:"UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"};function h(t="lossy"){return t in u?u[t]:u[t]=new Promise((e=>function(t,e){const n=new Image;n.onload=function(){const i=n.width>0&&n.height>0;e(i,t)},n.onerror=function(){e(!1,t)},n.src="data:image/webp;base64,"+d[t]}(t,e)))}const f=/([^ ]+) (\d+)([WwXx])/;var p;!function(t){t[t.Width=0]="Width",t[t.Density=1]="Density"}(p||(p={}));var m=n(7688),g=n(4506);class y extends a.S{get promise(){return new Promise((t=>{const{el:e}=this;(e.hasAttribute("src")||e.hasAttribute("srcset"))&&e.complete?t():(0,o.O)(e,"load",t)})).then((()=>{const{el:t}=this;t.classList.add("loaded"),this.isLoaded=!0,0!==t.naturalHeight&&0!==t.naturalWi
1dth&&(this.naturalHeight=t.naturalHeight,this.naturalWidth=t.naturalWidth)}))}constructor(t={}){super(t),this.currentSource="",this.displayHeight=0,this.displayWidth=0,this.isLoaded=!1,this.isVisible=!1,this.loadMode=r.mb.Visibility,this.naturalHeight=0,this.naturalWidth=0,this.naturalHeight=(0,m.R)((0,s.C)(this.el,"height")),this.naturalWidth=(0,m.R)((0,s.C)(this.el,"width")),this.loadMode=this.params.enum({defaultValue:r.mb.Visibility,enum:r.mb,name:"loadMode"})}load(){return this.loadMode=r.mb.Always,this.update(),this.promise}setLoadMode(t){this.loadMode!==t&&(this.loadMode=t,t===r.mb.Visibility&&this.update())}setSource(t){this.currentSource!==t&&(this.currentSource=t,this.promise,this.el.src=t)}setVisible(t){this.isVisible=t,t&&this.update()}update(){const{displayWidth:t,sourceSet:e}=this;this.allowLoad()&&e.get(t).then((t=>this.setSource(t)))}allowLoad(){return this.loadMode===r.mb.Visibility?this.isVisible:this.loadMode===r.mb.Always}onConnected(){super.onConnected(),g.XD.observe(this)}onDisconnected(){super.onDisconnected(),g.XD.unobserve(this)}onResize(){const{displayHeight:t,displayWidth:e,el:n}=this,i=this.displayHeight=n.clientHeight,s=this.displayWidth=n.clientWidth;if(t!==i||e!==s)return this.update}}(0,i.Cg)([(0,c.M)({immutable:!0})],y.prototype,"promise",null),(0,i.Cg)([(0,c.M)({immutable:!0,param:{ctor:class{constructor(t){this.mode=null,this.sources=[],Array.isArray(t)?t.forEach((t=>this.add(t))):"number"==typeof t?this.mode=t:"string"==typeof t&&this.parse(t),this.webpCheck=this.sources.some((t=>t.isWebp))?h().then((t=>{t||(this.sources=this.sources.filter((t=>!t.isWebp)))})):Promise.resolve()}add(t){const{mode:e,sources:n}=this;let i=Object.assign({bias:Number.MAX_VALUE,isWebp:/\.webp$/.test(t.src)},t);const{mode:s}=i;if(null!=s)if(e){if(e!==s)return void console.warn("Mismatched image srcSet, all sources must use same mode.")}else this.mode=s;n.push(i),n.sort(((t,e)=>t.bias-e.bias))}get(t){return this.getSource(t).then((t=>t?t.src:""))}getSource(t){return this.webpCheck.then((()=>this.getSourceSync(t)))}getSourceSync(t){const{mode:e,sources:n}=this,i=n.length;if(0===i)return null;let s=window.devicePixelRatio?window.devicePixelRatio:1;e===p.Width&&(s*=t);for(let t=0;t<n.length;t++){const e=n[t];if(e.bias>=s)return e}return n[i-1]}parse(t){t.split(/,/).forEach((t=>{t=t.trim();const e=f.exec(t);e?this.add({src:e[1],bias:parseFloat(e[2]),mode:"W"===e[3]||"w"===e[3]?p.Width:p.Density}):this.add({src:t})}))}},type:"instance",attribute:"data-srcset"}})],y.prototype,"sourceSet",void 0),(0,i.Cg)([(0,l.y)({events:["resize","update"],mode:"read"})],y.prototype,"onResize",null)},7522:function(t,e,n){n.d(e,{y:function(){return r}});var i=n(9331),s=n(5639);function r(t){return(0,i.L)(t)?t:(0,s.p)(t)||Array.isArray(t)?r(t[0]):null}},7547:function(t,e,n){n.d(e,{q:function(){return o}});var i=n(226),s=n(90),r=n(3481);function o(t,e,n){if(!t)return e(),Promise.resolve();const{extraProperties:o,throwErrorOnSkip:a,transistHeight:c,transistWidth:l}=n,u=t.offsetHeight,d=t.offsetWidth,h=t.style,f=o?Object.assign({},o):{};(0,r.C)(t,(function(){h.height="",h.width="",h[s.kY]="none",e()}));const p=t.clientHeight,m=t.clientWidth;let g=!1;if(c&&u!==p&&(g=!0,f.height={clear:!0,from:`${u}px`,to:`${p}px`}),l&&d!==m&&(g=!0,f.width={clear:!0,from:`${d}px`,to:`${m}px`}),!g&&!o){if(a)throw new Error;return Promise.resolve()}return(0,i.l)(t,f,n)}},7659:function(t,e,n){function i(t){return"function"==typeof t}n.d(e,{T:function(){return i}})},7688:function(t,e,n){function i(t){return"string"==typeof t?parseInt(t):"number"==typeof t?Math.round(t):0}n.d(e,{R:function(){return i}})},7740:function(t,e,n){n.d(e,{Fd:function(){return r},UA:function(){return i},g9:function(){return s},lF:function(){return o},rD:function(){return c},sN:function(){return a}});const i="dtmVideoPlay",s="dtmVideoStop",r="dtmDialogClose",o="dtmDialogCloseAll",a="dtmDialogShow",c="dtmLayer"},7904:function(t,e,n){n.d(e,{on:function(){return h}});var i=n(1635),s=n(106),r=n(8052),o=n(9851),a=n(8263),c=n(717),l=n(6226),u=n(9352);function d(t){return t&&c.lT&&!(0,o.L)(t)?!!t.capture:t}function h(t,e,n,o={}){var{selector:c,self:h,scope:f}=o,p=(0,i.Tt)(o,["selector","self","scope"]);const m=(0,l.O)(t);f&&(n=n.bind(f)),n.length>1&&(n=function(t){return function(e){e instanceof CustomEvent&&Array.isArray(e.detail)?t(e,...e.detail):t(e)}}(n)),h&&(n=function(t){return function(e){if(e.target===e.currentTarget)return t(e)}}(n)),c&&(n=function(t,e,n){return function(i){t.forEach((t=>{const o=">"===e[0]&&(0,a.v)(t)?(0,r.J)(e,t).reverse().filter((t=>(0,u.u)(i.target,t)))[0]:(0,s.k)(i.target,e);o&&(i.delegate=t,i.current=o,n.call(this,i))}))}}(m,c,n));const g=d(p);return e.split(" ").forEach((t=>m.forEach((e=>e.addEventListener(t,n,g))))),function(){!function(t,e,n,i=!1){const s=(0,l.O)(t);i=d(i),e.split(" ").forEach((t=>s.forEach((e=>e.removeEventListener(t,n,i)))))}(m,e,n,g)}}},7999:function(t,e,n){n.d(e,{t:function(){return s}});const i="de"===document.documentElement.lang?{"digital.cover.button":"Jetzt entdecken","digital.cover.title":"Digital entdecken","filter.all":"Alle","filter.discoverAll":"Alle entdecken","filter.postsAndObjects":"Beiträge und Objekte","header.hours.closed":"Heute geschlossen","header.hours.opened":"Geöffnet :hours Uhr"}:{"digital.cover.button":"Discover now","digital.cover.title":"Discover digital","filter.all":"All","filter.discoverAll":"Discover all","filter.postsAndObjects":"Posts and objects","header.hours.closed":"Closed today","header.hours.opened":"Opened :hours"};function s(t,e){let n="object"==typeof t?t.value:i[t];if(e)for(const t in e)n=n.replace(`:${t}`,e[t]);return n}},8052:function(t,e,n){n.d(e,{I:function(){return g},J:function(){return y}});var i=n(106),s=n(4226),r=n(2072),o=n(3319),a=n(8263),c=n(141),l=n(7056),u=n(3923),d=n(8289);
1const h=/(^|[^\\],)\s*[!>+~-]/,f=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,p=/.*?[^\\](?:,|$)/g;function m(t,e,n){let m=[];if(!t||!(0,c.K)(t))return null;if(e=e||document,":scope"===t)return n?(0,r.w)(e):(0,o.n)(e);(function(t){return(0,c.K)(t)&&!!t.match(h)})(t=t.replace(f,"$1 *"))&&(m=[],t=function(t){const e=t.match(p);return e?e.map((t=>t.replace(/,$/,"").trim())):[]}(t).map(((t,n)=>{if(!(0,a.v)(e))return null;let r=e;if("!"===t[0]){const n=t.substr(1).trim().split(" ");r=(0,i.k)((0,u.$)(e),n[0]),t=n.slice(1).join(" ").trim()}else if("-"===t[0]){const n=t.substr(1).trim().split(" "),i=(r||e).previousElementSibling;r=(0,s.c)(i,n[0])?i:null,t=n.slice(1).join(" ")}return r?(r.id||(r.id=`uk-${Date.now()}${n}`,m.push((()=>(0,d.K)(r,"id")))),`#${escape(r.id)} ${t}`):null})).filter(l.k).join(","),e=document);try{return n?e.querySelector(t):e.querySelectorAll(t)}catch(t){return null}finally{m&&m.forEach((t=>t()))}}function g(t,e){return(0,r.w)(m(t,e,!0))}function y(t,e){return(0,o.n)(m(t,e))}},8263:function(t,e,n){n.d(e,{v:function(){return s}});var i=n(2381);function s(t){return(0,i.G)(t)&&1===t.nodeType}},8289:function(t,e,n){n.d(e,{K:function(){return s}});var i=n(3319);function s(t,...e){(0,i.n)(t).forEach((t=>{e.forEach((e=>t.removeAttribute(e)))}))}},8541:function(t,e,n){function i(t,e={}){return new Promise(((n,i)=>{const s=new XMLHttpRequest,r=[],o=[],a={},c=()=>({ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:()=>Promise.resolve(s.responseText),json:()=>Promise.resolve(s.responseText).then(JSON.parse),blob:()=>Promise.resolve(new Blob([s.response])),clone:c,headers:{keys:()=>r,entries:()=>o,get:t=>a[t.toLowerCase()],has:t=>t.toLowerCase()in a}});s.open(e.method||"get",t,!0),s.onerror=i,s.withCredentials="include"==e.credentials;for(const t in e.headers)s.setRequestHeader(t,e.headers[t]);s.onload=()=>{s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,((t,e,n)=>(r.push(e=e.toLowerCase()),o.push([e,n]),a[e]=a[e]?`${a[e]},${n}`:n,t))),n(c())},s.send(e.body||null)}))}n.d(e,{h:function(){return i}})},8556:function(t,e,n){n.d(e,{v:function(){return d}});var i=n(1635),s=n(4246),r=n(8052);var o=n(2381);function a(t,e){return(0,o.G)(t)&&(0,o.G)(e)?Object.keys(t).length===Object.keys(e).length&&function(t,e){for(const n in t)if(!1===e(t[n],n))return!1;return!0}(t,((t,n)=>t===e[n])):t===e}var c=n(7659),l=n(141),u=n(7904);class d{constructor(){this._eventListeners=null,this._isConnected=!1,this._updatesTasks=null,this._watchTask=null,this._watchValues=null}get isConnected(){return this._isConnected}callUpdate(t){t&&"update"!==t&&"resize"!==t||this._watch();const e=Object.values(this._updates);if(!e.length)return;const n=this._updatesTasks||(this._updatesTasks=[]);e.forEach((({events:e,handler:i,mode:r},o)=>{n[o]||t&&!e.includes(t)||(n[o]=s.L[r]((()=>{if(this.isConnected){const e=this[i].call(this,t);"function"==typeof e&&s.L.writes.push(e.bind(this))}n[o]=null})))}))}destroy(){this._callDisconnected(),this._callDestroyed()}onConnected(){}onDestroyed(){}onDisconnected(){}_callConnected(){this._isConnected||(this._isConnected=!0,this._bindEvents(),this.onConnected())}_callDestroyed(){this.onDestroyed()}_callDisconnected(){this._isConnected&&(this._isConnected=!1,this._unbindEvents(),this.onDisconnected())}_bindEvent(t,e){let{name:n,target:s,handler:o,selector:a,filter:l}=e,d=(0,i.Tt)(e,["name","target","handler","selector","filter"]);return s=(0,c.T)(s)?s.call(this,this):"string"==typeof s?(0,r.I)(s,this.el)||this.el:s||this.el,Array.isArray(s)?s.reduce(((t,n)=>this._bindEvent(t,Object.assign(Object.assign({},e),{target:n}))),t):(!s||l&&!l.call(this,this)||t.push((0,u.on)(s,n,this[o],Object.assign(Object.assign({},d),{selector:(0,c.T)(a)?a.call(this,this):a,scope:this}))),t)}_bindEvents(){this._eventListeners&&this._unbindEvents();const t=Object.values(this._events);this._eventListeners=t?t.reduce(this._bindEvent.bind(this),[]):null}_unbindEvents(){const t=this._eventListeners;this._eventListeners=null,t&&t.forEach((t=>t()))}_watch(){const t=Object.values(this._properties);!this._watchTask&&t.length&&(this._watchTask=s.L.read((()=>{this._isConnected&&this._watchWorker(t),this._watchTask=null})))}_watchWorker(t){const e=!this._watchValues,n=this._watchValues||(this._watchValues={});for(let i=0;i<t.length;i++){const{immediate:s,immutable:r,name:o,watch:c}=t[i];if(e&&s&&!c&&this[o],r)continue;if(!c){delete n[o];continue}const u=n.hasOwnProperty(o),d=n[o];
1delete n[o],(e&&s||u&&!a(d,this[o]))&&((0,l.K)(c)?this[c](this[o],d):c.call(this,this[o],d))}}}Object.assign(d.prototype,{_events:{},_updates:{},_properties:{}})},8595:function(t,e,n){n.d(e,{K:function(){return s}});const i=[];function s(t,e,n){const s=i.findIndex((n=>n.className===e&&n.el===t));return-1!==s&&(clearTimeout(i[s].handle),i.splice(s,1)),new Promise((s=>{t.classList.add(e),i.push({className:e,el:t,handle:setTimeout((()=>{t.classList.remove(e),s()}),n)})}))}},8999:function(t,e,n){function i(t){return parseFloat(t)||0}n.d(e,{S:function(){return i}})},9320:function(t,e,n){function i(t,e,n){if(!t)return;e(t);let s=t.firstElementChild;for(;s;){const t=s.nextElementSibling;i(s,e,n),s=t}n&&n(t)}n.d(e,{JN:function(){return L},Hx:function(){return V},hJ:function(){return P},Zr:function(){return D},KZ:function(){return T},FU:function(){return j},MA:function(){return I}});var s=n(6536),r=n(4246),o=n(8052),a=n(8263),c=n(141),l=n(5995),u=n(7904),d=n(588),h=n(5862),f=n(2072),p=n(3076);const m=[],g={};let y=null,b=!1,v=null,w=null;function C(t,e){const{target:n,type:i}=t;if(!(n instanceof Element))return;const s="attributes"!==i?function({addedNodes:t,removedNodes:e}){let n=!1;for(let e=0;e<t.length;e++){const i=t[e];i instanceof Element&&(n=A(i)||n)}for(let t=0;t<e.length;t++){const i=e[t];i instanceof Element&&(n=k(i)||n)}return n}(t):function({target:t}){if(!(0,a.v)(t))return!1;const e=t.__tynyViews?Object.keys(t.__tynyViews):[];let n=!1;for(let i=0;i<t.classList.length;i++){const s=t.classList[i];if(!(s in g))continue;const r=g[s],o=e.indexOf(r.name);-1===o?(_(r,t),n=!0):e.splice(o,1)}if(e.length){const i=t.__tynyViews||{};n=!0;for(let t=0;t<e.length;t++)i[e[t]].destroy()}return n}(t);s&&!e.some((t=>t.contains(n)))&&e.push(n)}function A(t){let e=!1;return i(t,(function(t){if("classList"in t)for(let n=0;n<t.classList.length;n++){const i=t.classList[n];i in g&&(e=_(g[i],t)||e)}}),(function(t){const e=t.__tynyViews;if(e)for(const t in e)e[t]._callConnected()})),e&&(w=null),e}function x(){document.body&&A(document.body),(0,u.on)(window,"load resize",O("resize")),(0,u.on)(window,s.Ob,O("breakpoint")),S(m.length>0),b=!0,new MutationObserver((t=>{const e=[];t.forEach((t=>C(t,e))),e.forEach((t=>P(t)))})).observe(document,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class"]})}function _({ctor:t,name:e},n,i){const s=T(n,e);if(s){if(!i)return!1;s.destroy()}return new t(Object.assign(Object.assign({},i),{el:n})),!0}function k(t){let e=!1;return i(t,(function(t){const n=t.__tynyViews;if(n)for(const t in n)n[t]._callDisconnected(),e=!0})),e&&(w=null),e}function E(t,e){const n=t.__tynyViews;if(!n)return!1;for(const t in n)n[t]._isConnected&&n[t].callUpdate(e);return!0}function O(t){let e=!1;return function(){e||(e=!0,r.L.read((()=>{e=!1,P(null,t)})))}}function S(t){y!==t&&(y=t,v&&v(),t&&(window.addEventListener("touchmove",l.l,{passive:!1}),window.addEventListener("touchforcechange",l.l,{passive:!1})),v=(0,u.on)(window,"scroll",O("scroll"),{passive:!t,capture:!0}))}function L(){w=null}function V(t){A(t)}function P(t,e){if(!t||t===document.body)return function(t){if(w)return w.forEach((e=>E(e,t)));const e=w=[];i(document.body,(n=>E(n,t)?e.push(n):null))}(e);const n=(0,f.w)(t);(0,h.M)(n).reverse().forEach((t=>E(t,e))),i(n,(t=>E(t,e)))}function D(t,e=!1){const n=[];return i(t,(i=>{i.__tynyViews&&(e||i!==t)&&n.push(...Object.values(i.__tynyViews))})),n}function T(t,e){const n=function(t){return t&&t.__tynyViews||{}}(t);if((0,c.K)(e))return n[e]||null;for(const t in n)if(n[t]instanceof e)return n[t];return null}function M(t){return"dtm"+(0,p.T)(t)}function j(t,e,{className:n=M(t),upgrade:s=!1}={}){const r=e.prototype._component={className:n,name:t,ctor:e};if(n in g){if(!s||e===g[n].ctor)return;!function(t){const{name:e}=g[t];delete g[t],i(document.body,(t=>{if(t.__tynyViews&&e in t.__tynyViews){const n=t.__tynyViews[e];delete t.__tynyViews[e],n.destroy()}}))}(n)}g[n]=r,b&&(w=null,(0,o.J)(`.${n}`).forEach((t=>_(r,t,{isUpgrade:s}))))}function I(t,e={}){for(const n in t)j(n,t[n],e)}"undefined"!=typeof window&&window.MutationObserver&&("loading"==document.readyState?(0,d.O)(document,"DOMContentLoaded",(()=>r.L.read(x))):setTimeout((()=>r.L.read(x)),0))},9331:function(t,e,n){n.d(e,{L:function(){return s}});var i=n(2381);function s(t){return(0,i.G)(t)&&t.nodeType>=1}},9352:function(t,e,n){n.d(e,{u:function(){return l}});var i=n(106),s=n(4226),r=n(4090),o=n(2072),a=n(7522),c=n(141);function l(t,e){if((0,c.K)(e))return(0,s.c)(t,e)||!!(0,i.k)(t,e);if(t===e)return!0;const n=(0,r.w)(e)?e.documentElement:(0,o.w)(e);return!!n&&n.contains((0,a.y)(t))}},9851:function(t,e,n){function i(t){return"boolean"==typeof t}n.d(e,{L:function(){return i}})}},i={};function s(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}};return n[t](r,r.exports,s),r.exports}s.m=n,s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,{a:e}),e},s.d=function(t,e){for(var n in e)s.o(e,n)&&!s.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},s.f={},s.e=function(t){return Promise.all(Object.keys(s.f).reduce((function(e,n){return s.f[n](t,e),e}),[]))},s.u=function(t){return{18:"f7e5def74c3de198b7e2",27:"3b2e7077cccb050c51d3",202:"ddb
1ca71b770e643374ce",338:"10ac488c6e1e46af3534",380:"92eff94d38188ab49f94",474:"bd896694396ef15660d1",519:"ac5a0e22a61717d2c6a0",589:"b6a61e0ad25ace87d27d",670:"200055f416c04cc033d3",713:"8cb482353b0796a2a0ff",852:"49c2a6ee90c6a51ea3f6",927:"87b76d531b31cf7c86a0"}[t]+".js"},s.miniCssF=function(t){return{519:"ac5a0e22a61717d2c6a0",670:"200055f416c04cc033d3"}[t]+".css"},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},t={},e="zk-theatermuseum:",s.l=function(n,i,r,o){if(t[n])t[n].push(i);else{var a,c;if(void 0!==r)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==n||d.getAttribute("data-webpack")==e+r){a=d;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",e+r),a.src=n),t[n]=[i];var h=function(e,i){a.onerror=a.onload=null,clearTimeout(f);var s=t[n];if(delete t[n],a.parentNode&&a.parentNode.removeChild(a),s&&s.forEach((function(t){return t(i)})),e)return e(i)},f=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.p="/assets/",function(){if("undefined"!=typeof document){var t=function(t){return new Promise((function(e,n){var i=s.miniCssF(t),r=s.p+i;if(function(t,e){for(var n=document.getElementsByTagName("link"),i=0;i<n.length;i++){var s=(o=n[i]).getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(s===t||s===e))return o}var r=document.getElementsByTagName("style");for(i=0;i<r.length;i++){var o;if((s=(o=r[i]).getAttribute("data-href"))===t||s===e)return o}}(i,r))return e();!function(t,e,n,i,r){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",s.nc&&(o.nonce=s.nc),o.onerror=o.onload=function(n){if(o.onerror=o.onload=null,"load"===n.type)i();else{var s=n&&n.type,a=n&&n.target&&n.target.href||e,c=new Error("Loading CSS chunk "+t+" failed.\n("+s+": "+a+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=s,c.request=a,o.parentNode&&o.parentNode.removeChild(o),r(c)}},o.href=e,n?n.parentNode.insertBefore(o,n.nextSibling):document.head.appendChild(o)}(t,r,null,e,n)}))},e={792:0};s.f.miniCss=function(n,i){e[n]?i.push(e[n]):0!==e[n]&&{519:1,670:1}[n]&&i.push(e[n]=t(n).then((function(){e[n]=0}),(function(t){throw delete e[n],t})))}}}(),function(){var t={792:0};s.f.j=function(e,n){var i=s.o(t,e)?t[e]:void 0;if(0!==i)if(i)n.push(i[2]);else{var r=new Promise((function(n,s){i=t[e]=[n,s]}));n.push(i[2]=r);var o=s.p+s.u(e),a=new Error;s.l(o,(function(n){if(s.o(t,e)&&(0!==(i=t[e])&&(t[e]=void 0),i)){var r=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",a.name="ChunkLoadError",a.type=r,a.request=o,i[1](a)}}),"chunk-"+e,e)}};var e=function(e,n){var i,r,o=n[0],a=n[1],c=n[2],l=0;if(o.some((function(e){return 0!==t[e]}))){for(i in a)s.o(a,i)&&(s.m[i]=a[i]);if(c)c(s)}for(e&&e(n);l<o.length;l++)r=o[l],s.o(t,r)&&t[r]&&t[r][0](),t[r]=0},n=self.webpackChunkzk_theatermuseum=self.webpackChunkzk_theatermuseum||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}();var r={};s.r(r),s.d(r,{App:function(){return st},AppTooltip:function(){return q},Digital:function(){return ut},DigitalDocument:function(){return rt},DigitalExhibit:function(){return ct},DigitalLayer:function(){return F},DigitalTeaser:function(){return lt},EventCalendar:function(){return dt},EventIndex:function(){return ft},EventLayer:function(){return H},FormArchive:function(){return gt},FormCheckboxContent:function(){return yt},Gallery:function(){return vt},GalleryMasonry:function(){return bt},Game:function(){return wt},Header:function(){return Pt},HeaderSection:function(){return _t},HeaderToc:function(){return Vt},Image:function(){return l._},ImageCrop:function(){return b},ImageLayer:function(){return L},ImageZoom:function(){return P},TeaserMuseumSection:function(){return Dt},TeaserMuseumVideo:function(){return jt},TeaserRow:function(){return It},Toc:function(){return Nt},UtilsAccordion:function(){return Bt},UtilsExhibitions:function(){return Ht},UtilsFact:function(){return Ut},UtilsJumboFold:function(){return $t},UtilsJumboVideo:function(){return Rt}
1,UtilsOpeningHours:function(){return zt},UtilsReadMore:function(){return Kt},UtilsScroller:function(){return Qt},UtilsSelect:function(){return Jt},UtilsVideo:function(){return Xt}});var o,a=s(9320),c=s(5405),l=s(7396),u=s(1635);function d(t,e,n,i){i&&(n=1-n);let s=Math.round(-e*n+t/2);return s>0&&(s=0),s<t-e&&(s=t-e),s}!function(t){t[t.Cover=0]="Cover",t[t.Fit=1]="Fit",t[t.FitColumn=2]="FitColumn",t[t.Stretch=3]="Stretch",t[t.Width=4]="Width",t[t.Height=5]="Height"}(o||(o={}));const h={disableMaskResize:!1,focusY:.5,focusX:.5,height:0,maxScale:Number.MAX_VALUE,minScale:0,mode:o.Cover,width:0};class f{constructor(t){let e;this.disableMaskResize=!1,this.focusX=.5,this.focusY=.5,this.height=0,this.maxScale=Number.MAX_VALUE,this.minScale=0,this.mode=o.Cover,this.width=0,e=t||{},Object.assign(this,h,e)}apply(t,e,n=NaN,i=NaN){isNaN(n)&&(n=t.offsetWidth),isNaN(i)&&(i=t.offsetHeight);const s=this.getCrop(n,i),{left:r,top:o,width:a,height:c,forcedHeight:l,forcedWidth:u}=s,{style:d}=e;return d.left=`${Math.floor(r)}px`,d.top=`${Math.floor(o)}px`,d.width=`${Math.ceil(a)}px`,d.height=`${Math.ceil(c)}px`,this.disableMaskResize||(null!==u&&(t.style.width=`${u}px`),null!==l&&(t.style.height=`${l}px`)),s}clone(t={}){return new f(Object.assign(Object.assign({},this.toOptions),t))}getImageDimensions(t,e){let n=1;const{mode:i,height:s,width:r,maxScale:a,minScale:c}=this;switch(i){case o.Stretch:return{width:t,height:e};case o.Cover:n=Math.max(t/r,e/s);break;case o.Fit:case o.FitColumn:n=Math.min(t/r,e/s);break;case o.Width:n=t/r;break;case o.Height:n=e/s}return n>a&&(n=a),n<c&&(n=c),{width:r*n,height:s*n}}getCrop(t,e){const{focusX:n,focusY:i,mode:s}=this;let r,a,{width:c,height:l}=this.getImageDimensions(t,e),u=0,h=0;switch(s){case o.Cover:u=d(t,c,n),h=d(e,l,i);break;case o.FitColumn:r=l,a=c;break;case o.Fit:u=(t-c)*n,h=(e-l)*i;break;case o.Width:r=l;break;case o.Height:a=c}return{left:u,top:h,width:c,height:l,forcedHeight:r,forcedWidth:a}}toOptions(){return{disableMaskResize:this.disableMaskResize,focusY:this.focusY,focusX:this.focusX,maxScale:this.maxScale,minScale:this.minScale,mode:this.mode}}static create(t,{crop:e}){return e instanceof f?e:e?new f(e):f.fromParams(t.params)}static fromParams(t){return new f({disableMaskResize:t.bool({name:"disableMaskResize",defaultValue:!1}),focusY:t.number({name:"focusY",defaultValue:.5}),focusX:t.number({name:"focusX",defaultValue:.5}),maxScale:t.number({name:"maxScale",defaultValue:Number.MAX_VALUE}),minScale:t.number({name:"minScale",defaultValue:0}),mode:t.enum({name:"mode",enum:o,defaultValue:o.Cover})})}}var p=s(6977),m=s(4395),g=s(5101),y=s(2573);class b extends m.S{constructor(t={}){super(t),this.currentCrop=null,this.displayHeight=Number.NaN,this.displayWidth=Number.NaN,this.crop=f.create(this,t)}forceDraw(){this.onSizeChanged()}getDisplaySize(){return{height:this.el.clientHeight,width:this.el.clientWidth}}onMeasure(){const{height:t,width:e}=this.getDisplaySize();if(this.displayHeight!==t||this.displayWidth!==e)return this.displayHeight=t,this.displayWidth=e,this.onSizeChanged}onSizeChanged(){const{crop:t,target:e}=this;if(!e)return;const n=(0,a.KZ)(e,l._);n?(t.height=n.naturalHeight,t.width=n.naturalWidth):(t.height=parseFloat((0,p.p)(e,"height")||"0"),t.width=parseFloat((0,p.p)(e,"width")||"0")),this.currentCrop=t.apply(this.el,e,this.displayWidth,this.displayHeight),n&&n.callUpdate("update")}}(0,u.Cg)([(0,g.M)({param:{defaultValue:"> img",type:"element"}})],b.prototype,"target",void 0),(0,u.Cg)([(0,y.y)({events:["resize","update"],mode:"read"})],b.prototype,"onMeasure",null);
1var v=s(3138),w=s(8541),C=s(8595),A=s(3601),x=s(8263);function _(t){try{k(t)&&t.open&&(t.inert=!0,t.close())}catch(t){console.error(t)}}function k(t){return(0,x.v)(t)&&"DIALOG"===t.nodeName}function E(t){try{k(t)&&!t.open&&(t.inert=!1,t.showModal())}catch(t){console.error(t)}}var O=s(7740);class S extends m.S{constructor(t){super(Object.assign(Object.assign({},t),{appendTo:document.body,tagName:"dialog"})),this.fadeOutDuration=200;const{url:e}=t;e?this.load(e):this.show()}load(t){return(0,u.sH)(this,void 0,void 0,(function*(){const e=yield(0,w.h)(t),n=yield e.text(),i=(new DOMParser).parseFromString(n,"text/html");this.setContent(i)?this.show():this.destroy({remove:!0})}))}getStaticScope(){return S}hide(){return!this.hasClass("fadeOut")&&(this.getStaticScope().layer===this&&(0,A.h)(window,O.rD,!1),(0,C.K)(this.el,"fadeOut",this.fadeOutDuration).then((()=>{_(this.el),this.destroy({remove:!0})})),!0)}onClose(t){t.preventDefault(),this.hide()}onCloserClick(){this.hide()}onConnected(){(0,c.m9)(this,!1);const t=this.getStaticScope();t.layer&&t.layer!==this&&t.layer.hide(),(0,A.h)(window,O.rD,!0),t.layer=this}onDisconnected(){(0,c.m9)(this,!0);const t=this.getStaticScope();t.layer===this&&(t.layer=null,(0,A.h)(window,O.rD,!1))}setContent(t){return!1}show(){E(this.el)}}S.layer=null,(0,u.Cg)([(0,v.f)({name:"close"})],S.prototype,"onClose",null),(0,u.Cg)([(0,v.f)({name:"click",selector:"*[data-layer-close]"})],S.prototype,"onCloserClick",null);class L extends S{constructor(t){super(t)}getStaticScope(){return L}hide(){const t=super.hide(),e=t?this.findView(".dtmImageZoom","ImageZoom"):null;return null==e||e.fadeOut(),t}setContent(t){const e=t.body.firstElementChild;return!!e&&(this.el.append(e),!0)}}L.layer=null;class V extends m.S{onConnected(){this.loadAndRegisterView()}loadAndRegisterView(){return this.loadView().then((t=>((0,a.FU)(this.component.name,t.default,{upgrade:!0}),t)))}}class P extends V{loadView(){return Promise.all([s.e(338),s.e(589)]).then(s.bind(s,5589))}}var D=s(4940),T=s(3201);const M=["","Large","Larger"],j="dtmAriaSettings";function I(t){return t<1||t>=M.length?null:`dtmApp__fontSize${M[t]}`}class N extends D.Q{constructor(){super(...arguments),this.contrast=!1,this.fontSize=0}onConnected(){let t;try{const e=localStorage.getItem(j);t=e?JSON.parse(e):{}}catch(e){t={}}this.fontSize=function(t){return"fontSize"in t&&"number"==typeof t.fontSize}(t)?(0,T.q)(Math.round(t.fontSize),0,2):0,this.contrast=function(t){return"contrast"in t&&"boolean"==typeof t.contrast}(t)?t.contrast:function(){try{return window.matchMedia("(prefers-contrast: more)").matches}catch(t){return!1}}()}onClick(t){switch((0,p.p)(t.current,"data-aria-action")){case"cycleFontSize":this.setFontSize(this.fontSize+1);break;case"toggleContrast":this.setContrast(!this.contrast)}}save(){try{localStorage.setItem(j,JSON.stringify({contrast:this.contrast,fontSize:this.fontSize}))}catch(t){console.error(t)}}setContrast(t){if(this.contrast===t)return;this.contrast=t,this.save();const{classList:e}=document.documentElement;e.toggle("dtmApp__highContrast",t)}setFontSize(t){const{fontSize:e}=this;if(e===(t=function(t){const{length:e}=M;for(t=Math.round(t);t<0;)t+=e;for(;t>=e;)t-=e;return t}(t)))return;this.fontSize=t,this.save();const{classList:n}=document.documentElement,i=I(e),s=I(t);i&&n.remove(i),s&&n.add(s)}}(0,u.Cg)([(0,v.f)({name:"click",selector:"*[data-aria-action]"})],N.prototype,"onClick",null);var B=s(1142);class H extends S{constructor(t){super(Object.assign(Object.assign({},t),{template:'\n  <div class="dtmEventLayer__container dtmGrid__container flex-row justify-end">\n    <div class="dtmEventLayer__panel">\n      <button class="dtmEventLayer__panelCloser dtmButton white" data-layer-close>\n        <svg width="24" height="24" viewBox="0 0 24 24"><use href="/assets/images/icons.svg#close-24"></use></svg>\n      </button>\n    </div>\n  </div>'}))}setContent(t){const e=t.querySelector(".dtmEventLayer__content"),n=this.find(".dtmEventLayer__panel");return!(!e||!n)&&(n.append(e),!0)}}class U extends D.Q{onEventClick(t){t.preventDefault(),new H({url:B.s.compose({path:t.current.href,query:{layer:"1"}})})}}
1(0,u.Cg)([(0,v.f)({name:"click",selector:"a[data-event]"})],U.prototype,"onEventClick",null);var $=s(8052);class F extends S{constructor(){super(...arguments),this.fadeOutDuration=400}setContent(t){this.el.innerHTML='\n  <div class="dtmDigitalExhibit dtmDigitalLayer__content dtmTheme__inverse flex-column">\n    <button class="dtmDigitalLayer__closer dtmButton themed" data-layer-close>\n      <svg width="24" height="24" viewBox="0 0 24 24"><use href="/assets/images/icons.svg#close-24"></use></svg>\n    </button>\n  </div>';const e=t.querySelector(".dtmDigitalExhibit"),n=this.find(".dtmDigitalLayer__content");if(!e||!n)return!1;const i=(0,$.I)(".dtmDigital__header",e);for(i&&i.remove(),(0,$.I)(".dtmDigitalExhibit__toolbar",e)||this.findAll(".dtmDigitalLayer__closer").forEach((t=>t.classList.add("upperRight")));e.firstElementChild;)n.append(e.firstElementChild);return!0}}function R(t,e){return t.getAttribute(e)||""}class W extends D.Q{onLinkClick(t){this.handleUrl(R(t.current,"href"))&&(t.preventDefault(),t.stopImmediatePropagation())}onEventClick(t){this.handleUrl(R(t.current,"data-exhibit-layer"))&&(t.preventDefault(),t.stopImmediatePropagation())}handleUrl(t){return!(-1===t.indexOf("/de/digital/exponat/")&&-1===t.indexOf("/en/digital/exhibit/")&&-1===t.indexOf("content-uuid=")&&!/\/(de\/digital|en\/digital)\/[^\?]+\?content-uuid=/.test(t))&&(new F({url:t}),!0)}}(0,u.Cg)([(0,v.f)({name:"click",selector:"a"})],W.prototype,"onLinkClick",null),(0,u.Cg)([(0,v.f)({name:"click",selector:"*[data-exhibit-layer]"})],W.prototype,"onEventClick",null);var z=s(409),K=s(6225);function Q(){return window.innerHeight||document.documentElement.clientHeight}var J=s(1943);function X(){return this.origin}const G=({entry:t})=>'<div class="dtmAppTooltip__panel">'+[t&&t.image?`<img class="dtmAppTooltip__image" src="${t.image}" style="aspect-ratio:${t.aspect};" />`:null,t&&t.body?`<figcaption class="dtmAppTooltip__body dtmStyle__bodySmall">${t.body}</figcaption>`:null].filter((t=>!!t)).join("")+"</div>";class q extends m.S{constructor(t){super(Object.assign(Object.assign({},t),{appendTo:document.body,className:"dtmTheme__inverse",tagName:"figure",template:G})),this.alignClass="",this.elementHeight=0,this.elementWidth=0,this.windowHeight=0,this.windowWidth=0,this.onFrame=()=>{const{el:t,origin:e}=this;if(!e)return;const n=e.getBoundingClientRect();let i="",s=0,r=n.left+.5*(n.width-this.elementWidth);r=(0,T.q)(r,20,this.windowWidth-this.elementWidth-20),n.bottom<.5*this.windowHeight?(s=n.bottom+10,i="bottom"):(s=n.top-this.elementHeight-10,i="top"),this.alignClass!==i&&(this.alignClass&&t.classList.remove(this.alignClass),this.alignClass=i,t.classList.add(i)),t.style.top=`${s}px`,t.style.left=`${r}px`,t.style.setProperty("--dtm-app-tooltip-handle",n.left+.5*n.width-r+"px")},this.entry=t.entry||null,this.origin=t.origin||null}onConnected(){this.onMeasure(),(0,K.AS)(this.onFrame)}onDisconnected(){(0,K.bp)(this.onFrame)}onFocusOut(t){this.fadeOut()}onMeasure(){const t=this.el.getBoundingClientRect();this.elementHeight=t.height,this.elementWidth=t.width,this.windowHeight=Q(),this.windowWidth=(0,J.N)()}onPointerOut(){this.fadeOut()}fadeOut(){this.hasClass("fadeOut")||(this.addClass("fadeOut"),setTimeout((()=>this.destroy({remove:!0})),200))}}(0,u.Cg)([(0,v.f)({name:"focusout",target:X})],q.prototype,"onFocusOut",null),(0,u.Cg)([(0,v.f)({name:"pointerout",target:X})],q.prototype,"onPointerOut",null);class Y extends D.Q{constructor(t,e){super(t,e),this.tooltip=null;const n=(0,$.I)("script#dtmGlossary"),i=n?JSON.parse(n.innerText):null;this.entries=Array.isArray(i)?i:[]}onFocusIn(t){this.showTooltip(t.current)}onPointerOver(t){"mouse"===t.pointerType&&this.showTooltip(t.current)}showTooltip(t){const e=(0,z.C)(t,"data-glossary"),n=this.entries.find((t=>t.uid===e));n&&this.setTooltip(new q({entry:n,origin:t}))}setTooltip(t){const{tooltip:e}=this;e!==t&&(e&&e.fadeOut(),this.tooltip=t)}}(0,u.Cg)([(0,v.f)({name:"focusin",selector:"abbr[data-glossary]"})],Y.prototype,"onFocusIn",null),(0,u.Cg)([(0,v.f)({name:"pointerover",selector:"abbr[data-glossary]"})],Y.prototype,"onPointerOver",null);class Z extends D.Q{onContextMenu(t){t.preventDefault()}}(0,u.Cg)([(0,v.f)({name:"contextmenu",selector:"img"})],Z.prototype,"onContextMenu",null);const tt=({height:t,src:e,srcset:n,width:i})=>`\n  <div class="dtmImageZoom absolute">\n    <div class="dtmImageZoom__image" style="width:${i}px; height:${t}px;">
1\n      <div class="dtmImageZoom__imageEffect">\n        <img class="dtmImage loaded" width="${i}" height="${t}" data-load-mode="explicit" data-srcset="${n}" src="${e}">\n      </div>\n    </div>\n  </div>`;class et extends D.Q{onEventClick(t){const e=(0,$.I)("img",t.current),n=(0,p.p)(t.current,"data-media-layer");n&&(t.preventDefault(),n.startsWith("{")?new L({origin:e,template:tt(Object.assign(Object.assign({},JSON.parse(n)),{src:e?e.getAttribute("src"):null}))}):new L({origin:e,url:n}))}}(0,u.Cg)([(0,v.f)({name:"click",selector:"*[data-media-layer]"})],et.prototype,"onEventClick",null);var nt=s(1983);class it extends D.Q{onClick(t){t.preventDefault();try{CCM.openWidget()}catch(t){console.log(t)}}}(0,u.Cg)([(0,v.f)({name:"click",selector:"*[data-privacy-settings]"})],it.prototype,"onClick",null);class st extends m.S{constructor(t){super(t),(0,nt.e)(this),this.addBehaviour(N),this.addBehaviour(Y),this.addBehaviour(U),this.addBehaviour(Z),this.addBehaviour(et),this.addBehaviour(it),this.exhibits=this.addBehaviour(W)}}class rt extends V{loadView(){return Promise.all([s.e(338),s.e(927)]).then(s.bind(s,6927))}}var ot=s(6122);class at extends D.Q{constructor(t,e){super(t,e),this.figure=e.figure}onMeasure(){const{figure:t}=this,e=t.getBoundingClientRect();return()=>{t.style.setProperty("--dtm-exhibit-figure-width",`${e.width}px`),t.style.setProperty("--dtm-exhibit-figure-height",`${e.height}px`)}}}(0,u.Cg)([(0,y.y)({events:"resize"})],at.prototype,"onMeasure",null);class ct extends m.S{constructor(t){super(t);const e=this.find(".dtmDigitalExhibit__figure");e&&this.addBehaviour(at,{figure:e}),this.addBehaviour(ot.Y)}}class lt extends V{loadView(){return Promise.all([s.e(338),s.e(713),s.e(670)]).then(s.bind(s,7877))}}class ut extends V{loadView(){return Promise.all([s.e(338),s.e(713),s.e(519)]).then(s.bind(s,3268))}}class dt extends m.S{}function ht(t,e){return Object.keys(e).filter((t=>e[t].length>0)).every((n=>e[n].some((e=>-1!==t[n].indexOf(e)))))}class ft extends m.S{constructor(t){super(t),this.categories=this.findCategories(),this.empty=this.find(".dtmEventIndex__empty"),this.exhibitions=this.find('select[name="exhibitions"]'),this.months=this.find('select[name="months"]'),this.reset=this.find('button[data-action="reset"]'),this.rows=this.findRows()}applyFilter(){var t,e;const n=this.getFilter(),i=function(t){return t.categories.length>0||t.exhibitions.length>0||t.months.length>0}(n);let s=0;for(const t of this.rows){const e=!!i&&!ht(t,n);t.el.classList.toggle("hidden",e),s+=e?0:1}null===(t=this.empty)||void 0===t||t.classList.toggle("hidden",0!==s),null===(e=this.reset)||void 0===e||e.classList.toggle("themed",!i)}findCategories(){return this.findAll('*[data-action="category"]').map((t=>({el:t,id:parseInt((0,p.p)(t,"data-id")||"")})))}findRows(){const t=(t,e)=>((0,p.p)(t,e)||"").split(",").map((t=>parseInt(t))).filter((t=>isFinite(t)));return this.findAll("tr").map((e=>({categories:t(e,"data-categories"),el:e,exhibitions:t(e,"data-exhibitions"),months:[parseInt((0,p.p)(e,"data-month")||"")]})))}getFilter(){const t=t=>(t=>t?Array.prototype.slice.apply(t.selectedOptions):[])(t).map((t=>parseInt(t.value))).filter((t=>isFinite(t)));return{exhibitions:t(this.exhibitions),months:t(this.months),categories:this.categories.filter((t=>t.selected)).map((t=>t.id))}}onCategoryClick({current:t}){const e=this.categories.find((({el:e})=>e===t));e&&(e.selected=!e.selected,e.el.classList.toggle("themed",e.selected),this.applyFilter())}onResetClick(){const{categories:t,exhibitions:e,months:n}=this;for(const t of[e,n].filter((t=>!!t)))t.selectedIndex=0,(0,A.h)(t,"change");for(const e of t.filter((t=>t.selected)))e.selected=!1,e.el.classList.remove("themed");this.applyFilter()}onSelectChange(t){const e=t.current,n=(0,$.I)("!.dtmUtilsSelect button",e);n&&n.classList.toggle("themed",e.selectedIndex>0),this.applyFilter()}}(0,u.Cg)([(0,v.f)({name:"click",selector:'*[data-action="category"]'})],ft.prototype,"onCategoryClick",null),(0,u.Cg)([(0,v.f)({name:"click",selector:'*[data-action="reset"]'})],ft.prototype,"onResetClick",null),(0,u.Cg)([(0,v.f)({name:"change",selector:"select"})],ft.prototype,"onSelectChange",null);var pt=s(7547);function mt(t,e,n={}){return(0,pt.q)(t,e,Object.assign({transistHeight:!0},n))}class gt extends m.S{constructor(t){super(t);const e=this.find(".dtmFormArchive__usage");this.mask=e,this.isVisible=!e||"false"===e.ariaHidden,this.checkbox=this.findAll("input").find((t=>"digitized"===t.value))}onChange(){const{checkbox:t}=this;this.setVisible(!!t&&t.checked)}setVisible(t){const{mask:e}=this;this.isVisible!==t&&e&&(this.isVisible=t,mt(e,(()=>{e.ariaHidden=t?"false":"true",e.classList.add("animated")})).then((()=>e.classList.remove("animated"))))}}(0,u.Cg)([(0,v.f)({name:"change"})],gt.prototype,"onChange",null);class yt extends m.S{constructor(t){super(t),this.input=this.find("> .dtmForm__checkbox input"),this.mask=this.find(".dtmFormCheckboxContent__mask")}onChange(){(0,$.J)(".dtmFormCheckboxContent",this.el.parentElement).map((t=>(0,a.KZ)(t,yt))).filter((t=>
1!!t)).forEach((t=>t.update()))}update(){const{mask:t,input:e}=this;e&&t&&mt(t,(()=>{t.ariaHidden=e.checked?"false":"true",t.classList.add("animated")})).then((()=>t.classList.remove("animated")))}}(0,u.Cg)([(0,v.f)({name:"change"})],yt.prototype,"onChange",null);class bt extends m.S{onClick(t){const e=(0,$.I)("!.dtmButton__group",t.current);e&&e.remove();const n=this.find("script[data-masonry-items]"),i=n?n.textContent:null;if(!i)return;const s=(new DOMParser).parseFromString(i,"text/html"),r=(0,$.J)(".dtmGalleryMasonry__item",s),o=this.findAll(".dtmGalleryMasonry__column"),a=Math.ceil(r.length/o.length);let c="odd";for(const t of o){for(const e of r.splice(0,a))e.classList.add("fadeIn",c),t.append(e);c="even"}}}(0,u.Cg)([(0,v.f)({name:"click",selector:"*[data-masonry-action]"})],bt.prototype,"onClick",null);class vt extends V{loadView(){return Promise.all([s.e(338),s.e(380),s.e(474)]).then(s.bind(s,4474))}}class wt extends V{loadView(){return s.e(852).then(s.bind(s,7852))}}function Ct(t){return t?"true":"false"}var At=s(1816);class xt extends m.S{constructor(t){super(t);const e=this.find("*[aria-controls]"),n=(0,p.p)(e,"aria-controls");this.button=e,this.target=n?document.getElementById(n):null,this.isExpanded=(0,At.G)((0,p.p)(e,"aria-expanded")),this.mask=this.params.element({name:"mask",defaultValue:this.target||void 0})}onButtonClick(t){this.setExpanded()}setExpanded(t=!this.isExpanded){if(this.isExpanded===t)return;this.isExpanded=t;const{button:e,mask:n,target:i}=this;e&&e.setAttribute("aria-expanded",Ct(t)),i&&i.setAttribute("aria-hidden",Ct(!t)),n&&mt(n,(()=>{n.classList.add("animated"),n.classList.toggle("expanded",t)})).then((()=>n.classList.remove("animated")))}}(0,u.Cg)([(0,v.f)({name:"click",selector:"*[aria-controls]"})],xt.prototype,"onButtonClick",null);class _t extends xt{}class kt extends m.S{constructor(t){super(t),this.activeOption=null,this.isExpanded=!1,this.selectedOption=null}get activeIndex(){const{options:t,activeOption:e}=this;return t.findIndex((t=>t===e))}set activeIndex(t){const{options:e}=this;e.length&&-1!==t?t<0||t>e.length?this.setActiveOption(e[e.length-1]):this.setActiveOption(e[t]):this.setActiveOption(null)}get comboBox(){return this.find('*[role="combobox"]')||this.el}get mask(){return this.params.element({defaultValue:"*[data-combobox-mask]",name:"mask"})}get options(){return this.findAll('*[role="option"]')}get selectedIndex(){const{options:t,selectedOption:e}=this;return t.findIndex((t=>t===e))}set selectedIndex(t){const{options:e}=this;t<0||t>e.length?this.setSelectedOption(null):this.setSelectedOption(e[t])}handleChange(t){this.setSelectedOption(t),this.setExpanded(!1)}onFocusOut(t){let e=t.relatedTarget;for(;e;){if(e===this.el)return;e=e.parentElement}this.setExpanded(!1)}onComboBoxClick(){this.setExpanded(!this.isExpanded)}onKeyDown(t){(this.isExpanded?this.processKeyExpanded(t.key):this.processKeyClosed(t.key))&&t.preventDefault()}onOptionClick(t){this.handleChange(t.current),t.preventDefault()}onOptionMouseOver(t){this.setActiveOption(t.current)}processKeyClosed(t){switch(t){case"Home":return this.setExpanded(!0,0),!0;case"End":return this.setExpanded(!0,-2),!0;case" ":case"Enter":case"ArrowUp":case"ArrowDown":return this.setExpanded(!0),!0;default:return!1}}processKeyExpanded(t){const{activeIndex:e,activeOption:n,options:i}=this;switch(t){case"ArrowUp":return this.activeIndex=Math.max(0,e-1),!0;case"ArrowDown":return this.activeIndex=Math.min(i.length-1,e+1),!0;case"Home":return this.activeIndex=0,!0;case"End":return this.activeIndex=-2,!0;case" ":case"Enter":return this.handleChange(n),!0;case"Escape":return this.setExpanded(!1),!0;default:return!1}}setExpanded(t,e=Math.max(0,this.selectedIndex)){if(this.isExpanded===t)return;this.isExpanded=t;const{mask:n}=this,i=()=>{this.toggleClass("expanded",t),this.comboBox.setAttribute("aria-expanded",t?"true":"false"),this.activeIndex=t?e:-1};n?mt(n,i,this.params.options.transition):i()}setActiveOption(t){const{activeOption:e}=this;e!==t&&(this.activeOption=t,this.comboBox.setAttribute("aria-activedescendant",t?t.id:""),e&&e.classList.remove("active"),t&&t.classList.add("active"))}setSelectedOption(t){const{selectedOption:e}=this;e!==t&&(this.selectedOption=t,e&&e.setAttribute("aria-selected","false"),t&&t.setAttribute("aria-selected","true"))}}(0,u.Cg)([(0,g.M)({immediate:!0})],kt.prototype,"mask",null),(0,u.Cg)([(0,g.M)()],kt.prototype,"options",null),(0,u.Cg)([(0,v.f)({name:"focusout"})],kt.prototype,"onFocusOut",null),(0,u.Cg)([(0,v.f)({name:"click",
1selector:'*[role="combobox"]'})],kt.prototype,"onComboBoxClick",null),(0,u.Cg)([(0,v.f)({name:"keydown"})],kt.prototype,"onKeyDown",null),(0,u.Cg)([(0,v.f)({name:"click",selector:'*[role="option"]'})],kt.prototype,"onOptionClick",null),(0,u.Cg)([(0,v.f)({name:"mouseover",selector:'*[role="option"]'})],kt.prototype,"onOptionMouseOver",null);var Et=s(455);class Ot extends D.Q{constructor(){super(...arguments),this.hasOption=!1,this.isScrollingUp=!1,this.isVisible=!1,this.lastScrollTop=0,this.turnedAt=0,this.turnedDistance=0}onConnected(){this.lastScrollTop=(0,Et.h)()}onOptionChanged(t){this.hasOption=!!t,this.updateVisibility()}onScroll(){const{lastScrollTop:t}=this,e=(0,Et.h)(),n=e<t;return this.isScrollingUp!==n&&(this.turnedAt=e),this.lastScrollTop=e,this.isScrollingUp=n,this.turnedDistance=Math.abs(this.turnedAt-e),this.updateVisibility}updateVisibility(){const{hasOption:t,isScrollingUp:e,turnedDistance:n}=this,i=t&&e&&n>50;this.isVisible!==i&&(this.isVisible=i,this.view.toggleClass("visible",i))}}(0,u.Cg)([(0,y.y)({events:"scroll"})],Ot.prototype,"onScroll",null);var St=s(6934);class Lt extends D.Q{constructor(){super(...arguments),this.currentSection=null,this.sections=[]}findCurrentSection(){const t=(0,Et.h)();for(const e of this.sections)if(e.top<t)return e;return null}onConnected(){this.sections=this.view.options.map((t=>{const e=(0,$.I)("a",t),n=e?e.getAttribute("href"):null,i=n&&n.startsWith("#")?n.substring(1):null,s=i?document.getElementById(i):null;return s?{el:s,option:t,top:0}:null})).filter((t=>!!t)).reverse()}onMeasure(){const t=(0,Et.h)(),e=-.2*Q();for(const n of this.sections)n.top=n.el.getBoundingClientRect().top+t+e}onScroll(){const t=this.findCurrentSection();if(t!==this.currentSection)return this.currentSection=t,this.updateSelectedOption}updateSelectedOption(){const{currentSection:t}=this;this.view.setSelectedOption(t?t.option:null)}}(0,u.Cg)([(0,y.y)({events:"resize"})],Lt.prototype,"onMeasure",null),(0,u.Cg)([(0,y.y)({events:"scroll"})],Lt.prototype,"onScroll",null);class Vt extends kt{constructor(t){super(Object.assign(Object.assign({},t),{transition:{duration:200}})),this.mutedTimeout=0;const e=this.find(".dtmHeaderToc__widgetButtonLabel");this.label=e,this.initialLabel=e?e.innerText:"",this.addBehaviour(Lt),this.scrollReveal=this.addBehaviour(Ot)}handleChange(t){super.handleChange(t),(0,St.B)((0,$.I)("a",t)),this.mutedTimeout=window.setTimeout((()=>{this.mutedTimeout=0,this.updateLabel()}),300)}setSelectedOption(t){this.selectedOption!==t&&(super.setSelectedOption(t),this.scrollReveal.onOptionChanged(t),this.mutedTimeout||this.updateLabel())}updateLabel(){const{label:t,initialLabel:e,selectedOption:n}=this,i=n?(0,$.I)("a",n):null;if(t){const n=i?i.textContent:e;t.textContent=n}}}class Pt extends m.S{constructor(){super(...arguments),this.isExpanded=!1}onCloserClick(){this.setExpanded(!1)}onWidgetClick(){this.setExpanded(!0)}setExpanded(t){this.isExpanded!==t&&(this.isExpanded=t,this.toggleClass("expanded",t),function(t,e){e?E(t):_(t)}(this.el,t),(0,C.K)(this.el,t?"fadeIn":"fadeOut",t?300:200))}}(0,u.Cg)([(0,v.f)({name:"click",selector:".dtmHeader__dialogCloser"})],Pt.prototype,"onCloserClick",null),(0,u.Cg)([(0,v.f)({name:"click",selector:".dtmHeader__widget"})],Pt.prototype,"onWidgetClick",null);class Dt extends xt{}var Tt=s(4506);function Mt(){return this.video}class jt extends m.S{constructor(t){super(t),this.didUserPause=!1,this.isPlaying=!1,this.isVisible=!1,this.video=this.find("video")}onButtonClick(){const{video:t}=this;t&&(this.didUserPause=!t.paused,t.paused?t.play():t.pause())}onConnected(){Tt.XD.observe(this)}onDisconnected(){Tt.XD.unobserve(this)}onPause(){this.setPlaying(!1)}onPlay(){this.setPlaying(!0)}setPlaying(t){this.isPlaying!==t&&(this.isPlaying=t,this.toggleClass("playing",t))}setVisible(t){const{isVisible:e,video:n}=this;e!=t&&n&&(this.isVisible=t,t&&!this.didUserPause?n.play():n.pause())}}(0,u.Cg)([(0,v.f)({name:"click",selector:"button"})],jt.prototype,"onButtonClick",null),(0,u.Cg)([(0,v.f)({name:"pause",target:Mt})],jt.prototype,"onPause",null),(0,u.Cg)([(0,v.f)({name:"play",target:Mt})],jt.prototype,"onPlay",null);class It extends V{loadView(){return Promise.all([s.e(338),s.e(380),s.e(27)]).then(s.bind(s,7027))}}class Nt extends V{loadView(){return Promise.all([s.e(338),s.e(202)]).then(s.bind(s,3202))}}class Bt extends xt{setExpanded(t){super.setExpanded(t),this.isExpanded&&this.el.hasAttribute("data-collapse-siblings")&&(0,$.J)(".dtmUtilsAccordion",this.el.parentElement).map((t=>(0,a.KZ)(t,Bt))).filter((t=>
1!!t&&t!==this)).forEach((t=>t.setExpanded(!1)))}}class Ht extends m.S{constructor(t){super(t),this.baseUrl=(0,p.p)(this.el,"data-base-url")||"",this.chunkUrl=(0,p.p)(this.el,"data-chunk-url")||""}onLink(t){const e=new B.s(t.current.getAttribute("href")||"");e.path===this.baseUrl&&(t.preventDefault(),fetch(new B.s(this.chunkUrl).setParams(e.query).toString()).then((t=>t.text())).then((t=>{const e=this.el.parentElement||this.el,n=(0,Et.h)()+e.getBoundingClientRect().top;window.scrollTo(0,n),this.el.innerHTML=t})))}}(0,u.Cg)([(0,v.f)({name:"click",selector:"a"})],Ht.prototype,"onLink",null);class Ut extends xt{}class $t extends xt{onHeaderClick(){this.setExpanded()}}(0,u.Cg)([(0,v.f)({name:"click",selector:".dtmUtilsJumboFold__header"})],$t.prototype,"onHeaderClick",null);var Ft=s(6536);class Rt extends m.S{constructor(t){super(t),this.hasPlayer=!1,this.isMobile=!0,this.isVisible=!0,this.video=null,this.video=this.find("video")}onBreakpoint(){this.isMobile=(0,Ft._y)().index<2,this.updatePlayState()}onConnected(){Tt.XD.observe(this)}onDisconnected(){Tt.XD.unobserve(this)}onVideoPlay(){this.hasPlayer=!0,this.updatePlayState()}onVideoStop(){this.hasPlayer=!1,this.updatePlayState()}setVisible(t){this.isVisible=t,this.updatePlayState()}updatePlayState(){const{hasPlayer:t,isVisible:e,isMobile:n,video:i}=this;if(!i)return;i.preload=n?"none":"metadata";e&&!n&&!t?i.play().catch((()=>null)):i.pause()}}(0,u.Cg)([(0,y.y)({events:"breakpoint"})],Rt.prototype,"onBreakpoint",null),(0,u.Cg)([(0,v.f)({name:O.UA})],Rt.prototype,"onVideoPlay",null),(0,u.Cg)([(0,v.f)({name:O.g9})],Rt.prototype,"onVideoStop",null);var Wt=s(7999);class zt extends m.S{constructor(){super(...arguments),this.interval=0,this.onTick=()=>{const{state:t,times:e}=getOpeningHours();let n;if("closed"===t)n=(0,Wt.t)("header.hours.closed");else{const t=e.map((t=>t.join("–"))).join(", ");n=(0,Wt.t)("header.hours.opened",{hours:t})}this.el.innerHTML=n}}onConnected(){this.interval=window.setInterval(this.onTick,6e4),this.onTick()}onDisconnected(){window.clearInterval(this.interval),this.interval=0}}class Kt extends xt{}class Qt extends V{loadView(){return Promise.all([s.e(338),s.e(18)]).then(s.bind(s,2018))}}class Jt extends m.S{constructor(t){super(t),this.display=this.find(".dtmUtilsSelect__display"),this.select=this.find("select")}onChange(){const{display:t,select:e}=this,n=e?e.selectedOptions[0]:null;if(t&&n){const e=(0,p.p)(this.el,"data-empty");t.innerText=!n.value&&e?e:n.innerText}}}(0,u.Cg)([(0,v.f)({name:"change"})],Jt.prototype,"onChange",null);class Xt extends m.S{constructor(){super(...arguments),this.iframe=null}onClick(){const{current:t}=Xt,e=this.find("script");if(!e||t===this)return;Xt.current=this,t&&t.stop();const n=(new DOMParser).parseFromString(null==e?void 0:e.innerText,"text/html").body.firstElementChild;n&&(this.addClass("active"),this.iframe=n,this.el.append(n),this.trigger(O.UA))}stop(){const{iframe:t}=this;t&&(t.remove(),this.removeClass("active"),this.iframe=null,this.trigger(O.g9))}}Xt.current=null,(0,u.Cg)([(0,v.f)({name:"click"})],Xt.prototype,"onClick",null),(0,a.MA)(r),c.bZ.scrollbarProp="--dtm-scrollbar-width"}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.