1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[130,8326],{7626(e,t,o){o.r(t),o.d(t,{default:()=>d});var r=o(1827),i=o(4899),n=o(3929),s=o(8282),a=o(1433),c=o(8008);let u=class extends c.default{constructor(){super(...arguments),this.markerClicked=!1,this.markerOpened=!1,this.activeMarker=null,this.isMobileQuery=window.matchMedia("only screen and (max-width: 35.4375rem)"),this.isMobile=this.isMobileQuery.matches,this.activeMarkerTitle=""}get markerTour(){const e=this.micrio&&this.micrio.$current&&this.micrio.$current.$data&&this.micrio.$current.$data.markerTours;return e?e&&e[0]:null}get openMarkerTourIndex(){return this.markerTour&&this.markerTour.currentStep}get markerTourLength(){return this.markerTour&&this.markerTour.steps.length||0}mounted(){window.addEventListener("resize",this.onResize),this.micrio.addEventListener("marker-open",this.onMicrioMarkerClicked,!1),this.micrio.addEventListener("marker-opened",this.onMicrioMarkerOpened,!1),this.micrio.addEventListener("marker-closed",this.onMicrioMarkerClosed,!1)}beforeDestroy(){this.micrio.removeEventListener("marker-open",this.onMicrioMarkerClicked,!1),this.micrio.removeEventListener("marker-opened",this.onMicrioMarkerOpened,!1),this.micrio.removeEventListener("marker-closed",this.onMicrioMarkerClosed,!1),window.removeEventListener("resize",this.onResize),document.body.classList.remove("marker-opened")}onResize(){this.isMobile=this.isMobileQuery.matches,this.isMobile&&this.markerOpened&&this.scrollIntoViewMobile()}onMicrioMarkerClicked(e){this.activeMarker=e.detail;const t=this.micrio.state.$tour,o=this.activeMarker.id;t&&"steps"in t&&t.isSerialTour&&t.steps.findIndex(e=>e.startsWith(o))>=0||document.body.classList.add("marker-opened")}onMicrioMarkerOpened(){if(!this.activeMarker)return;this.markerOpened=!0;const e=this.micrio.$current.$data.markers||[],t=Math.floor(100/e.length);this.activeMarkerTitle=this.activeMarker.title||void 0,this.sendGtmEvent("open_marker",t,this.activeMarkerTitle)}onMicrioMarkerClosed(e){this.activeMarker&&e.detail.id===this.activeMarker.id&&(this.activeMarker=null,document.body.classList.remove("marker-opened"),this.sendGtmEvent("close_marker",void 0,this.activeMarkerTitle))}scrollIntoViewMobile(){this.micrio&&this.isMobile&&this.micrio.scrollIntoView({behavior:a.D.matches?"auto":"smooth"})}sendGtmEvent(e,t,o){s.b.pushInteractionEvent("inzoomer",e,"inzoomer_story",void 0,t,o||void 0)}};(0,r.Cg)([(0,n.S)(100)],u.prototype,"onResize",null),u=(0,r.Cg)([i.Component],u);const d=u},8008(e,t,o){o.r(t),o.d(t,{default:()=>a});var r=o(1827),i=o(4899),n=o(3894);let s=class extends i.Vue{constructor(){super(...arguments),this.onAvailable=[],this.loaded=!1,this.shown=!1,this.defaultSettings={noLogo:!0,noToolbar:!0,noGTag:!0,noControls:!1,minimap:!1,hookScroll:!1,social:!1,camspeed:3,initType:"cover",crossfadeDuration:.75,_markers:{staticPopups:!0,showTitles:!0,autoStartTour:!0,tourControlsInPopup:!0,zoomOutAfterCloseSpeed:.3,canMinimizePopup:!0},ui:{icons:{zoomIn:'<svg aria-hidden="true" focusable="false" class="icon-zoom-in">\n <use xlink:href="#icon-zoom-in" href="#icon-zoom-in"></use>\n </svg>',zoomOut:'<svg aria-hidden="true" focusable="false" class="icon-zoom-out ">\n <use xlink:href="#icon-zoom-out" href="#icon-zoom-out"></use>\n </svg>',fullscreenEnter:'<svg aria-hidden="true" focusable="false" class="icon-fullscreen ">\n <use xlink:href="#icon-fullscreen" href="#icon-fullscreen"></use>\n </svg>',fullscreenLeave:'<svg aria-hidden="true" focusable="false" class="icon-windowed ">\n <use xlink:href="#icon-windowed" href="#icon-windowed"></use>\n </svg>',close:'<svg aria-hidden="true" focusable="false" class="icon-close ">\n <use xlink:href="#icon-close" href="#icon-close"></use>\n </svg>',up:'<svg aria-hidden="true" focusable="false" class="icon-arrow icon icon-arrow-up">\n <use xlink:href="#icon-arrow" href="#icon-arrow"></use>\n </svg>',down:'<svg aria-hidden="true" focusable="false" class="icon-arrow icon icon-arrow-down">\n <use xlink:href="#icon-arrow" href="#icon-arrow"></use>\n </svg>',next:'<svg aria-hidden="true" focusable="false" class="icon-arrow icon icon-arrow-right">\n <use xlink:href="#icon-arrow" href="#icon-arrow"></use>\n </svg>',prev:'<svg aria-hidden="true" focusable="false" class="icon-arrow icon icon-arrow-left">\n <use xlink:href="#icon-arrow" href="#icon-arrow"></use>\n </svg>',play:'<svg aria-hidden="true" focusable="false" class="icon-play">\n <use xlink:href="#icon-play" href="#icon-play"></use>\n </svg>',pause:'<svg aria-hidden="true" focusable="false" class="icon-pause">\n <use xlink:href="#icon-pause" href="#icon-pause"></use>\n </svg>',muted:'<svg aria-hidden="true" focusable="false" class="icon-muted">\n <use xlink:href="#icon-muted" href="#icon-muted"></use>\n </svg>',unmuted:'<svg aria-hidden="true" focusable="false" class="icon-unmuted">\n <use xlink:href="#icon-unmuted" href="#icon-unmuted"></use>\n </svg>',subtitles:'<svg aria-hidden="true" focusable="false" class="icon-subtitles-on">\n <use xlink:href="#icon-subtitles-on" href="#icon-subtitles-on"></use>\n </svg>',subtitlesOff:'<svg aria-hidden="true" focusable="false" class="icon-subtitles-off">\n <use xlink:href="#icon-subtitles-off" href="#icon-subtitles-off"></use>\n </svg>'}}}}created(){this.onAvailable.push(()=>{this.micrio.addEventListener("load",()=>{this.loaded=!0},{once:!0}),this.micrio.addEventListener("show",()=>{this.shown=!0},{once:!0})}),n.A.load(this.onLoaded)}mounted(){this.micrio=this.$el.querySelector("micr-io"),this.micrio.defaultSettings=this.defaultSettings,this.onLoaded()}onLoaded(){if(n.A.hasLoaded&&this.micrio)for(;this.onAvailable.length;){const e=this.onAvailable.shift();e&&e()}}};s=(0,r.Cg)([i.Component],s);const a=s},1433(e,t,o){o.d(t,{D:()=>r});const r=window.matchMedia("only screen and (prefers-reduced-motion: reduce)")},3894(e,t,o){o.d(t,{A:()=>r});class r{static load(e){if(e instanceof Function&&this.callbacks.push(e),this.hasLoaded)return void this.onMicrioLoadedBefore();if(this.isLoading)return;this.isLoading=!0;const t=document.createElement("script");t.setAttribute("no-font",""),t.async=!0,t.src="https://micrio.rijksmuseum.nl/micrio-4.3.min.js",t.onload=()=>this.onMicrioScriptLoaded(),document.head.appendChild(t)}
1static onMicrioLoadedBefore(){this.callbacks.forEach(e=>e()),this.callbacks=[]}static onMicrioScriptLoaded(){this.isLoading=!1,this.hasLoaded=!0,this.callbacks.forEach(e=>e()),this.callbacks=[]}}r.callbacks=[],r.hasLoaded=!1,r.isLoading=!1},3929(e,t,o){o.d(t,{S:()=>i});var r=o(1307);function i(e){return(0,r.u1)(function(t,o){if(!t.methods)throw new Error("This decorator must be used on a vue component method.");var r="number"==typeof e?e:e.time,i=t.methods[o],n=0;t.methods[o]=function(){for(var e=this,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];n&&(clearTimeout(n),n=0),n=setTimeout(function(){n=0,i.apply(e,t)},r)}})}},1307(e,t,o){var r,i=(r=o(5665))&&"object"==typeof r&&"default"in r?r.default:r,n="undefined"!=typeof Reflect&&Reflect.defineMetadata;function s(e,t,o){(o?Reflect.getOwnMetadataKeys(t,o):Reflect.getOwnMetadataKeys(t)).forEach(function(r){var i=o?Reflect.getOwnMetadata(r,t,o):Reflect.getOwnMetadata(r,t);o?Reflect.defineMetadata(r,i,e,o):Reflect.defineMetadata(r,i,e)})}var a={__proto__:[]}instanceof Array;var c=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured"];function u(e,t){void 0===t&&(t={}),t.name=t.name||e._componentTag||e.name;var o=e.prototype;Object.getOwnPropertyNames(o).forEach(function(e){if("constructor"!==e)if(c.indexOf(e)>-1)t[e]=o[e];else{var r=Object.getOwnPropertyDescriptor(o,e);void 0!==r.value?"function"==typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(t.mixins||(t.mixins=[])).push({data:function(){var t;return(t={})[e]=r.value,t}}):(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}}),(t.mixins||(t.mixins=[])).push({data:function(){return function(e,t){var o=t.prototype._init;t.prototype._init=function(){var t=this,o=Object.getOwnPropertyNames(e);if(e.$options.props)for(var r in e.$options.props)e.hasOwnProperty(r)||o.push(r);o.forEach(function(o){"_"!==o.charAt(0)&&Object.defineProperty(t,o,{get:function(){return e[o]},set:function(t){e[o]=t},configurable:!0})})};var r=new t;t.prototype._init=o;var i={};return Object.keys(r).forEach(function(e){void 0!==r[e]&&(i[e]=r[e])}),i}(this,e)}});var r=e.__decorators__;r&&(r.forEach(function(e){return e(t)}),delete e.__decorators__);var u,d,l=Object.getPrototypeOf(e.prototype),h=l instanceof i?l.constructor:i,f=h.extend(t);return function(e,t,o){Object.getOwnPropertyNames(t).forEach(function(r){if("prototype"!==r){var i=Object.getOwnPropertyDescriptor(e,r);if(!i||i.configurable){var n,s,c=Object.getOwnPropertyDescriptor(t,r);if(!a){if("cid"===r)return;var u=Object.getOwnPropertyDescriptor(o,r);if(n=c.value,s=typeof n,null!=n&&("object"===s||"function"===s)&&u&&u.value===c.value)return}0,Object.defineProperty(e,r,c)}}})}(f,e,h),n&&(s(u=f,d=e),Object.getOwnPropertyNames(d.prototype).forEach(function(e){s(u.prototype,d.prototype,e)}),Object.getOwnPropertyNames(d).forEach(function(e){s(u,d,e)})),f}function d(e){return"function"==typeof e?u(e):function(t){return u(t,e)}}d.registerHooks=function(e){c.push.apply(c,e)},t.u1=function(e){return function(t,o,r){var i="function"==typeof t?t:t.constructor;i.__decorators__||(i.__decorators__=[]),"number"!=typeof r&&(r=void 0),i.__decorators__.push(function(t){return e(t,o,r)})}}}}]);
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.