1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3666],{71285(e,t,i){i.d(t,{default:()=>l});var a=i(23029),n=i(92901),r=(i(50113),i(26099),i(33419)),o=i(51916),s=i.n(o),c=i(43029),l=function(){return(0,n.A)(function e(){var t=this;(0,a.A)(this,e),this.activeViewer=null,s().isEnabled&&s().on("change",function(){if(t.activeViewer){var e=$(t.activeViewer.domElement());s().isFullscreen||e.removeClass("in-fullscreen").find("a.fullscreen").removeClass("active"),t.resizeLogo(e),t.activeViewer.updateSize()}})},[{key:"resizeLogo",value:function(e){var t=this,i=e.find(".logo");if(i.length){var a=i.get(0);i.css({width:.4*e.width(),height:"auto"}),a.complete?i.css({"margin-left":-.5*i.width(),"margin-top":-.5*i.height()}):a.addEventListener("load",function(){t.resizeLogo(e)})}}},{key:"addMarzipano",value:function(e){var t=$(e),i=t.find(".logo"),a=new r.Viewer(e),n=r.ImageUrlSource.fromString(t.data("source")),o=new r.EquirectGeometry([{width:t.data("width")}]),l=r.RectilinearView.limit.traditional(t.data("width")/2,100*Math.PI/180),d=new r.RectilinearView({yaw:Math.PI},l),u=r.autorotate({yawSpeed:.1,targetPitch:0,targetFov:Math.PI/2}),h=!1,v=function(){h||(a.startMovement(u),h=!0)},w=function(){h&&(a.stopMovement(),h=!1)},f=a.createScene({source:n,geometry:o,view:d,pinFirstLevel:!0});(f.switchTo(),i.length)&&(f.hotspotContainer().createHotspot(i.get(0),{yaw:0,pitch:Math.PI/2}),this.resizeLogo(t),a.updateSize());if(s().isEnabled){var g=this;
1t.find("a.fullscreen").click(function(){var e=$(this);e.hasClass("active")?s().exit():(g.activeViewer=a,s().request(g.activeViewer.domElement()),e.addClass("active"),t.addClass("in-fullscreen"),g.activeViewer.updateSize())})}else t.find("a.fullscreen").remove();t.hover(v,w),$(window).scroll(function(){(0,c.cC)("(max-width: 767px)")&&(t.isOnScreen()?v():w())})}}])}()}}]);
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.