1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9928],{59928:function(e,n,t){t.r(n);var o=t(15671),i=t(43144),a=t(97326),c=t(60136),r=t(82963),l=t(61120),s=t(4942),f=t(67294),u=t(46351);function d(e){var n=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 t,o=(0,l.Z)(e);if(n){var i=(0,l.Z)(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return(0,r.Z)(this,t)}}var m=function(e){(0,c.Z)(t,e);var n=d(t);function t(){var e;(0,o.Z)(this,t);for(var i=arguments.length,c=new Array(i),r=0;r<i;r++)c[r]=arguments[r];return e=n.call.apply(n,[this].concat(c)),(0,s.Z)((0,a.Z)(e),"state",{isShowingInfo:!1,content:{anonymous:{title:I18n.t("generic.anonymous_location.detailed.notice"),modalTitle:I18n.t("generic.anonymous_location.detailed.notice"),modalContent:I18n.t("generic.anonymous_location.detailed.notice_title")},parsed:{title:I18n.t("generic.found_automatically"),modalTitle:I18n.t("generic.title_info_text"),modalContent:I18n.t("generic.parsed_info_text")}}}),(0,s.Z)((0,a.Z)(e),"toggleInfoModal",(function(){e.state.isShowingInfo?e.setState({isShowingInfo:!1},(function(){return window.removeEventListener("mousedown",e.handleClickOutsideInfoModal)})):e.setState({isShowingInfo:!0},(function(){window.addEventListener("mousedown",e.handleClickOutsideInfoModal);var n=window.innerHeight,t=e.infoModal.getBoundingClientRect().bottom;n<t&&window.scroll(0,window.pageYOffset+(t-n)+20)}))})),(0,s.Z)((0,a.Z)(e),"handleClickOutsideInfoModal",(function(n){var t=n.target,o=e.noticeWrapper.contains(t),i=e.infoLinkWrapper.contains(t),a=e.closeButton.contains(t);i||o&&!a||e.toggleInfoModal()})),e}return(0,i.Z)(t,[{key:"render",value:function(){var e=this,n=this.props,t=n.noticeKind,o=n.root,i=n.id,a=n.missingImagesUrl,c=n.showCopyright,r=this.state.isShowingInfo,l=this.state.content[t],s=l.title,d=l.modalTitle,m=l.modalContent,p=i?"noticeWrapper-".concat(i):null;return f.createElement("div",{className:"info-notice ".concat(o,"-view"),ref:function(n){return e.noticeWrapper=n},id:p},f.createElement("div",{className:"info-notice__wrapper"},f.createElement("div",{ref:function(n){return e.infoLinkWrapper=n},onClick:this.toggleInfoModal,className:"info-notice__title"},f.createElement("span",null," ",s," "),f.createElement("div",{className:"info-notice__info-icon ".concat(r&&"active"),id:"info-notice-icon"},f.createElement(u.SvgIco,{name:"info_outline",size:18}))),r&&f.createElement("div",{className:"info-notice__info-modal",ref:function(n){return e.infoModal=n}},f.createElement("div",{"aria-label":"Close info notice",role:"button",ref:function(n){return e.closeButton=n},className:"info-notice__close-modal-btn"},f.createElement(u.SvgIco,{name:"close",size:24})),f.createElement("p",{className:"info-notice__modal-title"},d),c&&f.createElement("p",{"aria-label":"Parsed copyright info",className:"info-notice__modal-content copyright",role:"button"},I18n.t("generic.parsed_copyright")),f.createElement("p",{className:"info-notice__modal-content",role:"button"},m,"\xa0","parsed"===t&&f.createElement("a",{href:a,target:"_blank",className:"read-more",id:"infoNoticeLink-".concat(i)},I18n.t("generic.read_more"))))))}}]),t}(f.Component);n.default=m}}]); 2//# sourceMappingURL=9928-0610dd34334bcda86772.chunk.js.map
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.