PageSourceSearch

https://www.ramboll.com/_next/static/chunks/vendors-react-easy-crop-a0a87c7fa71c2f8b.js

js ramboll.com collected 2026-09-24 08:37:55 UTC 19,351 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3600],{48161:function(t,e,o){o.d(e,{ZP:function(){return w}});var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(t,e)},i=function(){return(i=Object.assign||function(t){for(var e,o=1,r=arguments.length;o<r;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},n=o(18529),a=o(58744),s=o.n(a);function c(t,e,o,r,i){void 0===i&&(i=0);var n=m(e.width,e.height,i),a=n.width,s=n.height;return{x:h(t.x,a,o.width,r),y:h(t.y,s,o.height,r)}}function h(t,e,o,r){var i=e*r/2-o/2;return g(t,-i,i)}function p(t,e){return Math.sqrt(Math.pow(t.y-e.y,2)+Math.pow(t.x-e.x,2))}function u(t,e){return 180*Math.atan2(e.y-t.y,e.x-t.x)/Math.PI}function d(t,e){return Math.min(t,Math.max(0,e))}function l(t,e){return e}function v(t,e){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}}function m(t,e,o){var r=o*Math.PI/180;return{width:Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e),height:Math.abs(Math.sin(r)*t)+Math.abs(Math.cos(r)*e)}}function g(t,e,o){return Math.min(Math.max(t,e),o)}function f(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.filter(function(t){return"string"==typeof t&&t.length>0}).join(" ").trim()}var w=function(t){function e(){var o=null!==t&&t.apply(this,arguments)||this;return o.imageRef=n.createRef(),o.videoRef=n.createRef(),o.containerPosition={x:0,y:0},o.containerRef=null,o.styleRef=null,o.containerRect=null,o.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},o.dragStartPosition={x:0,y:0},o.dragStartCrop={x:0,y:0},o.gestureZoomStart=0,o.gestureRotationStart=0,o.isTouching=!1,o.lastPinchDistance=0,o.lastPinchRotation=0,o.rafDragTimeout=null,o.rafPinchTimeout=null,o.wheelTimer=null,o.currentDoc="undefined"!=typeof document?document:null,o.currentWindow="undefined"!=typeof window?window:null,o.resizeObserver=null,o.state={cropSize:null,hasWheelJustStarted:!1,mediaObjectFit:void 0},o.initResizeObserver=function(){if(void 0!==window.ResizeObserver&&o.containerRef){var t=!0;o.resizeObserver=new window.ResizeObserver(function(e){if(t){t=!1;return}o.computeSizes()}),o.resizeObserver.observe(o.containerRef)}},o.preventZoomSafari=function(t){return t.preventDefault()},o.cleanEvents=function(){o.currentDoc&&(o.currentDoc.removeEventListener("mousemove",o.onMouseMove),o.currentDoc.removeEventListener("mouseup",o.onDragStopped),o.currentDoc.removeEventListener("touchmove",o.onTouchMove),o.currentDoc.removeEventListener("touchend",o.onDragStopped),o.currentDoc.removeEventListener("gesturemove",o.onGestureMove),o.currentDoc.removeEventListener("gestureend",o.onGestureEnd),o.currentDoc.removeEventListener("scroll",o.onScroll))},o.clearScrollEvent=function(){o.containerRef&&o.containerRef.removeEventListener("wheel",o.onWheel),o.wheelTimer&&clearTimeout(o.wheelTimer)},o.onMediaLoad=function(){var t=o.computeSizes();t&&(o.emitCropData(),o.setInitialCrop(t)),o.props.onMediaLoaded&&o.props.onMediaLoaded(o.mediaSize)},o.setInitialCrop=function(t){if(o.props.initialCroppedAreaPercentages){var e,r,i,n,a,s,c,h=(e=o.props.initialCroppedAreaPercentages,r=o.mediaSize,i=o.props.rotation,n=o.props.minZoom,a=o.props.maxZoom,s=m(r.width,r.height,i),{crop:{x:(c=g(t.width/s.width*(100/e.width),n,a))*s.width/2-t.width/2-s.width*c*(e.x/100),y:c*s.height/2-t.height/2-s.height*c*(e.y/100)},zoom:c}
1),p=h.crop,u=h.zoom;o.props.onCropChange(p),o.props.onZoomChange&&o.props.onZoomChange(u)}else if(o.props.initialCroppedAreaPixels){var d,l,v,f,w,C,S,y,R,z=(d=o.props.initialCroppedAreaPixels,l=o.mediaSize,v=o.props.rotation,f=o.props.minZoom,w=o.props.maxZoom,void 0===v&&(v=0),C=m(l.naturalWidth,l.naturalHeight,v),y=g((S=l.width>l.height?l.width/l.naturalWidth:l.height/l.naturalHeight,t.height>t.width?t.height/(d.height*S):t.width/(d.width*S)),f,w),R=t.height>t.width?t.height/d.height:t.width/d.width,{crop:{x:((C.width-d.width)/2-d.x)*R,y:((C.height-d.height)/2-d.y)*R},zoom:y}),p=z.crop,u=z.zoom;o.props.onCropChange(p),o.props.onZoomChange&&o.props.onZoomChange(u)}},o.computeSizes=function(){var t,e,r,n,a,s,c=o.imageRef.current||o.videoRef.current;if(c&&o.containerRef){o.containerRect=o.containerRef.getBoundingClientRect(),o.saveContainerPosition();var h,p,u,d,l,v,g,f,w,C,S,y=o.containerRect.width/o.containerRect.height,R=(null===(t=o.imageRef.current)||void 0===t?void 0:t.naturalWidth)||(null===(e=o.videoRef.current)||void 0===e?void 0:e.videoWidth)||0,z=(null===(r=o.imageRef.current)||void 0===r?void 0:r.naturalHeight)||(null===(n=o.videoRef.current)||void 0===n?void 0:n.videoHeight)||0,P=c.offsetWidth<R||c.offsetHeight<z,b=R/z,x=void 0;if(P)switch(o.state.mediaObjectFit){default:case"contain":x=y>b?{width:o.containerRect.height*b,height:o.containerRect.height}:{width:o.containerRect.width,height:o.containerRect.width/b};break;case"horizontal-cover":x={width:o.containerRect.width,height:o.containerRect.width/b};break;case"vertical-cover":x={width:o.containerRect.height*b,height:o.containerRect.height}}else x={width:c.offsetWidth,height:c.offsetHeight};o.mediaSize=i(i({},x),{naturalWidth:R,naturalHeight:z}),o.props.setMediaSize&&o.props.setMediaSize(o.mediaSize);var D=o.props.cropSize?o.props.cropSize:(h=o.mediaSize.width,p=o.mediaSize.height,u=o.containerRect.width,d=o.containerRect.height,l=o.props.aspect,void 0===(v=o.props.rotation)&&(v=0),f=(g=m(h,p,v)).width,w=g.height,(C=Math.min(f,u))>(S=Math.min(w,d))*l?{width:S*l,height:S}:{width:C,height:C/l});return((null===(a=o.state.cropSize)||void 0===a?void 0:a.height)!==D.height||(null===(s=o.state.cropSize)||void 0===s?void 0:s.width)!==D.width)&&o.props.onCropSizeChange&&o.props.onCropSizeChange(D),o.setState({cropSize:D},o.recomputeCropPosition),o.props.setCropSize&&o.props.setCropSize(D),D}},o.saveContainerPosition=function(){if(o.containerRef){var t=o.containerRef.getBoundingClientRect();o.containerPosition={x:t.left,y:t.top}}},o.onMouseDown=function(t){o.currentDoc&&(t.preventDefault(),o.currentDoc.addEventListener("mousemove",o.onMouseMove),o.currentDoc.addEventListener("mouseup",o.onDragStopped),o.saveContainerPosition(),o.onDragStart(e.getMousePoint(t)))},o.onMouseMove=function(t){return o.onDrag(e.getMousePoint(t))},o.onScroll=function(t){o.currentDoc&&(t.preventDefault(),o.saveContainerPosition())},o.onTouchStart=function(t){o.currentDoc&&(o.isTouching=!0,(!o.props.onTouchRequest||o.props.onTouchRequest(t))&&(o.currentDoc.addEventListener("touchmove",o.onTouchMove,{passive:!1}),o.currentDoc.addEventListener("touchend",o.onDragStopped),o.saveContainerPosition(),2===t.touches.length?o.onPinchStart(t):1===t.touches.length&&o.onDragStart(e.getTouchPoint(t.touches[0]))))},o.onTouchMove=function(t){t.preventDefault(),2===t.touches.length?o.onPinchMove(t):1===t.touches.length&&o.onDrag(e.getTouchPoint(t.touches[0]))},o.onGestureStart=function(t){o.currentDoc&&(t.preventDefault(),o.currentDoc.addEventListener("gesturechange",o.onGestureMove),o.currentDoc.addEventListener("gestureend",o.onGestureEnd),o.gestureZoomStart=o.props.zoom,o.gestureRotationStart=o.props.rotation)},o.onGestureMove=function(t){if(t.preventDefault(),!o.isTouching){var r=e.getMousePoint(t),i=o.gestureZoomStart-1+t.scale;if(o.setNewZoom(i,r,{shouldUpdatePosition:!0}),o.props.onRotationChange){var n=o.gestureRotationStart+t.rotation;o.props.onRotationChange(n)}}},o.onGestureEnd=function(t){o.cleanEvents()},o.onDragStart=function(t){var e,r,n=t.x,a=t.y;o.dragStartPosition={x:n,y:a},o.dragStartCrop=i({},o.props.crop),null===(r=(e=o.props).onInteractionStart)||void 0===r||r.call(e)},o.onDrag=function(t){var e=t.x,r=t.y;o.currentWindow&&(o.rafDragTimeout&&o.currentWindow.cancelAnimationFrame(o.rafDragTimeout),o.rafDragTimeout=o.currentWindow.requestAnimationFrame(function(){if(o.state.cropSize&&void 0!==e&&void 0!==r){var t=e-o.dragStartPosition.x,i=r-o.dragStartPosition.y,n={x:o.dragStartCrop.x+t,y:o.dragStartCrop.y+i},a=o.props.restrictPosition?c(n,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):n;o.props.onCropChange(a)}}))},o.onDragStopped=function(){var t,e;o.isTouching=!1,o.cleanEvents(),o.emitCropData(),null===(e=(t=o.props).onInteractionEnd)||void 0===e||e.call(t)},o.onWheel=function(t){if(o.currentWindow&&(!o.props.onWheelRequest||o.props.onWheelRequest(t))){t.preventDefault();var r=e.getMousePoint(t),i=s()(t).pixelY,n=o.props.zoom-i*o.props.zoomSpeed/200;o.setNewZoom(n,r,{shouldUpdatePosition:!0}),o.state.hasWheelJustStarted||o.setState({hasWheelJustStarted:!0},function(){var t,e;return null===(e=(t=o.props).onInteractionStart)||void 0===e?void 0:e.call(t)}),o.wheelTimer&&clearTimeout(o.wheelTimer),o.wheelTimer=o.currentWindow.setTimeout(function(){return o.setState({hasWheelJustStarted:!1},function(){var t,e;return null===(e=(t=o.props).onInteractionEnd)||void 0===e?void 0:e.call(t)})},250)}},o.getPointOnContainer=function(t,e){var r=t.x,i=t.y;if(!o.containerRect)throw Error("The Cropper is not mounted");return{x:o.containerRect.width/2-(r-e.x),y:o.containerRect.height/2-(i-e.y)}},o.getPointOnMedia=function(t){var e=t.x,r=t.y,i=o.props,n=i.crop,a=i.zoom;return{x:(e+n.x)/a,y:(r+n.y)/a}},o.setNewZoom=function(t,e,r){var i=(void 0===r?{}:r).shouldUpdatePosition;if(o.state.cropSize&&o.props.onZoomChange){var n=g(t,o.props.minZoom,o.props.maxZoom);if(void 0===i||i){var a=o.getPointOnContainer(e,o.containerPosition),s=o.getPointOnMedia(a),h={x:s.x*n-a.x,y:s.y*n-a.y},p=o.props.restrictPosition?c(h,o.mediaSize,o.state.cropSize,n,o.props.rotation):h;o.props.onCropChange(p)}o.props.onZoomChange(n)}},o.getCropData=function(){var t,e,r,n,a,s,h,p,u,v,g,f,w,C,S;return o.state.cropSize?(t=o.props.restrictPosition?c(o.props.crop,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):o.props.crop,e=o.mediaSize,r=o.state.cropSize,n=o.getAspect(),a=o.props.zoom,s=o.props.rotation,h=o.props.restrictPosition,void 0===s&&(s=0),void 0===h&&(h=!0),p=h?d:l,u=m(e.width,e.height,s),v=m(e.naturalWi
1dth,e.naturalHeight,s),g={x:p(100,((u.width-r.width/a)/2-t.x/a)/u.width*100),y:p(100,((u.height-r.height/a)/2-t.y/a)/u.height*100),width:p(100,r.width/u.width*100/a),height:p(100,r.height/u.height*100/a)},f=Math.round(p(v.width,g.width*v.width/100)),w=Math.round(p(v.height,g.height*v.height/100)),C=v.width>=v.height*n?{width:Math.round(w*n),height:w}:{width:f,height:Math.round(f/n)},S=i(i({},C),{x:Math.round(p(v.width-C.width,g.x*v.width/100)),y:Math.round(p(v.height-C.height,g.y*v.height/100))}),{croppedAreaPercentages:g,croppedAreaPixels:S}):null},o.emitCropData=function(){var t=o.getCropData();if(t){var e=t.croppedAreaPercentages,r=t.croppedAreaPixels;o.props.onCropComplete&&o.props.onCropComplete(e,r),o.props.onCropAreaChange&&o.props.onCropAreaChange(e,r)}},o.emitCropAreaChange=function(){var t=o.getCropData();if(t){var e=t.croppedAreaPercentages,r=t.croppedAreaPixels;o.props.onCropAreaChange&&o.props.onCropAreaChange(e,r)}},o.recomputeCropPosition=function(){if(o.state.cropSize){var t=o.props.restrictPosition?c(o.props.crop,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):o.props.crop;o.props.onCropChange(t),o.emitCropData()}},o}return!function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}(e,t),e.prototype.componentDidMount=function(){this.currentDoc&&this.currentWindow&&(this.containerRef&&(this.containerRef.ownerDocument&&(this.currentDoc=this.containerRef.ownerDocument),this.currentDoc.defaultView&&(this.currentWindow=this.currentDoc.defaultView),this.initResizeObserver(),void 0===window.ResizeObserver&&this.currentWindow.addEventListener("resize",this.computeSizes),this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.onGestureStart)),this.currentDoc.addEventListener("scroll",this.onScroll),this.props.disableAutomaticStylesInjection||(this.styleRef=this.currentDoc.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.props.nonce&&this.styleRef.setAttribute("nonce",this.props.nonce),this.styleRef.innerHTML=".reactEasyCrop_Container {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  overflow: hidden;\n  user-select: none;\n  touch-action: none;\n  cursor: move;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n  will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_Contain {\n  max-width: 100%;\n  max-height: 100%;\n  margin: auto;\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n}\n.reactEasyCrop_Cover_Horizontal {\n  width: 100%;\n  height: auto;\n}\n.reactEasyCrop_Cover_Vertical {\n  width: auto;\n  height: 100%;\n}\n\n.reactEasyCrop_CropArea {\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  box-sizing: border-box;\n  box-shadow: 0 0 0 9999em;\n  color: rgba(0, 0, 0, 0.5);\n  overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n  border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n  content: ' ';\n  box-sizing: border-box;\n  position: absolute;\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  top: 0;\n  bottom: 0;\n  left: 33.33%;\n  right: 33.33%;\n  border-top: 0;\n  border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n  content: ' ';\n  box-sizing: border-box;\n  position: absolute;\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  top: 33.33%;\n  bottom: 33.33%;\n  left: 0;\n  right: 0;\n  border-left: 0;\n  border-right: 0;\n}\n",this.currentDoc.head.appendChild(this.styleRef)),this.imageRef.current&&this.imageRef.current.complete&&this.onMediaLoad(),this.props.setImageRef&&this.props.setImageRef(this.imageRef),this.props.setVideoRef&&this.props.setVideoRef(this.videoRef))},e.prototype.componentWillUnmount=function(){var t,e;this.currentDoc&&this.currentWindow&&(void 0===window.ResizeObserver&&this.currentWindow.removeEventListener("resize",this.computeSizes),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),this.containerRef&&this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.styleRef&&(null===(e=this.styleRef.parentNode)||void 0===e||e.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent())},e.prototype.componentDidUpdate=function(t){t.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):t.aspect!==this.props.aspect?this.computeSizes():t.objectFit!==this.props.objectFit?this.computeSizes():t.zoom!==this.props.zoom?this.recomputeCropPosition():(null===(e=t.cropSize)||void 0===e?void 0:e.he
1ight)!==(null===(o=this.props.cropSize)||void 0===o?void 0:o.height)||(null===(r=t.cropSize)||void 0===r?void 0:r.width)!==(null===(i=this.props.cropSize)||void 0===i?void 0:i.width)?this.computeSizes():((null===(n=t.crop)||void 0===n?void 0:n.x)!==(null===(a=this.props.crop)||void 0===a?void 0:a.x)||(null===(s=t.crop)||void 0===s?void 0:s.y)!==(null===(c=this.props.crop)||void 0===c?void 0:c.y))&&this.emitCropAreaChange(),t.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),t.video!==this.props.video&&(null===(h=this.videoRef.current)||void 0===h||h.load());var e,o,r,i,n,a,s,c,h,p=this.getObjectFit();p!==this.state.mediaObjectFit&&this.setState({mediaObjectFit:p},this.computeSizes)},e.prototype.getAspect=function(){var t=this.props,e=t.cropSize,o=t.aspect;return e?e.width/e.height:o},e.prototype.getObjectFit=function(){var t,e,o,r;if("cover"===this.props.objectFit){if((this.imageRef.current||this.videoRef.current)&&this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var i=this.containerRect.width/this.containerRect.height;return((null===(t=this.imageRef.current)||void 0===t?void 0:t.naturalWidth)||(null===(e=this.videoRef.current)||void 0===e?void 0:e.videoWidth)||0)/((null===(o=this.imageRef.current)||void 0===o?void 0:o.naturalHeight)||(null===(r=this.videoRef.current)||void 0===r?void 0:r.videoHeight)||0)<i?"horizontal-cover":"vertical-cover"}return"horizontal-cover"}return this.props.objectFit},e.prototype.onPinchStart=function(t){var o=e.getTouchPoint(t.touches[0]),r=e.getTouchPoint(t.touches[1]);this.lastPinchDistance=p(o,r),this.lastPinchRotation=u(o,r),this.onDragStart(v(o,r))},e.prototype.onPinchMove=function(t){var o=this;if(this.currentDoc&&this.currentWindow){var r=e.getTouchPoint(t.touches[0]),i=e.getTouchPoint(t.touches[1]),n=v(r,i);this.onDrag(n),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var t=p(r,i),e=o.props.zoom*(t/o.lastPinchDistance);o.setNewZoom(e,n,{shouldUpdatePosition:!1}),o.lastPinchDistance=t;var a=u(r,i),s=o.props.rotation+(a-o.lastPinchRotation);o.props.onRotationChange&&o.props.onRotationChange(s),o.lastPinchRotation=a})}},e.prototype.render=function(){var t=this,e=this.props,o=e.image,r=e.video,a=e.mediaProps,s=e.transform,c=e.crop,h=c.x,p=c.y,u=e.rotation,d=e.zoom,l=e.cropShape,v=e.showGrid,m=e.style,g=m.containerStyle,w=m.cropAreaStyle,C=m.mediaStyle,S=e.classes,y=S.containerClassName,R=S.cropAreaClassName,z=S.mediaClassName,P=this.state.mediaObjectFit;return n.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(e){return t.containerRef=e},"data-testid":"container",style:g,className:f("reactEasyCrop_Container",y)},o?n.createElement("img",i({alt:"",className:f("reactEasyCrop_Image","contain"===P&&"reactEasyCrop_Contain","horizontal-cover"===P&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===P&&"reactEasyCrop_Cover_Vertical",z)},a,{src:o,ref:this.imageRef,style:i(i({},C),{transform:s||"translate(".concat(h,"px, ").concat(p,"px) rotate(").concat(u,"deg) scale(").concat(d,")")}),onLoad:this.onMediaLoad})):r&&n.createElement("video",i({autoPlay:!0,loop:!0,muted:!0,className:f("reactEasyCrop_Video","contain"===P&&"reactEasyCrop_Contain","horizontal-cover"===P&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===P&&"reactEasyCrop_Cover_Vertical",z)},a,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:i(i({},C),{transform:s||"translate(".concat(h,"px, ").concat(p,"px) rotate(").concat(u,"deg) scale(").concat(d,")")}),controls:!1}),(Array.isArray(r)?r:[{src:r}]).map(function(t){return n.createElement("source",i({key:t.src},t))})),this.state.cropSize&&n.createElement("div",{style:i(i({},w),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:f("reactEasyCrop_CropArea","round"===l&&"reactEasyCrop_CropAreaRound",v&&"reactEasyCrop_CropAreaGrid",R)}))},e.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:3,minZoom:1,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},e.getMousePoint=function(t){return{x:Number(t.clientX),y:Number(t.clientY)}},e.getTouchPoint=function(t){return{x:Number(t.clientX),y:Number(t.clientY)}},e}(n.Component)}}]);

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.