PageSourceSearch

https://catalogue.bm-lyon.fr/appstatic/js/600.3d1e2124fb8cd6e92a37.chunk.js

js bm-lyon.fr collected 2026-09-24 17:55:41 UTC 18,775 bytes, 1 lines download raw bytes

1(self.webpackChunkmondoin_mobile_ui=self.webpackChunkmondoin_mobile_ui||[]).push([[600],{18362:(e,t,i)=>{"use strict";var n=i(95318);t.Z=void 0;var r=n(i(67294)),o=(0,n(i(2108)).default)(r.default.createElement(r.default.Fragment,null,r.default.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),r.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})),"Info");t.Z=o},22928:(e,t,i)=>{"use strict";i.d(t,{Z:()=>y});var n=i(67294),r=i.n(n),o=i(45697),a=i.n(o),l=i(8935);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=f(e);if(t){var r=f(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return p(this,i)}}function p(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(a,e);var t,i,n,o=d(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,e)}return t=a,(i=[{key:"render",value:function(){var e=this.props,t=e.source,i=e.forceSize,n=e.locale,o=e.hasCarousel,a=e.iframeTitle,l=e.localized,s=this.props.size,c=s.width,u=s.height;if(i&&(c=i.width),!c&&!u)return r().createElement("div",null,"...");u||(u=o?.58*window.innerHeight:.75*window.innerHeight)>1.5*c&&(u=1.5*c);var d="/static/flipbook/frame.html?id=".concat(t,"&locale=").concat(n),p=l&&l(a);return r().createElement("iframe",{frameBorder:0,width:c-30,height:u,title:p,src:d})}}])&&c(t.prototype,i),n&&c(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(n.Component);h.propTypes={size:a().object,source:a().string,locale:a().string.isRequired,forceSize:a().object,hasCarousel:a().bool,localized:a().func.isRequired,iframeTitle:a().oneOfType([a().string,a().object])};const y=(0,l.withSize)()(h)},67289:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>W});var n,r,o,a,l,s=i(67294),c=i.n(s),u=i(75593),d=i(45697),p=i.n(d),f=i(94184),h=i.n(f),y=i(60869),m=i(65470),b=i.n(m),g=i(66735),v=i(89875),w=i(18362),R=i(68821),P=i(51922),E=i(30866),S=i(25225),k=i(36817),M=i(56261),_=i(93962),D=i(33311),C=i(31657),I=i(31464),O=i(75980),x=i(22928),j=i(8501),A=i(71833),z=i(77405),T=i(72456);function B(e){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(e)}function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},N.apply(this,arguments)}function q(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G(e,t){return G=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},G(e,t)}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=Z(e);if(t){var r=Z(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return V(this,i)}}function V(e,t){if(t&&("object"===B(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}
1function Z(e){return Z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Z(e)}var F=(0,O.Z)((function(){return i.e(390).then(i.bind(i,70390))})),H=(0,O.Z)((function(){return Promise.all([i.e(2018),i.e(6066)]).then(i.bind(i,46066))})),W=(n=(0,M.JQ)((function(e){return{token:e.getIn(["account","token"]),playListSelector:function(t){return e.getIn(["notices",t,"noticeAspects","audioPlaylist"])}}}),(function(e){return{goto:function(t){e((0,D.VF)(t))},statistic:function(t,i){return e(k.launchMedia(t,i))},onLoadPlaylist:function(t){e(k.loadNoticeAudioPlaylist(t))},onPlaySong:function(t,i){return e(k.playSong(t,i))},onClearPlaylist:function(){return e(k.clearQueue())}}})),r=(0,y.Z)({copyStatics:["defaultProps"]}),o=(0,M.D2)((function(e){return{element:{position:"absolute",width:"100%",height:"100%",display:"flex",flexDirection:"column"},mediaDisplayPanel:{display:"flex",padding:"8px",flex:"1 1 100%",position:"relative",alignItems:"center",justifyContent:"center",overflowY:"auto"},mediaDisplayContainer:{position:"relative",height:"90%",width:"80%"},carouselPanel:{display:"flex",padding:"8px",flex:"0 0 175px"},carouselPanelMobile:{display:"flex"},slider:{width:"100%","& $slideArrow":{display:"flex !important",width:"initial",height:"initial",borderRadius:"50%",padding:"8px","&::before":{content:"inherit"}},"& .slick-slide":{"& div:focus":{outline:"inherit"}}},slide:{height:"160px",position:"relative",cursor:"pointer"},slideMobile:{height:"75px",position:"relative",cursor:"pointer"},noticeBtn:{position:"absolute",top:"16px",right:"72px",minHeight:"inherit",zIndex:1,marginRight:"10px"},noticeBtnIcon:{fontSize:"3rem"},slideBg:{width:"147px",margin:"auto",position:"absolute",top:0,right:0,bottom:0,left:0},reactPlayer:{width:"100% !important",height:"100% !important",position:"absolute",left:0,top:0,background:"#000000"},previewEdition:{padding:"16px"},frame:{width:"100%",height:"100%",border:"0",position:"absolute"},frameContainer:{position:"relative",margin:"0 auto"},divFullScreen:{position:"absolute",top:"0",left:"0",bottom:"0",right:"0"},tooltipRoot:{transition:"opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 1000ms"},tooltip:{position:"relative",backgroundColor:"#fff",color:"rgba(0, 0, 0, 0.87)",boxShadow:e.shadows[1],fontSize:"1.2rem"},slideArrow:{},slideRightArrow:{},slideLeftArrow:{}}}),{withTheme:!0}),(0,M.h8)(a=n(a=r(a=o((l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&G(e,t)}(o,e);var t,i,n,r=L(o);function o(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=r.call(this,e)).state={currentNotice:{},GalleryMedia:[],playlist:[],currentMedia:{},loading:!1,nbSlide:3},t._onSlideClick=function(e){var i=t.props.onLoadPlaylist,n=t.state.currentMedia;if(n&&e&&e.iid===n.iid)return null;"audioReader"===e.type?t.setState({currentMedia:e,playlist:[],loadingPlaylist:!0},(function(){i(e.iid)})):t.setState({currentMedia:e,loading:!1})},t._onHandleRef=function(e){var i=t.props.minThumbnailWidth;e&&(t.carouselRef=e,t.resizeInterval&&window.clearInterval(t.resizeInterval),t.resizeInterval=window.setInterval((function(){if(e.getBoundingClientRect){var n=e.getBoundingClientRect();if(n){var r=n.width,o=Math.ceil(r/i),a=o<t.state.GalleryMedia.length?o:t.state.GalleryMedia.length;a!==t.state.nbSlide&&t.setState({nbSlide:a})}}}),300))};var i=e.noticeId;return t._isAsyncJobEnabled=!0,i&&(t.state.loading=!0,t.loadData(i)),t}return t=o,i=[{key:"componentDidUpdate",value:function(e,t,i){var n=this,r=this.props.playListSelector,o=this.state,a=o.currentMedia,l=o.loadingPlaylist,s=o.playlist;this.removeDownload(),this.props.noticeId!==e.noticeId&&this.setState({loading:!0},(function(){return n.loadData(n.props.noticeId)})),l&&a&&"audioReader"===a.type&&r&&r(a.iid)&&this.setState({loadingPlaylist:!1,playlist:r(a.iid)}),s&&a&&"audioReader"!==a.type&&this.props.onClearPlaylist()}},{key:"componentDidMount",value:function(){this.removeDownload()}},{key:"componentWillUnmount",value:function(){this._isAsyncJobEnabled=!1,this.carouselRef&&(this.carouselRef=null),this._localVideoPlayer&&(this._localVideoPlayer=null),this._localAudioPlayer&&(this._localAudioPlayer=null),this.resizeInterval&&window.clearInterval(this.resizeInterval)}},{key:"loadData",value:function(e){var t=this,i={loading:!1};if(e){var n=decodeURIComponent(e).replace("h::","");_.h.contentGraphById(this.props.token,n,1,"GalleryMedia").then((function(e){if(e&&e[n]){var r=e[n];if(i.currentNotice=r,i.GalleryMedia=[],r&&r.properties&&r.properties.GalleryMedia){var o=[];Array.isArray(r.properties.GalleryMedia)?o=r.properties.GalleryMedia:o.push(r.properties.GalleryMedia),(o||[]).forEac
1h((function(n){var r=e[n&&n.IID&&n.IID.replace("h::","")],o=r&&r.properties;if(o){if(o.Document){var a="1"===o.isFlipBookEnabled;i.GalleryMedia.push({type:a?"flipBookReader":"documentReader",title:r.title,iid:r.iid,thumbnail:o.thumbnail,data:o.Document})}o.GalleryImage&&i.GalleryMedia.push({type:"imageReader",title:r.title,iid:r.iid,thumbnail:o.thumbnail,data:o.GalleryImage}),(o.HiDef||o.LoDef)&&i.GalleryMedia.push({type:"videoReader",title:r.title,iid:r.iid,thumbnail:o.thumbnail,data:{HiDef:o.HiDef,LoDef:o.LoDef}}),o.tracks&&(i.GalleryMedia.push({type:"audioReader",title:r.title,iid:r.iid,thumbnail:o.thumbnail}),1===i.GalleryMedia.length&&t.props.onLoadPlaylist(r.iid))}}))}i.currentMedia=i.GalleryMedia[0]||{}}t._isAsyncJobEnabled&&t.setState(i)}))}}},{key:"removeDownload",value:function(){this._localVideoPlayer&&this._localVideoPlayer.player&&this._localVideoPlayer.player.player&&this._localVideoPlayer.player.player.setAttribute&&this._localVideoPlayer.player.player.setAttribute("controlsList","nodownload"),this._localAudioPlayer&&this._localAudioPlayer.player&&this._localAudioPlayer.player.player&&this._localAudioPlayer.player.player.setAttribute&&this._localAudioPlayer.player.player.setAttribute("controlsList","nodownload")}},{key:"_toolTipWrapper",value:function(e,t,i){var n=this.props.classes;return c().createElement(C.default,{disableFocusListener:!0,title:c().createElement("div",{className:n.tooltipRoot},e),placement:t,classes:{tooltip:n.tooltip}},i)}},{key:"renderVideoReader",value:function(){var e=this,t=this.props,i=t.classes,n=t.statistic,r=t.isVideoAutoplay,o=this.state.currentMedia,a=b().mobile||b().tablet?o.data.LoDef||o.data.HiDef:o.data.HiDef||o.data.LoDef;return c().createElement(c().Fragment,null,c().createElement(F,{controls:!0,playing:r,ref:function(t){return e._localVideoPlayer=t},className:i.reactPlayer,onStart:function(){n("video",o.title)},url:(0,I.e)(a.Document),config:{file:{attributes:{title:null==o?void 0:o.title}}}}))}},{key:"renderAudioReader",value:function(){var e=this.props,t=e.relax,i=e.styleClassMap,n=this.state,r=n.loadingPlaylist,o=n.playlist;return null==o||r?c().createElement(E.default,null):c().createElement(R.default,null,c().createElement(S.default,{relax:t,playlist:o,showRemove:!1,showSearch:!0,popupVersion:!1,playFromPlaylist:!1,rowsPerPage:10,onPlaySong:this.props.onPlaySong,styleClassMap:i}))}},{key:"renderDocumentReader",value:function(){var e=this,t=this.props,i=t.classes,n=t.intl,r=t.statistic,o=t.localized,a=t.iframeTitle,l=this.state.currentMedia,s=o&&o(a);return c().createElement(c().Fragment,null,c().createElement("iframe",{onLoad:function(){r("documentReader",l.title),e.setState({loaded:!0})},className:i.frame,title:s,src:"/in/documentViewer.xhtml?v=2.1.196&id=".concat(l.iid,"&highlight=readerEnabled_s%3A%22DocumentReader%22&locale=").concat(n.locale,"&multi=false"),frameBorder:"0",scrolling:"no"}),c().createElement(E.default,{style:{display:this.state.loaded?"none":"block",position:"absolute",left:"45%",top:"42%"},size:60}))}},{key:"renderFlipBookReader",value:function(){var e=this.props,t=e.intl,i=e.localized,n=e.iframeTitle,r=this.state.currentMedia;return c().createElement(c().Fragment,null,c().createElement(s.Suspense,{fallback:c().createElement("div",null,t.formatMessage({id:"FlipBook.loading",defaultMessage:"Loading..."}))},c().createElement(x.Z,{source:r.data.Document,locale:t.locale,localized:i,iframeTitle:n,hasCarousel:!0})))}},{key:"renderImageReader",value:function(){var e=this,t=this.props,i=t.classes,n=t.statistic,r=t.reduceReaderWidth,o=t.localized,a=t.iframeTitle,l=this.state.currentMedia,s=o&&o(a);return c().createElement(c().Fragment,null,c().createElement("iframe",{style:{height:r&&"90%",top:r&&"10%",width:r&&!(b().mobile||b().tablet)&&"55%",left:r&&!(b().mobile||b().tablet)&&"20%"},onLoad:function(){n("imageReader",l.title),e.setState({loaded:!0})},className:i.frame,title:s,src:"/in/imageReader.xhtml?id=".concat(l.iid,"&locale=fr&embedded=true&highlight=readerEnabled_s:*"),frameBorder:"0",scrolling:"no"}),c().createElement(E.default,{style:{display:this.state.loaded?"none":"block",position:"absolute",left:"45%",top:"42%"},size:60}))}},{key:"renderNoticeBtn",value:function(){var e=this.props,t=e.classes,i=e.goto,n=e.intl,r=e.pushNoticeButtonRight,o=e.router,a=this.state.currentMedia,l=n.formatMessage,s=o.location.query.exposition?"&exposition=".concat(o.location.query.exposition):"";return a?this._toolTipWrapper(l({id:"MediaGalleryReaderBlock.bibliographicInformation",defaultMessage:"Bibliographic Information"}),"top",c().createElement(P.default,{color:"primary","aria-label":"notice",onClick:function(){return i("/notice?id=".concat(a.iid).concat(s))},className:t.noticeBtn,size:"medium",style:{right:r&&b().mobile?"0px":"72px"}},c().createElement(w.Z,{className:t.noticeBtnIcon}))):null}},{key:"renderCurrentMedia",value:function(){var e=this.props,t=e.classes,i=e.styleClassMap,n=this.state.currentMedia;return n?c().createElement("div",{className:h()(t.mediaDisplayPanel,i.mediaDisplayPanel)},this.renderNoticeBtn(),c().createElement("div",{className:!("flipBookReader"===n.type&&b().mobile)&&h()(t.mediaDisplayContainer)},"documentReader"===n.type&&this.renderDocumentReader(),"flipBookReader"===n.type&&this.renderFlipBookReader(),"imageReader"===n.type&&this.renderImageReader(),"videoReader"===n.type&&this.renderVideoReader(),"audioReader"===n.type&&this.renderAudioReader())):null}},{key:"renderCarousel",value:function(){var e=this,t=this.props,i=t.classes,n=t.styleClassMap,r=t.thumbnailUniformWidthAndSpacing,o=t.areDefaultThumbnailsReplaced,a=r&&!(b().mobile||window.innerHeight<700)?"85% 100%":"contain",l=function(e){return c().createElement("div",{className:h()(e.className,i.slideArrow,n&&n.arrowsColor),style:e.style,onClick:e.onClick},"right"===e.position?c().createElement(g.Z,{className:n&&n.arrows}):c().createElement(v.Z,{className:n&&n.arrows}))};return c().createElement("div",{ref:this._onHandleRef,className:b().mobile||window.innerHeight<700?
1i.carouselPanelMobile:h()(i.carouselPanel,n.carouselPanel)},c().createElement(H,{ref:function(t){e._slider=t},className:i.slider,prevArrow:!b().mobile&&c().createElement(l,{position:"left"}),nextArrow:!b().mobile&&c().createElement(l,{position:"right"}),infinite:!0,slidesToShow:this.state.nbSlide,swipeToSlide:!0,slidesToScroll:1,rows:1,lazyLoad:!0},(this.state.GalleryMedia||[]).map((function(t,n){return c().createElement("div",{key:"slide_".concat(n),className:b().mobile||window.innerHeight<700?i.slideMobile:i.slide,onClick:function(){return e._onSlideClick(t)}},c().createElement("div",{className:i.slideBg,style:{background:o&&t.thumbnail&&t.thumbnail.Document?'url("/in/rest/annotationSVC/DownloadAttachment/'.concat(t.thumbnail.Document,"?fileName=").concat(t.thumbnail.DocumentFileName):'url("/in/rest/Thumb/image?id='.concat(t.iid,'&TypeOfDocument=Physical&ct=true&size=256&siteId=mainSite")'),backgroundSize:a,backgroundRepeat:"no-repeat",backgroundPosition:"center"}}))}))))}},{key:"render",value:function(){var e=this.props,t=e.componentID,i=e.styleClassMap,n=e.relax,r=e.Element,o=e.classes;return this.state.loading?null:c().createElement(r,N({},n,{id:t||null,htmlTag:"div",className:h()(o.element,i.element),settings:A.Z}),n.editing||n.building?c().createElement("div",{className:o.previewEdition},c().createElement("i",{className:"nc-icon-mini files_single-paragraph"})):c().createElement(c().Fragment,null,this.renderCurrentMedia(),this.renderCarousel()))}}],i&&q(t.prototype,i),n&&q(t,n),Object.defineProperty(t,"prototype",{writable:!1}),o}(u.Z),l.propTypes={intl:M.gm.isRequired,localized:p().func.isRequired,router:p().object.isRequired,theme:p().object.isRequired,classes:p().object.isRequired,relax:p().object.isRequired,styleClassMap:p().object.isRequired,Element:p().func.isRequired,renderChildren:p().func.isRequired,goto:p().func.isRequired,statistic:p().func.isRequired,onLoadPlaylist:p().func.isRequired,playListSelector:p().func.isRequired,onPlaySong:p().func.isRequired,onClearPlaylist:p().func.isRequired,noticeId:p().string.isRequired,flipbookWidth:p().oneOfType([p().string,p().number]),thumbnailUniformWidthAndSpacing:p().bool,minThumbnailWidth:p().oneOfType([p().string,p().number]),areDefaultThumbnailsReplaced:p().bool,isVideoAutoplay:p().bool,pushNoticeButtonRight:p().bool,reduceReaderWidth:p().bool,token:p().string,componentID:p().string,aspects:p().object,iframeTitle:p().object},l.defaultProps=T.Z,l.propsSchema=j.Z,l.settings=A.Z,l.style=z.Z,a=l))||a)||a)||a)||a)},31464:(e,t,i)=>{"use strict";function n(e){return e?e.startsWith("attach_cmsUpload")?"/in/rest/public/Attachment/"+encodeURIComponent(e):"/in/rest/annotationSVC/Attachment/"+encodeURIComponent(e):"/in/rest/public/emptyImage"}i.d(t,{e:()=>n})}}]);

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.