1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5418],{75418:(e,t,n)=>{n.r(t),n.d(t,{default:()=>t5});var r=n(555);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||i(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var s=function(e,t){var n,r=new Set(t);return Object.assign.apply(Object,[{}].concat(function(e){if(Array.isArray(e))return a(e)}(n=Object.entries(e).filter(function(e){var t=o(e,1)[0];return!r.has(t)}).map(function(e){var t=o(e,2);return function(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t[0],t[1])}))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||i(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))};function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function h(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.useEffect,o=(0,r.useRef)(),i=(0,r.useRef)(!1),a=(0,r.useRef)(!1),s=function(e){if(Array.isArray(e))return e}(t=(0,r.useState)(0))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{i=(n=n.call(e)).next,!1;for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(t,2)||u(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();s[0];var l=s[1];i.current&&(a.current=!0),n(function(){return i.current||(o.current=e(),i.current=!0),l(function(e){return e+1}),function(){a.current&&o.current&&o.current()}},[])}var p=n(51514),f=n(32682),d=n(18326),g=n(55681),m=n(95813);let b={type:"change"},y={type:"start"},_={type:"end"},v={NONE:-1,ROTATE:0,ZOOM:1,PAN:2,TOUCH_ROTATE:3,TOUCH_ZOOM_PAN:4},w=new p.I9Y,O=new p.I9Y,C=new p.Pq0,P=new p.Pq0,k=new p.Pq0,T=new p.PTz,S=new p.Pq0,x=new p.Pq0,E=new p.Pq0,j=new p.Pq0;class L extends p.H2z{constructor(e,t=null){super(e,t),this.screen={left:0,top:0,width:0,height:0},this.rotateSpeed=1,this.zoomSpeed=1.2,this.panSpeed=.3,this.noRotate=!1,this.noZoom=!1,this.noPan=!1,this.staticMoving=!1,this.dynamicDampingFactor=.2,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.keys=["KeyA","KeyS","KeyD"],this.mouseButtons={LEFT:p.kBv.ROTATE,MIDDLE:p.kBv.DOLLY,RIGHT:p.kBv.PAN},this.target=new p.Pq0,this.state=v.NONE,this.keyState=v.NONE,this._lastPosition=new p.Pq0,this._lastZoom=1,this._touchZoomDistanceStart=0,this._touchZoomDistanceEnd=0,this._lastAngle=0,this._eye=new p.Pq0,this._movePrev=new p.I9Y,this._moveCurr=new p.I9Y,this._lastAxis=new p.Pq0,this._zoomStart=new p.I9Y,this._zoomEnd=new p.I9Y,this._panStart=new p.I9Y,this._panEnd=new p.I9Y,this._pointers=[],this._pointerPositions={},this._onPointerMove=D.bind(this),this._onPointerDown=R.bind(this),this._onPointerUp=A.bind(this),this._onPointerCancel=M.bind(this),this._onContextMenu=B.bind(this),this._onMouseWheel=N.bind(this),this._onKeyDown=U.bind(this),this._onKeyUp=I.bind(this),this._onTouchStart=G.bind(this),this._onTouchMove=V.bind(this),this._onTouchEnd=Y.bind(this),this._onMouseDown=H.bind(this),this._onMouseMove=z.bind(this),this._onMouseUp=F.bind(this),this._target0=this.target.clone(),this._position0=this.object.position.clone(),this._up0=this.object.up.clone(),this._zoom0=this.object.zoom,null!==t&&(this.connect(t),this.handleResize()),this.update()}connect(e){super.connect(e),window.addEventListener("keydown",this._onKeyDown),window.addEventListener("keyup",this._onKeyUp),this.domElement.addEventListener("pointerdown",this._onPointerDown),this.domElement.addEventListener("pointercancel",this._onPointerCancel),this.domElement.addEventListener("wheel",this._onMouseWheel,{passive:!1}),this.domElement.addEventListener("contextmenu",this._onContextMenu),this.domElement.style.touchAction="none"}disconnect(){window.removeEventListener("keydown",this._onKeyDown),window.removeEventListener("keyup",this._onKeyUp),this.domElement.removeEventListener("pointerdown",this._onPointerDown),this.domElement.removeEventListener("pointermove",this._onPointerMove),this.domElement.removeEventListener("pointerup",this._onPointerUp),this.domElement.removeEventListener("pointercancel",this._onPointerCancel),this.domElement.removeEventListener("wheel",this._onMouseWheel),this.domElement.removeEventListener("contextmenu",this._onContextMenu),this.domElement.style.touchAction="auto"}dispose(){this.disconnect()}handleResize(){let e=this.domElement.getBoundingClientRect(),t=this.domElement.ownerDocument.documentElement;this.screen.left=e.left+window.pageXOffset-t.clientLeft,this.screen.top=e.top+window.pageYOffset-t.clientTop,this.screen.width=e.width,this.screen.height=e.height}update(){this._eye.subVectors(this.object.position,this.target),this.noRotate||this._rotateCamera(),this.noZoom||this._zoomCamera(),this.noPan||this._panCamera(),this.object.position.addVectors(this.target,this._eye),this.object.isPerspectiveCamera?(this._checkDistances(),this.object.lookAt(this.target),this._lastPosition.distanceToSquared(this.object.position)>1e-6&&(this.dispatchEvent(b),this._lastPosition.copy(this.object.position))):this.object.isOrthographicCamera?(this.object.lookAt(this.target),(this._lastPosition.distanceToSquared(this.object.position)>1e-6||this._lastZoom!==this.object.zoom)&&(this.dispatchEvent(b),this._lastPosition.copy(this.object.position),this._lastZoom=this.object.zoom)):console.warn("THREE.TrackballControls: Unsupported camera type.")}reset(){this.state=v.NONE,this.keyState=v.NONE,this.target.copy(this._target0),this.object.position.copy(this._position0),this.object.up.copy(this._up0),this.object.zoom=this._zoom0,this.object.updateProjectionMatrix(),this._eye.subVectors(this.object.position,this.target),this.object.lookAt(this.target),this.dispatchEvent(b),this._lastPosition.copy(this.object.position),this._lastZoom=this.object.zoom}_panCamera(){if(O.copy(this._panEnd).sub(this._panStart),O.lengthSq()){if(this.object.isOrthographicCamera){let e=(this.object.right-this.object.left)/this.object.zoom/this.domElement.clientWidth,t=(this.object.top-this.object.bottom)/this.object.zoom/this.domElement.clientWidth;O.x*=e,O.y*=t}O.multiplyScalar(this._eye.length()*this.panSpeed),P.copy(this._eye).cross(this.object.up).setLength(O.x),P.add(C.copy(this.object.up).setLength(O.y)),this.object.position.add(P),this.target.add(P),this.staticMoving?this._panStart.copy(this._panEnd):this._panStart.add(O.subVectors(this._panEnd,this._panStart).multiplyScalar(this.dynamicDampingFactor))}}_rotateCamera(){j.set(this._moveCurr.x-this._movePrev.x,this._moveCurr.y-this._movePrev.y,0);let e=j.length();e?(this._eye.copy(this.object.position).sub(this.target),S.copy(this._eye).normalize(),x.copy(this.object.up).normalize(),E.crossVectors(x,S).normalize(),x.setLength(this._moveCurr.y-this._movePrev.y),E.setLength(this._moveCurr.x-this._movePrev.x),j.copy(x.add(E)),k.crossVectors(j,this._eye).normalize(),e*=this.rotateSpeed,T.setFromAxisAngle(k,e),this._eye.applyQuaternion(T),this.object.up.applyQuaternion(T),this._lastAxis.copy(k),this._lastAngle=e):!this.staticMoving&&this._lastAngle&&(this._lastAngle*=Math.sqrt(1-this.dynamicDampingFactor),this._eye.copy(this.object.position).sub(this.target),T.setFromAxisAngle(this._lastAxis,this._lastAngle),this._eye.applyQuaternion(T),this.object.up.applyQuaternion(T)),this._movePrev.copy(this._moveCurr)}_zoomCamera(){let e;
1this.state===v.TOUCH_ZOOM_PAN?(e=this._touchZoomDistanceStart/this._touchZoomDistanceEnd,this._touchZoomDistanceStart=this._touchZoomDistanceEnd,this.object.isPerspectiveCamera?this._eye.multiplyScalar(e):this.object.isOrthographicCamera?(this.object.zoom=p.cj9.clamp(this.object.zoom/e,this.minZoom,this.maxZoom),this._lastZoom!==this.object.zoom&&this.object.updateProjectionMatrix()):console.warn("THREE.TrackballControls: Unsupported camera type")):(1!=(e=1+(this._zoomEnd.y-this._zoomStart.y)*this.zoomSpeed)&&e>0&&(this.object.isPerspectiveCamera?this._eye.multiplyScalar(e):this.object.isOrthographicCamera?(this.object.zoom=p.cj9.clamp(this.object.zoom/e,this.minZoom,this.maxZoom),this._lastZoom!==this.object.zoom&&this.object.updateProjectionMatrix()):console.warn("THREE.TrackballControls: Unsupported camera type")),this.staticMoving?this._zoomStart.copy(this._zoomEnd):this._zoomStart.y+=(this._zoomEnd.y-this._zoomStart.y)*this.dynamicDampingFactor)}_getMouseOnScreen(e,t){return w.set((e-this.screen.left)/this.screen.width,(t-this.screen.top)/this.screen.height),w}_getMouseOnCircle(e,t){return w.set((e-.5*this.screen.width-this.screen.left)/(.5*this.screen.width),(this.screen.height+2*(this.screen.top-t))/this.screen.width),w}_addPointer(e){this._pointers.push(e)}_removePointer(e){delete this._pointerPositions[e.pointerId];for(let t=0;t<this._pointers.length;t++)if(this._pointers[t].pointerId==e.pointerId)return void this._pointers.splice(t,1)}_trackPointer(e){let t=this._pointerPositions[e.pointerId];void 0===t&&(t=new p.I9Y,this._pointerPositions[e.pointerId]=t),t.set(e.pageX,e.pageY)}_getSecondPointerPosition(e){let t=e.pointerId===this._pointers[0].pointerId?this._pointers[1]:this._pointers[0];return this._pointerPositions[t.pointerId]}_checkDistances(){this.noZoom&&this.noPan||(this._eye.lengthSq()>this.maxDistance*this.maxDistance&&(this.object.position.addVectors(this.target,this._eye.setLength(this.maxDistance)),this._zoomStart.copy(this._zoomEnd)),this._eye.lengthSq()<this.minDistance*this.minDistance&&(this.object.position.addVectors(this.target,this._eye.setLength(this.minDistance)),this._zoomStart.copy(this._zoomEnd)))}}function R(e){!1!==this.enabled&&(0===this._pointers.length&&(this.domElement.setPointerCapture(e.pointerId),this.domElement.addEventListener("pointermove",this._onPointerMove),this.domElement.addEventListener("pointerup",this._onPointerUp)),this._addPointer(e),"touch"===e.pointerType?this._onTouchStart(e):this._onMouseDown(e))}function D(e){!1!==this.enabled&&("touch"===e.pointerType?this._onTouchMove(e):this._onMouseMove(e))}function A(e){!1!==this.enabled&&("touch"===e.pointerType?this._onTouchEnd(e):this._onMouseUp(),this._removePointer(e),0===this._pointers.length&&(this.domElement.releasePointerCapture(e.pointerId),this.domElement.removeEventListener("pointermove",this._onPointerMove),this.domElement.removeEventListener("pointerup",this._onPointerUp)))}function M(e){this._removePointer(e)}function I(){!1!==this.enabled&&(this.keyState=v.NONE,window.addEventListener("keydown",this._onKeyDown))}function U(e){!1!==this.enabled&&(window.removeEventListener("keydown",this._onKeyDown),this.keyState===v.NONE&&(e.code!==this.keys[v.ROTATE]||this.noRotate?e.code!==this.keys[v.ZOOM]||this.noZoom?e.code!==this.keys[v.PAN]||this.noPan||(this.keyState=v.PAN):this.keyState=v.ZOOM:this.keyState=v.ROTATE))}function H(e){let t;switch(e.button){case 0:t=this.mouseButtons.LEFT;break;case 1:t=this.mouseButtons.MIDDLE;break;case 2:t=this.mouseButtons.RIGHT;break;default:t=-1}switch(t){case p.kBv.DOLLY:this.state=v.ZOOM;break;case p.kBv.ROTATE:this.state=v.ROTATE;break;case p.kBv.PAN:this.state=v.PAN;break;default:this.state=v.NONE}let n=this.keyState!==v.NONE?this.keyState:this.state;n!==v.ROTATE||this.noRotate?n!==v.ZOOM||this.noZoom?n!==v.PAN||this.noPan||(this._panStart.copy(this._getMouseOnScreen(e.pageX,e.pageY)),this._panEnd.copy(this._panStart)):(this._zoomStart.copy(this._getMouseOnScreen(e.pageX,e.pageY)),this._zoomEnd.copy(this._zoomStart)):(this._moveCurr.copy(this._getMouseOnCircle(e.pageX,e.pageY)),this._movePrev.copy(this._moveCurr)),this.dispatchEvent(y)}function z(e){let t=this.keyState!==v.NONE?this.keyState:this.state;t!==v.ROTATE||this.noRotate?t!==v.ZOOM||this.noZoom?t!==v.PAN||this.noPan||this._panEnd.copy(this._getMouseOnScreen(e.pageX,e.pageY)):this._zoomEnd.copy(this._getMouseOnScreen(e.pageX,e.pageY)):(this._movePrev.copy(this._moveCurr),this._moveCurr.copy(this._getMouseOnCircle(e.pageX,e.pageY)))}function F(){this.state=v.NONE,this.dispatchEvent(_)}function N(e){if(!1!==this.enabled&&!0!==this.noZoom){switch(e.preventDefault(),e.deltaMode){case 2:this._zoomStart.y-=.025*e.deltaY;break;case 1:this._zoomStart.y-=.01*e.deltaY;break;default:this._zoomStart.y-=25e-5*e.deltaY}this.dispatchEvent(y),this.dispatchEvent(_)}}function B(e){!1!==this.enabled&&e.preventDefault()}function G(e){if(this._trackPointer(e),1===this._pointers.length)this.state=v.TOUCH_ROTATE,this._moveCurr.copy(this._getMouseOnCircle(this._pointers[0].pageX,this._pointers[0].pageY)),this._movePrev.copy(this._moveCurr);else{this.state=v.TOUCH_ZOOM_PAN;let e=this._pointers[0].pageX-this._pointers[1].pageX,t=this._pointers[0].pageY-this._pointers[1].pageY;this._touchZoomDistanceEnd=this._touchZoomDistanceStart=Math.sqrt(e*e+t*t);let n=(this._pointers[0].pageX+this._pointers[1].pageX)/2,r=(this._pointers[0].pageY+this._pointers[1].pageY)/2;this._panStart.copy(this._getMouseOnScreen(n,r)),this._panEnd.copy(this._panStart)}this.dispatchEvent(y)}function V(e){if(this._trackPointer(e),1===this._pointers.length)this._movePrev.copy(this._moveCurr),this._moveCurr.copy(this._getMouseOnCircle(e.pageX,e.pageY));else{let t=this._getSecondPointerPosition(e),n=e.pageX-t.x,r=e.pageY-t.y;this._touchZoomDistanceEnd=Math.sqrt(n*n+r*r);let o=(e.pageX+t.x)/2,i=(e.pageY+t.y)/2;this._panEnd.copy(this._getMouseOnScreen(o,i))}}function Y(e){switch(this._pointers.length){case 0:this.state=v.NONE;break;case 1:this.state=v.TOUCH_ROTATE,this._moveCurr.copy(this._getMouseOnCircle(e.pageX,e.pageY)),this._movePrev.copy(this._moveCurr);break;case 2:this.state=v.TOUCH_ZOOM_PAN;for(let t=0;t<this._pointers.length;t++)if(this._pointers[t].pointerId!==e.pointerId){let e=this._pointerPositions[this._pointers[t].pointerId];this._moveCurr.copy(this._getMouseOnCircle(e.x,e.y)),this._movePrev.copy(this._moveCurr);break}}this.dispatchEvent(_)}var q=n(19254);let Z={type:"change"},K=new p.PTz;class W extends p.H2z{constructor(e,t=null){super(e,t),this.movementSpeed=1,this.rollSpeed=.005,this.dragToLook=!1,this.autoForward=!1,this._moveState={up:0,down:0,left:0,right:0,forward:0,back:0,pitchUp:0,pitchDown:0,yawLeft:0,yawRight:0,rollLeft:0,rollRight:0},this._moveVector=new p.Pq0(0,0,0),this._rotationVector=new p.Pq0(0,0,0),this._lastQuaternion=new p.PTz,this._lastPosition=new p.Pq0,this._status=0,this._onKeyDown=X.bind(this),this._onKeyUp=$.bind(this),this._onPointerMove=J.bind(this),this._onPointerDown=Q.bind(this),this._onPointerUp=ee.bind(this),this._onPointerCancel=et.bind(this),this._onContextMenu=en.bind(this),null!==t&&this.connect(t)}connect(e){super.connect(e),window.addEventListener("keydown",this._onKeyDown),window.addEventListener("keyup",this._onKeyUp),this.domElement.addEventListener("pointermove",this._onPointerMove),this.domElement.addEventListener("pointerdown",this._onPointerDown),this.domElement.addEventListener("pointerup",this._onPointerUp),this.domElement.addEventListener("pointercancel",this._onPointerCancel),this.domElement.addEventListener("contextmenu",this._onContextMenu)}disconnect(){window.removeEventListener("keydown",this._onKeyDown),window.removeEventListener("keyup",this._onKeyUp),this.domElement.removeEventListener("pointermove",this._onPointerMove),this.domElement.removeEventListener("pointerdown",this._onPointerDown),this.domElement.removeEventListener("pointerup",this._onPointerUp),this.domElement.removeEventListener("pointercancel",this._onPointerCancel),this.domElement.removeEventListener("contextmenu",this._onContextMenu)}dispose(){this.disconnect()}update(e){if(!1===this.enabled)return;let t=this.object,n=e*this.movementSpeed,r=e*this.rollSpeed;t.translateX(this._moveVector.x*n),t.translateY(this._moveVector.y*n),t.translateZ(this._moveVector.z*n),K.set(this._rotationVector.x*r,this._rotationVector.y*r,this._rotationVector.z*r,1).normalize(),t.quaternion.multiply(K),(this._lastPosition.distanceToSquared(t.position)>1e-6||8*(1-this._lastQuaternion.dot(t.quaternion))>1e-6)&&(this.dispatchEvent(Z),this._lastQuaternion.copy(t.quaternion),this._lastPosition.copy(t.position))}_updateMovementVector(){let e=this._moveState.forward||this.autoForward&&!this._moveState.back?1:0;this._moveVector.x=-this._moveState.left+this._moveState.right,this._moveVector.y=-this._moveState.down+this._moveState.up,this._moveVector.z=-e+this._moveState.back}_updateRotationVector(){this._rotationVector.x=-this._moveState.pitchDown+this._moveState.pitchUp,this._rotationVector.y=-this._moveState.yawRight+this._moveState.yawLeft,this._rotationVector.z=-this._moveState.rollRight+this._moveState.rollLeft}_getContainerDimensions(){return this.domElement!=document?{size:[this.domElement.offsetWidth,this.domElement.offsetHeight],offset:[this.domElement.offsetLeft,this.domElement.offsetTop]}:{size:[window.innerWidth,window.innerHeight],offset:[0,0]}}}function X(e){if(!e.altKey&&!1!==this.enabled){switch(e.code){case"ShiftLeft":case"ShiftRight":this.movementSpeedMultiplier=.1;break;case"KeyW":this._moveState.forward=1;break;case"KeyS":this._moveState.back=1;break;case"KeyA":this._moveState.left=1;break;case"KeyD":this._moveState.right=1;break;case"KeyR":this._moveState.up=1;break;case"KeyF":this._moveState.down=1;break;case"ArrowUp":this._moveState.pitchUp=1;break;case"ArrowDown":this._moveState.pitchDown=1;break;case"ArrowLeft":this._moveState.yawLeft=1;break;case"ArrowRight":this._moveState.yawRight=1;break;case"KeyQ":this._moveState.rollLeft=1;break;case"KeyE":this._moveState.rollRight=1}this._updateMovementVector(),this._updateRotationVector()}}function $(e){if(!1!==this.enabled){switch(e.code){case"ShiftLeft":case"ShiftRight":this.movementSpeedMultiplier=1;break;case"KeyW":this._moveState.forward=0;break;case"KeyS":this._moveState.back=0;break;case"KeyA":this._moveState.left=0;break;case"KeyD":this._moveState.right=0;break;case"KeyR":this._moveState.up=0;break;case"KeyF":this._moveState.down=0;break;case"ArrowUp":this._moveState.pitchUp=0;break;case"ArrowDown":this._moveState.pitchDown=0;break;case"ArrowLeft":this._moveState.yawLeft=0;break;case"ArrowRight":this._moveState.yawRight=0;break;case"KeyQ":this._moveState.rollLeft=0;break;case"KeyE":this._moveState.rollRight=0}this._updateMovementVector(),this._updateRotationVector()}}function Q(e){if(!1!==this.enabled)if(this.dragToLook)this._status++;else{switch(e.button){case 0:this._moveState.forward=1;break;case 2:this._moveState.back=1}this._updateMovementVector()}}function J(e){if(!1!==this.enabled&&(!this.dragToLook||this._status>0)){let t=this._getContainerDimensions(),n=t.size[0]/2,r=t.size[1]/2;this._moveState.yawLeft=-(e.pageX-t.offset[0]-n)/n,this._moveState.pitchDown=(e.pageY-t.offset[1]-r)/r,this._updateRotationVector()}}function ee(e){if(!1!==this.enabled){if(this.dragToLook)this._status--,this._moveState.yawLeft=this._moveState.pitchDown=0;else{switch(e.button){case 0:this._moveState.forward=0;break;case 2:this._moveState.back=0}this._updateMovementVector()}this._updateRotationVector()}}function et(){!1!==this.enabled&&(this.dragToLook?(this._status=0,this._moveState.yawLeft=this._moveState.pitchDown=0):(this._moveState.forward=0,this._moveState.back=0,this._updateMovementVector()),this._updateRotationVector())}function en(e){!1!==this.enabled&&e.preventDefault()}let er={name:"CopyShader",uniforms:{tDiffuse:{value:null},opacity:{value:1}},vertexShader:` 2 3 varying vec2 vUv; 4 5 void main() { 6 7 vUv = uv; 8 gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 ); 9 10 }`,fragmentShader:` 11 12 uniform float opacity; 13 14 uniform sampler2D tDiffuse; 15 16 varying vec2 vUv; 17 18 void main() { 19 20 vec4 texel = texture2D( tDiffuse, vUv ); 21 gl_FragColor = opacity * texel; 22 23 24 }`};class eo{constructor(){this.isPass=!0,this.enabled=!0,this.needsSwap=!0,this.clear=!1,this.renderToScreen=!1}setSize(){}render(){console.error("THREE.Pass: .render() must be implemented in derived pass.")}dispose(){}}let ei=new p.qUd(-1,1,1,-1,0,1);class ea extends p.LoY{constructor(){super(),this.setAttribute("position",new p.qtW([-1,3,0,-1,-1,0,3,-1,0],3)),this.setAttribute("uv",new p.qtW([0,2,0,0,2,0],2))}}let es=new ea;
24class el{constructor(e){this._mesh=new p.eaF(es,e)}dispose(){this._mesh.geometry.dispose()}render(e){e.render(this._mesh,ei)}get material(){return this._mesh.material}set material(e){this._mesh.material=e}}class ec extends eo{constructor(e,t="tDiffuse"){super(),this.textureID=t,this.uniforms=null,this.material=null,e instanceof p.BKk?(this.uniforms=e.uniforms,this.material=e):e&&(this.uniforms=p.LlO.clone(e.uniforms),this.material=new p.BKk({name:void 0!==e.name?e.name:"unspecified",defines:Object.assign({},e.defines),uniforms:this.uniforms,vertexShader:e.vertexShader,fragmentShader:e.fragmentShader})),this._fsQuad=new el(this.material)}render(e,t,n){this.uniforms[this.textureID]&&(this.uniforms[this.textureID].value=n.texture),this._fsQuad.material=this.material,this.renderToScreen?e.setRenderTarget(null):(e.setRenderTarget(t),this.clear&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil)),this._fsQuad.render(e)}dispose(){this.material.dispose(),this._fsQuad.dispose()}}class eu extends eo{constructor(e,t){super(),this.scene=e,this.camera=t,this.clear=!0,this.needsSwap=!1,this.inverse=!1}render(e,t,n){let r,o,i=e.getContext(),a=e.state;a.buffers.color.setMask(!1),a.buffers.depth.setMask(!1),a.buffers.color.setLocked(!0),a.buffers.depth.setLocked(!0),this.inverse?(r=0,o=1):(r=1,o=0),a.buffers.stencil.setTest(!0),a.buffers.stencil.setOp(i.REPLACE,i.REPLACE,i.REPLACE),a.buffers.stencil.setFunc(i.ALWAYS,r,0xffffffff),a.buffers.stencil.setClear(o),a.buffers.stencil.setLocked(!0),e.setRenderTarget(n),this.clear&&e.clear(),e.render(this.scene,this.camera),e.setRenderTarget(t),this.clear&&e.clear(),e.render(this.scene,this.camera),a.buffers.color.setLocked(!1),a.buffers.depth.setLocked(!1),a.buffers.color.setMask(!0),a.buffers.depth.setMask(!0),a.buffers.stencil.setLocked(!1),a.buffers.stencil.setFunc(i.EQUAL,1,0xffffffff),a.buffers.stencil.setOp(i.KEEP,i.KEEP,i.KEEP),a.buffers.stencil.setLocked(!0)}}class eh extends eo{constructor(){super(),this.needsSwap=!1}render(e){e.state.buffers.stencil.setLocked(!1),e.state.buffers.stencil.setTest(!1)}}class ep{constructor(e,t){if(this.renderer=e,this._pixelRatio=e.getPixelRatio(),void 0===t){let n=e.getSize(new p.I9Y);this._width=n.width,this._height=n.height,(t=new p.nWS(this._width*this._pixelRatio,this._height*this._pixelRatio,{type:p.ix0})).texture.name="EffectComposer.rt1"}else this._width=t.width,this._height=t.height;this.renderTarget1=t,this.renderTarget2=t.clone(),this.renderTarget2.texture.name="EffectComposer.rt2",this.writeBuffer=this.renderTarget1,this.readBuffer=this.renderTarget2,this.renderToScreen=!0,this.passes=[],this.copyPass=new ec(er),this.copyPass.material.blending=p.XIg,this.clock=new p.zD7}swapBuffers(){let e=this.readBuffer;this.readBuffer=this.writeBuffer,this.writeBuffer=e}addPass(e){this.passes.push(e),e.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}insertPass(e,t){this.passes.splice(t,0,e),e.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}removePass(e){let t=this.passes.indexOf(e);-1!==t&&this.passes.splice(t,1)}isLastEnabledPass(e){for(let t=e+1;t<this.passes.length;t++)if(this.passes[t].enabled)return!1;return!0}render(e){void 0===e&&(e=this.clock.getDelta());let t=this.renderer.getRenderTarget(),n=!1;for(let t=0,r=this.passes.length;t<r;t++){let r=this.passes[t];if(!1!==r.enabled){if(r.renderToScreen=this.renderToScreen&&this.isLastEnabledPass(t),r.render(this.renderer,this.writeBuffer,this.readBuffer,e,n),r.needsSwap){if(n){let t=this.renderer.getContext(),n=this.renderer.state.buffers.stencil;n.setFunc(t.NOTEQUAL,1,0xffffffff),this.copyPass.render(this.renderer,this.writeBuffer,this.readBuffer,e),n.setFunc(t.EQUAL,1,0xffffffff)}this.swapBuffers()}void 0!==eu&&(r instanceof eu?n=!0:r instanceof eh&&(n=!1))}}this.renderer.setRenderTarget(t)}reset(e){if(void 0===e){let t=this.renderer.getSize(new p.I9Y);this._pixelRatio=this.renderer.getPixelRatio(),this._width=t.width,this._height=t.height,(e=this.renderTarget1.clone()).setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}this.renderTarget1.dispose(),this.renderTarget2.dispose(),this.renderTarget1=e,this.renderTarget2=e.clone(),this.writeBuffer=this.renderTarget1,this.readBuffer=this.renderTarget2}setSize(e,t){this._width=e,this._height=t;let n=this._width*this._pixelRatio,r=this._height*this._pixelRatio;this.renderTarget1.setSize(n,r),this.renderTarget2.setSize(n,r);for(let e=0;e<this.passes.length;e++)this.passes[e].setSize(n,r)}setPixelRatio(e){this._pixelRatio=e,this.setSize(this._width,this._height)}dispose(){this.renderTarget1.dispose(),this.renderTarget2.dispose(),this.copyPass.dispose()}}class ef extends eo{constructor(e,t,n=null,r=null,o=null){super(),this.scene=e,this.camera=t,this.overrideMaterial=n,this.clearColor=r,this.clearAlpha=o,this.clear=!0,this.clearDepth=!1,this.needsSwap=!1,this._oldClearColor=new p.Q1f}render(e,t,n){let r,o,i=e.autoClear;e.autoClear=!1,null!==this.overrideMaterial&&(o=this.scene.overrideMaterial,this.scene.overrideMaterial=this.overrideMaterial),null!==this.clearColor&&(e.getClearColor(this._oldClearColor),e.setClearColor(this.clearColor,e.getClearAlpha())),null!==this.clearAlpha&&
24(r=e.getClearAlpha(),e.setClearAlpha(this.clearAlpha)),!0==this.clearDepth&&e.clearDepth(),e.setRenderTarget(this.renderToScreen?null:n),!0===this.clear&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),e.render(this.scene,this.camera),null!==this.clearColor&&e.setClearColor(this._oldClearColor),null!==this.clearAlpha&&e.setClearAlpha(r),null!==this.overrideMaterial&&(this.scene.overrideMaterial=o),e.autoClear=i}}function ed(){return(ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function eg(e,t){return(eg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function em(e){return(em=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eb=function(){return!!e})()}function ey(e){var t="function"==typeof Map?new Map:void 0;return(ey=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(eb())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&eg(o,n.prototype),o}(e,arguments,em(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),eg(n,e)})(e)}var e_=function(e){function t(t){var n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,eg(t,e),t}(ey(Error));function ev(e,t){return e.substr(-t.length)===t}var ew=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function eO(e){return"string"!=typeof e?e:e.match(ew)?parseFloat(e):e}var eC=function(e){return function(t,n){void 0===n&&(n="16px");var r=t,o=n;if("string"==typeof t){if(!ev(t,"px"))throw new e_(69,e,t);r=eO(t)}if("string"==typeof n){if(!ev(n,"px"))throw new e_(70,e,n);o=eO(n)}if("string"==typeof r)throw new e_(71,t,e);if("string"==typeof o)throw new e_(72,n,e);return""+r/o+e}};eC("em");var eP=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function ek(e){if("string"!=typeof e)return[e,""];var t=e.match(eP);return t?[parseFloat(e),t[2]]:[e,void 0]}eC("rem");var eT={woff:"woff",woff2:"woff2",ttf:"truetype",otf:"opentype",eot:"embedded-opentype",svg:"svg",svgz:"svg"};function eS(e){return Math.round(255*e)}function ex(e,t,n){return eS(e)+","+eS(t)+","+eS(n)}function eE(e,t,n,r){if(void 0===r&&(r=ex),0===t)return r(n,n,n);var o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(o%2-1)),s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);var u=n-i/2;return r(s+u,l+u,c+u)}var ej={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
240",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},eL=/^#[a-fA-F0-9]{6}$/,eR=/^#[a-fA-F0-9]{8}$/,eD=/^#[a-fA-F0-9]{3}$/,eA=/^#[a-fA-F0-9]{4}$/,eM=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,eI=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,eU=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,eH=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function ez(e){if("string"!=typeof e)throw new e_(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return ej[t]?"#"+ej[t]:e}(e);if(t.match(eL))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(eR)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alph
vendor: 1,110 bytes, line 24
24a:n}}if(t.match(eD))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(eA)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=eM.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=eI.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var a=eU.exec(t);if(a){var s="rgb("+eE(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",l=eM.exec(s);if(!l)throw new e_(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var c=eH.exec(t.substring(0,50));if(c){var u="rgb("+eE(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",h=eM.exec(u);if(!h)throw new e_(4,t,u);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10),alph
24a:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new e_(5)}function eF(e){return function(e){var t,n=e.red/255,r=e.green/255,o=e.blue/255,i=Math.max(n,r,o),a=Math.min(n,r,o),s=(i+a)/2;if(i===a)if(void 0!==e.alpha)return{hue:0,saturation:0,lightness:s,alpha:e.alpha};else return{hue:0,saturation:0,lightness:s};var l=i-a,c=s>.5?l/(2-i-a):l/(i+a);switch(i){case n:t=(r-o)/l+6*(r<o);break;case r:t=(o-n)/l+2;break;default:t=(n-r)/l+4}return(t*=60,void 0!==e.alpha)?{hue:t,saturation:c,lightness:s,alpha:e.alpha}:{hue:t,saturation:c,lightness:s}}(ez(e))}var eN=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function eB(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function eG(e){return eB(Math.round(255*e))}function eV(e,t,n){return eN("#"+eG(e)+eG(t)+eG(n))}function eY(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return eN("#"+eB(e)+eB(t)+eB(n));if("object"==typeof e&&void 0===t&&void 0===n)return eN("#"+eB(e.red)+eB(e.green)+eB(e.blue));throw new e_(6)}function eq(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=ez(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?eY(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?eY(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new e_(7)}function eZ(e){if("object"!=typeof e)throw new e_(8);if("number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha)return eq(e);if("number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha))return eY(e);if("number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha)return function(e,t,n,r){"number"==typeof e&&!1;if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r){var o;return e.alpha>=1?(o=e.hue,eE(o,e.saturation,e.lightness,eV)):"rgba("+eE(e.hue,e.saturation,e.lightness)+","+e.alpha+")"}throw new e_(2)}(e);if("number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha))return function(e,t,n){"number"==typeof e&&!1;if("object"==typeof e&&void 0===t&&void 0===n){var r;return r=e.hue,eE(r,e.saturation,e.lightness,eV)}throw new e_(1)}(e);throw new e_(8)}function eK(e){return function e(t,n,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=n?t.apply(this,o):e(t,n,o)}}(e,e.length,[])}function eW(e,t,n){return Math.max(e,Math.min(t,n))}function eX(e){if("transparent"===e)return 0;var t=ez(e),n=Object.keys(t).map(function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)});return parseFloat((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}eK(function(e,t){if("transparent"===t)return t;var n=eF(t);return eZ(ed({},n,{hue:n.hue+parseFloat(e)}))}),eK(function(e,t){if("transparent"===t)return t;var n=eF(t);return eZ(ed({},n,{lightness:eW(0,1,n.lightness-parseFloat(e))}))}),eK(function(e,t){if("transparent"===t)return t;var n=eF(t);return eZ(ed({},n,{saturation:eW(0,1,n.saturation-parseFloat(e))}))});eK(function(e,t){if("transparent"===t)return t;var n=eF(t);return eZ(ed({},n,{lightness:eW(0,1,n.lightness+parseFloat(e))}))});var e$=eK(function(e,t,n){if("transparent"===t)return n;if("transparent"===n)return t;if(0===e)return n;var r=ez(t),o=ed({},r,{alpha:"number"==typeof r.alpha?r.alpha:1}),i=ez(n),a=ed({},i,{alpha:"number"==typeof i.alpha?i.alpha:1}),s=o.alpha-a.alpha,l=2*parseFloat(e)-1,c=((l*s==-1?l:l+s)/(1+l*s)+1)/2,u=1-c;return eq({red:Math.floor(o.red*c+a.red*u),green:Math.floor(o.green*c+a.green*u),blue:Math.floor(o.blue*c+a.blue*u),alpha:o.alpha*parseFloat(e)+a.alpha*(1-parseFloat(e))})}),eQ=eK(function(e,t){if("transparent"===t)return t;var n=ez(t),r="number"==typeof n.alpha?n.alpha:1;return eq(ed({},n,{alpha:eW(0,1,(100*r+100*parseFloat(e))/100)}))});eK(function(e,t){if("transparent"===t)return t;var n=eF(t);return eZ(ed({},n,{saturation:eW(0,1,n.saturation+parseFloat(e))}))}),eK(function(e,t){return"transparent"===t?t:eZ(ed({},eF(t),{hue:parseFloat(e)}))}),eK(function(e,t){return"transparent"===t?t:eZ(ed({},eF(t),{lightness:parseFloat(e)}))}),eK(function(e,t){return"transparent"===t?t:eZ(ed({},eF(t),{saturation:parseFloat(e)}))}),eK(function(e,t){return"transparent"===t?t:e$(parseFloat(e),"rgb(0, 0, 0)",t)}),eK(function(e,t){return"transparent"===t?t:e$(parseFloat(e),"rgb(255, 255, 255)",t)}),eK(function(e,t){if("transparent"===t)return t;
vendor: 11,246 bytes, line 24
24var n=ez(t),r="number"==typeof n.alpha?n.alpha:1;return eq(ed({},n,{alpha:eW(0,1,(100*r-100*parseFloat(e)).toFixed(2)/100)}))});var eJ,e0,e1,e2,e3,e5,e8,e6,e9,e4,e7,te=n(30560),tt=n(97515),tn=n(33940),tr=n(76886),to=n(94617),ti={},ta=[],ts=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,tl=Array.isArray;function tc(e,t){for(var n in t)e[n]=t[n];return e}function tu(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function th(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++e1:o,__i:-1,__u:0};return null==o&&null!=e0.vnode&&e0.vnode(i),i}function tp(e){return e.children}function tf(e,t){this.props=e,this.context=t}function td(e,t){if(null==t)return e.__?td(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?td(e):null}function tg(e){(!e.__d&&(e.__d=!0)&&e2.push(e)&&!tm.__r++||e3!=e0.debounceRendering)&&((e3=e0.debounceRendering)||e5)(tm)}function tm(){try{for(var e,t=1;e2.length;)e2.length>t&&e2.sort(e8),e=e2.shift(),t=e2.length,function(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,r=[],o=[],i=tc({},t);i.__v=t.__v+1,e0.vnode&&e0.vnode(i),tw(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,null==n?td(t):n,!!(32&t.__u),o),i.__v=t.__v,i.__.__k[i.__i]=i,tC(r,i,o),t.__e=t.__=null,i.__e!=n&&function e(t){if(null!=(t=t.__)&&null!=t.__c)return t.__e=t.__c.base=null,t.__k.some(function(e){if(null!=e&&null!=e.__e)return t.__e=t.__c.base=e.__e}),e(t)}(i)}}(e)}finally{e2.length=tm.__r=0}}function tb(e,t,n,r,o,i,a,s,l,c,u){var h,p,f,d,g,m,b,y=r&&r.__k||ta,_=t.length;for(l=function(e,t,n,r,o){var i,a,s,l,c,u=n.length,h=u,p=0;for(e.__k=Array(o),i=0;i<o;i++)null!=(a=t[i])&&"boolean"!=typeof a&&"function"!=typeof a?("string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?a=e.__k[i]=th(null,a,null,null,null):tl(a)?a=e.__k[i]=th(tp,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?a=e.__k[i]=th(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[i]=a,l=i+p,a.__=e,a.__b=e.__b+1,s=null,-1!=(c=a.__i=function(e,t,n,r){var o,i,a,s=e.key,l=e.type,c=t[n],u=null!=c&&0==(2&c.__u);if(null===c&&null==s||u&&s==c.key&&l==c.type)return n;if(r>+!!u){for(o=n-1,i=n+1;o>=0||i<t.length;)if(null!=(c=t[a=o>=0?o--:i++])&&0==(2&c.__u)&&s==c.key&&l==c.type)return a}return -1}(a,n,l,h))&&(h--,(s=n[c])&&(s.__u|=2)),null==s||null==s.__v?(-1==c&&(o>u?p--:o<u&&p++),"function"!=typeof a.type&&(a.__u|=4)):c!=l&&(c==l-1?p--:c==l+1?p++:(c>l?p--:p++,a.__u|=4))):e.__k[i]=null;if(h)for(i=0;i<u;i++)null!=(s=n[i])&&0==(2&s.__u)&&(s.__e==r&&(r=td(s)),function e(t,n,r){var o,i;if(e0.unmount&&e0.unmount(t),(o=t.ref)&&(o.current&&o.current!=t.__e||tP(o,null,n)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){e0.__e(e,n)}o.base=o.__P=null}if(o=t.__k)for(i=0;i<o.length;i++)o[i]&&e(o[i],n,r||"function"!=typeof t.type);r||tu(t.__e),t.__c=t.__=t.__e=void 0}(s,s));return r}(n,t,y,l,_),h=0;h<_;h++)null!=(f=n.__k[h])&&(p=-1!=f.__i&&y[f.__i]||ti,f.__i=h,m=tw(e,f,p,o,i,a,s,l,c,u),d=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&tP(p.ref,null,f),u.push(f.ref,f.__c||d,f)),null==g&&null!=d&&(g=d),(b=!!(4&f.__u))||p.__k===f.__k?l=function e(t,n,r,o){var i,a;if("function"==typeof t.type){for(i=t.__k,a=0;i&&a<i.length;a++)i[a]&&(i[a].__=t,n=e(i[a],n,r,o));return n}t.__e!=n&&(o&&(n&&t.type&&!n.parentNode&&(n=td(t)),r.insertBefore(t.__e,n||null)),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8==n.nodeType);return n}(f,l,e,b):"function"==typeof f.type&&void 0!==m?l=m:d&&(l=d.nextSibling),f.__u&=-7);return n.__e=g,l}function ty(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||ts.test(t)?n:n+"px"}function t_(e,t,n,r,o){var i,a;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||ty(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||ty(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(e6,"$1")),t=(a=t.toLowerCase())in e||"onFocusOut"==t||"onFocusIn"==t?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=e9,e.addEventListener(t,i?e7:e4,i)):e.removeEventListener(t,i?e7:e4,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function tv(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=e9++;else if(t.t<n.u)return;return n(e0.event?e0.event(t):t)}}}function tw(e,t,n,r,o,i,a,s,l,c){var u,h,p,f,d,g,m,b,y,_,v,w,O,C,P,k=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(u=e0.__b)&&u(t);e:if("function"==typeof k)try{if(b=t.props,y=k.prototype&&k.prototype.render,_=(u=k.contextType)&&r[u.__c],v=u?_?_.props.value:u.__:r,n.__c?m=(h=t.__c=n.__c).__=h.__E:(y?t.__c=h=new k(b,v):(t.__c=h=new tf(b,v),h.constructor=k,h.render=tk),_&&_.sub(h),h.state||(h.state={}),h.__n=r,p=h.__d=!0,h.__h=[],h._sb=[]),y&&null==h.__s&&(h.__s=h.state),y&&null!=k.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=tc({},h.__s)),tc(h.__s,k.getDerivedStateFromProps(b,h.__s))),f=h.props,d=h.state,h.__v=t,p)y&&null==k.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),y&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(y&&null==k.getDerivedStateFromProps&&b!==f&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,v),t.__v==n.__v||!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,v)){t.__v!=n.__v&&(h.props=b,h.state=h.__s,h.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),ta.push.apply(h.__h,h._sb),h._sb=[],h.__h.length&&a.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,v),y&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(f,d,g)})}if(h.context=v,h.props=b,h.__P=e,h.__e=!1,w=e0.__r,O=0,y)h.state=h.__s,h.__d=!1,w&&w(t),u=h.render(h.props,h.state,h.context),ta.push.apply(h.__h,h._sb),h._sb=[];else do h.__d=!1,w&&w(t),u=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++O<25);h.state=h.__s,null!=h.getChildContext&&(r=tc(tc({},r),h.getChildContext())),y&&!p&&null!=h.getSnapshotBeforeUpdate&&(g=h.getSnapshotBeforeUpdate(f,d)),C=null!=u&&u.type===tp&&null==u.key?function e(t){return"object"!=typeof t||null==t||t.__b>0?t:tl(t)?t.map(e):tc({},t)}(u.props.children):u,s=tb(e,tl(C)?C:[C],t,n,r,o,i,a,s,l,c),h.base=t.__e,t.__u&=-161,h.__h.length&&a.push(h),m&&(h.__E=h.__=null)}catch(e){if(t.__v=null,l||null!=i)if(e.then){for(t.__u|=l?160:128;s&&8==s.nodeType&&s.nextSibling;)s=s.nextSibling;i[i.indexOf(s)]=null,t.__e=s}else{for(P=i.length;P--;)tu(i[P]);tO(t)}else t.__e=n.__e,t.__k=n.__k,e.then||tO(t);e0.__e(e,t,n)}else null==i&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=function(e,t,n,r,o,i,a,s,l){var c,u,h,p,f,d,g,m=n.props||ti,b=t.props,y=t.type;if("svg"==y?o="http://www.w3.org/2000/svg":"math"==y?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=i){for(c=0;c<i.length;c++)if((f=i[c])&&"setAttribute"in f==!!y&&(y?f.localName==y:3==f.nodeType)){e=f,i[c]=null;break}}if(null==e){if(null==y)return document.createTextNode(b);e=document.createElementNS(o,y,b.is&&b),s&&(e0.__m&&e0.__m(t,i),s=!1),i=null}if(null==y)m===b||s&&e.data==b||(e.data=b);else{if(i=i&&eJ.call(e.childNodes),!s&&null!=i)for(m={},c=0;c<e.attributes.length;c++)m[(f=e.attributes[c]).name]=f.value;for(c in m)f=m[c],"dangerouslySetInnerHTML"==c?h=f:"children"==c||c in b||"value"==c&&"defaultValue"in b||"checked"==c&&"defaultChecked"in b||t_(e,c,null,f,o);for(c in b)f=b[c],"children"==c?p=f:"dangerouslySetInnerHTML"==c?u=f:"value"==c?d=f:"checked"==c?g=f:s&&"function"!=typeof f||m[c]===f||t_(e,c,f,m[c],o);if(u)s||h&&(u.__html==h.__html||u.__html==e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(h&&(e.innerHTML=""),tb("template"==t.type?e.content:e,tl(p)?p:[p],t,n,r,"foreignObject"==y?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&td(n,0),s,l),null!=i)for(c=i.length;c--;)tu(i[c]);s||(c="value","progress"==y&&null==d?e.removeAttribute("value"):null==d||d===e[c]&&("progress"!=y||d)&&("option"!=y||d==m[c])||t_(e,c,d,m[c],o),c="checked",null!=g&&g!=e[c]&&t_(e,c,g,m[c],o))}return e}(n.__e,t,n,r,o,i,a,l,c);return(u=e0.diffed)&&u(t),128&t.__u?void 0:s}function tO(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(tO))}function tC(e,t,n){for(var r=0;r<n.length;r++)tP(n[r],n[++r],n[++r]);e0.__c&&e0.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){e0.__e(e,t.__v)}})}function tP(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){e0.__e(e,n)}}function tk(e,t,n){return this.constructor(e,n)}function tT(e,t,n){var r,o,i,a;t==document&&(t=document.documentElement),e0.__&&e0.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],a=[],tw(t,e=(!r&&n||t).__k=function(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?eJ.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return th(e,a,r,o,null)}(tp,null,[e]),o||ti,ti,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?eJ.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),tC(i,e,a)}function tS(e,t){tT(e,t,tS)}function tx(e,t,n){var r,o,i,a,s=tc({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==i?r=t[i]:"ref"==i?o=t[i]:s[i]=void 0===t[i]&&null!=a?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?eJ.call(arguments,2):n),th(e.type,s,r||e.key,o||e.ref,null)}function tE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tL(e){return(tL="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})(e)}eJ=ta.slice,e0={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},e1=0,tf.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=tc({},this.state),"function"==typeof e&&(e=e(tc({},n),this.props)),e&&tc(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),tg(this))},tf.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),tg(this))},tf.prototype.render=tp,e2=[],e5="function"==typeof Promise?Promise.prototype.then.bind(Prom
24ise.resolve()):setTimeout,e8=function(e,t){return e.__v.__b-t.__v.__b},tm.__r=0,e6=/(PointerCapture)$|Capture$/i,e9=0,e4=tv(!1),e7=tv(!0);var tR=function(e){if("object"!==tL(e))return e;var t,n=tx(e);return n.props&&(n.props=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tj(Object(n),!0).forEach(function(t){var r,o;r=t,o=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},n.props),null!=n&&null!=(t=n.props)&&t.children&&(n.props.children=Array.isArray(n.props.children)?n.props.children.map(tR):tR(n.props.children))),n},tD=function(e){var t;return null!=(t=tx(e))&&void 0===t.constructor},tA=function(e,t){delete t.__k,tT(tR(e),t)};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".float-tooltip-kap {\n position: absolute;\n width: max-content; /* prevent shrinking near right edge */\n max-width: max(50%, 150px);\n padding: 3px 5px;\n border-radius: 3px;\n font: 12px sans-serif;\n color: #eee;\n background: rgba(0,0,0,0.6);\n pointer-events: none;\n}\n");var tM=(0,tn.A)({props:{content:{default:!1},offsetX:{triggerUpdate:!1},offsetY:{triggerUpdate:!1}},init:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.style,o=!!e&&"object"===tL(e)&&!!e.node&&"function"==typeof e.node,i=(0,tr.A)(o?e.node():e);"static"===i.style("position")&&i.style("position","relative"),t.tooltipEl=i.append("div").attr("class","float-tooltip-kap"),Object.entries(void 0===r?{}:r).forEach(function(e){var n=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{i=(n=n.call(e)).next,!1;for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,2)||function(e,t){if(e){if("string"==typeof e)return tE(e,2);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tE(e,t):void 0}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],o=n[1];return t.tooltipEl.style(r,o)}),t.tooltipEl.style("left","-10000px").style("display","none");var a="tooltip-".concat(Math.round(1e12*Math.random()));t.mouseInside=!1,i.on("mousemove.".concat(a),function(e){t.mouseInside=!0;var n=(0,to.A)(e),r=i.node(),o=r.offsetWidth,a=r.offsetHeight,s=[null===t.offsetX||void 0===t.offsetX?"-".concat(n[0]/o*100,"%"):"number"==typeof t.offsetX?"calc(-50% + ".concat(t.offsetX,"px)"):t.offsetX,null===t.offsetY||void 0===t.offsetY?a>130&&a-n[1]<100?"calc(-100% - 6px)":"21px":"number"==typeof t.offsetY?t.offsetY<0?"calc(-100% - ".concat(Math.abs(t.offsetY),"px)"):"".concat(t.offsetY,"px"):t.offsetY];t.tooltipEl.style("left",n[0]+"px").style("top",n[1]+"px").style("transform","translate(".concat(s.join(","),")")),t.content&&t.tooltipEl.style("display","inline")}),i.on("mouseover.".concat(a),function(){t.mouseInside=!0,t.content&&t.tooltipEl.style("display","inline")}),i.on("mouseout.".concat(a),function(){t.mouseInside=!1,t.tooltipEl.style("display","none")})},update:function(e){e.tooltipEl.style("display",e.content&&e.mouseInside?"inline":"none"),e.content?e.content instanceof HTMLElement?(e.tooltipEl.text(""),e.tooltipEl.append(function(){return e.content})):"string"==typeof e.content?e.tooltipEl.html(e.content):tD(e.content)?(e.tooltipEl.text(""),tA(e.content,e.tooltipEl.node())):(e.tooltipEl.style("display","none"),console.warn("Tooltip content is invali
24d, skipping.",e.content,e.content.toString())):e.tooltipEl.text("")}});function tI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tU(e){return function(e){if(Array.isArray(e))return tI(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||tH(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tH(e,t){if(e){if("string"==typeof e)return tI(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tI(e,t):void 0}}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".scene-nav-info {\n position: absolute;\n bottom: 5px;\n width: 100%;\n text-align: center;\n color: slategrey;\n opacity: 0.7;\n font-size: 10px;\n font-family: sans-serif;\n pointer-events: none;\n user-select: none;\n}\n\n.scene-container canvas:focus {\n outline: none;\n}");var tz=window.THREE?window.THREE:{WebGLRenderer:g.JeP,Scene:p.Z58,PerspectiveCamera:p.ubm,Raycaster:p.tBo,SRGBColorSpace:p.er$,TextureLoader:p.Tap,Vector2:p.I9Y,Vector3:p.Pq0,Box3:p.NRn,Color:p.Q1f,Mesh:p.eaF,SphereGeometry:p.Gu$,MeshBasicMaterial:p.V9B,BackSide:p.hsX,Clock:p.zD7},tF=(0,tn.A)({props:{width:{default:window.innerWidth,onChange:function(e,t,n){isNaN(e)&&(t.width=n)}},height:{default:window.innerHeight,onChange:function(e,t,n){isNaN(e)&&(t.height=n)}},viewOffset:{default:[0,0]},backgroundColor:{default:"#000011"},backgroundImageUrl:{},onBackgroundImageLoaded:{},showNavInfo:{default:!0},skyRadius:{default:5e4},objects:{default:[]},lights:{default:[]},enablePointerInteraction:{default:!0,onChange:function(e,t){t.hoverObj=null,t.tooltip&&t.tooltip.content(null)},triggerUpdate:!1},pointerRaycasterThrottleMs:{default:50,triggerUpdate:!1},lineHoverPrecision:{default:1,triggerUpdate:!1},pointsHoverPrecision:{default:1,triggerUpdate:!1},hoverOrderComparator:{triggerUpdate:!1},hoverFilter:{default:function(){return!0},triggerUpdate:!1},tooltipContent:{triggerUpdate:!1},hoverDuringDrag:{default:!1,triggerUpdate:!1},clickAfterDrag:{default:!1,triggerUpdate:!1},onHover:{default:function(){},triggerUpdate:!1},onClick:{default:function(){},triggerUpdate:!1},onRightClick:{triggerUpdate:!1}},methods:{tick:function(e){if(e.initialised){e.controls.enabled&&e.controls.update&&e.controls.update(Math.min(1,e.clock.getDelta())),e.postProcessingComposer?e.postProcessingComposer.render():e.renderer.render(e.scene,e.camera),e.extraRenderers.forEach(function(t){return t.render(e.scene,e.camera)});var t=+new Date;if(e.enablePointerInteraction&&t-e.lastRaycasterCheck>=e.pointerRaycasterThrottleMs){e.lastRaycasterCheck=t;var n=null;if(e.hoverDuringDrag||!e.isPointerDragging){var r=this.intersectingObjects(e.pointerPos.x,e.pointerPos.y);e.hoverOrderComparator&&r.sort(function(t,n){return e.hoverOrderComparator(t.object,n.object)});var o=r.find(function(t){return e.hoverFilter(t.object)})||null;n=o?o.object:null,e.intersection=o||null}n!==e.hoverObj&&(e.onHover(n,e.hoverObj,e.intersection),e.tooltip.content(n&&(0,tt.A)(e.tooltipContent)(n,e.intersection)||null),e.hoverObj=n)}e.tweenGroup.update()}return this},getPointerPos:function(e){var t=e.pointerPos;return{x:t.x,y:t.y}},cameraPosition:function(e,t,n,r){var o=e.camera;if(t&&e.initialised){var i=n||{x:0,y:0,z:0};if(r){var a=Object.assign({},o.position),s=u();e.tweenGroup.add(new te.K(a).to(t,r).easing(te.GS.Quadratic.Out).onUpdate(l).onComplete(function(){e.tweenGroup.remove(this)}).start()),e.tweenGroup.add(new te.K(s).to(i,r/3).easing(te.GS.Quadratic.Out).onUpdate(c).onComplete(function(){e.tweenGroup.remove(this)}).start())}else l(t),c(i);return this}return Object.assign({},o.position,{lookAt:u()});function l(e){var t=e.x,n=e.y,r=e.z;void 0!==t&&(o.position.x=t),void 0!==n&&(o.position.y=n),void 0!==r&&(o.position.z=r)}function c(t){var n=new tz.Vector3(t.x,t.y,t.z);e.controls.enabled&&e.controls.target?e.controls.target=n:o.lookAt(n)}function u(){return Object.assign(new tz.Vector3(0,0,-1e3).applyQuaternion(o.quaternion).add(o.position))}},zoomToFit:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=arguments.length,o=Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return this.fitToBbox(this.getBbox.apply(this,o),t,n)},fitToBbox:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,o=e.camera;if(t){var i=new tz.Vector3(0,0,0),a=2*Math.max.apply(Math,tU(Object.entries(t).map(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{i=(n=n.call(e)).next,!1;for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}
24finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,2)||tH(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],r=t[1];return Math.max.apply(Math,tU(r.map(function(e){return Math.abs(i[n]-e)})))})))/Math.atan((1-2*r/e.height)*o.fov*Math.PI/180),s=a/o.aspect,l=Math.max(a,s);if(l>0){var c=i.clone().sub(o.position).normalize().multiplyScalar(-l);this.cameraPosition(c,i,n)}}return this},getBbox:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0},n=new tz.Box3(new tz.Vector3(0,0,0),new tz.Vector3(0,0,0)),r=e.objects.filter(t);return r.length?(r.forEach(function(e){return n.expandByObject(e)}),Object.assign.apply(Object,tU(["x","y","z"].map(function(e){var t,r,o,i;return t={},r=e,o=[n.min[e],n.max[e]],(r="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"))?i:i+"")in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o,t})))):null},getScreenCoords:function(e,t,n,r){var o=new tz.Vector3(t,n,r);return o.project(this.camera()),{x:(o.x+1)*e.width/2,y:-(o.y-1)*e.height/2}},getSceneCoords:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=new tz.Vector2(t/e.width*2-1,-(2*(n/e.height))+1),i=new tz.Raycaster;return i.setFromCamera(o,e.camera),Object.assign({},i.ray.at(r,new tz.Vector3))},intersectingObjects:function(e,t,n){var r=new tz.Vector2(t/e.width*2-1,-(2*(n/e.height))+1),o=new tz.Raycaster;return o.params.Line.threshold=e.lineHoverPrecision,o.params.Points.threshold=e.pointsHoverPrecision,o.setFromCamera(r,e.camera),o.intersectObjects(e.objects,!0)},renderer:function(e){return e.renderer},scene:function(e){return e.scene},camera:function(e){return e.camera},postProcessingComposer:function(e){return e.postProcessingComposer},controls:function(e){return e.controls},tbControls:function(e){return e.controls}},stateInit:function(){return{scene:new tz.Scene,camera:new tz.PerspectiveCamera,clock:new tz.Clock,tweenGroup:new te.YJ,lastRaycasterCheck:0}},init:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.controlType,o=void 0===r?"trackball":r,i=n.useWebGPU,a=n.rendererConfig,s=n.extraRenderers,l=n.waitForLoadComplete;e.innerHTML="",e.appendChild(t.container=document.createElement("div")),t.container.className="scene-container",t.container.style.position="relative",t.container.appendChild(t.navInfo=document.createElement("div")),t.navInfo.className="scene-nav-info",t.navInfo.textContent=({orbit:"Left-click: rotate, Mouse-wheel/middle-click: zoom, Right-click: pan",trackball:"Left-click: rotate, Mouse-wheel/middle-click: zoom, Right-click: pan",fly:"WASD: move, R|F: up | down, Q|E: roll, up|down: pitch, left|right: yaw"})[o]||"",t.navInfo.style.display=t.showNavInfo?null:"none",t.tooltip=new tM(t.container),t.pointerPos=new tz.Vector2,t.pointerPos.x=-2,t.pointerPos.y=-2,["pointermove","pointerdown"].forEach(function(e){return t.container.addEventListener(e,function(n){if("pointerdown"===e&&(t.isPointerPressed=!0),!t.isPointerDragging&&"pointermove"===n.type&&(n.pressure>0||t.isPointerPressed)&&("mouse"===n.pointerType||void 0===n.movementX||[n.movementX,n.movementY].some(function(e){return Math.abs(e)>1}))&&(t.isPointerDragging=!0),t.enablePointerInteraction){var r,o,i,a=(r=t.container.getBoundingClientRect(),o=window.pageXOffset||document.documentElement.scrollLeft,i=window.pageYOffset||document.documentElement.scrollTop,{top:r.top+i,left:r.left+o});t.pointerPos.x=n.pageX-a.left,t.pointerPos.y=n.pageY-a.top}},{passive:!0})}),t.container.addEventListener("pointerup",function(e){t.isPointerPressed&&(t.isPointerPressed=!1,(!t.isPointerDragging||(t.isPointerDragging=!1,t.clickAfterDrag))&&requestAnimationFrame(function(){0===e.button&&t.onClick(t.hoverObj||null,e,t.intersection),2===e.button&&t.onRightClick&&t.onRightClick(t.hoverObj||null,e,t.intersection)}))},{passive:!0,capture:!0}),t.container.addEventListener("contextmenu",function(e){t.onRightClick&&e.preventDefault()}),t.renderer=new(void 0!==i&&i?m.uV1:tz.WebGLRenderer)(Object.assign({antialias:!0,alpha:!0},void 0===a?{}:a)),t.renderer.setPixelRatio(Math.min(2,window.devicePixelRatio)),t.container.appendChild(t.renderer.domElement),t.extraRenderers=void 0===s?[]:s,t.extraRenderers.forEac
24h(function(e){e.domElement.style.position="absolute",e.domElement.style.top="0px",e.domElement.style.pointerEvents="none",t.container.appendChild(e.domElement)}),t.postProcessingComposer=new ep(t.renderer),t.postProcessingComposer.addPass(new ef(t.scene,t.camera)),t.controls=new({trackball:L,orbit:q.OrbitControls,fly:W})[o](t.camera,t.renderer.domElement),"fly"===o&&(t.controls.movementSpeed=300,t.controls.rollSpeed=Math.PI/6,t.controls.dragToLook=!0),("trackball"===o||"orbit"===o)&&(t.controls.minDistance=.1,t.controls.maxDistance=t.skyRadius,t.controls.addEventListener("start",function(){t.controlsEngaged=!0}),t.controls.addEventListener("change",function(){t.controlsEngaged&&(t.controlsDragging=!0)}),t.controls.addEventListener("end",function(){t.controlsEngaged=!1,t.controlsDragging=!1})),[t.renderer,t.postProcessingComposer].concat(tU(t.extraRenderers)).forEach(function(e){return e.setSize(t.width,t.height)}),t.camera.aspect=t.width/t.height,t.camera.updateProjectionMatrix(),t.camera.position.z=1e3,t.scene.add(t.skysphere=new tz.Mesh),t.skysphere.visible=!1,t.loadComplete=t.scene.visible=!(void 0===l||l),window.scene=t.scene},update:function(e,t){if(e.width&&e.height&&(t.hasOwnProperty("width")||t.hasOwnProperty("height"))){var n,r=e.width,o=e.height;e.container.style.width="".concat(r,"px"),e.container.style.height="".concat(o,"px"),[e.renderer,e.postProcessingComposer].concat(tU(e.extraRenderers)).forEach(function(e){return e.setSize(r,o)}),e.camera.aspect=r/o;var i=e.viewOffset.slice(0,2);i.some(function(e){return e})&&(n=e.camera).setViewOffset.apply(n,[r,o].concat(tU(i),[r,o])),e.camera.updateProjectionMatrix()}if(t.hasOwnProperty("viewOffset")){var a,s=e.width,l=e.height,c=e.viewOffset.slice(0,2);c.some(function(e){return e})?(a=e.camera).setViewOffset.apply(a,[s,l].concat(tU(c),[s,l])):e.camera.clearViewOffset()}if(t.hasOwnProperty("skyRadius")&&e.skyRadius&&(e.controls.hasOwnProperty("maxDistance")&&t.skyRadius&&(e.controls.maxDistance=Math.min(e.controls.maxDistance,e.skyRadius)),e.camera.far=2.5*e.skyRadius,e.camera.updateProjectionMatrix(),e.skysphere.geometry=new tz.SphereGeometry(e.skyRadius)),t.hasOwnProperty("backgroundColor")){var u=ez(e.backgroundColor).alpha;void 0===u&&(u=1),e.renderer.setClearColor(new tz.Color(eQ(1,e.backgroundColor)),u)}function h(){e.loadComplete=e.scene.visible=!0}t.hasOwnProperty("backgroundImageUrl")&&(e.backgroundImageUrl?new tz.TextureLoader().load(e.backgroundImageUrl,function(t){t.colorSpace=tz.SRGBColorSpace,e.skysphere.material=new tz.MeshBasicMaterial({map:t,side:tz.BackSide}),e.skysphere.visible=!0,e.onBackgroundImageLoaded&&setTimeout(e.onBackgroundImageLoaded),e.loadComplete||h()}):(e.skysphere.visible=!1,e.skysphere.material.map=null,e.loadComplete||h())),t.hasOwnProperty("showNavInfo")&&(e.navInfo.style.display=e.showNavInfo?null:"none"),t.hasOwnProperty("lights")&&((t.lights||[]).forEach(function(t){return e.scene.remove(t)}),e.lights.forEach(function(t){return e.scene.add(t)})),t.hasOwnProperty("objects")&&((t.objects||[]).forEach(function(t){return e.scene.remove(t)}),e.objects.forEach(function(t){return e.scene.add(t)}))}});function tN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tB(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tG(Object(n),!0).forEach(function(t){tB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tG(Object(n)).forEac
24h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tY(e){return function(e){if(Array.isArray(e))return tN(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return tN(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tN(e,t):void 0}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tq(e,t){var n=new t;return n._destructor&&n._destructor(),{linkProp:function(t){return{default:n[t](),onChange:function(n,r){r[e][t](n)},triggerUpdate:!1}},linkMethod:function(t){return function(n){for(var r=n[e],o=arguments.length,i=Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];var s=r[t].apply(r,i);return s===r?this:s}}}}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".scene-container .clickable {\n cursor: pointer;\n}");var tZ=["rendererConfig","waitForGlobeReady"],tK=tV(tV({},window.THREE?window.THREE:{AmbientLight:p.$p8,DirectionalLight:p.ZyN,Vector2:p.I9Y,REVISION:p.sPf}),{},{CSS2DRenderer:f.B}),tW=tq("globe",d.A),tX=Object.assign.apply(Object,tY(["globeImageUrl","bumpImageUrl","globeTileEngineUrl","globeTileEngineMaxLevel","globeCurvatureResolution","showGlobe","showGraticules","showAtmosphere","atmosphereColor","atmosphereAltitude","onGlobeReady","pointsData","pointLat","pointLng","pointColor","pointAltitude","pointRadius","pointResolution","pointsMerge","pointsTransitionDuration","arcsData","arcStartLat","arcStartLng","arcStartAltitude","arcEndLat","arcEndLng","arcEndAltitude","arcColor","arcAltitude","arcAltitudeAutoScale","arcStroke","arcCurveResolution","arcCircularResolution","arcDashLength","arcDashGap","arcDashInitialGap","arcDashAnimateTime","arcsTransitionDuration","polygonsData","polygonGeoJsonGeometry","polygonCapColor","polygonCapMaterial","polygonSideColor","polygonSideMaterial","polygonStrokeColor","polygonAltitude","polygonCapCurvatureResolution","polygonsTransitionDuration","pathsData","pathPoints","pathPointLat","pathPointLng","pathPointAlt","pathResolution","pathColor","pathStroke","pathDashLength","pathDashGap","pathDashInitialGap","pathDashAnimateTime","pathTransitionDuration","heatmapsData","heatmapPoints","heatmapPointLat","heatmapPointLng","heatmapPointWeight","heatmapBandwidth","heatmapColorFn","heatmapColorSaturation","heatmapBaseAltitude","heatmapTopAltitude","heatmapsTransitionDuration","hexBinPointsData","hexBinPointLat","hexBinPointLng","hexBinPointWeight","hexBinResolution","hexMargin","hexTopCurvatureResolution","hexTopColor","hexSideColor","hexAltitude","hexBinMerge","hexTransitionDuration","hexPolygonsData","hexPolygonGeoJsonGeometry","hexPolygonColor","hexPolygonAltitude","hexPolygonResolution","hexPolygonMargin","hexPolygonUseDots","hexPolygonCurvatureResolution","hexPolygonDotResolution","hexPolygonsTransitionDuration","tilesData","tileLat","tileLng","tileAltitude","tileWidth","tileHeight","tileUseGlobeProjection","tileMaterial","tileCurvatureResolution","tilesTransitionDuration","particlesData","particlesList","particleLat","particleLng","particleAltitude","particlesSize","particlesSizeAttenuation","particlesColor","particlesTexture","ringsData","ringLat","ringLng","ringAltitude","ringColor","ringResolution","ringMaxRadius","ringPropagationSpeed","ringRepeatPeriod","labelsData","labelLat","labelLng","labelAltitude","labelRotation","labelText","labelSize","labelTypeFace","labelColor","labelResolution","labelIncludeDot","labelDotRadius","labelDotOrientation","labelsTransitionDuration","htmlElementsData","htmlLat","htmlLng","htmlAltitude","htmlElement","htmlElementVisibilityModifier","htmlTransitionDuration","objectsData","objectLat","objectLng","objectAltitude","objectRotation","objectFacesSurface","objectThreeOb
24ject","customLayerData","customThreeObject","customThreeObjectUpdate"].map(function(e){return tB({},e,tW.linkProp(e))}))),t$=Object.assign.apply(Object,tY(["globeMaterial","globeTileEngineClearCache","getGlobeRadius","getCoords","toGeoCoords"].map(function(e){return tB({},e,tW.linkMethod(e))}))),tQ=tq("renderObjs",tF),tJ=Object.assign.apply(Object,tY(["width","height","backgroundColor","backgroundImageUrl","enablePointerInteraction"].map(function(e){return tB({},e,tQ.linkProp(e))}))),t0=Object.assign.apply(Object,tY(["lights","postProcessingComposer"].map(function(e){return tB({},e,tQ.linkMethod(e))}))),t1=(0,tn.A)({props:tV(tV({onZoom:{triggerUpdate:!1},onGlobeClick:{triggerUpdate:!1},onGlobeRightClick:{triggerUpdate:!1},pointLabel:{default:"name",triggerUpdate:!1},onPointClick:{triggerUpdate:!1},onPointRightClick:{triggerUpdate:!1},onPointHover:{triggerUpdate:!1},arcLabel:{default:"name",triggerUpdate:!1},onArcClick:{triggerUpdate:!1},onArcRightClick:{triggerUpdate:!1},onArcHover:{triggerUpdate:!1},polygonLabel:{default:"name",triggerUpdate:!1},onPolygonClick:{triggerUpdate:!1},onPolygonRightClick:{triggerUpdate:!1},onPolygonHover:{triggerUpdate:!1},pathLabel:{default:"name",triggerUpdate:!1},onPathClick:{triggerUpdate:!1},onPathRightClick:{triggerUpdate:!1},onPathHover:{triggerUpdate:!1},onHeatmapClick:{triggerUpdate:!1},onHeatmapRightClick:{triggerUpdate:!1},onHeatmapHover:{triggerUpdate:!1},hexLabel:{triggerUpdate:!1},onHexClick:{triggerUpdate:!1},onHexRightClick:{triggerUpdate:!1},onHexHover:{triggerUpdate:!1},hexPolygonLabel:{triggerUpdate:!1},onHexPolygonClick:{triggerUpdate:!1},onHexPolygonRightClick:{triggerUpdate:!1},onHexPolygonHover:{triggerUpdate:!1},tileLabel:{default:"name",triggerUpdate:!1},onTileClick:{triggerUpdate:!1},onTileRightClick:{triggerUpdate:!1},onTileHover:{triggerUpdate:!1},particleLabel:{default:"name",triggerUpdate:!1},onParticleClick:{triggerUpdate:!1},onParticleRightClick:{triggerUpdate:!1},onParticleHover:{triggerUpdate:!1},labelLabel:{triggerUpdate:!1},onLabelClick:{triggerUpdate:!1},onLabelRightClick:{triggerUpdate:!1},onLabelHover:{triggerUpdate:!1},objectLabel:{default:"name",triggerUpdate:!1},onObjectClick:{triggerUpdate:!1},onObjectRightClick:{triggerUpdate:!1},onObjectHover:{triggerUpdate:!1},customLayerLabel:{default:"name",triggerUpdate:!1},onCustomLayerClick:{triggerUpdate:!1},onCustomLayerRightClick:{triggerUpdate:!1},onCustomLayerHover:{triggerUpdate:!1},pointerEventsFilter:{default:function(){return!0},triggerUpdate:!1},lineHoverPrecision:{default:.2,triggerUpdate:!1,onChange:function(e,t){t.renderObjs.lineHoverPrecision(e),t.renderObjs.pointsHoverPrecision(e)}},showPointerCursor:{default:!0,triggerUpdate:!1},globeOffset:{default:[0,0],triggerUpdate:!1,onChange:function(e,t){return Array.isArray(e)&&2===e.length&&t.renderObjs.viewOffset(e.map(function(e){return-e}))}}},tX),tJ),methods:tV(tV({pauseAnimation:function(e){var t;return null!==e.animationFrameRequestId&&(cancelAnimationFrame(e.animationFrameRequestId),e.animationFrameRequestId=null),null==(t=e.globe)||t.pauseAnimation(),this},resumeAnimation:function(e){var t;return null===e.animationFrameRequestId&&this._animationCycle(),null==(t=e.globe)||t.resumeAnimation(),this},_animationCycle:function(e){e.renderObjs.tick(),e.tweenGroup.update(),e.animationFrameRequestId=requestAnimationFrame(this._animationCycle)},pointOfView:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=e.globe.toGeoCoords(e.renderObjs.cameraPosition());if(void 0===t.lat&&void 0===t.lng&&void 0===t.altitude)return r;var o=Object.assign({},r,t);if(["lat","lng","altitude"].forEach(function(e){return o[e]=+o[e]}),n){for(;r.lng-o.lng>180;)r.lng-=360;for(;r.lng-o.lng<-180;)r.lng+=360;e.tweenGroup.add(new te.K(r).to(o,n).easing(te.GS.Cubic.InOut).onUpdate(i).onComplete(function(){e.tweenGroup.remove(this)}).start())}else i(o);return this;function i(t){var n=t.lat,r=t.lng,o=t.altitude;e.renderObjs.cameraPosition(e.globe.getCoords(n,r,o)),e.globe.setPointOfVie
24w(e.renderObjs.camera())}},getScreenCoords:function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=(t=e.globe).getCoords.apply(t,r);return e.renderObjs.getScreenCoords(i.x,i.y,i.z)},toGlobeCoords:function(e,t,n){var r=e.renderObjs.intersectingObjects(t,n).find(function(e){return"globe"===(e.object.__globeObjType||e.object.parent.__globeObjType)});if(!r)return null;var o=e.globe.toGeoCoords(r.point);return{lat:o.lat,lng:o.lng}},scene:function(e){return e.renderObjs.scene()},camera:function(e){return e.renderObjs.camera()},renderer:function(e){return e.renderObjs.renderer()},controls:function(e){return e.renderObjs.controls()},_destructor:function(e){e.globe._destructor(),this.pauseAnimation(),this.pointsData([]),this.arcsData([]),this.polygonsData([]),this.pathsData([]),this.heatmapsData([]),this.hexBinPointsData([]),this.hexPolygonsData([]),this.tilesData([]),this.particlesData([]),this.labelsData([]),this.htmlElementsData([]),this.objectsData([]),this.customLayerData([])}},t$),t0),stateInit:function(e){var t=e.rendererConfig,n=e.waitForGlobeReady,r=void 0===n||n,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,tZ),i=new d.A(tV({waitForGlobeReady:r},o));return{globe:i,renderObjs:tF({controlType:"orbit",rendererConfig:t,waitForLoadComplete:r,extraRenderers:[new tK.CSS2DRenderer]}).skyRadius(500*i.getGlobeRadius()).showNavInfo(!1).objects([i]).lights([new tK.AmbientLight(0xcccccc,Math.PI),new tK.DirectionalLight(0xffffff,.6*Math.PI)]),tweenGroup:new te.YJ}},init:function(e,t){var n=this;e.innerHTML="",e.appendChild(t.container=document.createElement("div")),t.container.style.position="relative";var r=document.createElement("div");t.container.appendChild(r),t.renderObjs(r),t.globe.rendererSize(t.renderObjs.renderer().getSize(new tK.Vector2)),this.pointOfView({altitude:2.5});var o=t.globe.getGlobeRadius(),i=t.renderObjs.controls();t.renderObjs.camera().near=.05,i.minDistance=o+Math.max(.001,1.1*t.renderObjs.camera().near),i.maxDistance=100*o,i.enablePan=!1,i.enableDamping=!0,i.dampingFactor=.1,i.rotateSpeed=.3,i.zoomSpeed=.3,i.zoomToCursor=!0,i.addEventListener("change",function(){i.target.setScalar(0);var e=n.pointOfView();i.rotateSpeed=.3*e.altitude,i.zoomSpeed=.5*Math.sqrt(e.altitude),t.globe.setPointOfVie
24w(t.renderObjs.camera()),t.onZoom&&t.onZoom(e)});var a=function(e){for(var t=e;t&&!t.hasOwnProperty("__globeObjType");)t=t.parent;return t},s={point:function(e){return e},arc:function(e){return e},polygon:function(e){return e.data},path:function(e){return e},heatmap:function(e){return e},hexbin:function(e){return e},hexPolygon:function(e){return e},tile:function(e){return e},particles:function(e,t){return t&&t.hasOwnProperty("index")&&!(e.length<=t.index)?e[t.index]:e},label:function(e){return e},object:function(e){return e},custom:function(e){return e}};tK.REVISION<155&&(t.renderObjs.renderer().useLegacyLights=!1),t.renderObjs.hoverFilter(function(e){var n=a(e);if(!n)return!1;var r=n.__globeObjType;if("globe"!==r&&!s.hasOwnProperty(r))return!1;var o=s.hasOwnProperty(r)&&n.__data?s[r](n.__data):null;return!(["points","hexBinPoints"].some(function(e){return e===r})&&Array.isArray(o))&&t.pointerEventsFilter(n,o)}).tooltipContent(function(e,n){var r={point:t.pointLabel,arc:t.arcLabel,polygon:t.polygonLabel,path:t.pathLabel,hexbin:t.hexLabel,hexPolygon:t.hexPolygonLabel,tile:t.tileLabel,particles:t.particleLabel,label:t.labelLabel,object:t.objectLabel,custom:t.customLayerLabel},o=a(e),i=o&&o.__globeObjType;return o&&i&&r.hasOwnProperty(i)&&s.hasOwnProperty(i)&&(0,tt.A)(r[i])(s[i](o.__data,n))||""}).onHover(function(e,n,r){var o={point:t.onPointHover,arc:t.onArcHover,polygon:t.onPolygonHover,path:t.onPathHover,heatmap:t.onHeatmapHover,hexbin:t.onHexHover,hexPolygon:t.onHexPolygonHover,tile:t.onTileHover,particles:t.onParticleHover,label:t.onLabelHover,object:t.onObjectHover,custom:t.onCustomLayerHover},i={globe:t.onGlobeClick,point:t.onPointClick,arc:t.onArcClick,polygon:t.onPolygonClick,path:t.onPathClick,heatmap:t.onHeatmapClick,hexbin:t.onHexClick,hexPolygon:t.onHexPolygonClick,tile:t.onTileClick,particles:t.onParticleClick,label:t.onLabelClick,object:t.onObjectClick,custom:t.onCustomLayerClick},l=a(e);if(l&&!o.hasOwnProperty(l.__globeObjType)&&(l=null),l!==t.hoverObj){var c,u=t.hoverObj?t.hoverObj.__globeObjType:null,h=t.hoverData,p=l?l.__globeObjType:null,f=null!=(c=l)&&c.__data?s[p](l.__data,r):null;u&&u!==p&&o[u]&&o[u](null,h||null),p&&o[p]&&o[p](f,u===p?h:null),t.renderObjs.renderer().domElement.classList[p&&i[p]&&(0,tt.A)(t.showPointerCursor)(p,f)?"add":"remove"]("clickable"),t.hoverObj=l,t.hoverData=f}}).onClick(function(e,r,o){if(e){var i={globe:t.onGlobeClick,point:t.onPointClick,arc:t.onArcClick,polygon:t.onPolygonClick,path:t.onPathClick,heatmap:t.onHeatmapClick,hexbin:t.onHexClick,hexPolygon:t.onHexPolygonClick,tile:t.onTileClick,particles:t.onParticleClick,label:t.onLabelClick,object:t.onObjectClick,custom:t.onCustomLayerClick},l=a(e),c=l.__globeObjType;if(l&&i.hasOwnProperty(c)&&i[c]){var u=[r],h=null!=o&&o.isVector3?o:null==o?void 0:o.point;if("globe"===c){var p=n.toGeoCoords(h),f=p.lat,d=p.lng;u.unshift({lat:f,lng:d})}else u.push(n.toGeoCoords(h));s.hasOwnProperty(c)&&u.unshift(s[c](l.__data,o)),i[c].apply(i,u)}}}).onRightClick(function(e,r,o){if(e){var i={globe:t.onGlobeRightClick,point:t.onPointRightClick,arc:t.onArcRightClick,polygon:t.onPolygonRightClick,path:t.onPathRightClick,heatmap:t.onHeatmapRightClick,hexbin:t.onHexRightClick,hexPolygon:t.onHexPolygonRightClick,tile:t.onTileRightClick,particles:t.onParticleRightClick,label:t.onLabelRightClick,object:t.onObjectRightClick,custom:t.onCustomLayerRightClick},l=a(e),c=l.__globeObjType;if(l&&i.hasOwnProperty(c)&&i[c]){var u=[r],h=null!=o&&o.isVector3?o:null==o?void 0:o.point;if("globe"===c){var p=n.toGeoCoords(h),f=p.lat,d=p.lng;u.unshift({lat:f,lng:d})}else u.push(n.toGeoCoords(h));s.hasOwnProperty(c)&&u.unshift(s[c](l.__data,o)),i[c].apply(i,u)}}}),this._animationCycle()}}),t2=n(39433),t3={width:t2.number,height:t2.number,globeOffset:t2.arrayOf(t2.number),backgroundColor:t2.string,backgroundImageUrl:t2.string,globeImageUrl:t2.string,bumpImageUrl:t2.string,globeTileEngineUrl:t2.func,showGlobe:t2.bool,showGraticules:t2.bool,showAtmosphere:t2.bool,atmosphereColor:t2.string,atmosphereAltitude:t2.number,globeMaterial:t2.object,onGlobeReady:t2.func,onGlobeClick:t2.func,onGlobeRightClick:t2.func,pointsData:t2.arrayOf(t2.object),pointLat:t2.oneOfType([t2.number,t2.string,t2.func]),pointLng:t2.oneOfType([t2.number,t2.string,t2.func]),pointColor:t2.oneOfType([t2.string,t2.func]),pointAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),pointRadius:t2.oneOfType([t2.number,t2.string,t2.func]),pointResolution:t2.number,pointsMerge:t2.bool,pointsTransitionDuration:t2.number,pointLabel:t2.oneOfType([t2.string,t2.func]),onPointClick:t2.func,onPointRightClick:t2.func,onPointHover:t2.func,arcsData:t2.arrayOf(t2.object),arcStartLat:t2.oneOfType([t2.number,t2.string,t2.func]),arcStartLng:t2.oneOfType([t2.number,t2.string,t2.func]),arcEndLat:t2.oneOfType([t2.number,t2.string,t2.func]),arcEndLng:t2.oneOfType([t2.number,t2.string,t2.func]),arcColor:t2.oneOfType([t2.string,t2.arrayOf(t2.string),t2.func]),arcAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),arcAltitudeAutoScale:t2.oneOfType([t2.number,t2.string,t2.func]),arcStroke:t2.oneOfType([t2.number,t2.string,t2.func]),arcCurveResolution:t2.number,arcCircularResolution:t2.number,arcDashLength:t2.oneOfType([t2.number,t2.string,t2.func]),arcDashGap:t2.oneOfType([t2.number,t2.string,t2.func]),arcDashInitialGap:t2.oneOfType([t2.number,t2.string,t2.func]),arcDashAnimateTime:t2.oneOfType([t2.number,t2.string,t2.func]),arcsTransitionDuration:t2.number,arcLabel:t2.oneOfType([t2.string,t2.func]),onArcClick:t2.func,onArcRightClick:t2.func,onArcHover:t2.func,polygonsData:t2.arrayOf(t2.object),polygonGeoJsonGeometry:t2.oneOfType([t2.string,t2.func]),polygonCapColor:t2.oneOfType([t2.string,t2.func]),polygonCapMaterial:t2.oneOfType([t2.object,t2.string,t2.func]),polygonSideColor:t2.oneOfType([t2.string,t2.func]),polygonSideMaterial:t2.oneOfType([t2.object,t2.string,t2.func]),polygonStrokeColor:t2.oneOfType([t2.string,t2.func]),polygonAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),polygonCapCurvatureResolution:t2.oneOfType([t2.number,t2.string,t2.func]),polygonsTransitionDuration:t2.number,polygonLabel:t2.oneOfType([t2.string,t2.func]),onPolygonClick:t2.func,onPolygonRightClick:t2.func,onPolygonHover:t2.func,pathsData:t2.array,pathPoints:t2.oneOfType([t2.array,t2.string,t2.func]),pathPointLat:t2.oneOfType([t2.number,t2.string,t2.func]),pathPointLng:t2.oneOfType([t2.number,t2.string,t2.func]),pathPointAlt:t2.oneOfType([t2.number,t2.string,t2.func]),pathResolution:t2.number,pathColor:t2.oneOfType([t2.string,t2.arrayOf(t2.string),t2.func]),pathStroke:t2.oneOfType([t2.number,t2.string,t2.func]),pathDashLength:t2.oneOfType([t2.number,t2.string,t2.func]),pathDashGap:t2.oneOfType([t2.number,t2.string,t2.func]),pathDashInitialGap:t2.oneOfType([t2.number,t2.string,t2.func]),pathDashAnimateTime:t2.oneOfType([t2.number,t2.string,t2.func]),pathTransitionDuration:t2.number,pathLabel:t2.oneOfType([t2.string,t2.func]),onPathClick:t2.func,onPathRightClick:t2.func,onPathHover:t2.func,heatmapsData:t2.array,heatmapPoints:t2.oneOfType([t2.array,t2.string,t2.func]),heatmapPointLat:t2.oneOfType([t2.number,t2.string,t2.func]),heatmapPointLng:t2.oneOfType([t2.number,t2.string,t2.func]),heatmapPointWeight:t2.oneOfType([t2.number,t2.string,t2.func]),heatmapBandwidth:t2.oneOfType([t2.number,t2.string,t2.func]),heatmapColorFn:t2.oneOfType([t2.string,t2.func]),heatmapColorSaturation:t2.oneOfType([t2.number,t2.string,t2.func]),heatmapBaseAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),heatmapTopAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),heatmapsTransitionDuration:t2.number,onHeatmapClick:t2.func,onHeatmapRightClick:t2.func,onHeatmapHover:t2.func,hexBinPointsData:t2.arrayOf(t2.object),hexBinPointLat:t2.oneOfType([t2.number,t2.string,t2.func]),hexBinPointLng:t2.oneOfType([t2.number,t2.string,t2.func]),hexBinPointWeight:t2.oneOfType([t2.number,t2.string,t2.func]),hexBinRes
24olution:t2.number,hexMargin:t2.oneOfType([t2.number,t2.func]),hexTopColor:t2.func,hexSideColor:t2.func,hexAltitude:t2.oneOfType([t2.number,t2.func]),hexTopCurvatureResolution:t2.number,hexBinMerge:t2.bool,hexTransitionDuration:t2.number,hexLabel:t2.oneOfType([t2.string,t2.func]),onHexClick:t2.func,onHexRightClick:t2.func,onHexHover:t2.func,hexPolygonsData:t2.arrayOf(t2.object),hexPolygonGeoJsonGeometry:t2.oneOfType([t2.string,t2.func]),hexPolygonColor:t2.oneOfType([t2.string,t2.func]),hexPolygonAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),hexPolygonResolution:t2.oneOfType([t2.number,t2.string,t2.func]),hexPolygonMargin:t2.oneOfType([t2.number,t2.string,t2.func]),hexPolygonUseDots:t2.oneOfType([t2.bool,t2.string,t2.func]),hexPolygonCurvatureResolution:t2.oneOfType([t2.number,t2.string,t2.func]),hexPolygonDotResolution:t2.oneOfType([t2.number,t2.string,t2.func]),hexPolygonsTransitionDuration:t2.number,hexPolygonLabel:t2.oneOfType([t2.string,t2.func]),onHexPolygonClick:t2.func,onHexPolygonRightClick:t2.func,onHexPolygonHover:t2.func,tilesData:t2.arrayOf(t2.object),tileLat:t2.oneOfType([t2.number,t2.string,t2.func]),tileLng:t2.oneOfType([t2.number,t2.string,t2.func]),tileAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),tileWidth:t2.oneOfType([t2.number,t2.string,t2.func]),tileHeight:t2.oneOfType([t2.number,t2.string,t2.func]),tileUseGlobeProjection:t2.oneOfType([t2.bool,t2.string,t2.func]),tileMaterial:t2.oneOfType([t2.object,t2.string,t2.func]),tileCurvatureResolution:t2.oneOfType([t2.number,t2.string,t2.func]),tilesTransitionDuration:t2.number,tileLabel:t2.oneOfType([t2.string,t2.func]),onTileClick:t2.func,onTileRightClick:t2.func,onTileHover:t2.func,particlesData:t2.arrayOf(t2.object),particlesList:t2.oneOfType([t2.string,t2.func]),particleLat:t2.oneOfType([t2.number,t2.string,t2.func]),particleLng:t2.oneOfType([t2.number,t2.string,t2.func]),particleAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),particlesSize:t2.oneOfType([t2.number,t2.string,t2.func]),particlesSizeAttenuation:t2.oneOfType([t2.bool,t2.string,t2.func]),particlesColor:t2.oneOfType([t2.string,t2.func]),particlesTexture:t2.oneOfType([t2.string,t2.func]),particleLabel:t2.oneOfType([t2.string,t2.func]),onParticleClick:t2.func,onParticleRightClick:t2.func,onParticleHover:t2.func,ringsData:t2.arrayOf(t2.object),ringLat:t2.oneOfType([t2.number,t2.string,t2.func]),ringLng:t2.oneOfType([t2.number,t2.string,t2.func]),ringAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),ringColor:t2.oneOfType([t2.string,t2.arrayOf(t2.string),t2.func]),ringResolution:t2.number,ringMaxRadius:t2.oneOfType([t2.number,t2.string,t2.func]),ringPropagationSpeed:t2.oneOfType([t2.number,t2.string,t2.func]),ringRepeatPeriod:t2.oneOfType([t2.number,t2.string,t2.func]),labelsData:t2.arrayOf(t2.object),labelLat:t2.oneOfType([t2.number,t2.string,t2.func]),labelLng:t2.oneOfType([t2.number,t2.string,t2.func]),labelAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),labelRotation:t2.oneOfType([t2.number,t2.string,t2.func]),labelText:t2.oneOfType([t2.string,t2.func]),labelSize:t2.oneOfType([t2.number,t2.string,t2.func]),labelTypeFace:t2.object,labelColor:t2.oneOfType([t2.string,t2.func]),labelResolution:t2.number,labelIncludeDot:t2.oneOfType([t2.bool,t2.string,t2.func]),labelDotRadius:t2.oneOfType([t2.number,t2.string,t2.func]),labelDotOrientation:t2.oneOfType([t2.string,t2.func]),labelsTransitionDuration:t2.number,labelLabel:t2.oneOfType([t2.string,t2.func]),onLabelClick:t2.func,onLabelRightClick:t2.func,onLabelHover:t2.func,htmlElementsData:t2.arrayOf(t2.object),htmlLat:t2.oneOfType([t2.number,t2.string,t2.func]),htmlLng:t2.oneOfType([t2.number,t2.string,t2.func]),htmlAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),htmlElement:t2.oneOfType([t2.string,t2.func]),htmlElementVisibilityModifier:t2.func,htmlTransitionDuration:t2.number,objectsData:t2.arrayOf(t2.object),objectLat:t2.oneOfType([t2.number,t2.string,t2.func]),objectLng:t2.oneOfType([t2.number,t2.string,t2.func]),objectAltitude:t2.oneOfType([t2.number,t2.string,t2.func]),objectRotation:t2.oneOfType([t2.shape({x:t2.number,y:t2.number,z:t2.number}),t2.string,t2.func]),objectFacesSurface:t2.oneOfType([t2.bool,t2.string,t2.func]),objectThreeOb
24ject:t2.oneOfType([t2.object,t2.string,t2.func]),objectLabel:t2.oneOfType([t2.string,t2.func]),onObjectClick:t2.func,onObjectRightClick:t2.func,onObjectHover:t2.func,customLayerData:t2.arrayOf(t2.object),customThreeObject:t2.oneOfType([t2.object,t2.string,t2.func]),customThreeObjectUpdate:t2.oneOfType([t2.string,t2.func]),customLayerLabel:t2.oneOfType([t2.string,t2.func]),onCustomLayerClick:t2.func,onCustomLayerRightClick:t2.func,onCustomLayerHover:t2.func,enablePointerInteraction:t2.bool,pointerEventsFilter:t2.func,lineHoverPrecision:t2.number,showPointerCursor:t2.oneOfType([t2.bool,t2.func]),onZoom:t2.func},t5=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.wrapperElementType,o=void 0===n?"div":n,i=t.nodeMapper,a=void 0===i?function(e){return e}:i,l=t.methodNames,u=void 0===l?[]:l,p=t.initPropNames,f=void 0===p?[]:p;return(0,r.forwardRef)(function(t,n){var i=(0,r.useRef)(),l=(0,r.useMemo)(function(){return e(Object.fromEntries(f.filter(function(e){return t.hasOwnProperty(e)}).map(function(e){return[e,t[e]]})))},[]);h(function(){l(a(i.current))},r.useLayoutEffect),h(function(){return l._destructor instanceof Function?l._destructor:void 0});var p=(0,r.useCallback)(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return l[e]instanceof Function?l[e].apply(l,n):void 0},[l]),d=(0,r.useRef)({});return Object.keys(s(t,[].concat(c(u),c(f)))).filter(function(e){return d.current[e]!==t[e]}).forEach(function(e){return p(e,t[e])}),d.current=t,(0,r.useImperativeHandle)(n,function(){return Object.fromEntries(u.map(function(e){return[e,function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p.apply(void 0,[e].concat(n))}]}))},[p]),r.createElement(o,{ref:i})})}(t1,{methodNames:["pauseAnimation","resumeAnimation","pointOfView","lights","scene","camera","renderer","postProcessingComposer","controls","getGlobeRadius","getCoords","getScreenCoords","toGeoCoords","toGlobeCoords","globeTileEngineClearCache"],initPropNames:["animateIn","waitForGlobeReady","rendererConfig"]});t5.displayName="Globe",t5.propTypes=t3}}]);
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.