PageSourceSearch

https://flowrobotics.vercel.app/_next/static/chunks/472.5521ffa309d44f2a.js

js flowrobotics.vercel.app collected 2026-10-03 06:59:03 UTC 286,119 bytes, 387 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[472],{26547:function(e,t,n){"use strict";n.d(t,{z:function(){return m}});var r=n(22988),i=n(68842),o=n(2265),a=n(97776),l=Object.defineProperty,u=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,s=(e,t,n)=>(u(e,"symbol"!=typeof t?t+"":t,n),n);let c=new a.Ray,f=new a.Plane,d=Math.cos(Math.PI/180*70),p=(e,t)=>(e%t+t)%t;class h extends a.EventDispatcher{constructor(e,t){super(),s(this,"object"),s(this,"domElement"),s(this,"enabled",!0),s(this,"target",new a.Vector3),s(this,"minDistance",0),s(this,"maxDistance",1/0),s(this,"minZoom",0),s(this,"maxZoom",1/0),s(this,"minPolarAngle",0),s(this,"maxPolarAngle",Math.PI),s(this,"minAzimuthAngle",-1/0),s(this,"maxAzimuthAngle",1/0),s(this,"enableDamping",!1),s(this,"dampingFactor",.05),s(this,"enableZoom",!0),s(this,"zoomSpeed",1),s(this,"enableRotate",!0),s(this,"rotateSpeed",1),s(this,"enablePan",!0),s(this,"panSpeed",1),s(this,"screenSpacePanning",!0),s(this,"keyPanSpeed",7),s(this,"zoomToCursor",!1),s(this,"autoRotate",!1),s(this,"autoRotateSpeed",2),s(this,"reverseOrbit",!1),s(this,"reverseHorizontalOrbit",!1),s(this,"reverseVerticalOrbit",!1),s(this,"keys",{LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",BOTTOM:"ArrowDown"}),s(this,"mouseButtons",{LEFT:a.MOUSE.ROTATE,MIDDLE:a.MOUSE.DOLLY,RIGHT:a.MOUSE.PAN}),s(this,"touches",{ONE:a.TOUCH.ROTATE,TWO:a.TOUCH.DOLLY_PAN}),s(this,"target0"),s(this,"position0"),s(this,"zoom0"),s(this,"_domElementKeyEvents",null),s(this,"getPolarAngle"),s(this,"getAzimuthalAngle"),s(this,"setPolarAngle"),s(this,"setAzimuthalAngle"),s(this,"getDistance"),s(this,"listenToKeyEvents"),s(this,"stopListenToKeyEvents"),s(this,"saveState"),s(this,"reset"),s(this,"update"),s(this,"connect"),s(this,"dispose"),this.object=e,this.domElement=t,this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this.getPolarAngle=()=>m.phi,this.getAzimuthalAngle=()=>m.theta,this.setPolarAngle=e=>{let t=p(e,2*Math.PI),r=m.phi;r<0&&(r+=2*Math.PI),t<0&&(t+=2*Math.PI);let i=Math.abs(t-r);2*Math.PI-i<i&&(t<r?t+=2*Math.PI:r+=2*Math.PI),v.phi=t-r,n.update()},this.setAzimuthalAngle=e=>{let t=p(e,2*Math.PI),r=m.theta;r<0&&(r+=2*Math.PI),t<0&&(t+=2*Math.PI);let i=Math.abs(t-r);2*Math.PI-i<i&&(t<r?t+=2*Math.PI:r+=2*Math.PI),v.theta=t-r,n.update()},this.getDistance=()=>n.object.position.distanceTo(n.target),this.listenToKeyEvents=e=>{e.addEventListener("keydown",et),this._domElementKeyEvents=e},this.stopListenToKeyEvents=()=>{this._domElementKeyEvents.removeEventListener("keydown",et),this._domElementKeyEvents=null},this.saveState=()=>{n.target0.copy(n.target),n.position0.copy(n.object.position),n.zoom0=n.object.zoom},this.reset=()=>{n.target.copy(n.target0),n.object.position.copy(n.position0),n.object.zoom=n.zoom0,n.object.updateProjectionMatrix(),n.dispatchEvent(r),n.update(),u=l.NONE},this.update=(()=>{let t=new a.Vector3,i=new a.Vector3(0,1,0),o=new a.Quaternion().setFromUnitVectors(e.up,i),s=o.clone().invert(),p=new a.Vector3,b=new a.Quaternion,w=2*Math.PI;return function(){let x=n.object.position;o.setFromUnitVectors(e.up,i),s.copy(o).invert(),t.copy(x).sub(n.target),t.applyQuaternion(o),m.setFromVector3(t),n.autoRotate&&u===l.NONE&&I(2*Math.PI/60/60*n.autoRotateSpeed),n.enableDamping?(m.theta+=v.theta*n.dampingFactor,m.phi+=v.phi*n.dampingFactor):(m.theta+=v.theta,m.phi+=v.phi);let S=n.minAzimuthAngle,_=n.maxAzimuthAngle;isFinite(S)&&isFinite(_)&&(S<-Math.PI?S+=w:S>Math.PI&&(S-=w),_<-Math.PI?_+=w:_>Math.PI&&(_-=w),S<=_?m.theta=Math.max(S,Math.min(_,m.theta)):m.theta=m.theta>(S+_)/2?Math.max(S,m.theta):Math.min(_,m.theta)),m.phi=Math.max(n.minPolarAngle,Math.min(n.maxPolarAngle,m.phi)),m.makeSafe(),!0===n.enableDamping?n.target.addScaledVector(y,n.dampingFactor):n.target.add(y),n.zoomToCursor&&C||n.object.isOrthographicCamera?m.radius=H(m.radius):m.radius=H(m.radius*g),t.setFromSpherical(m),t.applyQuaternion(s),x.copy(n.target).add(t),n.object.matrixAutoUpdate||n.object.updateMatrix(),n.object.lookAt(n.target),!0===n.enableDamping?(v.theta*=1-n.dampingFactor,v.phi*=1-n.dampingFactor,y.multiplyScalar(1-n.dampingFactor)):(v.set(0,0,0),y.set(0,0,0));let E=!1;if(n.zoomToCursor&&C){let r=null;if(n.object instanceof a.PerspectiveCamera&&n.object.isPerspectiveCamera){let e=t.length();r=H(e*g);let i=e-r;n.object.position.addScaledVector(A,i),n.object.updateMatrixWorld()}else if(n.object.isOrthographicCamera){let e=new a.Vector3(O.x,O.y,0);e.unproject(n.object),n.object.zoom=Math.max(n.minZoom,Math.min(n.maxZoom,n.object.zoom/g)),n.object.updateProjectionMatrix(),E=!0;let i=new a.Vector3(O.x,O.y,0);i.unproject(n.object),n.object.position.sub(i).add(e),n.object.updateMatrixWorld(),r=t.length()}else console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."),n.zoomToCursor=!1;null!==r&&(n.screenSpacePanning?n.target.set(0,0,-1).transformDirection(n.object.matrix).multiplyScalar(r).add(n.object.position):(c.origin.copy(n.object.position),c.direction.set(0,0,-1).transformDirection(n.object.matrix),Math.abs(n.object.up.dot(c.direction))<d?e.lookAt(n.target):(f.setFromNormalAndCoplanarPoint(n.object.up,n.target),c.intersectPlane(f,n.target))))}
1else n.object instanceof a.OrthographicCamera&&n.object.isOrthographicCamera&&(E=1!==g)&&(n.object.zoom=Math.max(n.minZoom,Math.min(n.maxZoom,n.object.zoom/g)),n.object.updateProjectionMatrix());return g=1,C=!1,!!(E||p.distanceToSquared(n.object.position)>h||8*(1-b.dot(n.object.quaternion))>h)&&(n.dispatchEvent(r),p.copy(n.object.position),b.copy(n.object.quaternion),E=!1,!0)}})(),this.connect=e=>{e===document&&console.error('THREE.OrbitControls: "document" should not be used as the target "domElement". Please use "renderer.domElement" instead.'),n.domElement=e,n.domElement.style.touchAction="none",n.domElement.addEventListener("contextmenu",en),n.domElement.addEventListener("pointerdown",X),n.domElement.addEventListener("pointercancel",J),n.domElement.addEventListener("wheel",ee)},this.dispose=()=>{var e,t,r,i,o,a;n.domElement&&(n.domElement.style.touchAction="auto"),null==(e=n.domElement)||e.removeEventListener("contextmenu",en),null==(t=n.domElement)||t.removeEventListener("pointerdown",X),null==(r=n.domElement)||r.removeEventListener("pointercancel",J),null==(i=n.domElement)||i.removeEventListener("wheel",ee),null==(o=n.domElement)||o.ownerDocument.removeEventListener("pointermove",K),null==(a=n.domElement)||a.ownerDocument.removeEventListener("pointerup",J),null!==n._domElementKeyEvents&&n._domElementKeyEvents.removeEventListener("keydown",et)};let n=this,r={type:"change"},i={type:"start"},o={type:"end"},l={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6},u=l.NONE,h=1e-6,m=new a.Spherical,v=new a.Spherical,g=1,y=new a.Vector3,b=new a.Vector2,w=new a.Vector2,x=new a.Vector2,S=new a.Vector2,_=new a.Vector2,E=new a.Vector2,M=new a.Vector2,P=new a.Vector2,k=new a.Vector2,A=new a.Vector3,O=new a.Vector2,C=!1,T=[],z={};function j(){return Math.pow(.95,n.zoomSpeed)}function I(e){n.reverseOrbit||n.reverseHorizontalOrbit?v.theta+=e:v.theta-=e}function R(e){n.reverseOrbit||n.reverseVerticalOrbit?v.phi+=e:v.phi-=e}let N=(()=>{let e=new a.Vector3;return function(t,n){e.setFromMatrixColumn(n,0),e.multiplyScalar(-t),y.add(e)}})(),L=(()=>{let e=new a.Vector3;return function(t,r){!0===n.screenSpacePanning?e.setFromMatrixColumn(r,1):(e.setFromMatrixColumn(r,0),e.crossVectors(n.object.up,e)),e.multiplyScalar(t),y.add(e)}})(),B=(()=>{let e=new a.Vector3;return function(t,r){let i=n.domElement;if(i&&n.object instanceof a.PerspectiveCamera&&n.object.isPerspectiveCamera){let o=n.object.position;e.copy(o).sub(n.target);let a=e.length();N(2*t*(a*=Math.tan(n.object.fov/2*Math.PI/180))/i.clientHeight,n.object.matrix),L(2*r*a/i.clientHeight,n.object.matrix)}else i&&n.object instanceof a.OrthographicCamera&&n.object.isOrthographicCamera?(N(t*(n.object.right-n.object.left)/n.object.zoom/i.clientWidth,n.object.matrix),L(r*(n.object.top-n.object.bottom)/n.object.zoom/i.clientHeight,n.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),n.enablePan=!1)}})();function F(e){n.object instanceof a.PerspectiveCamera&&n.object.isPerspectiveCamera||n.object instanceof a.OrthographicCamera&&n.object.isOrthographicCamera?g/=e:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),n.enableZoom=!1)}function U(e){n.object instanceof a.PerspectiveCamera&&n.object.isPerspectiveCamera||n.object instanceof a.OrthographicCamera&&n.object.isOrthographicCamera?g*=e:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),n.enableZoom=!1)}function D(e){if(!n.zoomToCursor||!n.domElement)return;C=!0;let t=n.domElement.getBoundingClientRect(),r=e.clientX-t.left,i=e.clientY-t.top,o=t.width,a=t.height;O.x=r/o*2-1,O.y=-(i/a*2)+1,A.set(O.x,O.y,1).unproject(n.object).sub(n.object.position).normalize()}function H(e){return Math.max(n.minDistance,Math.min(n.maxDistance,e))}function V(e){b.set(e.clientX,e.clientY)}function W(e){S.set(e.clientX,e.clientY)}function Z(){if(1==T.length)b.set(T[0].pageX,T[0].pageY);else{let e=.5*(T[0].pageX+T[1].pageX),t=.5*(T[0].pageY+T[1].pageY);b.set(e,t)}}function q(){if(1==T.length)S.set(T[0].pageX,T[0].pageY);else{let e=.5*(T[0].pageX+T[1].pageX),t=.5*(T[0].pageY+T[1].pageY);S.set(e,t)}}function $(){let e=T[0].pageX-T[1].pageX,t=T[0].pageY-T[1].pageY;M.set(0,Math.sqrt(e*e+t*t))}function G(e){if(1==T.length)w.set(e.pageX,e.pageY);else{let t=ei(e),n=.5*(e.pageX+t.x),r=.5*(e.pageY+t.y);w.set(n,r)}x.subVectors(w,b).multiplyScalar(n.rotateSpeed);let t=n.domElement;t&&(I(2*Math.PI*x.x/t.clientHeight),R(2*Math.PI*x.y/t.clientHeight)),b.copy(w)}function Q(e){if(1==T.length)_.set(e.pageX,e.pageY);else{let t=ei(e),n=.5*(e.pageX+t.x),r=.5*(e.pageY+t.y);_.set(n,r)}E.subVectors(_,S).multiplyScalar(n.panSpeed),B(E.x,E.y),S.copy(_)}function Y(e){let t=ei(e),r=e.pageX-t.x,i=e.pageY-t.y;P.set(0,Math.sqrt(r*r+i*i)),k.set(0,Math.pow(P.y/M.y,n.zoomSpeed)),F(k.y),M.copy(P)}function X(e){var t,r;!1!==n.enabled&&(0===T.length&&(null==(t=n.domElement)||t.ownerDocument.addEventListener("pointermove",K),null==(r=n.domElement)||r.ownerDocument.addEventListener("pointerup",J)),T.push(e),"touch"===e.pointerType?function(e){switch(er(e),T.length){case 1:switch(n.touches.ONE){case a.TOUCH.ROTATE:if(!1===n.enableRotate)return;Z(),u=l.TOUCH_ROTATE;break;case a.TOUCH.PAN:if(!1===n.enablePan)return;q(),u=l.TOUCH_PAN;break;default:u=l.NONE}break;case 2:switch(n.touches.TWO){case a.TOUCH.DOLLY_PAN:if(!1===n.enableZoom&&!1===n.enablePan)return;n.enableZoom&&$(),n.enablePan&&q(),u=l.TOUCH_DOLLY_PAN;break;case a.TOUCH.DOLLY_ROTATE:if(!1===n.enableZoom&&!1===n.enableRotate)return;n.enableZoom&&$(),n.enableRotate&&Z(),u=l.TOUCH_DOLLY_ROTATE;break;default:u=l.NONE}break;default:u=l.NONE}u!==l.NONE&&n.dispatchEvent(i)}(e):function(e){let t;switch(e.button){case 0:t=n.mouseButtons.LEFT;break;case 1:t=n.mouseButtons.MIDDLE;break;case 2:t=n.mouseButtons.RIGHT;break;default:t=-1}switch(t){case a.MOUSE.DOLLY:if(!1===n.enableZoom)return;D(e),M.set(e.clientX,e.clientY),u=l.DOLLY;break;case a.MOUSE.ROTATE:if(e.ctrlKey||e.metaKey||e.shiftKey){if(!1===n.enablePan)return;W(e),u=l.PAN}else{if(!1===n.enableRotate)return;V(e),u=l.ROTATE}break;case a.MOUSE.PAN:if(e.ctrlKey||e.metaKey||e.shiftKey){if(!1===n.enableRotate)return;V(e),u=l.ROTATE}else{if(!1===n.enablePan)return;W(e),u=l.PAN}break;default:u=l.NONE}u!==l.NONE&&n.dispatchEvent(i)}(e))}function K(e){!1!==n.enabled&&("touch"===e.pointerType?function(e){switch(er(e),u){case l.TOUCH_ROTATE:if(!1===n.enableRotate)return;G(e),n.update();break;case l.TOUCH_PAN:if(!1===n.enablePan)return;Q(e),n.update();break;case l.TOUCH_DOLLY_PAN:if(!1===n.enableZoom&&!1===n.enablePan)return;n.enableZoom&&Y(e),n.enablePan&&Q(e),n.update();break;case l.TOUCH_DOLLY_ROTATE:if(!1===n.enableZoom&&!1===n.enableRotate)return;n.enableZoom&&Y(e),n.enableRotate&&G(e),n.update();break;default:u=l.NONE}}(e):function(e){if(!1!==n.enabled)switch(u){case l.ROTATE:if(!1===n.enableRotate)return;!function(e){w.set(e.clientX,e.clientY),x.subVectors(w,b).multiplyScalar(n.rotateSpeed);let t=n.domElement;t&&(I(2*Math.PI*x.x/t.clientHeight),R(2*Math.PI*x.y/t.clientHeight)),b.copy(w),n.update()}(e);break;case l.DOLLY:if(!1===n.enableZoom)return;P.set(e.clientX,e.clientY),k.subVectors(P,M),k.y>0?F(j()):k.y<0&&U(j()),M.copy(P),n.update();break;case l.PAN:if(!1===n.enablePan)return;_.set(e.clientX,e.clientY),E.subVectors(_,S).multiplyScalar(n.panSpeed),B(E.x,E.y),S.copy(_),n.update()}}(e))}function J(e){var t,r,i;(function(e){delete z[e.pointerId];for(let t=0;t<T.length;t++)if(T[t].pointerId==e.pointerId){T.splice(t,1);return}})(e),0===T.length&&(null==(t=n.domElement)||t.releasePointerCapture(e.pointerId),null==(r=n.domElement)||r.ownerDocument.removeEventListener("pointermove",K),null==(i=n.domElement)||i.ownerDocument.removeEventListener("pointerup",J)),n.dispatchEvent(o),u=l.NONE}function ee(e){!1!==n.enabled&&!1!==n.enableZoom&&(u===l.NONE||u===l.ROTATE)&&(e.preventDefault(),n.dispatchEvent(i),D(e),e.deltaY<0?U(j()):e.deltaY>0&&F(j()),n.update(),n.dispatchEvent(o))}function et(e){!1!==n.enabled&&!1!==n.enablePan&&function(e){let t=!1;switch(e.code){case n.keys.UP:B(0,n.keyPanSpeed),t=!0;break;case n.keys.BOTTOM:B(0,-n.keyPanSpeed),t=!0;break;case n.keys.LEFT:B(n.keyPanSpeed,0),t=!0;break;case n.keys.RIGHT:B(-n.keyPanSpeed,0),t=!0}t&&(e.preventDefault(),n.update())}(e)}function en(e){!1!==n.enabled&&e.preventDefault()}function er(e){let t=z[e.pointerId];void 0===t&&(t=new a.Vector2,z[e.pointerId]=t),t.set(e.pageX,e.pageY)}function ei(e){return z[(e.pointerId===T[0].pointerId?T[1]:T[0]).pointerId]}void 0!==t&&this.connect(t),this.update()}}let m=o.forwardRef(({makeDefault:e,camera:t,regress:n,domElement:a,enableDamping:l=!0,keyEvents:u=!1,onChange:s,onStart:c,onEnd:f,...d},p)=>{let m=(0,i.A)(e=>e.invalidate),v=(0,i.A)(e=>e.camera),g=(0,i.A)(e=>e.gl),y=(0,i.A)(e=>e.events),b=(0,i.A)(e=>e.setEvents),w=(0,i.A)(e=>e.set),x=(0,i.A)(e=>e.get),S=(0,i.A)(e=>e.performance),_=t||v,E=a||y.connected||g.domElement,M=o.useMemo(()=>new h(_),[_]);return(0,i.C)(()=>{M.enabled&&M.update()},-1),o.useEffect(()=>(u&&M.connect(!0===u?E:u),M.connect(E),()=>void M.dispose()),[u,E,n,M,m]),o.useEffect(()=>{let e=e=>{m(),n&&S.regress(),s&&s(e)},t=e=>{c&&c(e)},r=e=>{f&&f(e)};return M.addEventListener("change",e),M.addEventListener("start",t),M.addEventListener("end",r),()=>{M.removeEventListener("start",t),M.removeEventListener("end",r),M.removeEventListener("change",e)}},[s,c,f,M,m,b]),o.useEffect(()=>{if(e){let e=x().controls;return w({controls:M}),()=>w({controls:e})}},[e,M]),o.createElement("primitive",(0,r.Z)({ref:p,object:M,enableDamping:l},d))})},68842:function(e,t,n){"use strict";let r,i,o;n.d(t,{A:function(){return ec},B:function(){return z},C:function(){return ef},E:function(){return j},a:function(){return C},b:function(){return eS},c:function(){return J},d:function(){return eE},e:function(){return M},i:function(){return O},u:function(){return T}});var a,l,u=n(97776),s=n(2265),c=n(95592);let f="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?s.useEffect:s.useLayoutEffect;var d=n(31543),p=n.n(d),h=n(8276);let m=e=>"object"==typeof e&&"function"==typeof e.then,v=[];function g(e,t,n=(e,t)=>e===t){if(e===t)return!0;
1if(!e||!t)return!1;let r=e.length;if(t.length!==r)return!1;for(let i=0;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function y(e,t=null,n=!1,r={}){for(let i of(null===t&&(t=[e]),v))if(g(t,i.keys,i.equal)){if(n)return;if(Object.prototype.hasOwnProperty.call(i,"error"))throw i.error;if(Object.prototype.hasOwnProperty.call(i,"response"))return r.lifespan&&r.lifespan>0&&(i.timeout&&clearTimeout(i.timeout),i.timeout=setTimeout(i.remove,r.lifespan)),i.response;if(!n)throw i.promise}let i={keys:t,equal:r.equal,remove:()=>{let e=v.indexOf(i);-1!==e&&v.splice(e,1)},promise:(m(e)?e:e(...t)).then(e=>{i.response=e,r.lifespan&&r.lifespan>0&&(i.timeout=setTimeout(i.remove,r.lifespan))}).catch(e=>i.error=e)};if(v.push(i),!n)throw i.promise}let b=(e,t,n)=>y(e,t,!1,n),w=(e,t,n)=>void y(e,t,!0,n),x=e=>{if(void 0===e||0===e.length)v.splice(0,v.length);else{let t=v.find(t=>g(e,t.keys,t.equal));t&&t.remove()}};var S=n(57437),_=n(20357);let E={},M=e=>void Object.assign(E,e),P=e=>"colorSpace"in e||"outputColorSpace"in e,k=()=>{var e;return null!=(e=E.ColorManagement)?e:null},A=e=>e&&e.isOrthographicCamera,O=e=>e&&e.hasOwnProperty("current"),C="undefined"!=typeof window&&(null!=(a=window.document)&&a.createElement||(null==(l=window.navigator)?void 0:l.product)==="ReactNative")?s.useLayoutEffect:s.useEffect;function T(e){let t=s.useRef(e);return C(()=>void(t.current=e),[e]),t}function z({set:e}){return C(()=>(e(new Promise(()=>null)),()=>e(!1)),[e]),null}class j extends s.Component{constructor(...e){super(...e),this.state={error:!1}}componentDidCatch(e){this.props.set(e)}render(){return this.state.error?null:this.props.children}}j.getDerivedStateFromError=()=>({error:!0});let I="__default",R=new Map,N=e=>e&&!!e.memoized&&!!e.changes;function L(e){var t;let n="undefined"!=typeof window?null!=(t=window.devicePixelRatio)?t:2:1;return Array.isArray(e)?Math.min(Math.max(e[0],n),e[1]):e}let B=e=>{var t;return null==(t=e.__r3f)?void 0:t.root.getState()};function F(e){let t=e.__r3f.root;for(;t.getState().previousRoot;)t=t.getState().previousRoot;return t}let U={obj:e=>e===Object(e)&&!U.arr(e)&&"function"!=typeof e,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,boo:e=>"boolean"==typeof e,und:e=>void 0===e,arr:e=>Array.isArray(e),equ(e,t,{arrays:n="shallow",objects:r="reference",strict:i=!0}={}){let o;if(typeof e!=typeof t||!!e!=!!t)return!1;if(U.str(e)||U.num(e)||U.boo(e))return e===t;let a=U.obj(e);if(a&&"reference"===r)return e===t;let l=U.arr(e);if(l&&"reference"===n)return e===t;if((l||a)&&e===t)return!0;for(o in e)if(!(o in t))return!1;if(a&&"shallow"===n&&"shallow"===r){for(o in i?t:e)if(!U.equ(e[o],t[o],{strict:i,objects:"reference"}))return!1}else for(o in i?t:e)if(e[o]!==t[o])return!1;if(U.und(o)){if(l&&0===e.length&&0===t.length||a&&0===Object.keys(e).length&&0===Object.keys(t).length)return!0;if(e!==t)return!1}return!0}};function D(e,t){return e.__r3f={type:"",root:null,previousAttach:null,memoizedProps:{},eventCount:0,handlers:{},objects:[],parent:null,...t},e}function H(e,t){let n=e;if(!t.includes("-"))return{target:n,key:t};{let r=t.split("-"),i=r.pop();return{target:n=r.reduce((e,t)=>e[t],e),key:i}}}let V=/-\d+$/;function W(e,t,n){if(U.str(n)){if(V.test(n)){let{target:t,key:r}=H(e,n.replace(V,""));Array.isArray(t[r])||(t[r]=[])}let{target:r,key:i}=H(e,n);t.__r3f.previousAttach=r[i],r[i]=t}else t.__r3f.previousAttach=n(e,t)}function Z(e,t,n){var r,i;if(U.str(n)){let{target:r,key:i}=H(e,n),o=t.__r3f.previousAttach;void 0===o?delete r[i]:r[i]=o}else null==(r=t.__r3f)||null==r.previousAttach||r.previousAttach(e,t);null==(i=t.__r3f)||delete i.previousAttach}function q(e,{children:t,key:n,ref:r,...i},{children:o,key:a,ref:l,...u}={},s=!1){let c=e.__r3f,f=Object.entries(i),d=[];if(s){let e=Object.keys(u);for(let t=0;t<e.length;t++)i.hasOwnProperty(e[t])||f.unshift([e[t],I+"remove"])}f.forEach(([t,n])=>{var r;if(null!=(r=e.__r3f)&&r.primitive&&"object"===t||U.equ(n,u[t]))return;if(/^on(Pointer|Click|DoubleClick|ContextMenu|Wheel)/.test(t))return d.push([t,n,!0,[]]);let o=[];for(let e in t.includes("-")&&(o=t.split("-")),d.push([t,n,!1,o]),i){let n=i[e];e.startsWith(`${t}-`)&&d.push([e,n,!1,e.split("-")])}});let p={...i};return null!=c&&c.memoizedProps&&null!=c&&c.memoizedProps.args&&(p.args=c.memoizedProps.args
1),null!=c&&c.memoizedProps&&null!=c&&c.memoizedProps.attach&&(p.attach=c.memoizedProps.attach),{memoized:p,changes:d}}let $=void 0!==_&&!1;function G(e,t){var n;let r=e.__r3f,i=null==r?void 0:r.root,o=null==i?void 0:null==i.getState?void 0:i.getState(),{memoized:a,changes:l}=N(t)?t:q(e,t),s=null==r?void 0:r.eventCount;e.__r3f&&(e.__r3f.memoizedProps=a);for(let t=0;t<l.length;t++){let[n,i,a,s]=l[t];if(P(e)){let e="srgb",t="srgb-linear";"encoding"===n?(n="colorSpace",i=3001===i?e:t):"outputEncoding"===n&&(n="outputColorSpace",i=3001===i?e:t)}let c=e,f=c[n];if(s.length&&!((f=s.reduce((e,t)=>e[t],e))&&f.set)){let[t,...r]=s.reverse();c=r.reverse().reduce((e,t)=>e[t],e),n=t}if(i===I+"remove"){if(c.constructor){let e=R.get(c.constructor);e||(e=new c.constructor,R.set(c.constructor,e)),i=e[n]}else i=0}if(a&&r)i?r.handlers[n]=i:delete r.handlers[n],r.eventCount=Object.keys(r.handlers).length;else if(f&&f.set&&(f.copy||f instanceof u.Layers)){if(Array.isArray(i))f.fromArray?f.fromArray(i):f.set(...i);else if(f.copy&&i&&i.constructor&&($?f.constructor.name===i.constructor.name:f.constructor===i.constructor))f.copy(i);else if(void 0!==i){let e=f instanceof u.Color;!e&&f.setScalar?f.setScalar(i):f instanceof u.Layers&&i instanceof u.Layers?f.mask=i.mask:f.set(i),!k()&&o&&!o.linear&&e&&f.convertSRGBToLinear()}}else if(c[n]=i,c[n]instanceof u.Texture&&c[n].format===u.RGBAFormat&&c[n].type===u.UnsignedByteType&&o){let e=c[n];P(e)&&P(o.gl)?e.colorSpace=o.gl.outputColorSpace:e.encoding=o.gl.outputEncoding}Q(e)}if(r&&r.parent&&e.raycast&&s!==r.eventCount){let t=F(e).getState().internal,n=t.interaction.indexOf(e);n>-1&&t.interaction.splice(n,1),r.eventCount&&t.interaction.push(e)}return!(1===l.length&&"onUpdate"===l[0][0])&&l.length&&null!=(n=e.__r3f)&&n.parent&&Y(e),e}function Q(e){var t,n;let r=null==(t=e.__r3f)?void 0:null==(n=t.root)?void 0:null==n.getState?void 0:n.getState();r&&0===r.internal.frames&&r.invalidate()}function Y(e){null==e.onUpdate||e.onUpdate(e)}function X(e){return(e.eventObject||e.object).uuid+"/"+e.index+e.instanceId}function K(e,t,n,r){let i=n.get(t);i&&(n.delete(t),0===n.size&&(e.delete(r),i.target.releasePointerCapture(r)))}function J(e){function t(e){return e.filter(e=>["Move","Over","Enter","Out","Leave"].some(t=>{var n;return null==(n=e.__r3f)?void 0:n.handlers["onPointer"+t]}))}function n(t){let{internal:n}=e.getState();for(let e of n.hovered.values())if(!t.length||!t.find(t=>t.object===e.object&&t.index===e.index&&t.instanceId===e.instanceId)){let r=e.eventObject.__r3f,i=null==r?void 0:r.handlers;if(n.hovered.delete(X(e)),null!=r&&r.eventCount){let n={...e,intersections:t};null==i.onPointerOut||i.onPointerOut(n),null==i.onPointerLeave||i.onPointerLeave(n)}}}function r(e,t){for(let n=0;n<t.length;n++){let r=t[n].__r3f;null==r||null==r.handlers.onPointerMissed||r.handlers.onPointerMissed(e)}}return{handlePointer:function(i){switch(i){case"onPointerLeave":case"onPointerCancel":return()=>n([]);case"onLostPointerCapture":return t=>{let{internal:r}=e.getState();"pointerId"in t&&r.capturedMap.has(t.pointerId)&&requestAnimationFrame(()=>{r.capturedMap.has(t.pointerId)&&(r.capturedMap.delete(t.pointerId),n([]))})}}return function(o){let{onPointerMissed:a,internal:l}=e.getState();l.lastEvent.current=o;let s="onPointerMove"===i,c="onClick"===i||"onContextMenu"===i||"onDoubleClick"===i,f=function(t,n){let r=e.getState(),i=new Set,o=[],a=n?n(r.internal.interaction):r.internal.interaction;for(let e=0;e<a.length;e++){let t=B(a[e]);t&&(t.raycaster.camera=void 0)}r.previousRoot||null==r.events.compute||r.events.compute(t,r);let l=a.flatMap(function(e){let n=B(e);if(!n||!n.events.enabled||null===n.raycaster.camera)return[];if(void 0===n.raycaster.camera){var r;null==n.events.compute||n.events.compute(t,n,null==(r=n.previousRoot)?void 0:r.getState()),void 0===n.raycaster.camera&&(n.raycaster.camera=null)}return n.raycaster.camera?n.raycaster.intersectObject(e,!0):[]}).sort((e,t)=>{let n=B(e.object),r=B(t.object);return n&&r&&r.events.priority-n.events.priority||e.distance-t.distance}).filter(e=>{let t=X(e);return!i.has(t)&&(i.add(t),!0)});for(let e of(r.events.filter&&(l=r.events.filter(l,r)),l)){let t=e.object;for(;t;){var u;null!=(u=t.__r3f)&&u.eventCount&&o.push({...e,eventObject:t}),t=t.parent}}if("pointerId"in t&&r.internal.capturedMap.has(t.pointerId))for(let e of r.internal.capturedMap.get(t.pointerId).values())i.has(X(e.intersection))||o.push(e.intersection);return o}(o,s?t:void 0),d=c?function(t){let{internal:n}=e.getState(),r=t.offsetX-n.initialClick[0],i=t.offsetY-n.initialClick[1];return Math.round(Math.sqrt(r*r+i*i))}(o):0;"onPointerDown"===i&&(l.initialClick=[o.offsetX,o.offsetY],l.initialHits=f.map(e=>
1e.eventObject)),c&&!f.length&&d<=2&&(r(o,l.interaction),a&&a(o)),s&&n(f),function(t,r,i,o){let a=e.getState();if(t.length){let e={stopped:!1};for(let l of t){let{raycaster:s,pointer:c,camera:f,internal:d}=B(l.object)||a,p=new u.Vector3(c.x,c.y,0).unproject(f),h=e=>{var t,n;return null!=(t=null==(n=d.capturedMap.get(e))?void 0:n.has(l.eventObject))&&t},m=e=>{let t={intersection:l,target:r.target};d.capturedMap.has(e)?d.capturedMap.get(e).set(l.eventObject,t):d.capturedMap.set(e,new Map([[l.eventObject,t]])),r.target.setPointerCapture(e)},v=e=>{let t=d.capturedMap.get(e);t&&K(d.capturedMap,l.eventObject,t,e)},g={};for(let e in r){let t=r[e];"function"!=typeof t&&(g[e]=t)}let y={...l,...g,pointer:c,intersections:t,stopped:e.stopped,delta:i,unprojectedPoint:p,ray:s.ray,camera:f,stopPropagation(){let i="pointerId"in r&&d.capturedMap.get(r.pointerId);(!i||i.has(l.eventObject))&&(y.stopped=e.stopped=!0,d.hovered.size&&Array.from(d.hovered.values()).find(e=>e.eventObject===l.eventObject)&&n([...t.slice(0,t.indexOf(l)),l]))},target:{hasPointerCapture:h,setPointerCapture:m,releasePointerCapture:v},currentTarget:{hasPointerCapture:h,setPointerCapture:m,releasePointerCapture:v},nativeEvent:r};if(o(y),!0===e.stopped)break}}}(f,o,d,function(e){let t=e.eventObject,n=t.__r3f,a=null==n?void 0:n.handlers;if(null!=n&&n.eventCount){if(s){if(a.onPointerOver||a.onPointerEnter||a.onPointerOut||a.onPointerLeave){let t=X(e),n=l.hovered.get(t);n?n.stopped&&e.stopPropagation():(l.hovered.set(t,e),null==a.onPointerOver||a.onPointerOver(e),null==a.onPointerEnter||a.onPointerEnter(e))}null==a.onPointerMove||a.onPointerMove(e)}else{let n=a[i];n?(!c||l.initialHits.includes(t))&&(r(o,l.interaction.filter(e=>!l.initialHits.includes(e))),n(e)):c&&l.initialHits.includes(t)&&r(o,l.interaction.filter(e=>!l.initialHits.includes(e)))}}})}}}}let ee=e=>!!(null!=e&&e.render),et=s.createContext(null),en=(e,t)=>{let n=function(e){let t="function"==typeof e?function(e){let t;let n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(i!==t){let e=t;t=r?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o=(e,r=i,o=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let a=r(t);function l(){let n=r(t);if(!o(a,n)){let t=a;e(a=n,t)}}return n.add(l),()=>n.delete(l)},a={setState:r,getState:i,subscribe:(e,t,r)=>t||r?o(e,t,r):(n.add(e),()=>n.delete(e)),destroy:()=>n.clear()};return t=e(r,i,a),a}(e):e,n=(e=t.getState,n=Object.is)=>{let r;let[,i]=(0,s.useReducer)(e=>e+1,0),o=t.getState(),a=(0,s.useRef)(o),l=(0,s.useRef)(e),u=(0,s.useRef)(n),c=(0,s.useRef)(!1),d=(0,s.useRef)();void 0===d.current&&(d.current=e(o));let p=!1;(a.current!==o||l.current!==e||u.current!==n||c.current)&&(r=e(o),p=!n(d.current,r)),f(()=>{p&&(d.current=r),a.current=o,l.current=e,u.current=n,c.current=!1});let h=(0,s.useRef)(o);f(()=>{let e=()=>{try{let e=t.getState(),n=l.current(e);u.current(d.current,n)||(a.current=e,d.current=n,i())}catch(e){c.current=!0,i()}},n=t.subscribe(e);return t.getState()!==h.current&&e(),n},[]);let m=p?r:d.current;return(0,s.useDebugValue)(m),m};return Object.assign(n,t),n[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");let e=[n,t];return{next(){let t=e.length<=0;return{value:e.shift(),done:t}}}},n}((n,r)=>{let i;let o=new u.Vector3,a=new u.Vector3,l=new u.Vector3;function c(e=r().camera,t=a,n=r().size){let{width:i,height:s,top:c,left:f}=n,d=i/s;t instanceof u.Vector3?l.copy(t):l.set(...t);let p=e.getWorldPosition(o).distanceTo(l);if(A(e))return{width:i/e.zoom,height:s/e.zoom,top:c,left:f,factor:1,distance:p,aspect:d};{let t=2*Math.tan(e.fov*Math.PI/180/2)*p,n=i/s*t;return{width:n,height:t,top:c,left:f,factor:i/n,distance:p,aspect:d}}}let f=e=>n(t=>({performance:{...t.performance,current:e}})),d=new u.Vector2;return{set:n,get:r,gl:null,camera:null,raycaster:null,events:{priority:1,enabled:!0,connected:!1},xr:null,scene:null,invalidate:(t=1)=>e(r(),t),advance:(e,n)=>t(e,n,r()),legacy:!1,linear:!1,flat:!1,controls:null,clock:new u.Clock,pointer:d,mouse:d,frameloop:"always",onPointerMissed:void 0,performance:{current:1,min:.5,max:1,debounce:200,regress:()=>{let e=r();i&&clearTimeout(i),e.performance.current!==e.performance.min&&f(e.performance.min),i=setTimeout(()=>f(r().performance.max),e.performance.debounce)}}
1,size:{width:0,height:0,top:0,left:0,updateStyle:!1},viewport:{initialDpr:0,dpr:0,width:0,height:0,top:0,left:0,aspect:0,distance:0,factor:0,getCurrentViewport:c},setEvents:e=>n(t=>({...t,events:{...t.events,...e}})),setSize:(e,t,i,o,l)=>{let u=r().camera,s={width:e,height:t,top:o||0,left:l||0,updateStyle:i};n(e=>({size:s,viewport:{...e.viewport,...c(u,a,s)}}))},setDpr:e=>n(t=>{let n=L(e);return{viewport:{...t.viewport,dpr:n,initialDpr:t.viewport.initialDpr||n}}}),setFrameloop:(e="always")=>{let t=r().clock;t.stop(),t.elapsedTime=0,"never"!==e&&(t.start(),t.elapsedTime=0),n(()=>({frameloop:e}))},previousRoot:void 0,internal:{active:!1,priority:0,frames:0,lastEvent:s.createRef(),interaction:[],hovered:new Map,subscribers:[],initialClick:[0,0],initialHits:[],capturedMap:new Map,subscribe:(e,t,n)=>{let i=r().internal;return i.priority=i.priority+(t>0?1:0),i.subscribers.push({ref:e,priority:t,store:n}),i.subscribers=i.subscribers.sort((e,t)=>e.priority-t.priority),()=>{let n=r().internal;null!=n&&n.subscribers&&(n.priority=n.priority-(t>0?1:0),n.subscribers=n.subscribers.filter(t=>t.ref!==e))}}}}}),r=n.getState(),i=r.size,o=r.viewport.dpr,a=r.camera;return n.subscribe(()=>{let{camera:e,size:t,viewport:r,gl:l,set:u}=n.getState();if(t.width!==i.width||t.height!==i.height||r.dpr!==o){var s;i=t,o=r.dpr,e.manual||(A(e)?(e.left=-(t.width/2),e.right=t.width/2,e.top=t.height/2,e.bottom=-(t.height/2)):e.aspect=t.width/t.height,e.updateProjectionMatrix(),e.updateMatrixWorld()),l.setPixelRatio(r.dpr);let n=null!=(s=t.updateStyle)?s:"undefined"!=typeof HTMLCanvasElement&&l.domElement instanceof HTMLCanvasElement;l.setSize(t.width,t.height,n)}e!==a&&(a=e,u(t=>({viewport:{...t.viewport,...t.viewport.getCurrentViewport(e)}})))}),n.subscribe(t=>e(t)),n},er=new Set,ei=new Set,eo=new Set;function ea(e,t){if(e.size)for(let{callback:n}of e.values())n(t)}function el(e,t){switch(e){case"before":return ea(er,t);case"after":return ea(ei,t);case"tail":return ea(eo,t)}}function eu(e,t,n){let a=t.clock.getDelta();for("never"===t.frameloop&&"number"==typeof e&&(a=e-t.clock.elapsedTime,t.clock.oldTime=t.clock.elapsedTime,t.clock.elapsedTime=e),i=t.internal.subscribers,r=0;r<i.length;r++)(o=i[r]).ref.current(o.store.getState(),a,n);return!t.internal.priority&&t.gl.render&&t.gl.render(t.scene,t.camera),t.internal.frames=Math.max(0,t.internal.frames-1),"always"===t.frameloop?1:t.internal.frames}function es(){let e=s.useContext(et);if(!e)throw Error("R3F: Hooks can only be used within the Canvas component!");return e}function ec(e=e=>e,t){return es()(e,t)}function ef(e,t=0){let n=es(),r=n.getState().internal.subscribe,i=T(e);return C(()=>r(i,t,n),[t,r,n]),null}let ed=new WeakMap;function ep(e,t){return function(n,...r){let i=ed.get(n);return i||(i=new n,ed.set(n,i)),e&&e(i),Promise.all(r.map(e=>new Promise((n,r)=>i.load(e,e=>{e.scene&&Object.assign(e,function(e){let t={nodes:{},materials:{}};return e&&e.traverse(e=>{e.name&&(t.nodes[e.name]=e),e.material&&!t.materials[e.material.name]&&(t.materials[e.material.name]=e.material)}),t}(e.scene)),n(e)},t,t=>r(Error(`Could not load ${e}: ${null==t?void 0:t.message}`))))))}}function eh(e,t,n,r){let i=Array.isArray(t)?t:[t],o=b(ep(n,r),[e,...i],{equal:U.equ});return Array.isArray(t)?o:o[0]}eh.preload=function(e,t,n){let r=Array.isArray(t)?t:[t];return w(ep(n),[e,...r])},eh.clear=function(e,t){return x([e,...Array.isArray(t)?t:[t]])};let em=new Map,{invalidate:ev,advance:eg}=function(e){let t,n,r,i=!1,o=!1;function a(l){for(let s of(n=requestAnimationFrame(a),i=!0,t=0,el("before",l),o=!0,e.values())
1){var u;(r=s.store.getState()).internal.active&&("always"===r.frameloop||r.internal.frames>0)&&!(null!=(u=r.gl.xr)&&u.isPresenting)&&(t+=eu(l,r))}if(o=!1,el("after",l),0===t)return el("tail",l),i=!1,cancelAnimationFrame(n)}return{loop:a,invalidate:function t(n,r=1){var l;if(!n)return e.forEach(e=>t(e.store.getState(),r));null!=(l=n.gl.xr)&&l.isPresenting||!n.internal.active||"never"===n.frameloop||(r>1?n.internal.frames=Math.min(60,n.internal.frames+r):o?n.internal.frames=2:n.internal.frames=1,i||(i=!0,requestAnimationFrame(a)))},advance:function(t,n=!0,r,i){if(n&&el("before",t),r)eu(t,r,i);else for(let n of e.values())eu(t,n.store.getState());n&&el("after",t)}}}(em),{reconciler:ey,applyProps:eb}=function(e,t){function n(e,{args:t=[],attach:n,...r},i){let o,a=`${e[0].toUpperCase()}${e.slice(1)}`;if("primitive"===e){if(void 0===r.object)throw Error("R3F: Primitives without 'object' are invalid!");o=D(r.object,{type:e,root:i,attach:n,primitive:!0})}else{let r=E[a];if(!r)throw Error(`R3F: ${a} is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively`);if(!Array.isArray(t))throw Error("R3F: The args prop must be an array!");o=D(new r(...t),{type:e,root:i,attach:n,memoizedProps:{args:t}})}return void 0===o.__r3f.attach&&(o instanceof u.BufferGeometry?o.__r3f.attach="geometry":o instanceof u.Material&&(o.__r3f.attach="material")),"inject"!==a&&G(o,r),o}function r(e,t){let n=!1;if(t){var r,i;null!=(r=t.__r3f)&&r.attach?W(e,t,t.__r3f.attach):t.isObject3D&&e.isObject3D&&(e.add(t),n=!0),n||null==(i=e.__r3f)||i.objects.push(t),t.__r3f||D(t,{}),t.__r3f.parent=e,Y(t),Q(t)}}function i(e,t,n){let r=!1;if(t){var i,o;if(null!=(i=t.__r3f)&&i.attach)W(e,t,t.__r3f.attach);else if(t.isObject3D&&e.isObject3D){t.parent=e,t.dispatchEvent({type:"added"}),e.dispatchEvent({type:"childadded",child:t});let i=e.children.filter(e=>e!==t),o=i.indexOf(n);e.children=[...i.slice(0,o),t,...i.slice(o)],r=!0}r||null==(o=e.__r3f)||o.objects.push(t),t.__r3f||D(t,{}),t.__r3f.parent=e,Y(t),Q(t)}}function o(e,t,n=!1){e&&[...e].forEach(e=>a(t,e,n))}function a(e,t,n){if(t){var r,i,a,l,u;t.__r3f&&(t.__r3f.parent=null),null!=(r=e.__r3f)&&r.objects&&(e.__r3f.objects=e.__r3f.objects.filter(e=>e!==t)),null!=(i=t.__r3f)&&i.attach?Z(e,t,t.__r3f.attach):t.isObject3D&&e.isObject3D&&(e.remove(t),null!=(l=t.__r3f)&&l.root&&function(e,t){let{internal:n}=e.getState();n.interaction=n.interaction.filter(e=>e!==t),n.initialHits=n.initialHits.filter(e=>e!==t),n.hovered.forEach((e,r)=>{(e.eventObject===t||e.object===t)&&n.hovered.delete(r)}),n.capturedMap.forEach((e,r)=>{K(n.capturedMap,t,e,r)})}(F(t),t));let s=null==(a=t.__r3f)?void 0:a.primitive,c=!s&&(void 0===n?null!==t.dispose:n);if(s||(o(null==(u=t.__r3f)?void 0:u.objects,t,c),o(t.children,t,c)),delete t.__r3f,c&&t.dispose&&"Scene"!==t.type){let e=()=>{try{t.dispose()}catch(e){}};"undefined"==typeof IS_REACT_ACT_ENVIRONMENT?(0,h.unstable_scheduleCallback)(h.unstable_IdlePriority,e):e()}Q(e)}}let l=()=>console.warn("Text is not allowed in the R3F tree! This could be stray whitespace or characters.");return{reconciler:p()({createInstance:n,removeChild:a,appendChild:r,appendInitialChild:r,insertBefore:i,supportsMutation:!0,isPrimaryRenderer:!1,supportsPersistence:!1,supportsHydration:!1,noTimeout:-1,appendChildToContainer:(e,t)=>{if(!t)return;let n=e.getState().scene;n.__r3f&&(n.__r3f.root=e,r(n,t))},removeChildFromContainer:(e,t)=>{t&&a(e.getState().scene,t)},insertInContainerBefore:(e,t,n)=>{if(!t||!n)return;let r=e.getState().scene;r.__r3f&&i(r,t,n)},getRootHostContext:()=>null,getChildHostContext:e=>e,finalizeInitialChildren(e){var t;return!!(null!=(t=null==e?void 0:e.__r3f)?t:{}).handlers},prepareUpdate(e,t,n,r){var i;if((null!=(i=null==e?void 0:e.__r3f)?i:{}).primitive&&r.object&&r.object!==e)return[!0];{let{args:t=[],children:i,...o}=r,{args:a=[],children:l,...u}=n;if(!Array.isArray(t))throw Error("R3F: the args prop must be an array!");if(t.some((e,t)=>e!==a[t]))return[!0];let s=q(e,o,u,!0);return s.changes.length?[!1,s]:null}},commitUpdate(e,[t,i],o,l,u,s){t?function(e,t,i,o){var l;let u=null==(l=e.__r3f)?void 0:l.parent;if(!u)return;let s=n(t,i,e.__r3f.root);if(e.children){for(let t of e.children)t.__r3f&&r(s,t);e.children=e.children.filter(e=>!e.__r3f)}
1e.__r3f.objects.forEach(e=>r(s,e)),e.__r3f.objects=[],e.__r3f.autoRemovedBeforeAppend||a(u,e),s.parent&&(s.__r3f.autoRemovedBeforeAppend=!0),r(u,s),s.raycast&&s.__r3f.eventCount&&F(s).getState().internal.interaction.push(s),[o,o.alternate].forEach(e=>{null!==e&&(e.stateNode=s,e.ref&&("function"==typeof e.ref?e.ref(s):e.ref.current=s))})}(e,o,u,s):G(e,i)},commitMount(e,t,n,r){var i;let o=null!=(i=e.__r3f)?i:{};e.raycast&&o.handlers&&o.eventCount&&F(e).getState().internal.interaction.push(e)},getPublicInstance:e=>e,prepareForCommit:()=>null,preparePortalMount:e=>D(e.getState().scene),resetAfterCommit:()=>{},shouldSetTextContent:()=>!1,clearContainer:()=>!1,hideInstance(e){var t;let{attach:n,parent:r}=null!=(t=e.__r3f)?t:{};n&&r&&Z(r,e,n),e.isObject3D&&(e.visible=!1),Q(e)},unhideInstance(e,t){var n;let{attach:r,parent:i}=null!=(n=e.__r3f)?n:{};r&&i&&W(i,e,r),(e.isObject3D&&null==t.visible||t.visible)&&(e.visible=!0),Q(e)},createTextInstance:l,hideTextInstance:l,unhideTextInstance:l,getCurrentEventPriority:()=>t?t():c.DefaultEventPriority,beforeActiveInstanceBlur:()=>{},afterActiveInstanceBlur:()=>{},detachDeletedInstance:()=>{},now:"undefined"!=typeof performance&&U.fun(performance.now)?performance.now:U.fun(Date.now)?Date.now:()=>0,scheduleTimeout:U.fun(setTimeout)?setTimeout:void 0,cancelTimeout:U.fun(clearTimeout)?clearTimeout:void 0}),applyProps:G}}(0,function(){var e;let t="undefined"!=typeof self&&self||"undefined"!=typeof window&&window;if(!t)return c.DefaultEventPriority;switch(null==(e=t.event)?void 0:e.type){case"click":case"contextmenu":case"dblclick":case"pointercancel":case"pointerdown":case"pointerup":return c.DiscreteEventPriority;case"pointermove":case"pointerout":case"pointerover":case"pointerenter":case"pointerleave":case"wheel":return c.ContinuousEventPriority;default:return c.DefaultEventPriority}}),ew={objects:"shallow",strict:!1},ex=(e,t)=>{let n="function"==typeof e?e(t):e;return ee(n)?n:new u.WebGLRenderer({powerPreference:"high-performance",canvas:t,antialias:!0,alpha:!0,...e})};function eS(e){let t,n;let r=em.get(e),i=null==r?void 0:r.fiber,o=null==r?void 0:r.store;r&&console.warn("R3F.createRoot should only be called once!");let a="function"==typeof reportError?reportError:console.error,l=o||en(ev,eg),s=i||ey.createContainer(l,c.ConcurrentRoot,null,!1,null,"",a,null);r||em.set(e,{fiber:s,store:l});let f=!1;return{configure(r={}){var i,o;let{gl:a,size:s,scene:c,events:d,onCreated:p,shadows:h=!1,linear:m=!1,flat:v=!1,legacy:g=!1,orthographic:y=!1,frameloop:b="always",dpr:w=[1,2],performance:x,raycaster:S,camera:_,onPointerMissed:E}=r,M=l.getState(),P=M.gl;M.gl||M.set({gl:P=ex(a,e)});let A=M.raycaster;A||M.set({raycaster:A=new u.Raycaster});let{params:O,...C}=S||{};if(U.equ(C,A,ew)||eb(A,{...C}),U.equ(O,A.params,ew)||eb(A,{params:{...A.params,...O}}),!M.camera||M.camera===n&&!U.equ(n,_,ew)){n=_;let e=_ instanceof u.Camera,t=e?_:y?new u.OrthographicCamera(0,0,0,0,.1,1e3):new u.PerspectiveCamera(75,0,.1,1e3);e||(t.position.z=5,_&&(eb(t,_),("aspect"in _||"left"in _||"right"in _||"bottom"in _||"top"in _)&&(t.manual=!0,t.updateProjectionMatrix())),M.camera||null!=_&&_.rotation||t.lookAt(0,0,0)),M.set({camera:t}),A.camera=t}if(!M.scene){let e;c instanceof u.Scene?e=c:(e=new u.Scene,c&&eb(e,c)),M.set({scene:D(e)})}if(!M.xr){let e=(e,t)=>{let n=l.getState();"never"!==n.frameloop&&eg(e,!0,n,t)},t=()=>{let t=l.getState();t.gl.xr.enabled=t.gl.xr.isPresenting,t.gl.xr.setAnimationLoop(t.gl.xr.isPresenting?e:null),t.gl.xr.isPresenting||ev(t)},n={connect(){let e=l.getState().gl;e.xr.addEventListener("sessionstart",t),e.xr.addEventListener("sessionend",t)},disconnect(){let e=l.getState().gl;e.xr.removeEventListener("sessionstart",t),e.xr.removeEventListener("sessionend",t)}};"function"==typeof(null==(i=P.xr)?void 0:i.addEventListener)&&n.connect(),M.set({xr:n})}if(P.shadowMap){let e=P.shadowMap.enabled,t=P.shadowMap.type;if(P.shadowMap.enabled=!!h,U.boo(h))P.shadowMap.type=u.PCFSoftShadowMap;else if(U.str(h)){let e={basic:u.BasicShadowMap,percentage:u.PCFShadowMap,soft:u.PCFSoftShadowMap,variance:u.VSMShadowMap};P.shadowMap.type=null!=(o=e[h])?o:u.PCFSoftShadowMap}else U.obj(h)&&Object.assign(P.shadowMap,h);(e!==P.shadowMap.enabled||t!==P.shadowMap.type)&&(P.shadowMap.needsUpdate=!0)}let T=k();T&&("enabled"in T?T.enabled=!g:"legacyMode"in T&&(T.legacyMode=g)),f||eb(P,{outputEncoding:m?3e3:3001,toneMapping:v?u.NoToneMapping:u.ACESFilmicToneMapping}),M.legacy!==g&&M.set(()=>({legacy:g})),M.linear!==m&&M.set(()=>({linear:m})),M.flat!==v&&M.set(()=>({flat:v})),!a||U.fun(a)||ee(a)||U.equ(a,P,ew)||eb(P,a),d&&!M.events.handlers&&M.set({events:d(l)});let z=function(e,t){let n="undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement;if(t){let{width:e,height:r,top:i,left:o,updateStyle:a=n}=t;return{width:e,height:r,top:i,left:o,updateStyle:a}}if("undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement&&e.parentElement){let{width:t,height:r,top:i,left:o}=e.parentElement.getBoundingClientRect();return{width:t,height:r,top:i,left:o,updateStyle:n}}return"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?{width:e.width,height:e.height,top:0,left:0,updateStyle:n}:{width:0,height:0,top:0,left:0}}(e,s);return U.equ(z,M.size,ew)||M.setSize(z.width,z.height,z.updateStyle,z.top,z.left),w&&M.viewport.dpr!==L(w)&&M.setDpr(w),M.frameloop!==b&&M.setFrameloop(b),M.onPointerMissed||M.set({onPointerMissed:E}),x&&!U.equ(x,M.performance,ew)&&M.set(e=>({performance:{...e.performance,...x}})),t=p,f=!0,this},render(n){return f||this.configure(),ey.updateContainer((0,S.jsx)(e_,{store:l,children:n,onCreated:t,rootElement:e}),s,null,()=>void 0),l},unmount(){eE(e)}}}function e_({store:e,children:t,onCreated:n,rootElement:r}){return C(()=>{let t=e.getState();t.set(e=>({internal:{...e.internal,active:!0}})),n&&n(t),e.getState().events.connected||null==t.events.connect||t.events.connect(r)},[]),(0,S.jsx)(et.Provider,{value:e,children:t})}function eE(e,t){let n=em.get(e),r=null==n?void 0:n.fiber;if(r){let i=null==n?void 0:n.store.getState();i&&(i.internal.active=!1),ey.updateContainer(null,r,null,()=>{i&&setTimeout(()=>{try{var n,r,o,a;null==i.events.disconnect||i.events.disconnect(),null==(n=i.gl)||null==(r=n.renderLists)||null==r.dispose||r.dispose(),null==(o=i.gl)||null==o.forceContextLoss||o.forceContextLoss(),null!=(a=i.gl)&&a.xr&&i.xr.disconnect(),function(e){for(let t in e.dispose&&"Scene"!==e.type&&e.dispose(),e)null==t.dispose||t.dispose(),delete e[t]}(i),em.delete(e),t&&t(e)}catch(e){}},500)})}}ey.injectIntoDevTools({bundleType:0,rendererPackageName:"@react-three/fiber",version:s.version}),s.unstable_act},33149:function(e,t,n){"use strict";n.d(t,{Xz:function(){return O}});var r,i,o=n(68842),a=n(2265),l=n(97776),u=n(94692),s=n.n(u);let c=["x","y","top","bottom","left","right","width","height"],f=(e,t)=>c.every(n=>e[n]===t[n]);var d=Object.defineProperty,p=Object.defineProperties,h=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,y=(e,t,n)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,b=(e,t)=>{for(var n in t||(t={}
1))v.call(t,n)&&y(e,n,t[n]);if(m)for(var n of m(t))g.call(t,n)&&y(e,n,t[n]);return e},w=(e,t)=>p(e,h(t));function x(e){try{return Object.defineProperties(e,{_currentRenderer:{get:()=>null,set(){}},_currentRenderer2:{get:()=>null,set(){}}})}catch(t){return e}}"undefined"!=typeof window&&((null==(r=window.document)?void 0:r.createElement)||(null==(i=window.navigator)?void 0:i.product)==="ReactNative")?a.useLayoutEffect:a.useEffect;let S=console.error;console.error=function(){let e=[...arguments].join("");if((null==e?void 0:e.startsWith("Warning:"))&&e.includes("useContext")){console.error=S;return}return S.apply(this,arguments)};let _=x(a.createContext(null));class E extends a.Component{render(){return a.createElement(_.Provider,{value:this._reactInternals},this.props.children)}}var M=n(57437);n(95592),n(31543),n(8276);let P={onClick:["click",!1],onContextMenu:["contextmenu",!1],onDoubleClick:["dblclick",!1],onWheel:["wheel",!0],onPointerDown:["pointerdown",!0],onPointerUp:["pointerup",!0],onPointerLeave:["pointerleave",!0],onPointerMove:["pointermove",!0],onPointerCancel:["pointercancel",!0],onLostPointerCapture:["lostpointercapture",!0]};function k(e){let{handlePointer:t}=(0,o.c)(e);return{priority:1,enabled:!0,compute(e,t,n){t.pointer.set(e.offsetX/t.size.width*2-1,-(e.offsetY/t.size.height*2)+1),t.raycaster.setFromCamera(t.pointer,t.camera)},connected:void 0,handlers:Object.keys(P).reduce((e,n)=>({...e,[n]:t(n)}),{}),update:()=>{var t;let{events:n,internal:r}=e.getState();null!=(t=r.lastEvent)&&t.current&&n.handlers&&n.handlers.onPointerMove(r.lastEvent.current)},connect:t=>{var n;let{set:r,events:i}=e.getState();null==i.disconnect||i.disconnect(),r(e=>({events:{...e.events,connected:t}})),Object.entries(null!=(n=i.handlers)?n:[]).forEach(([e,n])=>{let[r,i]=P[e];t.addEventListener(r,n,{passive:i})})},disconnect:()=>{let{set:t,events:n}=e.getState();if(n.connected){var r;Object.entries(null!=(r=n.handlers)?r:[]).forEach(([e,t])=>{if(n&&n.connected instanceof HTMLElement){let[r]=P[e];n.connected.removeEventListener(r,t)}}),t(e=>({events:{...e.events,connected:void 0}}))}}}}let A=a.forwardRef(function({children:e,fallback:t,resize:n,style:r,gl:i,events:u=k,eventSource:c,eventPrefix:d,shadows:p,linear:h,flat:m,legacy:v,orthographic:g,frameloop:y,dpr:S,performance:P,raycaster:A,camera:O,scene:C,onPointerMissed:T,onCreated:z,...j},I){a.useMemo(()=>(0,o.e)(l),[]);let R=function(){let e=function(){let e=function(){let e=a.useContext(_);if(null===e)throw Error("its-fine: useFiber must be called within a <FiberProvider />!");let t=a.useId();return a.useMemo(()=>{for(let n of[e,null==e?void 0:e.alternate]){if(!n)continue;let e=function e(t,n,r){if(!t)return;if(!0===r(t))return t;let i=n?t.return:t.child;for(;i;){let t=e(i,n,r);if(t)return t;i=n?null:i.sibling}}(n,!1,e=>{let n=e.memoizedState;for(;n;){if(n.memoizedState===t)return!0;n=n.next}});if(e)return e}},[e,t])}(),[t]=a.useState(()=>new Map);t.clear();let n=e;for(;n;){if(n.type&&"object"==typeof n.type){let e=void 0===n.type._context&&n.type.Provider===n.type?n.type:n.type._context;e&&e!==_&&!t.has(e)&&t.set(e,a.useContext(x(e)))}n=n.return}return t}();return a.useMemo(()=>Array.from(e.keys()).reduce((t,n)=>r=>a.createElement(t,null,a.createElement(n.Provider,w(b({},r),{value:e.get(n)}))),e=>a.createElement(E,b({},e))),[e])}(),[N,L]=function(e){var t;let{debounce:n,scroll:r,polyfill:i,offsetSize:o}=void 0===e?{debounce:0,scroll:!1,offsetSize:!1}:e,l=i||("undefined"==typeof window?class{}:window.ResizeObserver);if(!l)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[u,c]=(0,a.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),d=(0,a.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:u}),p=n?"number"==typeof n?n:n.scroll:null,h=n?"number"==typeof n?n:n.resize:null,m=(0,a.useRef)(!1);(0,a.useEffect)(()=>(m.current=!0,()=>void(m.current=!1)));let[v,g,y]=(0,a.useMemo)(()=>{let e=()=>{if(!d.current.element)return;let{left:e,top:t,width:n,height:r,bottom:i,right:a,x:l,y:u}=d.current.element.getBoundingClientRect(),s={left:e,top:t,width:n,height:r,bottom:i,right:a,x:l,y:u};d.current.element instanceof HTMLElement&&o&&(s.height=d.current.element.offsetHeight,s.width=d.current.element.offsetWidth),Object.freeze(s),m.current&&!f(d.current.lastBounds,s)&&c(d.current.lastBounds=s)};return[e,h?s()(e,h):e,p?s()(e,p):e]},[c,o,p,h]);
1function b(){d.current.scrollContainers&&(d.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",y,!0)),d.current.scrollContainers=null),d.current.resizeObserver&&(d.current.resizeObserver.disconnect(),d.current.resizeObserver=null)}function w(){d.current.element&&(d.current.resizeObserver=new l(y),d.current.resizeObserver.observe(d.current.element),r&&d.current.scrollContainers&&d.current.scrollContainers.forEach(e=>e.addEventListener("scroll",y,{capture:!0,passive:!0})))}return t=!!r,(0,a.useEffect)(()=>{if(t)return window.addEventListener("scroll",y,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",y,!0)},[y,t]),(0,a.useEffect)(()=>(window.addEventListener("resize",g),()=>void window.removeEventListener("resize",g)),[g]),(0,a.useEffect)(()=>{b(),w()},[r,y,g]),(0,a.useEffect)(()=>b,[]),[e=>{e&&e!==d.current.element&&(b(),d.current.element=e,d.current.scrollContainers=function e(t){let n=[];if(!t||t===document.body)return n;let{overflow:r,overflowX:i,overflowY:o}=window.getComputedStyle(t);return[r,i,o].some(e=>"auto"===e||"scroll"===e)&&n.push(t),[...n,...e(t.parentElement)]}(e),w())},u,v]}({scroll:!0,debounce:{scroll:50,resize:0},...n}),B=a.useRef(null),F=a.useRef(null);a.useImperativeHandle(I,()=>B.current);let U=(0,o.u)(T),[D,H]=a.useState(!1),[V,W]=a.useState(!1);if(D)throw D;if(V)throw V;let Z=a.useRef(null);(0,o.a)(()=>{let t=B.current;L.width>0&&L.height>0&&t&&(Z.current||(Z.current=(0,o.b)(t)),Z.current.configure({gl:i,events:u,shadows:p,linear:h,flat:m,legacy:v,orthographic:g,frameloop:y,dpr:S,performance:P,raycaster:A,camera:O,scene:C,size:L,onPointerMissed:(...e)=>null==U.current?void 0:U.current(...e),onCreated:e=>{null==e.events.connect||e.events.connect(c?(0,o.i)(c)?c.current:c:F.current),d&&e.setEvents({compute:(e,t)=>{let n=e[d+"X"],r=e[d+"Y"];t.pointer.set(n/t.size.width*2-1,-(r/t.size.height*2)+1),t.raycaster.setFromCamera(t.pointer,t.camera)}}),null==z||z(e)}}),Z.current.render((0,M.jsx)(R,{children:(0,M.jsx)(o.E,{set:W,children:(0,M.jsx)(a.Suspense,{fallback:(0,M.jsx)(o.B,{set:H}),children:e})})})))}),a.useEffect(()=>{let e=B.current;if(e)return()=>(0,o.d)(e)},[]);let q=c?"none":"auto";return(0,M.jsx)("div",{ref:F,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",pointerEvents:q,...r},...j,children:(0,M.jsx)("div",{ref:N,style:{width:"100%",height:"100%"},children:(0,M.jsx)("canvas",{ref:B,style:{display:"block"},children:t})})})}),O=a.forwardRef(function(e,t){return(0,M.jsx)(E,{children:(0,M.jsx)(A,{...e,ref:t})})})},59540:function(e,t){"use strict";/**
2 * @license React
3 * scheduler.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,i=e[r];if(0<o(i,t))e[r]=t,e[n]=i,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,i=e.length,a=i>>>1;r<a;){var l=2*(r+1)-1,u=e[l],s=l+1,c=e[s];if(0>o(u,n))s<i&&0>o(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[l]=n,r=l);else if(s<i&&0>o(c,n))e[r]=c,e[s]=n,r=s;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a,l=performance;t.unstable_now=function(){return l.now()}}else{var u=Date,s=u.now();t.unstable_now=function(){return u.now()-s}}var c=[],f=[],d=1,p=null,h=3,m=!1,v=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(f);null!==t;){if(null===t.callback)i(f);else if(t.startTime<=e)i(f),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(f)}}function S(e){if(g=!1,x(e),!v){if(null!==r(c))v=!0,j(_);else{var t=r(f);null!==t&&I(S,t.startTime-e)}}}function _(e,n){v=!1,g&&(g=!1,b(P),P=-1),m=!0;var o=h;try{for(x(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!O());){var a=p.callback;if("function"==typeof a){p.callback=null,h=p.priorityLevel;var l=a(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?p.callback=l:p===r(c)&&i(c),x(n)}else i(c);p=r(c)}if(null!==p)var u=!0;else{var s=r(f);null!==s&&I(S,s.startTime-n),u=!1}return u}finally{p=null,h=o,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,M=null,P=-1,k=5,A=-1;function O(){return!(t.unstable_now()-A<k)}function C(){if(null!==M){var e=t.unstable_now();A=e;var n=!0;try{n=M(!0,e)}finally{n?a():(E=!1,M=null)}}else E=!1}if("function"==typeof w)a=function(){w(C)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,z=T.port2;T.port1.onmessage=C,a=function(){z.postMessage(null)}}else a=function(){y(C,0)};function j(e){M=e,E||(E=!0,a())}function I(e,n){P=y(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||m||(v=!0,j(_))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=o+l,e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:l,sortIndex:-1},o>a?(e.sortIndex=o,n(f,e),null===r(c)&&e===r(f)&&(g?(b(P),P=-1):g=!0,I(S,o-a))):(e.sortIndex=l,n(c,e),v||m||(v=!0,j(_))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},8276:function(e,t,n){"use strict";e.exports=n(59540)},94692:function(e){function t(e,t,n){function r(){var s=Date.now()-l;s<t&&s>=0?i=setTimeout(r,t-s):(i=null,n||(u=e.apply(a,o),a=o=null))}null==t&&(t=100);var i,o,a,l,u,s=function(){a=this,o=arguments,l=Date.now();var s=n&&!i;
9return i||(i=setTimeout(r,t)),s&&(u=e.apply(a,o),a=o=null),u};return s.clear=function(){i&&(clearTimeout(i),i=null)},s.flush=function(){i&&(u=e.apply(a,o),a=o=null,clearTimeout(i),i=null)},s}t.debounce=t,e.exports=t},5464:function(e){"use strict";function t(e,t,c){c=c||2;var f,h,v,g,y,b,w,x=t&&t.length,S=x?t[0]*c:e.length,_=n(e,0,S,c,!0),E=[];if(!_||_.next===_.prev)return E;if(x&&(_=function(e,t,o,u){var s,c,f,h,m,v=[];for(s=0,c=t.length;s<c;s++)f=t[s]*u,h=s<c-1?t[s+1]*u:e.length,(m=n(e,f,h,u,!1))===m.next&&(m.steiner=!0),v.push(function(e){var t=e,n=e;do(t.x<n.x||t.x===n.x&&t.y<n.y)&&(n=t),t=t.next;while(t!==e);return n}(m));for(v.sort(i),s=0;s<v.length;s++)o=function(e,t){var n=function(e,t){var n,r,i,o=t,u=e.x,s=e.y,c=-1/0;do{if(s<=o.y&&s>=o.next.y&&o.next.y!==o.y){var f=o.x+(s-o.y)*(o.next.x-o.x)/(o.next.y-o.y);if(f<=u&&f>c&&(c=f,i=o.x<o.next.x?o:o.next,f===u))return i}o=o.next}while(o!==t);if(!i)return null;var p,h=i,m=i.x,v=i.y,g=1/0;o=i;do u>=o.x&&o.x>=m&&u!==o.x&&a(s<v?u:c,s,m,v,s<v?c:u,s,o.x,o.y)&&(p=Math.abs(s-o.y)/(u-o.x),d(o,e)&&(p<g||p===g&&(o.x>i.x||o.x===i.x&&(n=i,r=o,0>l(n.prev,n,r.prev)&&0>l(r.next,n,n.next))))&&(i=o,g=p)),o=o.next;while(o!==h);return i}(e,t);if(!n)return t;var i=p(n,e);return r(i,i.next),r(n,n.next)}(v[s],o);return o}(e,t,_,c)),e.length>80*c){f=v=e[0],h=g=e[1];for(var M=c;M<S;M+=c)y=e[M],b=e[M+1],y<f&&(f=y),b<h&&(h=b),y>v&&(v=y),b>g&&(g=b);w=0!==(w=Math.max(v-f,g-h))?32767/w:0}return function e(t,n,i,c,f,h,v){if(t){!v&&h&&function(e,t,n,r){var i=e;do 0===i.z&&(i.z=o(i.x,i.y,t,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,function(e){var t,n,r,i,o,a,l,u,s=1;do{for(n=e,e=null,o=null,a=0;n;){for(a++,r=n,l=0,t=0;t<s&&(l++,r=r.nextZ);t++);for(u=s;l>0||u>0&&r;)0!==l&&(0===u||!r||n.z<=r.z)?(i=n,n=n.nextZ,l--):(i=r,r=r.nextZ,u--),o?o.nextZ=i:e=i,i.prevZ=o,o=i;n=r}o.nextZ=null,s*=2}while(a>1)}(i)}(t,c,f,h);for(var g,y,b=t;t.prev!==t.next;){if(g=t.prev,y=t.next,h?function(e,t,n,r){var i=e.prev,u=e.next;if(l(i,e,u)>=0)return!1;for(var s=i.x,c=e.x,f=u.x,d=i.y,p=e.y,h=u.y,m=s<c?s<f?s:f:c<f?c:f,v=d<p?d<h?d:h:p<h?p:h,g=s>c?s>f?s:f:c>f?c:f,y=d>p?d>h?d:h:p>h?p:h,b=o(m,v,t,n,r),w=o(g,y,t,n,r),x=e.prevZ,S=e.nextZ;x&&x.z>=b&&S&&S.z<=w;){if(x.x>=m&&x.x<=g&&x.y>=v&&x.y<=y&&x!==i&&x!==u&&a(s,d,c,p,f,h,x.x,x.y)&&l(x.prev,x,x.next)>=0||(x=x.prevZ,S.x>=m&&S.x<=g&&S.y>=v&&S.y<=y&&S!==i&&S!==u&&a(s,d,c,p,f,h,S.x,S.y)&&l(S.prev,S,S.next)>=0))return!1;S=S.nextZ}for(;x&&x.z>=b;){if(x.x>=m&&x.x<=g&&x.y>=v&&x.y<=y&&x!==i&&x!==u&&a(s,d,c,p,f,h,x.x,x.y)&&l(x.prev,x,x.next)>=0)return!1;x=x.prevZ}for(;S&&S.z<=w;){if(S.x>=m&&S.x<=g&&S.y>=v&&S.y<=y&&S!==i&&S!==u&&a(s,d,c,p,f,h,S.x,S.y)&&l(S.prev,S,S.next)>=0)return!1;S=S.nextZ}return!0}(t,c,f,h):function(e){var t=e.prev,n=e.next;if(l(t,e,n)>=0)return!1;for(var r=t.x,i=e.x,o=n.x,u=t.y,s=e.y,c=n.y,f=r<i?r<o?r:o:i<o?i:o,d=u<s?u<c?u:c:s<c?s:c,p=r>i?r>o?r:o:i>o?i:o,h=u>s?u>c?u:c:s>c?s:c,m=n.next;m!==t;){if(m.x>=f&&m.x<=p&&m.y>=d&&m.y<=h&&a(r,u,i,s,o,c,m.x,m.y)&&l(m.prev,m,m.next)>=0)return!1;m=m.next}return!0}(t)){n.push(g.i/i|0),n.push(t.i/i|0),n.push(y.i/i|0),m(t),t=y.next,b=y.next;continue}if((t=y)===b){v?1===v?e(t=function(e,t,n){var i=e;do{var o=i.prev,a=i.next.next;!u(o,a)&&s(o,i,i.next,a)&&d(o,a)&&d(a,o)&&(t.push(o.i/n|0),t.push(i.i/n|0),t.push(a.i/n|0),m(i),m(i.next),i=e=a),i=i.next}while(i!==e);return r(i)}(r(t),n,i),n,i,c,f,h,2):2===v&&function(t,n,i,o,a,c){var f=t;do{for(var h,m,v=f.next.next;v!==f.prev;){if(f.i!==v.i&&(h=f,m=v,h.next.i!==m.i&&h.prev.i!==m.i&&!function(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&s(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(h,m)&&(d(h,m)&&d(m,h)&&function(e,t){var n=e,r=!1,i=(e.x+t.x)/2,o=(e.y+t.y)/2;do n.y>o!=n.next.y>o&&n.next.y!==n.y&&i<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next;while(n!==e);return r}(h,m)&&(l(h.prev,h,m.prev)||l(h,m.prev,m))||u(h,m)&&l(h.prev,h,h.next)>0&&l(m.prev,m,m.next)>0))){var g=p(f,v);f=r(f,f.next),g=r(g,g.next),e(f,n,i,o,a,c,0),e(g,n,i,o,a,c,0);return}v=v.next}f=f.next}while(f!==t)}(t,n,i,c,f,h):e(r(t),n,i,c,f,h,1);break}}}}(_,E,c,f,h,w,0),E}function n(e,t,n,r,i){var o,a;if(i===g(e,t,n,r)>0)for(o=t;o<n;o+=r)a=h(o,e[o],e[o+1],a);else for(o=n-r;o>=t;o-=r)a=h(o,e[o],e[o+1],a);return a&&u(a,a.next)&&(m(a),a=a.next),a}function r(e,t){if(!e)return e;t||(t=e);var n,r=e;do if(n=!1,!r.steiner&&(u(r,r.next)||0===l(r.prev,r,r.next))){if(m(r),(r=t=r.prev)===r.next)break;n=!0}else r=r.next;while(n||r!==t);return t}function i(e,t){return e.x-t.x}function o(e,t,n,r,i){return(e=((e=((e=((e=((e=(e-n)*i|0)|e<<8)&16711935)|e<<4)&252645135)|e<<2)&858993459)|e<<1)&1431655765)|(t=((t=((t=((t=((t=(t-r)*i|0)|t<<8)&16711935)|t<<4)&252645135)|t<<2)&858993459)|t<<1)&1431655765)<<1}function a(e,t,n,r,i,o,a,l){return(i-a)*(t-l)>=(e-a)*(o-l)&&(e-a)*(r-l)>=(n-a)*(t-l)&&(n-a)*(o-l)>=(i-a)*(r-l)}function l(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function u(e,t){return e.x===t.x&&e.y===t.y}function s(e,t,n,r){var i=f(l(e,t,n)),o=f(l(e,t,r)),a=f(l(n,r,e)),u=f(l(n,r,t));return!!(i!==o&&a!==u||0===i&&c(e,n,t)||0===o&&c(e,r,t)||0===a&&c(n,e,r)||0===u&&c(n,t,r))}
9function c(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function f(e){return e>0?1:e<0?-1:0}function d(e,t){return 0>l(e.prev,e,e.next)?l(e,t,e.next)>=0&&l(e,e.prev,t)>=0:0>l(e,t,e.prev)||0>l(e,e.next,t)}function p(e,t){var n=new v(e.i,e.x,e.y),r=new v(t.i,t.x,t.y),i=e.next,o=t.prev;return e.next=t,t.prev=e,n.next=i,i.prev=n,r.next=n,n.prev=r,o.next=r,r.prev=o,r}function h(e,t,n,r){var i=new v(e,t,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function m(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function v(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function g(e,t,n,r){for(var i=0,o=t,a=n-r;o<n;o+=r)i+=(e[a]-e[o])*(e[o+1]+e[a+1]),a=o;return i}e.exports=t,e.exports.default=t,t.deviation=function(e,t,n,r){var i=t&&t.length,o=i?t[0]*n:e.length,a=Math.abs(g(e,0,o,n));if(i)for(var l=0,u=t.length;l<u;l++){var s=t[l]*n,c=l<u-1?t[l+1]*n:e.length;a-=Math.abs(g(e,s,c,n))}var f=0;for(l=0;l<r.length;l+=3){var d=r[l]*n,p=r[l+1]*n,h=r[l+2]*n;f+=Math.abs((e[d]-e[h])*(e[p+1]-e[d+1])-(e[d]-e[p])*(e[h+1]-e[d+1]))}return 0===a&&0===f?0:Math.abs((f-a)/a)},t.flatten=function(e){for(var t=e[0][0].length,n={vertices:[],holes:[],dimensions:t},r=0,i=0;i<e.length;i++){for(var o=0;o<e[i].length;o++)for(var a=0;a<t;a++)n.vertices.push(e[i][o][a]);i>0&&(r+=e[i-1].length,n.holes.push(r))}return n}},72034:function(e){var t;t=function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";var r=n(1),i=function(){function e(e,t,n){void 0===e&&(e=NaN),void 0===t&&(t=NaN),void 0===n&&(n=!1),this._minFPS=t,this._maxFPS=e,this._timeScale=1,this._currentTick=0,this._currentTime=0,this._tickDeltaTime=0,this._isRunning=!1,this._maxInterval=isNaN(this._minFPS)?NaN:1e3/this._minFPS,this._minInterval=isNaN(this._maxFPS)?NaN:1e3/this._maxFPS,this._onResume=new r.default,this._onPause=new r.default,this._onTick=new r.default,this._onTickOncePerFrame=new r.default,n||this.resume()}return e.prototype.updateOnce=function(e){e(this.currentTimeSeconds,this.tickDeltaTimeSeconds,this.currentTick)},e.prototype.resume=function(){this._isRunning||(this._isRunning=!0,this._lastTimeUpdated=this.getTimer(),this._onResume.dispatch(),this.animateOnce())},e.prototype.pause=function(){this._isRunning&&(this._isRunning=!1,this._onPause.dispatch(),window.cancelAnimationFrame(this._animationFrameHandle))},e.prototype.dispose=function(){this.pause(),this._onResume.removeAll(),this._onPause.removeAll(),this._onTick.removeAll()},Object.defineProperty(e.prototype,"currentTick",{get:function(){return this._currentTick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentTimeSeconds",{get:function(){return this._currentTime/1e3},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tickDeltaTimeSeconds",{get:function(){return this._tickDeltaTime/1e3},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timeScale",{get:function(){return this._timeScale},set:function(e){this._timeScale!==e&&(this._timeScale=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onResume",{get:function(){return this._onResume},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onPause",{get:function(){return this._onPause},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTick",{get:function(){return this._onTick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTickOncePerFrame",{get:function(){return this._onTickOncePerFrame},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isRunning",{get:function(){return this._isRunning},enumerable:!0,configurable:!0}),e.prototype.animateOnce=function(){var e=this;this._animationFrameHandle=window.requestAnimationFrame(function(){return e.onFrame()})},e.prototype.onFrame=function(){if(this._now=this.getTimer(),this._frameDeltaT
9ime=this._now-this._lastTimeUpdated,isNaN(this._minInterval)||this._frameDeltaTime>=this._minInterval){if(isNaN(this._maxInterval))this.update(this._frameDeltaTime*this._timeScale,!0),this._lastTimeUpdated=this._now;else for(this._interval=Math.min(this._frameDeltaTime,this._maxInterval);this._now>=this._lastTimeUpdated+this._interval;)this.update(this._interval*this._timeScale,this._now<=this._lastTimeUpdated+2*this._maxInterval),this._lastTimeUpdated+=this._interval}this._isRunning&&this.animateOnce()},e.prototype.update=function(e,t){void 0===t&&(t=!0),this._currentTick++,this._currentTime+=e,this._tickDeltaTime=e,this._onTick.dispatch(this.currentTimeSeconds,this.tickDeltaTimeSeconds,this.currentTick),t&&this._onTickOncePerFrame.dispatch(this.currentTimeSeconds,this.tickDeltaTimeSeconds,this.currentTick)},e.prototype.getTimer=function(){return Date.now()},e}();Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},function(e,t,n){var r;r=function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t){"use strict";var n=function(){function e(){this.functions=[]}return e.prototype.add=function(e){return -1===this.functions.indexOf(e)&&(this.functions.push(e),!0)},e.prototype.remove=function(e){var t=this.functions.indexOf(e);return t>-1&&(this.functions.splice(t,1),!0)},e.prototype.removeAll=function(){return this.functions.length>0&&(this.functions.length=0,!0)},e.prototype.dispatch=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.functions.concat().forEach(function(t){t.apply(void 0,e)})},Object.defineProperty(e.prototype,"numItems",{get:function(){return this.functions.length},enumerable:!0,configurable:!0}),e}();Object.defineProperty(t,"__esModule",{value:!0}),t.default=n}])},e.exports=r()}])},e.exports=t()},13810:function(e){e.exports=function(e,t,n,r){var i=0,o=0,a=(r=r||{}).step||1,l=r.maxTimeMS||8,u=r.probeElements||5e3;setTimeout(function r(){var s=Math.min(e.length,i+u),c=i,f=new Date;for(c=i;c<s;c+=a)t(e[c],c,e);c<e.length?(o+=new Date-f,u=Math.round((i=c)*l/o),setTimeout(r,0)):n(e)},0)}},64008:function(e,t){"use strict";/**
10 * @license React
11 * react-reconciler-constants.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */t.ConcurrentRoot=1,t.ContinuousEventPriority=4,t.DefaultEventPriority=16,t.DiscreteEventPriority=1},14185:function(e,t,n){/**
18 * @license React
19 * react-reconciler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */e.exports=function(e){"use strict";var t,r,i,o,a,l={},u=n(2265),s=n(83932),c=Object.assign;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,p=Symbol.for("react.element"),h=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),b=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),E=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var M=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var P=Symbol.iterator;function k(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}function A(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case m:return"Fragment";case h:return"Portal";case g:return"Profiler";case v:return"StrictMode";case x:return"Suspense";case S:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case b:return(e.displayName||"Context")+".Consumer";case y:return(e._context.displayName||"Context")+".Provider";case w:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case _:return null!==(t=e.displayName||null)?t:A(e.type)||"Memo";case E:t=e._payload,e=e._init;try{return A(e(t))}catch(e){}}return null}function O(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function C(e){if(O(e)!==e)throw Error(f(188))}function T(e){var t=e.alternate;if(!t){if(null===(t=O(e)))throw Error(f(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return C(i),e;if(o===r)return C(i),t;o=o.sibling}throw Error(f(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a)throw Error(f(189))}}if(n.alternate!==r)throw Error(f(190))}if(3!==n.tag)throw Error(f(188));return n.stateNode.current===n?e:t}function z(e){return null!==(e=T(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var n=e(t);if(null!==n)return n;t=t.sibling}return null}(e):null}var j,I=Array.isArray,R=e.getPublicInstance,N=e.getRootHostContext,L=e.getChildHostContext,B=e.prepareForCommit,F=e.resetAfterCommit,U=e.createInstance,D=e.appendInitialChild,H=e.finalizeInitialChildren,V=e.prepareUpdate,W=e.shouldSetTextContent,Z=e.createTextInstance,q=e.scheduleTimeout,$=e.cancelTimeout,G=e.noTimeout,Q=e.isPrimaryRenderer,Y=e.supportsMutation,X=e.supportsPersistence,K=e.supportsHydration,J=e.getInstanceFromNode,ee=e.preparePortalMount,et=e.getCurrentEventPriority,en=e.detachDeletedInstance,er=e.supportsMicrotasks,ei=e.scheduleMicrotask,eo=e.supportsTestSelectors,ea=e.findFiberRoot,el=e.getBoundingRect,eu=e.getTextContent,es=e.isHiddenSubtree,ec=e.matchAccessibilityRole,ef=e.setFocusIfFocusable,ed=e.setupIntersectionObserver,ep=e.appendChild,eh=e.appendChildToContainer,em=e.commitTextUpdate,ev=e.commitMount,eg=e.commitUpdate,ey=e.insertBefore,eb=e.insertInContainerBefore,ew=e.removeChild,ex=e.removeChildFromContainer,eS=e.resetTextContent,e_=e.hideInstance,eE=e.hideTextInstance,eM=e.unhideInstance,eP=e.unhideTextInstance,ek=e.clearContainer,eA=e.cloneInstance,eO=e.createContainerChildSet,eC=e.appendChildToContainerChildSet,eT=e.finalizeContainerChildren,ez=e.replaceContainerChildren,ej=e.cloneHiddenInstance,eI=e.cloneHiddenTextInstance,eR=e.canHydrateInstance,eN=e.canHydrateTextInstance,eL=e.canHydrateSuspenseInstance,eB=e.isSuspenseInstancePending,eF=e.isSuspenseInstanceFallback,eU=e.registerSuspenseInstanceRetry,eD=e.getNextHydratableSibling,eH=e.getFirstHydratableChild,eV=e.getFirstHydratableChildWithinContainer,eW=e.getFirstHydratableChildWithinSuspenseInstance,eZ=e.hydrateInstance,eq=e.hydrateTextInstance,e$=e.hydrateSuspenseInstance,eG=e.getNextHydratableInstanceAfterSuspenseInstance,eQ=e.commitHydratedContainer,eY=e.commitHydratedSuspenseInstance,eX=e.clearSuspenseBoundary,eK=e.clearSuspenseBoundaryFromContainer,eJ=e.shouldDeleteUnhydratedTailInstances,e0=e.didNotMatchHydratedContainerTextInstance,e1=e.didNotMatchHydratedTextInstance;function e2(e){if(void 0===j)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var e3=!1;function e5(e,t){if(!e||e3)return"";e3=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t){if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(1!==a||1!==l)do if(a--,0>--l||i[a]!==o[l]){var u="\n"+i[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=a&&0<=l);break}}}finally{e3=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?e2(e):""}var e4=Object.prototype.hasOwnProperty,e6=[],e8=-1;function e7(e){return{current:e}}function e9(e){0>e8||(e.current=e6[e8],e6[e8]=null,e8--)}function te(e,t){e6[++e8]=e.current,e.current=t}var tt={},tn=e7(tt),tr=e7(!1),ti=tt;function to(e,t){var n=e.type.contextTypes;if(!n)return tt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ta(e){return null!=(e=e.childContextTypes)}function tl(){e9(tr),e9(tn)}function tu(e,t,n){if(tn.current!==tt)throw Error(f(168));te(tn,t),te(tr,n)}function ts(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(f(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return A(t);case 8:return t===v?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",i));return c({},n,r)}function tc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tt,ti=tn.current,te(tn,e),te(tr,tr.current),!0}function tf(e,t,n){var r=e.stateNode;if(!r)throw Error(f(169));n?(e=ts(e,t,ti),r.__reactInternalMemoizedMergedChildContext=e,e9(tr),e9(tn),te(tn,e)):e9(tr),te(tr,n)}var td=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(tp(e)/th|0)|0},tp=Math.log,th=Math.LN2,tm=64,tv=4194304;function tg(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ty(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~i;
vendor: 8,260 bytes, line 25
250!==l?r=tg(l):0!=(o&=a)&&(r=tg(o))}else 0!=(a=n&~i)?r=tg(a):0!==o&&(r=tg(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-td(t)),r|=e[n],t&=~i;return r}function tb(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function tw(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function tx(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-td(t)]=n}function tS(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-td(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var t_=0;function tE(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var tM=s.unstable_scheduleCallback,tP=s.unstable_cancelCallback,tk=s.unstable_shouldYield,tA=s.unstable_requestPaint,tO=s.unstable_now,tC=s.unstable_ImmediatePriority,tT=s.unstable_UserBlockingPriority,tz=s.unstable_NormalPriority,tj=s.unstable_IdlePriority,tI=null,tR=null,tN="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},tL=null,tB=!1,tF=!1;function tU(e){null===tL?tL=[e]:tL.push(e)}function tD(){if(!tF&&null!==tL){tF=!0;var e=0,t=t_;try{var n=tL;for(t_=1;e<n.length;e++){var r=n[e];do r=r(!0);while(null!==r)}tL=null,tB=!1}catch(t){throw null!==tL&&(tL=tL.slice(e+1)),tM(tC,tD),t}finally{t_=t,tF=!1}}return null}var tH=d.ReactCurrentBatchConfig;function tV(e,t){if(tN(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!e4.call(t,i)||!tN(e[i],t[i]))return!1}return!0}function tW(e,t){if(e&&e.defaultProps)for(var n in t=c({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var tZ=e7(null),tq=null,t$=null,tG=null;function tQ(){tG=t$=tq=null}function tY(e,t,n){Q?(te(tZ,t._currentValue),t._currentValue=n):(te(tZ,t._currentValue2),t._currentValue2=n)}function tX(e){var t=tZ.current;e9(tZ),Q?e._currentValue=t:e._currentValue2=t}function tK(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function tJ(e,t){tq=e,tG=t$=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(r0=!0),e.firstContext=null)}function t0(e){var t=Q?e._currentValue:e._currentValue2;if(tG!==e){if(e={context:e,memoizedValue:t,next:null},null===t$){if(null===tq)throw Error(f(308));t$=e,tq.dependencies={lanes:0,firstContext:e}}else t$=t$.next=e}return t}var t1=null,t2=!1;function t3(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function t5(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function t4(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function t6(e,t){var n=e.updateQueue;null!==n&&(n=n.shared,null!==iY&&0!=(1&e.mode)&&0==(2&iQ)?(null===(e=n.interleaved)?(t.next=t,null===t1?t1=[n]:t1.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(null===(e=n.pending)?t.next=t:(t.next=e.next,e.next=t),n.pending=t))}function t8(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tS(e,n)}}function t7(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function t9(e,t,n,r){var i=e.updateQueue;t2=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var u=l,s=u.next;u.next=null,null===a?o=s:a.next=s,a=u;var f=e.alternate;null!==f&&(l=(f=f.updateQueue).lastBaseUpdate)!==a&&(null===l?f.firstBaseUpdate=s:l.next=s,f.lastBaseUpdate=u)}if(null!==o){var d=i.baseState;for(a=0,f=s=u=null,l=o;;){var p=l.lane,h=l.eventTime;if((r&p)===p){null!==f&&(f=f.next={eventTime:h,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,v=l;switch(p=t,h=n,v.tag){case 1:if("function"==typeof(m=v.payload)){d=m.call(h,d,p);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=v.payload)?m.call(h,d,p):m))break e;d=c({},d,p);break e;case 2:t2=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=i.effects)?i.effects=[l]:p.push(l))}else h={eventTime:h,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===f?(s=f=h,u=d):f=f.next=h,a|=p;if(null===(l=l.next)){if(null===(l=i.shared.pending))break;l=(p=l).next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}if(null===f&&(u=d),i.baseState=u,i.firstBaseUpdate=s,i.lastBaseUpdate=f,null!==(t=i.shared.interleaved)){i=t;do a|=i.lane,i=i.next;while(i!==t)}else null===o&&(i.shared.lanes=0);i3|=a,e.lanes=a,e.memoizedState=d}}function ne(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(f(191,i));i.call(r)}}}var nt=(new u.Component).refs;function nn(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:c({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var nr={isMounted:function(e){return!!(e=e._reactInternals)&&O(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=of(),i=od(e),o=t4(r,i);o.payload=t,null!=n&&(o.callback=n),t6(e,o),null!==(t=op(e,i,r))&&t8(t,e,i)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=of(),i=od(e),o=t4(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),t6(e,o),null!==(t=op(e,i,r))&&t8(t,e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=of(),r=od(e),i=t4(n,r);i.tag=2,null!=t&&(i.callback=t),t6(e,i),null!==(t=op(e,r,n))&&t8(t,e,r)}};function ni(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||!tV(n,r)||!tV(i,o)}function no(e,t,n){var r=!1,i=tt,o=t.contextType;return"object"==typeof o&&null!==o?o=t0(o):(i=ta(t)?ti:tn.current,o=(r=null!=(r=t.contextTypes))?to(e,i):tt),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=nr,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function na(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&nr.enqueueReplaceState(t,t.state,null)}function nl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=nt,t3(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=t0(o):(o=ta(t)?ti:tn.current,i.context=to(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(nn(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&nr.enqueueReplaceState(i,i.state,null),t9(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}var nu=[],ns=0,nc=null,nf=0,nd=[],np=0,nh=null,nm=1,nv="";function ng(e,t){nu[ns++]=nf,nu[ns++]=nc,nc=e,nf=t}function ny(e,t,n){nd[np++]=nm,nd[np++]=nv,nd[np++]=nh,nh=e;var r=nm;e=nv;var i=32-td(r)-1;r&=~(1<<i),n+=1;var o=32-td(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,nm=1<<32-td(t)+i|n<<i|r,nv=o+e}else nm=1<<o|n<<i|r,nv=e}
25function nb(e){null!==e.return&&(ng(e,1),ny(e,1,0))}function nw(e){for(;e===nc;)nc=nu[--ns],nu[ns]=null,nf=nu[--ns],nu[ns]=null;for(;e===nh;)nh=nd[--np],nd[np]=null,nv=nd[--np],nd[np]=null,nm=nd[--np],nd[np]=null}var nx=null,nS=null,n_=!1,nE=!1,nM=null;function nP(e,t){var n=oF(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function nk(e,t){switch(e.tag){case 5:return null!==(t=eR(t,e.type,e.pendingProps))&&(e.stateNode=t,nx=e,nS=eH(t),!0);case 6:return null!==(t=eN(t,e.pendingProps))&&(e.stateNode=t,nx=e,nS=null,!0);case 13:if(null!==(t=eL(t))){var n=null!==nh?{id:nm,overflow:nv}:null;return e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=oF(18,null,null,0)).stateNode=t,n.return=e,e.child=n,nx=e,nS=null,!0}return!1;default:return!1}}function nA(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function nO(e){if(n_){var t=nS;if(t){var n=t;if(!nk(e,t)){if(nA(e))throw Error(f(418));t=eD(n);var r=nx;t&&nk(e,t)?nP(r,n):(e.flags=-4097&e.flags|2,n_=!1,nx=e)}}else{if(nA(e))throw Error(f(418));e.flags=-4097&e.flags|2,n_=!1,nx=e}}}function nC(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;nx=e}function nT(e){if(!K||e!==nx)return!1;if(!n_)return nC(e),n_=!0,!1;if(3!==e.tag&&(5!==e.tag||eJ(e.type)&&!W(e.type,e.memoizedProps))){var t=nS;if(t){if(nA(e)){for(e=nS;e;)e=eD(e);throw Error(f(418))}for(;t;)nP(e,t),t=eD(t)}}if(nC(e),13===e.tag){if(!K)throw Error(f(316));if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(f(317));nS=eG(e)}else nS=nx?eD(e.stateNode):null;return!0}function nz(){K&&(nS=nx=null,nE=n_=!1)}function nj(e){null===nM?nM=[e]:nM.push(e)}function nI(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(f(309));var r=n.stateNode}if(!r)throw Error(f(147,e));var i=r,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=i.refs;t===nt&&(t=i.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(f(284));if(!n._owner)throw Error(f(290,e))}return e}function nR(e,t){throw Error(f(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function nN(e){return(0,e._init)(e._payload)}function nL(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=oD(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?(t=oZ(n,e.mode,r)).return=e:(t=i(t,n)).return=e,t}function u(e,t,n,r){var o=n.type;return o===m?c(e,t,n.props.children,r,n.key):(null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===E&&nN(o)===t.type)?(r=i(t,n.props)).ref=nI(e,t,n):(r=oH(n.type,n.key,n.props,null,e.mode,r)).ref=nI(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=oq(n,e.mode,r)).return=e:(t=i(t,n.children||[])).return=e,t}function c(e,t,n,r,o){return null===t||7!==t.tag?(t=oV(n,e.mode,r,o)).return=e:(t=i(t,n)).return=e,t}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=oZ(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case p:return(n=oH(t.type,t.key,t.props,null,e.mode,n)).ref=nI(e,null,t),n.return=e,n;case h:return(t=oq(t,e.mode,n)).return=e,t;case E:return d(e,(0,t._init)(t._payload),n)}if(I(t)||k(t))return(t=oV(t,e.mode,n,null)).return=e,t;nR(e,t)}return null}function v(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case p:return n.key===i?u(e,t,n,r):null;case h:return n.key===i?s(e,t,n,r):null;case E:return v(e,t,(i=n._init)(n._payload),r)}if(I(n)||k(n))return null!==i?null:c(e,t,n,r,null);nR(e,n)}return null}function g(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case p:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case h:return s(t,e=e.get(null===r.key?n:r.key)||null,r,i);case E:return g(e,t,n,(0,r._init)(r._payload),i)}if(I(r)||k(r))return c(t,e=e.get(n)||null,r,i,null);nR(t,r)}return null}
vendor: 6,363 bytes, line 25
25return function l(u,s,c,y){if("object"==typeof c&&null!==c&&c.type===m&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case p:e:{for(var b=c.key,w=s;null!==w;){if(w.key===b){if((b=c.type)===m){if(7===w.tag){n(u,w.sibling),(s=i(w,c.props.children)).return=u,u=s;break e}}else if(w.elementType===b||"object"==typeof b&&null!==b&&b.$$typeof===E&&nN(b)===w.type){n(u,w.sibling),(s=i(w,c.props)).ref=nI(u,w,c),s.return=u,u=s;break e}n(u,w);break}t(u,w),w=w.sibling}c.type===m?((s=oV(c.props.children,u.mode,y,c.key)).return=u,u=s):((y=oH(c.type,c.key,c.props,null,u.mode,y)).ref=nI(u,s,c),y.return=u,u=y)}return a(u);case h:e:{for(w=c.key;null!==s;){if(s.key===w){if(4===s.tag&&s.stateNode.containerInfo===c.containerInfo&&s.stateNode.implementation===c.implementation){n(u,s.sibling),(s=i(s,c.children||[])).return=u,u=s;break e}n(u,s);break}t(u,s),s=s.sibling}(s=oq(c,u.mode,y)).return=u,u=s}return a(u);case E:return l(u,s,(w=c._init)(c._payload),y)}if(I(c))return function(i,a,l,u){for(var s=null,c=null,f=a,p=a=0,h=null;null!==f&&p<l.length;p++){f.index>p?(h=f,f=null):h=f.sibling;var m=v(i,f,l[p],u);if(null===m){null===f&&(f=h);break}e&&f&&null===m.alternate&&t(i,f),a=o(m,a,p),null===c?s=m:c.sibling=m,c=m,f=h}if(p===l.length)return n(i,f),n_&&ng(i,p),s;if(null===f){for(;p<l.length;p++)null!==(f=d(i,l[p],u))&&(a=o(f,a,p),null===c?s=f:c.sibling=f,c=f);return n_&&ng(i,p),s}for(f=r(i,f);p<l.length;p++)null!==(h=g(f,i,p,l[p],u))&&(e&&null!==h.alternate&&f.delete(null===h.key?p:h.key),a=o(h,a,p),null===c?s=h:c.sibling=h,c=h);return e&&f.forEach(function(e){return t(i,e)}),n_&&ng(i,p),s}(u,s,c,y);if(k(c))return function(i,a,l,u){var s=k(l);if("function"!=typeof s)throw Error(f(150));if(null==(l=s.call(l)))throw Error(f(151));for(var c=s=null,p=a,h=a=0,m=null,y=l.next();null!==p&&!y.done;h++,y=l.next()){p.index>h?(m=p,p=null):m=p.sibling;var b=v(i,p,y.value,u);if(null===b){null===p&&(p=m);break}e&&p&&null===b.alternate&&t(i,p),a=o(b,a,h),null===c?s=b:c.sibling=b,c=b,p=m}if(y.done)return n(i,p),n_&&ng(i,h),s;if(null===p){for(;!y.done;h++,y=l.next())null!==(y=d(i,y.value,u))&&(a=o(y,a,h),null===c?s=y:c.sibling=y,c=y);return n_&&ng(i,h),s}for(p=r(i,p);!y.done;h++,y=l.next())null!==(y=g(p,i,h,y.value,u))&&(e&&null!==y.alternate&&p.delete(null===y.key?h:y.key),a=o(y,a,h),null===c?s=y:c.sibling=y,c=y);return e&&p.forEach(function(e){return t(i,e)}),n_&&ng(i,h),s}(u,s,c,y);nR(u,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==s&&6===s.tag?(n(u,s.sibling),(s=i(s,c)).return=u):(n(u,s),(s=oZ(c,u.mode,y)).return=u),a(u=s)):n(u,s)}}var nB=nL(!0),nF=nL(!1),nU={},nD=e7(nU),nH=e7(nU),nV=e7(nU);function nW(e){if(e===nU)throw Error(f(174));return e}function nZ(e,t){te(nV,t),te(nH,e),te(nD,nU),e=N(t),e9(nD),te(nD,e)}function nq(){e9(nD),e9(nH),e9(nV)}function n$(e){var t=nW(nV.current),n=nW(nD.current);t=L(n,e.type,t),n!==t&&(te(nH,e),te(nD,t))}function nG(e){nH.current===e&&(e9(nD),e9(nH))}var nQ=e7(0);function nY(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||eB(n)||eF(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var nX=[];function nK(){for(var e=0;e<nX.length;e++){var t=nX[e];Q?t._workInProgressVersionPrimary=null:t._workInProgressVersionSecondary=null}nX.length=0}var nJ=d.ReactCurrentDispatcher,n0=d.ReactCurrentBatchConfig,n1=0,n2=null,n3=null,n5=null,n4=!1,n6=!1,n8=0,n7=0;function n9(){throw Error(f(321))}function re(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!tN(e[n],t[n]))return!1;return!0}function rt(e,t,n,r,i,o){if(n1=o,n2=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,nJ.current=null===e||null===e.memoizedState?rL:rB,e=n(r,i),n6){o=0;do{if(n6=!1,n8=0,25<=o)throw Error(f(301));o+=1,n5=n3=null,t.updateQueue=null,nJ.current=rF,e=n(r,i)}while(n6)}if(nJ.current=rN,t=null!==n3&&null!==n3.next,n1=0,n5=n3=n2=null,n4=!1,t)throw Error(f(300));return e}function rn(){var e=0!==n8;return n8=0,e}function rr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===n5?n2.memoizedState=n5=e:n5=n5.next=e,n5}function ri(){if(null===n3){var e=n2.alternate;e=null!==e?e.memoizedState:null}else e=n3.next;var t=null===n5?n2.memoizedState:n5.next;if(null!==t)n5=t,n3=e;else{if(null===e)throw Error(f(310));e={memoizedState:(n3=e).memoizedState,baseState:n3.baseState,baseQueue:n3.baseQueue,queue:n3.queue,next:null},null===n5?n2.memoizedState=n5=e:n5=n5.next=e}return n5}function ro(e,t){return"function"==typeof t?t(e):t}function ra(e){var t=ri(),n=t.queue;if(null===n)throw Error(f(311));n.lastRenderedReducer=e;var r=n3,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(null!==i){o=i.next,r=r.baseState;var l=a=null,u=null,s=o;do{var c=s.lane;if((n1&c)===c)null!==u&&(u=u.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var d={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===u?(l=u=d,a=r):u=u.next=d,n2.lanes|=c,i3|=c}s=s.next}while(null!==s&&s!==o);null===u?a=r:u.next=l,tN(r,t.memoizedState)||(r0=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do o=i.lane,n2.lanes|=o,i3|=o,i=i.next;while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function rl(e){var t=ri(),n=t.queue;if(null===n)throw Error(f(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);tN(o,t.memoizedState)||(r0=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ru(){}function rs(e,t){var n=n2,r=ri(),i=t(),o=!tN(r.memoizedState,i);if(o&&(r.memoizedState=i,r0=!0),r=r.queue,rw(rd.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==n5&&1&n5.memoizedState.tag){if(n.flags|=2048,rm(9,rf.bind(null,n,r,i,t),void 0,null),null===iY)throw Error(f(349));0!=(30&n1)||rc(n,t,i)}return i}
25function rc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=n2.updateQueue)?(t={lastEffect:null,stores:null},n2.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function rf(e,t,n,r){t.value=n,t.getSnapshot=r,rp(t)&&op(e,1,-1)}function rd(e,t,n){return n(function(){rp(t)&&op(e,1,-1)})}function rp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!tN(e,n)}catch(e){return!0}}function rh(e){var t=rr();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ro,lastRenderedState:e},t.queue=e,e=e.dispatch=rT.bind(null,n2,e),[t.memoizedState,e]}function rm(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=n2.updateQueue)?(t={lastEffect:null,stores:null},n2.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function rv(){return ri().memoizedState}function rg(e,t,n,r){var i=rr();n2.flags|=e,i.memoizedState=rm(1|t,n,void 0,void 0===r?null:r)}function ry(e,t,n,r){var i=ri();r=void 0===r?null:r;var o=void 0;if(null!==n3){var a=n3.memoizedState;if(o=a.destroy,null!==r&&re(r,a.deps)){i.memoizedState=rm(t,n,o,r);return}}n2.flags|=e,i.memoizedState=rm(1|t,n,o,r)}function rb(e,t){return rg(8390656,8,e,t)}function rw(e,t){return ry(2048,8,e,t)}function rx(e,t){return ry(4,2,e,t)}function rS(e,t){return ry(4,4,e,t)}function r_(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function rE(e,t,n){return n=null!=n?n.concat([e]):null,ry(4,4,r_.bind(null,t,e),n)}function rM(){}function rP(e,t){var n=ri();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&re(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function rk(e,t){var n=ri();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&re(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function rA(e,t){var n=t_;t_=0!==n&&4>n?n:4,e(!0);var r=n0.transition;n0.transition={};try{e(!1),t()}finally{t_=n,n0.transition=r}}function rO(){return ri().memoizedState}function rC(e,t,n){var r=od(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rz(e)?rj(t,n):(rI(e,t,n),null!==(e=op(e,r,n=of()))&&rR(e,t,r))}function rT(e,t,n){var r=od(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rz(e))rj(t,i);else{rI(e,t,i);var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,tN(l,a))return}catch(e){}finally{}null!==(e=op(e,r,n=of()))&&rR(e,t,r)}}function rz(e){var t=e.alternate;return e===n2||null!==t&&t===n2}function rj(e,t){n6=n4=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function rI(e,t,n){null!==iY&&0!=(1&e.mode)&&0==(2&iQ)?(null===(e=t.interleaved)?(n.next=n,null===t1?t1=[t]:t1.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function rR(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tS(e,n)}}var rN={readContext:t0,useCallback:n9,useContext:n9,useEffect:n9,useImperativeHandle:n9,useInsertionEffect:n9,useLayoutEffect:n9,useMemo:n9,useReducer:n9,useRef:n9,useState:n9,useDebugValue:n9,useDeferredValue:n9,useTransition:n9,useMutableSource:n9,useSyncExternalStore:n9,useId:n9,unstable_isNewReconciler:!1},rL={readContext:t0,useCallback:function(e,t){return rr().memoizedState=[e,void 0===t?null:t],e},useContext:t0,useEffect:rb,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,rg(4194308,4,r_.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rg(4194308,4,e,t)},useInsertionEffect:function(e,t){return rg(4,2,e,t)},useMemo:function(e,t){var n=rr();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=rr();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=rC.bind(null,n2,e),[r.memoizedState,e]}
25,useRef:function(e){return e={current:e},rr().memoizedState=e},useState:rh,useDebugValue:rM,useDeferredValue:function(e){var t=rh(e),n=t[0],r=t[1];return rb(function(){var t=n0.transition;n0.transition={};try{r(e)}finally{n0.transition=t}},[e]),n},useTransition:function(){var e=rh(!1),t=e[0];return e=rA.bind(null,e[1]),rr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=n2,i=rr();if(n_){if(void 0===n)throw Error(f(407));n=n()}else{if(n=t(),null===iY)throw Error(f(349));0!=(30&n1)||rc(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,rb(rd.bind(null,r,o,e),[e]),r.flags|=2048,rm(9,rf.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=rr(),t=iY.identifierPrefix;if(n_){var n=nv,r=nm;t=":"+t+"R"+(n=(r&~(1<<32-td(r)-1)).toString(32)+n),0<(n=n8++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=n7++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},rB={readContext:t0,useCallback:rP,useContext:t0,useEffect:rw,useImperativeHandle:rE,useInsertionEffect:rx,useLayoutEffect:rS,useMemo:rk,useReducer:ra,useRef:rv,useState:function(){return ra(ro)},useDebugValue:rM,useDeferredValue:function(e){var t=ra(ro),n=t[0],r=t[1];return rw(function(){var t=n0.transition;n0.transition={};try{r(e)}finally{n0.transition=t}},[e]),n},useTransition:function(){return[ra(ro)[0],ri().memoizedState]},useMutableSource:ru,useSyncExternalStore:rs,useId:rO,unstable_isNewReconciler:!1},rF={readContext:t0,useCallback:rP,useContext:t0,useEffect:rw,useImperativeHandle:rE,useInsertionEffect:rx,useLayoutEffect:rS,useMemo:rk,useReducer:rl,useRef:rv,useState:function(){return rl(ro)},useDebugValue:rM,useDeferredValue:function(e){var t=rl(ro),n=t[0],r=t[1];return rw(function(){var t=n0.transition;n0.transition={};try{r(e)}finally{n0.transition=t}},[e]),n},useTransition:function(){return[rl(ro)[0],ri().memoizedState]},useMutableSource:ru,useSyncExternalStore:rs,useId:rO,unstable_isNewReconciler:!1};function rU(e,t){try{var n="",r=t;do n+=function(e){switch(e.tag){case 5:return e2(e.type);case 16:return e2("Lazy");case 13:return e2("Suspense");case 19:return e2("SuspenseList");case 0:case 2:case 15:return e=e5(e.type,!1);case 11:return e=e5(e.type.render,!1);case 1:return e=e5(e.type,!0);default:return""}}(r),r=r.return;while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function rD(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var rH="function"==typeof WeakMap?WeakMap:Map;function rV(e,t,n){(n=t4(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ot||(ot=!0,on=r),rD(e,t)},n}function rW(e,t,n){(n=t4(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){rD(e,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){rD(e,t),"function"!=typeof r&&(null===or?or=new Set([this]):or.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function rZ(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new rH;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=oI.bind(null,e,t,n),t.then(e,e))}function rq(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function r$(e,t,n,r,i){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=t4(-1,1)).tag=2,t6(n,t))),n.lanes|=1):(e.flags|=65536,e.lanes=i),e}function rG(e){e.flags|=4}function rQ(e,t){if(null!==e&&e.child===t.child)return!0;if(0!=(16&t.flags))return!1;for(e=t.child;null!==e;){if(0!=(12854&e.flags)||0!=(12854&e.subtreeFlags))return!1;e=e.sibling}return!0}if(Y)t=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)D(e,n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},r=function(){},i=function(e,t,n,r,i){(e=e.memoizedProps)!==r&&(n=V(t.stateNode,n,e,r,i,nW(nD.current)),(t.updateQueue=n)&&rG(t))},o=function(e,t,n,r){n!==r&&rG(t)};else if(X){t=function(e,n,r,i){for(var o=n.child;null!==o;){if(5===o.tag){var a=o.stateNode;r&&i&&(a=ej(a,o.type,o.memoizedProps,o)),D(e,a)}else if(6===o.tag)a=o.stateNode,r&&i&&(a=eI(a,o.memoizedProps,o)),D(e,a);else if(4!==o.tag){if(22===o.tag&&null!==o.memoizedState)null!==(a=o.child)&&(a.return=o),t(e,o,!0,!0);else if(null!==o.child){o.child.return=o,o=o.child;continue}}if(o===n)break;for(;null===o.sibling;){if(null===o.return||o.return===n)return;o=o.return}o.sibling.return=o.return,o=o.sibling}};var rY=function(e,t,n,r){for(var i=t.child;null!==i;){if(5===i.tag){var o=i.stateNode;
25n&&r&&(o=ej(o,i.type,i.memoizedProps,i)),eC(e,o)}else if(6===i.tag)o=i.stateNode,n&&r&&(o=eI(o,i.memoizedProps,i)),eC(e,o);else if(4!==i.tag){if(22===i.tag&&null!==i.memoizedState)null!==(o=i.child)&&(o.return=i),rY(e,i,!0,!0);else if(null!==i.child){i.child.return=i,i=i.child;continue}}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}};r=function(e,t){var n=t.stateNode;if(!rQ(e,t)){var r=eO(e=n.containerInfo);rY(r,t,!1,!1),n.pendingChildren=r,rG(t),eT(e,r)}},i=function(e,n,r,i,o){var a=e.stateNode,l=e.memoizedProps;if((e=rQ(e,n))&&l===i)n.stateNode=a;else{var u=n.stateNode,s=nW(nD.current),c=null;l!==i&&(c=V(u,r,l,i,o,s)),e&&null===c?n.stateNode=a:(H(a=eA(a,c,r,l,i,n,e,u),r,i,o,s)&&rG(n),n.stateNode=a,e?rG(n):t(a,n,!1,!1))}},o=function(e,t,n,r){n!==r?(e=nW(nV.current),n=nW(nD.current),t.stateNode=Z(r,e,n,t),rG(t)):t.stateNode=e.stateNode}}else r=function(){},i=function(){},o=function(){};function rX(e,t){if(!n_)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function rK(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}var rJ=d.ReactCurrentOwner,r0=!1;function r1(e,t,n,r){t.child=null===e?nF(t,null,n,r):nB(t,e.child,n,r)}function r2(e,t,n,r,i){n=n.render;var o=t.ref;return(tJ(t,i),r=rt(e,t,n,r,o,i),n=rn(),null===e||r0)?(n_&&n&&nb(t),t.flags|=1,r1(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,id(e,t,i))}function r3(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||oU(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=oH(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,r5(e,t,o,r,i))}if(o=e.child,0==(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:tV)(a,r)&&e.ref===t.ref)return id(e,t,i)}return t.flags|=1,(e=oD(o,r)).ref=t.ref,e.return=t,t.child=e}function r5(e,t,n,r,i){if(null!==e&&tV(e.memoizedProps,r)&&e.ref===t.ref){if(r0=!1,0==(e.lanes&i))return t.lanes=e.lanes,id(e,t,i);0!=(131072&e.flags)&&(r0=!0)}return r8(e,t,n,r,i)}function r4(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null},te(i0,iJ),iJ|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null},t.updateQueue=null,te(i0,iJ),iJ|=e,null;t.memoizedState={baseLanes:0,cachePool:null},r=null!==o?o.baseLanes:n,te(i0,iJ),iJ|=r}}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,te(i0,iJ),iJ|=r;return r1(e,t,i,n),t.child}function r6(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function r8(e,t,n,r,i){var o=ta(n)?ti:tn.current;return(o=to(t,o),tJ(t,i),n=rt(e,t,n,r,o,i),r=rn(),null===e||r0)?(n_&&r&&nb(t),t.flags|=1,r1(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,id(e,t,i))}function r7(e,t,n,r,i){if(ta(n)){var o=!0;tc(t)}else o=!1;if(tJ(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),no(t,n,r),nl(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,s=n.contextType;s="object"==typeof s&&null!==s?t0(s):to(t,s=ta(n)?ti:tn.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&na(t,a,r,s),t2=!1;var d=t.memoizedState;a.state=d,t9(t,r,a,i),u=t.memoizedState,l!==r||d!==u||tr.current||t2?
25("function"==typeof c&&(nn(t,n,c,r),u=t.memoizedState),(l=t2||ni(t,n,l,r,d,u,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=s,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,t5(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:tW(t.type,l),a.props=s,f=t.pendingProps,d=a.context,u="object"==typeof(u=n.contextType)&&null!==u?t0(u):to(t,u=ta(n)?ti:tn.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==f||d!==u)&&na(t,a,r,u),t2=!1,d=t.memoizedState,a.state=d,t9(t,r,a,i);var h=t.memoizedState;l!==f||d!==h||tr.current||t2?("function"==typeof p&&(nn(t,n,p,r),h=t.memoizedState),(s=t2||ni(t,n,s,r,d,h,u)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=u,r=s):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return r9(e,t,n,r,o,i)}function r9(e,t,n,r,i,o){r6(e,t);var a=0!=(128&t.flags);if(!r&&!a)return i&&tf(t,n,!1),id(e,t,o);r=t.stateNode,rJ.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=nB(t,e.child,null,o),t.child=nB(t,null,l,o)):r1(e,t,l,o),t.memoizedState=r.state,i&&tf(t,n,!0),t.child}function ie(e){var t=e.stateNode;t.pendingContext?tu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tu(e,t.context,!1),nZ(e,t.containerInfo)}function it(e,t,n,r,i){return nz(),nj(i),t.flags|=256,r1(e,t,n,r),t.child}var ir={dehydrated:null,treeContext:null,retryLane:0};function ii(e){return{baseLanes:e,cachePool:null}}function io(e,t,n){var r,i,o,a,l,u,s,c,d,p,h,m,v,g,y=t.pendingProps,b=nQ.current,w=!1,x=0!=(128&t.flags);if((g=x)||(g=(null===e||null!==e.memoizedState)&&0!=(2&b)),g?(w=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(b|=1),te(nQ,1&b),null===e)return(nO(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:eF(e)?t.lanes=8:t.lanes=1073741824,null):(b=y.children,e=y.fallback,w?(y=t.mode,w=t.child,b={mode:"hidden",children:b},0==(1&y)&&null!==w?(w.childLanes=0,w.pendingProps=b):w=oW(b,y,0,null),e=oV(e,y,n,null),w.return=t,e.return=t,w.sibling=e,t.child=w,t.child.memoizedState=ii(n),t.memoizedState=ir,e):ia(t,b));if(null!==(b=e.memoizedState)&&null!==(g=b.dehydrated)){if(x)return 256&t.flags?(t.flags&=-257,il(e,t,n,Error(f(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(w=y.fallback,b=t.mode,y=oW({mode:"visible",children:y.children},b,0,null),w=oV(w,b,n,null),w.flags|=2,y.return=t,w.return=t,y.sibling=w,t.child=y,0!=(1&t.mode)&&nB(t,e.child,null,n),t.child.memoizedState=ii(n),t.memoizedState=ir,w);if(0==(1&t.mode))t=il(e,t,n,null);else if(eF(g))t=il(e,t,n,Error(f(419)));else if(y=0!=(n&e.childLanes),r0||y){if(null!==(y=iY)){switch(n&-n){case 4:w=2;break;case 16:w=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:w=32;break;case 536870912:w=268435456;break;default:w=0}0!==(y=0!=(w&(y.suspendedLanes|n))?0:w)&&y!==b.retryLane&&(b.retryLane=y,op(e,y,-1))}oP(),t=il(e,t,n,Error(f(421)))}else eB(g)?(t.flags|=128,t.child=e.child,eU(g,t=oN.bind(null,e)),t=null):(n=b.treeContext,K&&(nS=eW(g),nx=t,n_=!0,nM=null,nE=!1,null!==n&&(nd[np++]=nm,nd[np++]=nv,nd[np++]=nh,nm=n.id,nv=n.overflow,nh=t)),t=ia(t,t.pendingProps.children),t.flags|=4096);return t}return w?(r=e,i=t,o=y.children,a=y.fallback,l=n,u=i.mode,s=(r=r.child).sibling,c={mode:"hidden",children:o},0==(1&u)&&i.child!==r?((o=i.child).childLanes=0,o.pendingProps=c,i.deleti
25ons=null):(o=oD(r,c)).subtreeFlags=14680064&r.subtreeFlags,null!==s?a=oD(s,a):(a=oV(a,u,l,null),a.flags|=2),a.return=i,o.return=i,o.sibling=a,i.child=o,y=a,w=t.child,b=e.child.memoizedState,w.memoizedState=null===b?ii(n):{baseLanes:b.baseLanes|n,cachePool:null},w.childLanes=e.childLanes&~n,t.memoizedState=ir,y):(d=e,p=t,h=y.children,m=n,d=(v=d.child).sibling,h=oD(v,{mode:"visible",children:h}),0==(1&p.mode)&&(h.lanes=m),h.return=p,h.sibling=null,null!==d&&(null===(m=p.deletions)?(p.deletions=[d],p.flags|=16):m.push(d)),n=p.child=h,t.memoizedState=null,n)}function ia(e,t){return(t=oW({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function il(e,t,n,r){return null!==r&&nj(r),nB(t,e.child,null,n),e=ia(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),tK(e.return,t,n)}function is(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function ic(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(r1(e,t,r.children,n),0!=(2&(r=nQ.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&iu(e,n,t);else if(19===e.tag)iu(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(te(nQ,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(i=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===nY(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),is(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===nY(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}is(t,!0,n,null,o);break;case"together":is(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function id(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),i3|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(f(153));if(null!==t.child){for(n=oD(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=oD(e,e.pendingProps)).return=t;n.sibling=null}return t.child}var ip=!1,ih=!1,im="function"==typeof WeakSet?WeakSet:Set,iv=null;function ig(e,t){var n=e.ref;if(null!==n){if("function"==typeof n)try{n(null)}catch(n){oj(e,t,n)}else n.current=null}}function iy(e,t,n){try{n()}catch(n){oj(e,t,n)}}var ib=!1;function iw(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&iy(t,n,o)}i=i.next}while(i!==r)}}function ix(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iS(e){var t=e.ref;if(null!==t){var n=e.stateNode;e=5===e.tag?R(n):n,"function"==typeof t?t(e):t.current=e}}function i_(e,t,n){if(tR&&"function"==typeof tR.onCommitFiberUnmount)try{tR.onCommitFiberUnmount(tI,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e=e.next;do{var i=r,o=i.destroy;i=i.tag,void 0!==o&&(0!=(2&i)?iy(t,n,o):0!=(4&i)&&iy(t,n,o)),r=r.next}while(r!==e)}break;case 1:if(ig(t,n),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){oj(t,n,e)}break;case 5:ig(t,n);break;case 4:Y?iA(e,t,n):X&&X&&(n=eO(t=t.stateNode.containerInfo),ez(t,n))}}function iE(e,t,n){for(var r=t;;)if(i_(e,r,n),null===r.child||Y&&4===r.tag){if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}else r.child.return=r,r=r.child}function iM(e){return 5===e.tag||3===e.tag||4===e.tag}function iP(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iM(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ik(e){if(Y){e:{for(var t=e.return;null!==t;){if(iM(t))break e;t=t.return}throw Error(f(160))}var n=t;switch(n.tag){case 5:t=n.stateNode,32&n.flags&&(eS(t),n.flags&=-33),n=iP(e),function e(t,n,r){var i=t.tag;if(5===i||6===i)t=t.stateNode,n?ey(r,t,n):ep(r,t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t);break;case 3:case 4:t=n.stateNode.containerInfo,n=iP(e),function e(t,n,r){var i=t.tag;if(5===i||6===i)t=t.stateNode,n?eb(r,t,n):eh(r,t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t);break;default:throw Error(f(161))}}}function iA(e,t,n){for(var r,i,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(f(160));switch(r=a.stateNode,a.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag)iE(e,o,n),i?ex(r,o.stateNode):ew(r,o.stateNode);else if(18===o.tag)i?eK(r,o.stateNode):eX(r,o.stateNode);else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(i_(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function iO(e,t){if(Y){switch(t.tag){case 0:case 11:case 14:case 15:iw(3,t,t.return),ix(3,t),iw(5,t,t.return);return;case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var i=t.type,o=t.updateQueue;t.updateQueue=null,null!==o&&eg(n,o,i,e,r,t)}return;case 6:if(null===t.stateNode)throw Error(f(162));n=t.memoizedProps,em(t.stateNode,null!==e?e.memoizedProps:n,n);return;case 3:K&&null!==e&&e.memoizedState.isDehydrated&&eQ(t.stateNode.containerInfo);return;case 13:case 19:iC(t);return}throw Error(f(163))}switch(t.tag){case 0:case 11:case 14:case 15:iw(3,t,t.return),ix(3,t),iw(5,t,t.return);return;case 12:case 22:case 23:return;case 13:case 19:iC(t);return;case 3:K&&null!==e&&e.memoizedState.isDehydrated&&eQ(t.stateNode.containerInfo)}
25e:if(X){switch(t.tag){case 1:case 5:case 6:break e;case 3:case 4:ez((t=t.stateNode).containerInfo,t.pendingChildren);break e}throw Error(f(163))}}function iC(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new im),t.forEach(function(t){var r=oL.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function iT(e){for(;null!==iv;){var t=iv;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:ih||ix(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!ih){if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:tW(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}}var o=t.updateQueue;null!==o&&ne(t,o,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:n=R(t.child.stateNode);break;case 1:n=t.child.stateNode}ne(t,a,n)}break;case 5:var l=t.stateNode;null===n&&4&t.flags&&ev(l,t.type,t.memoizedProps,t);break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:break;case 13:if(K&&null===t.memoizedState){var u=t.alternate;if(null!==u){var s=u.memoizedState;if(null!==s){var c=s.dehydrated;null!==c&&eY(c)}}}break;default:throw Error(f(163))}ih||512&t.flags&&iS(t)}catch(e){oj(t,t.return,e)}}if(t===e){iv=null;break}if(null!==(n=t.sibling)){n.return=t.return,iv=n;break}iv=t.return}}function iz(e){for(;null!==iv;){var t=iv;if(t===e){iv=null;break}var n=t.sibling;if(null!==n){n.return=t.return,iv=n;break}iv=t.return}}function ij(e){for(;null!==iv;){var t=iv;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ix(4,t)}catch(e){oj(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){oj(t,i,e)}}var o=t.return;try{iS(t)}catch(e){oj(t,o,e)}break;case 5:var a=t.return;try{iS(t)}catch(e){oj(t,a,e)}}}catch(e){oj(t,t.return,e)}if(t===e){iv=null;break}var l=t.sibling;if(null!==l){l.return=t.return,iv=l;break}iv=t.return}}var iI=0,iR=1,iN=2,iL=3,iB=4;if("function"==typeof Symbol&&Symbol.for){var iF=Symbol.for;iI=iF("selector.component"),iR=iF("selector.has_pseudo_class"),iN=iF("selector.role"),iL=iF("selector.test_id"),iB=iF("selector.text")}function iU(e){var t=J(e);if(null!=t){if("string"!=typeof t.memoizedProps["data-testname"])throw Error(f(364));return t}if(null===(e=ea(e)))throw Error(f(362));return e.stateNode.current}function iD(e,t){switch(t.$$typeof){case iI:if(e.type===t.value)return!0;break;case iR:e:{t=t.value,e=[e,0];for(var n=0;n<e.length;){var r=e[n++],i=e[n++],o=t[i];if(5!==r.tag||!es(r)){for(;null!=o&&iD(r,o);)o=t[++i];if(i===t.length){t=!0;break e}for(r=r.child;null!==r;)e.push(r,i),r=r.sibling}}t=!1}return t;case iN:if(5===e.tag&&ec(e.stateNode,t.value))return!0;break;case iB:if((5===e.tag||6===e.tag)&&null!==(e=eu(e))&&0<=e.indexOf(t.value))return!0;break;case iL:if(5===e.tag&&"string"==typeof(e=e.memoizedProps["data-testname"])&&e.toLowerCase()===t.value.toLowerCase())return!0;break;default:throw Error(f(365))}return!1}function iH(e){switch(e.$$typeof){case iI:return"<"+(A(e.value)||"Unknown")+">";case iR:return":has("+(iH(e)||"")+")";case iN:return'[role="'+e.value+'"]';case iB:return'"'+e.value+'"';case iL:return'[data-testname="'+e.value+'"]';default:throw Error(f(365))}}function iV(e,t){var n=[];e=[e,0];for(var r=0;r<e.length;){var i=e[r++],o=e[r++],a=t[o];if(5!==i.tag||!es(i)){for(;null!=a&&iD(i,a);)a=t[++o];if(o===t.length)n.push(i);else for(i=i.child;null!==i;)e.push(i,o),i=i.sibling}}return n}function iW(e,t){if(!eo)throw Error(f(363));e=iV(e=iU(e),t),t=[],e=Array.from(e);for(var n=0;n<e.length;){var r=e[n++];if(5===r.tag)es(r)||t.push(r.stateNode);else for(r=r.child;null!==r;)e.push(r),r=r.sibling}return t}var iZ=Math.ceil,iq=d.ReactCurrentDispatcher,i$=d.ReactCurrentOwner,iG=d.ReactCurrentBatchConfig,iQ=0,iY=null,iX=null,iK=0,iJ=0,i0=e7(0),i1=0,i2=null,i3=0,i5=0,i4=0,i6=null,i8=null,i7=0,i9=1/0;function oe(){i9=tO()+500}var ot=!1,on=null,or=null,oi=!1,oo=null,oa=0,ol=0,ou=null,os=-1,oc=0;function of(){return 0!=(6&iQ)?tO():-1!==os?os:os=tO()}function od(e){return 0==(1&e.mode)?1:0!=(2&iQ)&&0!==iK?iK&-iK:null!==tH.transition?(0===oc&&(e=tm,0==(4194240&(tm<<=1))&&(tm=64),oc=e),oc):0!==(e=t_)?e:et()}function op(e,t,n){if(50<ol)throw ol=0,ou=null,Error(f(185));var r=oh(e,t);return null===r?null:(tx(r,t,n),(0==(2&iQ)||r!==iY)&&(r===iY&&(0==(2&iQ)&&(i5|=t),4===i1&&ob(r,iK)),om(r,n),1===t&&0===iQ&&0==(1&e.mode)&&(oe(),tB&&tD())),r)}function oh(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function om(e,t){var n,r=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-td(o),l=1<<a,u=i[a];-1===u?(0==(l&n)||0!=(l&r))&&(i[a]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):u<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var i=ty(e,e===iY?iK:0);if(0===i)null!==r&&tP(r),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(null!=r&&tP(r),1===t)0===e.tag?(n=ow.bind(null,e),tB=!0,tU(n)):tU(ow.bind(null,e)),er?ei(function(){0===iQ&&tD()}):tM(tC,tD),r=null;else{switch(tE(i)){case 1:r=tC;break;case 4:r=tT;break;case 16:default:r=tz;break;case 536870912:r=tj}r=tM(r,ov.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function ov(e,t){if(os=-1,oc=0,0!=(6&iQ))throw Error(f(327));var n=e.callbackNode;if(oT()&&e.callbackNode!==n)return null;var r=ty(e,e===iY?iK:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=ok(e,r);else{t=r;var i=iQ;iQ|=2;var o=oM();for((iY!==e||iK!==t)&&(oe(),o_(e,t));;)try{!function(){for(;null!==iX&&!tk();)oA(iX)}();break}catch(t){oE(e,t)}tQ(),iq.current=o,iQ=i,null!==iX?t=0:(iY=null,iK=0,t=i1)}
vendor: 5,850 bytes, line 25
25if(0!==t){if(2===t&&0!==(i=tb(e))&&(r=i,t=og(e,i)),1===t)throw n=i2,o_(e,0),ob(e,r),om(e,tO()),n;if(6===t)ob(e,r);else{if(i=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!tN(o(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=ok(e,r))&&0!==(o=tb(e))&&(r=o,t=og(e,o)),1===t))throw n=i2,o_(e,0),ob(e,r),om(e,tO()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(f(345));case 2:case 5:oC(e,i8);break;case 3:if(ob(e,r),(130023424&r)===r&&10<(t=i7+500-tO())){if(0!==ty(e,0))break;if(((i=e.suspendedLanes)&r)!==r){of(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=q(oC.bind(null,e,i8),t);break}oC(e,i8);break;case 4:if(ob(e,r),(4194240&r)===r)break;for(i=-1,t=e.eventTimes;0<r;){var a=31-td(r);o=1<<a,(a=t[a])>i&&(i=a),r&=~o}if(r=i,10<(r=(120>(r=tO()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*iZ(r/1960))-r)){e.timeoutHandle=q(oC.bind(null,e,i8),r);break}oC(e,i8);break;default:throw Error(f(329))}}}return om(e,tO()),e.callbackNode===n?ov.bind(null,e):null}function og(e,t){var n=i6;return e.current.memoizedState.isDehydrated&&(o_(e,t).flags|=256),2!==(e=ok(e,t))&&(t=i8,i8=n,null!==t&&oy(t)),e}function oy(e){null===i8?i8=e:i8.push.apply(i8,e)}function ob(e,t){for(t&=~i4,t&=~i5,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-td(t),r=1<<n;e[n]=-1,t&=~r}}function ow(e){if(0!=(6&iQ))throw Error(f(327));oT();var t=ty(e,0);if(0==(1&t))return om(e,tO()),null;var n=ok(e,t);if(0!==e.tag&&2===n){var r=tb(e);0!==r&&(t=r,n=og(e,r))}if(1===n)throw n=i2,o_(e,0),ob(e,t),om(e,tO()),n;if(6===n)throw Error(f(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,oC(e,i8),om(e,tO()),null}function ox(e){null!==oo&&0===oo.tag&&0==(6&iQ)&&oT();var t=iQ;iQ|=1;var n=iG.transition,r=t_;try{if(iG.transition=null,t_=1,e)return e()}finally{t_=r,iG.transition=n,0==(6&(iQ=t))&&tD()}}function oS(){iJ=i0.current,e9(i0)}function o_(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==G&&(e.timeoutHandle=G,$(n)),null!==iX)for(n=iX.return;null!==n;){var r=n;switch(nw(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&tl();break;case 3:nq(),e9(tr),e9(tn),nK();break;case 5:nG(r);break;case 4:nq();break;case 13:case 19:e9(nQ);break;case 10:tX(r.type._context);break;case 22:case 23:oS()}n=n.return}if(iY=e,iX=e=oD(e.current,null),iK=iJ=t,i1=0,i2=null,i4=i5=i3=0,i8=i6=null,null!==t1){for(t=0;t<t1.length;t++)if(null!==(r=(n=t1[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}t1=null}return e}function oE(e,t){for(;;){var n=iX;try{if(tQ(),nJ.current=rN,n4){for(var r=n2.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}n4=!1}if(n1=0,n5=n3=n2=null,n6=!1,n8=0,i$.current=null,null===n||null===n.return){i1=1,i2=t,iX=null;break}e:{var o=e,a=n.return,l=n,u=t;if(t=iK,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u,c=l,d=c.tag;if(0==(1&c.mode)&&(0===d||11===d||15===d)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=rq(a);if(null!==h){h.flags&=-257,r$(h,a,l,o,t),1&h.mode&&rZ(o,s,t),t=h,u=s;var m=t.updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(0==(1&t)){rZ(o,s,t),oP();break e}u=Error(f(426))}else if(n_&&1&l.mode){var g=rq(a);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),r$(g,a,l,o,t),nj(u);break e}}o=u,4!==i1&&(i1=2),null===i6?i6=[o]:i6.push(o),u=rU(u,l),l=a;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t;var y=rV(l,u,t);t7(l,y);break e;case 1:o=u;var b=l.type,w=l.stateNode;if(0==(128&l.flags)&&("function"==typeof b.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===or||!or.has(w)))){l.flags|=65536,t&=-t,l.lanes|=t;var x=rW(l,o,t);t7(l,x);break e}}l=l.return}while(null!==l)}oO(n)}catch(e){t=e,iX===n&&null!==n&&(iX=n=n.return);continue}break}}function oM(){var e=iq.current;return iq.current=rN,null===e?rN:e}function oP(){(0===i1||3===i1||2===i1)&&(i1=4),null===iY||0==(268435455&i3)&&0==(268435455&i5)||ob(iY,iK)}function ok(e,t){var n=iQ;iQ|=2;var r=oM();for(iY===e&&iK===t||o_(e,t);;)try{!function(){for(;null!==iX;)oA(iX)}();break}catch(t){oE(e,t)}if(tQ(),iQ=n,iq.current=r,null!==iX)throw Error(f(261));return iY=null,iK=0,i1}function oA(e){var t=a(e.alternate,e,iJ);e.memoizedProps=e.pendingProps,null===t?oO(e):iX=t,i$.current=null}function oO(e){var n=e;do{var a=n.alternate;if(e=n.return,0==(32768&n.flags)){if(null!==(a=function(e,n,a){var l=n.pendingProps;switch(nw(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rK(n),null;case 1:case 17:return ta(n.type)&&tl(),rK(n),null;case 3:return l=n.stateNode,nq(),e9(tr),e9(tn),nK(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(null===e||null===e.child)&&(nT(n)?rG(n):null===e||e.memoizedState.isDehydrated&&0==(256&n.flags)||(n.flags|=1024,null!==nM&&(oy(nM),nM=null))),r(e,n),rK(n),null;case 5:nG(n),a=nW(nV.current);var u=n.type;if(null!==e&&null!=n.stateNode)i(e,n,u,l,a),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!l){if(null===n.stateNode)throw Error(f(166));return rK(n),null}if(e=nW(nD.current),nT(n)){if(!K)throw Error(f(175));e=eZ(n.stateNode,n.type,n.memoizedProps,a,e,n,!nE),n.updateQueue=e,null!==e&&rG(n)}else{var s=U(u,l,a,e,n);t(s,n,!1,!1),n.stateNode=s,H(s,u,l,a,e)&&rG(n)}null!==n.ref&&(n.flags|=512,n.flags|=2097152)}
25return rK(n),null;case 6:if(e&&null!=n.stateNode)o(e,n,e.memoizedProps,l);else{if("string"!=typeof l&&null===n.stateNode)throw Error(f(166));if(e=nW(nV.current),a=nW(nD.current),nT(n)){if(!K)throw Error(f(176));if((a=eq(e=n.stateNode,l=n.memoizedProps,n,!nE))&&null!==(u=nx))switch(s=0!=(1&u.mode),u.tag){case 3:e0(u.stateNode.containerInfo,e,l,s);break;case 5:e1(u.type,u.memoizedProps,u.stateNode,e,l,s)}a&&rG(n)}else n.stateNode=Z(l,e,a,n)}return rK(n),null;case 13:if(e9(nQ),l=n.memoizedState,n_&&null!==nS&&0!=(1&n.mode)&&0==(128&n.flags)){for(e=nS;e;)e=eD(e);return nz(),n.flags|=98560,n}if(null!==l&&null!==l.dehydrated){if(l=nT(n),null===e){if(!l)throw Error(f(318));if(!K)throw Error(f(344));if(!(e=null!==(e=n.memoizedState)?e.dehydrated:null))throw Error(f(317));e$(e,n)}else nz(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;return rK(n),null}if(null!==nM&&(oy(nM),nM=null),0!=(128&n.flags))return n.lanes=a,n;return l=null!==l,a=!1,null===e?nT(n):a=null!==e.memoizedState,l&&!a&&(n.child.flags|=8192,0!=(1&n.mode)&&(null===e||0!=(1&nQ.current)?0===i1&&(i1=3):oP())),null!==n.updateQueue&&(n.flags|=4),rK(n),null;case 4:return nq(),r(e,n),null===e&&ee(n.stateNode.containerInfo),rK(n),null;case 10:return tX(n.type._context),rK(n),null;case 19:if(e9(nQ),null===(u=n.memoizedState))return rK(n),null;if(l=0!=(128&n.flags),null===(s=u.rendering)){if(l)rX(u,!1);else{if(0!==i1||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(s=nY(e))){for(n.flags|=128,rX(u,!1),null!==(e=s.updateQueue)&&(n.updateQueue=e,n.flags|=4),n.subtreeFlags=0,e=a,l=n.child;null!==l;)a=l,u=e,a.flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=u,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,u=s.dependencies,a.dependencies=null===u?null:{lanes:u.lanes,firstContext:u.firstContext}),l=l.sibling;return te(nQ,1&nQ.current|2),n.child}e=e.sibling}null!==u.tail&&tO()>i9&&(n.flags|=128,l=!0,rX(u,!1),n.lanes=4194304)}}else{if(!l){if(null!==(e=nY(s))){if(n.flags|=128,l=!0,null!==(e=e.updateQueue)&&(n.updateQueue=e,n.flags|=4),rX(u,!0),null===u.tail&&"hidden"===u.tailMode&&!s.alternate&&!n_)return rK(n),null}else 2*tO()-u.renderingStartTime>i9&&1073741824!==a&&(n.flags|=128,l=!0,rX(u,!1),n.lanes=4194304)}u.isBackwards?(s.sibling=n.child,n.child=s):(null!==(e=u.last)?e.sibling=s:n.child=s,u.last=s)}if(null!==u.tail)return n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=tO(),n.sibling=null,e=nQ.current,te(nQ,l?1&e|2:1&e),n;return rK(n),null;case 22:case 23:return oS(),l=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==l&&(n.flags|=8192),l&&0!=(1&n.mode)?0!=(1073741824&iJ)&&(rK(n),Y&&6&n.subtreeFlags&&(n.flags|=8192)):rK(n),null;case 24:case 25:return null}throw Error(f(156,n.tag))}(a,n,iJ))){iX=a;return}}else{if(null!==(a=function(e,t){switch(nw(t),t.tag){case 1:return ta(t.type)&&tl(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return nq(),e9(tr),e9(tn),nK(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return nG(t),null;case 13:if(e9(nQ),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(f(340));nz()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return e9(nQ),null;case 4:return nq(),null;case 10:return tX(t.type._context),null;case 22:case 23:return oS(),null;default:return null}}(a,n))){a.flags&=32767,iX=a;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{i1=6,iX=null;return}}if(null!==(n=n.sibling)){iX=n;return}iX=n=e}while(null!==n);0===i1&&(i1=5)}function oC(e,t){var n=t_,r=iG.transition;try{iG.transition=null,t_=1,function(e,t,n){do oT();while(null!==oo);if(0!=(6&iQ))throw Error(f(327));var r=e.finishedWork,i=e.finishedLanes;if(null!==r){if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(f(177));e.callbackNode=null,e.callbackPriority=0;var o=r.lanes|r.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-td(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,o),e===iY&&(iX=iY=null,iK=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||oi||(oi=!0,a=tz,l=function(){return oT(),null},tM(a,l)),o=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||o){o=iG.transition,iG.transition=null;var a,l,u,s,c=t_;t_=1;var d=iQ;iQ|=4,i$.current=null,function(e,t){for(B(e.containerInfo),iv=t;null!==iv;)if(t=(e=iv).child,0!=(1028&e.subtreeFlags)&&null!==t)t.return=e,iv=t;else for(;null!==iv;){e=iv;try{var n=e.alternate;if(0!=(1024&e.flags))switch(e.tag){case 0:case 11:case 15:case 5:case 
256:case 4:case 17:break;case 1:if(null!==n){var r=n.memoizedProps,i=n.memoizedState,o=e.stateNode,a=o.getSnapshotBeforeUpdate(e.elementType===e.type?r:tW(e.type,r),i);o.__reactInternalSnapshotBeforeUpdate=a}break;case 3:Y&&ek(e.stateNode.containerInfo);break;default:throw Error(f(163))}}catch(t){oj(e,e.return,t)}if(null!==(t=e.sibling)){t.return=e.return,iv=t;break}iv=e.return}n=ib,ib=!1}(e,r),function(e,t){for(iv=t;null!==iv;){var n=(t=iv).deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e;Y?iA(o,i,t):iE(o,i,t);var a=i.alternate;null!==a&&(a.return=null),i.return=null}catch(e){oj(i,t,e)}}if(n=t.child,0!=(12854&t.subtreeFlags)&&null!==n)n.return=t,iv=n;else for(;null!==iv;){t=iv;try{var l=t.flags;if(32&l&&Y&&eS(t.stateNode),512&l){var u=t.alternate;if(null!==u){var s=u.ref;null!==s&&("function"==typeof s?s(null):s.current=null)}}if(8192&l)switch(t.tag){case 13:if(null!==t.memoizedState){var c=t.alternate;(null===c||null===c.memoizedState)&&(i7=tO())}break;case 22:var f=null!==t.memoizedState,d=t.alternate,p=null!==d&&null!==d.memoizedState;if(n=t,Y){e:if(r=n,i=f,o=null,Y)for(var h=r;;){if(5===h.tag){if(null===o){o=h;var m=h.stateNode;i?e_(m):eM(h.stateNode,h.memoizedProps)}}else if(6===h.tag){if(null===o){var v=h.stateNode;i?eE(v):eP(v,h.memoizedProps)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===r)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===r)break;for(;null===h.sibling;){if(null===h.return||h.return===r)break e;o===h&&(o=null),h=h.return}o===h&&(o=null),h.sibling.return=h.return,h=h.sibling}}if(f&&!p&&0!=(1&n.mode)){iv=n;for(var g=n.child;null!==g;){for(n=iv=g;null!==iv;){var y=(r=iv).child;switch(r.tag){case 0:case 11:case 14:case 15:iw(4,r,r.return);break;case 1:ig(r,r.return);var b=r.stateNode;if("function"==typeof b.componentWillUnmount){var w=r.return;try{b.props=r.memoizedProps,b.state=r.memoizedState,b.componentWillUnmount()}catch(e){oj(r,w,e)}}break;case 5:ig(r,r.return);break;case 22:if(null!==r.memoizedState){iz(n);continue}}null!==y?(y.return=r,iv=y):iz(n)}g=g.sibling}}}switch(4102&l){case 2:ik(t),t.flags&=-3;break;case 6:ik(t),t.flags&=-3,iO(t.alternate,t);break;case 4096:t.flags&=-4097;break;case 4100:t.flags&=-4097,iO(t.alternate,t);break;case 4:iO(t.alternate,t)}}catch(e){oj(t,t.return,e)}if(null!==(n=t.sibling)){n.return=t.return,iv=n;break}iv=t.return}}}(e,r,i),F(e.containerInfo),e.current=r,u=r,s=e,iv=u,function e(t,n,r){for(var i=0!=(1&t.mode);null!==iv;){var o=iv,a=o.child;if(22===o.tag&&i){var l=null!==o.memoizedState||ip;if(!l){var u=o.alternate,s=null!==u&&null!==u.memoizedState||ih;u=ip;var c=ih;if(ip=l,(ih=s)&&!c)for(iv=o;null!==iv;)s=(l=iv).child,22===l.tag&&null!==l.memoizedState?ij(o):null!==s?(s.return=l,iv=s):ij(o);for(;null!==a;)iv=a,e(a,n,r),a=a.sibling;iv=o,ip=u,ih=c}iT(t,n,r)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,iv=a):iT(t,n,r)}}(u,s,i),tA(),iQ=d,t_=c,iG.transition=o}else e.current=r;if(oi&&(oi=!1,oo=e,oa=i),0===(o=e.pendingLanes)&&(or=null),function(e){if(tR&&"function"==typeof tR.onCommitFiberRoot)try{tR.onCommitFiberRoot(tI,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode,n),om(e,tO()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n(t[r]);if(ot)throw ot=!1,e=on,on=null,e;0!=(1&oa)&&0!==e.tag&&oT(),0!=(1&(o=e.pendingLanes))?e===ou?ol++:(ol=0,ou=e):ol=0,tD()}}(e,t,n)}finally{iG.transition=r,t_=n}return null}function oT(){if(null!==oo){var e=tE(oa),t=iG.transition,n=t_;try{if(iG.transition=null,t_=16>e?16:e,null===oo)var r=!1;else{if(e=oo,oo=null,oa=0,0!=(6&iQ))throw Error(f(331));var i=iQ;for(iQ|=4,iv=e.current;null!==iv;){var o=iv,a=o.child;if(0!=(16&iv.flags)){var l=o.deletions;if(null!==l){for(var u=0;u<l.length;u++){var s=l[u];for(iv=s;null!==iv;){var c=iv;switch(c.tag){case 0:case 11:case 15:iw(8,c,o)}var d=c.child;if(null!==d)d.return=c,iv=d;else for(;null!==iv;){var p=(c=iv).sibling,h=c.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&en(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(c),c===s){iv=null;break}if(null!==p){p.return=h,iv=p;break}iv=h}}}var m=o.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}iv=o}}
vendor: 5,065 bytes, line 25
25if(0!=(2064&o.subtreeFlags)&&null!==a)a.return=o,iv=a;else for(;null!==iv;){if(o=iv,0!=(2048&o.flags))switch(o.tag){case 0:case 11:case 15:iw(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,iv=y;break}iv=o.return}}var b=e.current;for(iv=b;null!==iv;){var w=(a=iv).child;if(0!=(2064&a.subtreeFlags)&&null!==w)w.return=a,iv=w;else for(a=b;null!==iv;){if(l=iv,0!=(2048&l.flags))try{switch(l.tag){case 0:case 11:case 15:ix(9,l)}}catch(e){oj(l,l.return,e)}if(l===a){iv=null;break}var x=l.sibling;if(null!==x){x.return=l.return,iv=x;break}iv=l.return}}if(iQ=i,tD(),tR&&"function"==typeof tR.onPostCommitFiberRoot)try{tR.onPostCommitFiberRoot(tI,e)}catch(e){}r=!0}return r}finally{t_=n,iG.transition=t}}return!1}function oz(e,t,n){t=rV(e,t=rU(n,t),1),t6(e,t),t=of(),null!==(e=oh(e,1))&&(tx(e,1,t),om(e,t))}function oj(e,t,n){if(3===e.tag)oz(e,e,n);else for(;null!==t;){if(3===t.tag){oz(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===or||!or.has(r))){e=rW(t,e=rU(n,e),1),t6(t,e),e=of(),null!==(t=oh(t,1))&&(tx(t,1,e),om(t,e));break}}t=t.return}}function oI(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=of(),e.pingedLanes|=e.suspendedLanes&n,iY===e&&(iK&n)===n&&(4===i1||3===i1&&(130023424&iK)===iK&&500>tO()-i7?o_(e,0):i4|=n),om(e,t)}function oR(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tv,0==(130023424&(tv<<=1))&&(tv=4194304)));var n=of();null!==(e=oh(e,t))&&(tx(e,t,n),om(e,n))}function oN(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),oR(e,n)}function oL(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(f(314))}null!==r&&r.delete(t),oR(e,n)}function oB(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function oF(e,t,n,r){return new oB(e,t,n,r)}function oU(e){return!(!(e=e.prototype)||!e.isReactComponent)}function oD(e,t){var n=e.alternate;return null===n?((n=oF(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function oH(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)oU(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case m:return oV(n.children,i,o,t);case v:a=8,i|=8;break;case g:return(e=oF(12,n,t,2|i)).elementType=g,e.lanes=o,e;case x:return(e=oF(13,n,t,i)).elementType=x,e.lanes=o,e;case S:return(e=oF(19,n,t,i)).elementType=S,e.lanes=o,e;case M:return oW(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case y:a=10;break e;case b:a=9;break e;case w:a=11;break e;case _:a=14;break e;case E:a=16,r=null;break e}throw Error(f(130,null==e?e:typeof e,""))}return(t=oF(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function oV(e,t,n,r){return(e=oF(7,e,r,t)).lanes=n,e}function oW(e,t,n,r){return(e=oF(22,e,r,t)).elementType=M,e.lanes=n,e.stateNode={},e}function oZ(e,t,n){return(e=oF(6,e,null,t)).lanes=n,e}function oq(e,t,n){return(t=oF(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function o$(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=G,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tw(0),this.expirationTimes=tw(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tw(0),this.identifierPrefix=r,this.onRecoverableError=i,K&&(this.mutableSourceEagerHydrationData=null)}function oG(e,t,n,r,i,o,a,l,u){return e=new o$(e,t,n,l,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=oF(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null},t3(o),e}function oQ(e){if(!e)return tt;e=e._reactInternals;e:{if(O(e)!==e||1!==e.tag)throw Error(f(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ta(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(f(171))}if(1===e.tag){var n=e.type;if(ta(n))return ts(e,n,t)}return t}function oY(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(f(188));throw Error(f(268,e=Object.keys(e).join(",")))}
25return null===(e=z(t))?null:e.stateNode}function oX(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function oK(e,t){oX(e,t),(e=e.alternate)&&oX(e,t)}function oJ(e){return null===(e=z(e))?null:e.stateNode}function o0(){return null}return a=function(e,t,n){if(null!==e){if(e.memoizedProps!==t.pendingProps||tr.current)r0=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return r0=!1,function(e,t,n){switch(t.tag){case 3:ie(t),nz();break;case 5:n$(t);break;case 1:ta(t.type)&&tc(t);break;case 4:nZ(t,t.stateNode.containerInfo);break;case 10:tY(t,t.type._context,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return te(nQ,1&nQ.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return io(e,t,n);return te(nQ,1&nQ.current),null!==(e=id(e,t,n))?e.sibling:null}te(nQ,1&nQ.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return ic(e,t,n);t.flags|=128}var i=t.memoizedState;if(null!==i&&(i.rendering=null,i.tail=null,i.lastEffect=null),te(nQ,nQ.current),!r)return null;break;case 22:case 23:return t.lanes=0,r4(e,t,n)}return id(e,t,n)}(e,t,n);r0=0!=(131072&e.flags)}}else r0=!1,n_&&0!=(1048576&t.flags)&&ny(t,nf,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var i=to(t,tn.current);tJ(t,n),i=rt(null,t,r,e,i,n);var o=rn();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ta(r)?(o=!0,tc(t)):o=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,t3(t),i.updater=nr,t.stateNode=i,i._reactInternals=t,nl(t,r,e,n),t=r9(null,t,r,!0,o,n)):(t.tag=0,n_&&o&&nb(t),r1(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return oU(e)?1:0;if(null!=e){if((e=e.$$typeof)===w)return 11;if(e===_)return 14}return 2}(r),e=tW(r,e),i){case 0:t=r8(null,t,r,e,n);break e;case 1:t=r7(null,t,r,e,n);break e;case 11:t=r2(null,t,r,e,n);break e;case 14:t=r3(null,t,r,tW(r.type,e),n);break e}throw Error(f(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tW(r,i),r8(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tW(r,i),r7(e,t,r,i,n);case 3:e:{if(ie(t),null===e)throw Error(f(387));r=t.pendingProps,i=(o=t.memoizedState).element,t5(e,t),t9(t,r,null,n);var a=t.memoizedState;if(r=a.element,K&&o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:a.cache,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=it(e,t,r,n,i=Error(f(423)));break e}if(r!==i){t=it(e,t,r,n,i=Error(f(424)));break e}for(K&&(nS=eV(t.stateNode.containerInfo),nx=t,n_=!0,nM=null,nE=!1),n=nF(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(nz(),r===i){t=id(e,t,n);break e}r1(e,t,r,n)}t=t.child}return t;case 5:return n$(t),null===e&&nO(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,a=i.children,W(r,i)?a=null:null!==o&&W(r,o)&&(t.flags|=32),r6(e,t),r1(e,t,a,n),t.child;case 6:return null===e&&nO(t),null;case 13:return io(e,t,n);case 4:return nZ(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=nB(t,null,r,n):r1(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tW(r,i),r2(e,t,r,i,n);case 7:return r1(e,t,t.pendingProps,n),t.child;case 8:case 12:return r1(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,tY(t,r,a=i.value),null!==o){if(tN(o.value,a)){if(o.children===i.children&&!tr.current){t=id(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){a=o.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===o.tag){(u=t4(-1,n&-n)).tag=2;var s=o.updateQueue;if(null!==s){var c=(s=s.shared).pending;null===c?u.next=u:(u.next=c.next,c.next=u),s.pending=u}}o.lanes|=n,null!==(u=o.alternate)&&(u.lanes|=n),tK(o.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===o.tag)a=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(a=o.return))throw Error(f(341));a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),tK(a,n,t),a=o.sibling}else a=o.child;
25if(null!==a)a.return=o;else for(a=o;null!==a;){if(a===t){a=null;break}if(null!==(o=a.sibling)){o.return=a.return,a=o;break}a=a.return}o=a}}r1(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,tJ(t,n),r=r(i=t0(i)),t.flags|=1,r1(e,t,r,n),t.child;case 14:return i=tW(r=t.type,t.pendingProps),i=tW(r.type,i),r3(e,t,r,i,n);case 15:return r5(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:tW(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ta(r)?(e=!0,tc(t)):e=!1,tJ(t,n),no(t,r,i),nl(t,r,i,n),r9(null,t,r,!0,e,n);case 19:return ic(e,t,n);case 22:return r4(e,t,n)}throw Error(f(156,t.tag))},l.attemptContinuousHydration=function(e){13===e.tag&&(op(e,134217728,of()),oK(e,134217728))},l.attemptHydrationAtCurrentPriority=function(e){if(13===e.tag){var t=of(),n=od(e);op(e,n,t),oK(e,n)}},l.attemptSynchronousHydration=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=tg(t.pendingLanes);0!==n&&(tS(t,1|n),om(t,tO()),0==(6&iQ)&&(oe(),tD()))}break;case 13:var r=of();ox(function(){return op(e,1,r)}),oK(e,1)}},l.batchedUpdates=function(e,t){var n=iQ;iQ|=1;try{return e(t)}finally{0===(iQ=n)&&(oe(),tB&&tD())}},l.createComponentSelector=function(e){return{$$typeof:iI,value:e}},l.createContainer=function(e,t,n,r,i,o,a){return oG(e,t,!1,null,n,r,i,o,a)},l.createHasPseudoClassSelector=function(e){return{$$typeof:iR,value:e}},l.createHydrationContainer=function(e,t,n,r,i,o,a,l,u){return(e=oG(n,r,!0,e,i,o,a,l,u)).context=oQ(null),n=e.current,(o=t4(r=of(),i=od(n))).callback=null!=t?t:null,t6(n,o),e.current.lanes=i,tx(e,i,r),om(e,r),e},l.createPortal=function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:h,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}},l.createRoleSelector=function(e){return{$$typeof:iN,value:e}},l.createTestNameSelector=function(e){return{$$typeof:iL,value:e}},l.createTextSelector=function(e){return{$$typeof:iB,value:e}},l.deferredUpdates=function(e){var t=t_,n=iG.transition;try{return iG.transition=null,t_=16,e()}finally{t_=t,iG.transition=n}},l.discreteUpdates=function(e,t,n,r,i){var o=t_,a=iG.transition;try{return iG.transition=null,t_=1,e(t,n,r,i)}finally{t_=o,iG.transition=a,0===iQ&&oe()}},l.findAllNodes=iW,l.findBoundingRects=function(e,t){if(!eo)throw Error(f(363));t=iW(e,t),e=[];for(var n=0;n<t.length;n++)e.push(el(t[n]));for(t=e.length-1;0<t;t--){n=e[t];for(var r=n.x,i=r+n.width,o=n.y,a=o+n.height,l=t-1;0<=l;l--)if(t!==l){var u=e[l],s=u.x,c=s+u.width,d=u.y,p=d+u.height;if(r>=s&&o>=d&&i<=c&&a<=p){e.splice(t,1);break}if(r!==s||n.width!==u.width||p<o||d>a){if(!(o!==d||n.height!==u.height||c<r||s>i)){s>r&&(u.width+=s-r,u.x=r),c<i&&(u.width=i-s),e.splice(t,1);break}}else{d>o&&(u.height+=d-o,u.y=o),p<a&&(u.height=a-d),e.splice(t,1);break}}}return e},l.findHostInstance=oY,l.findHostInstanceWithNoPortals=function(e){return null===(e=null!==(e=T(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){if(4!==t.tag){var n=e(t);if(null!==n)return n}t=t.sibling}return null}(e):null)?null:e.stateNode},l.findHostInstanceWithWarning=function(e){return oY(e)},l.flushControlled=function(e){var t=iQ;iQ|=1;var n=iG.transition,r=t_;try{iG.transition=null,t_=1,e()}finally{t_=r,iG.transition=n,0===(iQ=t)&&(oe(),tD())}},l.flushPassiveEffects=oT,l.flushSync=ox,l.focusWithin=function(e,t){if(!eo)throw Error(f(363));for(t=Array.from(t=iV(e=iU(e),t)),e=0;e<t.length;){var n=t[e++];if(!es(n)){if(5===n.tag&&ef(n.stateNode))return!0;for(n=n.child;null!==n;)t.push(n),n=n.sibling}}return!1},l.getCurrentUpdatePriority=function(){return t_},l.getFindAllNodesFailureDescription=function(e,t){if(!eo)throw Error(f(363));var n=0,r=[];e=[iU(e),0];for(var i=0;i<e.length;){var o=e[i++],a=e[i++],l=t[a];if((5!==o.tag||!es(o))&&(iD(o,l)&&(r.push(iH(l)),++a>n&&(n=a)),a<t.length))for(o=o.child;null!==o;)e.push(o,a),o=o.sibling}if(n<t.length){for(e=[];n<t.length;n++)e.push(iH(t[n]));return"findAllNodes was able to match part of the selector:\n  "+r.join(" > ")+"\n\nNo matching component was found for:\n  "+e.join(" > ")}return null},l.getPublicRootInstance=function(e){return(e=e.current).child?5===e.child.tag?R(e.child.stateNode):e.child.stateNode:null},l.injectIntoDevTools=function(e){if(e={bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:d.ReactCurrentDispatcher,findHostInstanceByFiber:oJ,f
vendor: 5,439 bytes, lines 25-33
25indFiberByHostInstance:e.findFiberByHostInstance||o0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.0.0-fc46dba67-20220329"},"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)e=!1;else{var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)e=!0;else{try{tI=t.inject(e),tR=t}catch(e){}e=!!t.checkDCE}}return e},l.isAlreadyRendering=function(){return!1},l.observeVisibleRects=function(e,t,n,r){if(!eo)throw Error(f(363));var i=ed(e=iW(e,t),n,r).disconnect;return{disconnect:function(){i()}}},l.registerMutableSourceForHydration=function(e,t){var n=t._getVersion;n=n(t._source),null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)},l.runWithPriority=function(e,t){var n=t_;try{return t_=e,t()}finally{t_=n}},l.shouldError=function(){return null},l.shouldSuspend=function(){return!1},l.updateContainer=function(e,t,n,r){var i=t.current,o=of(),a=od(i);return n=oQ(n),null===t.context?t.context=n:t.pendingContext=n,(t=t4(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),t6(i,t),null!==(e=op(i,a,o))&&t8(e,i,a),a},l}},95592:function(e,t,n){"use strict";e.exports=n(64008)},31543:function(e,t,n){"use strict";e.exports=n(14185)},43361:function(e,t){"use strict";/**
26 * @license React
27 * scheduler.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,i=e[r];if(0<o(i,t))e[r]=t,e[n]=i,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,i=e.length,a=i>>>1;r<a;){var l=2*(r+1)-1,u=e[l],s=l+1,c=e[s];if(0>o(u,n))s<i&&0>o(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[l]=n,r=l);else if(s<i&&0>o(c,n))e[r]=c,e[s]=n,r=s;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a,l=performance;t.unstable_now=function(){return l.now()}}else{var u=Date,s=u.now();t.unstable_now=function(){return u.now()-s}}var c=[],f=[],d=1,p=null,h=3,m=!1,v=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(f);null!==t;){if(null===t.callback)i(f);else if(t.startTime<=e)i(f),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(f)}}function S(e){if(g=!1,x(e),!v){if(null!==r(c))v=!0,j(_);else{var t=r(f);null!==t&&I(S,t.startTime-e)}}}function _(e,n){v=!1,g&&(g=!1,b(P),P=-1),m=!0;var o=h;try{for(x(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!O());){var a=p.callback;if("function"==typeof a){p.callback=null,h=p.priorityLevel;var l=a(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?p.callback=l:p===r(c)&&i(c),x(n)}else i(c);p=r(c)}if(null!==p)var u=!0;else{var s=r(f);null!==s&&I(S,s.startTime-n),u=!1}return u}finally{p=null,h=o,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,M=null,P=-1,k=5,A=-1;function O(){return!(t.unstable_now()-A<k)}function C(){if(null!==M){var e=t.unstable_now();A=e;var n=!0;try{n=M(!0,e)}finally{n?a():(E=!1,M=null)}}else E=!1}if("function"==typeof w)a=function(){w(C)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,z=T.port2;T.port1.onmessage=C,a=function(){z.postMessage(null)}}else a=function(){y(C,0)};function j(e){M=e,E||(E=!0,a())}function I(e,n){P=y(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||m||(v=!0,j(_))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=o+l,e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:l,sortIndex:-1},o>a?(e.sortIndex=o,n(f,e),null===r(c)&&e===r(f)&&(g?(b(P),P=-1):g=!0,I(S,o-a))):(e.sortIndex=l,n(c,e),v||m||(v=!0,j(_))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},83932:function(e,t,n){"use strict";e.exports=n(43361)}
33,16673:function(e,t,n){var r=n(4561),i=n(44758),o=new r,a=n(13810);e.exports=function(e){e=e||{};var t,n,l=[],u={initAsync:function(e,r){s(e);var i=c(e);a(e,function(t,n){i.insert(n,e,0)},function(){n=e,t=i,"function"==typeof r&&r(u)},{step:3})},init:function(e){s(e),n=e,t=c(e);for(var r=0;r<e.length;r+=3)t.insert(r,n,0)},bounds:function(){return t?t.bounds:o},intersectRay:function(e,r,i,o){if(!t)return l;void 0===i&&(i=0),void 0===o&&(o=Number.POSITIVE_INFINITY),i*=i,o*=o;var a=[];return t.query(a,n,function(t){var n,i=t.half,a=(t.x-i-e.x)/r.x,l=(t.x+i-e.x)/r.x,u=(t.y+i-e.y)/r.y,s=(t.y-i-e.y)/r.y,c=(t.z-i-e.z)/r.z,f=(t.z+i-e.z)/r.z,d=Math.min(Math.min(Math.max(a,l),Math.max(u,s)),Math.max(c,f));return!(d<0)&&(n=Math.max(Math.max(Math.min(a,l),Math.min(u,s)),Math.min(c,f)))<=d&&n<=o},function(t,n,r){var a=(t-e.x)*(t-e.x)+(n-e.y)*(n-e.y)+(r-e.z)*(r-e.z);return i<=a&&a<=o}),a.sort(function(t,n){var r=e[t],i=e[t+1],o=e[t+2],a=(r-e.x)*(r-e.x)+(i-e.y)*(i-e.y)+(o-e.z)*(o-e.z),l=e[n],u=e[n+1],s=e[n+2];return a-((l-e.x)*(l-e.x)+(u-e.y)*(u-e.y)+(s-e.z)*(s-e.z))})},intersectSphere:function(e,r,i,o){if(!t)return l;var a=[],u=o*o;return t.query(a,n,function(t){var n,o,a,l,s,c,f=u,d=t.half;return e<t.x-d?f-=(n=e-(t.x-d))*n:e>t.x+d&&(f-=(o=e-(t.x+d))*o),r<t.y-d?f-=(a=r-(t.y-d))*a:r>t.y+d&&(f-=(l=r-(t.y+d))*l),i<t.z-d?f-=(s=i-(t.z-d))*s:i>t.z+d&&(f-=(c=i-(t.z+d))*c),f>0},function(t,n,o){var a,l,s;return(a=t-e)*a+(l=n-r)*l+(s=o-i)*s<u}),a},getRoot:function(){return t}};return u;function s(e){if(!e)throw Error("Points array is required for quadtree to work");if("number"!=typeof e.length)throw Error("Points should be array-like object");if(e.length%3!=0)throw Error("Points array should consist of series of x,y,z coordinates and be multiple of 3")}function c(e){if(0===e.length)return new i(new r);for(var t=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY,l=Number.NEGATIVE_INFINITY,u=Number.NEGATIVE_INFINITY,s=0;s<e.length;s+=3){var c=e[s],f=e[s+1],d=e[s+2];c<t&&(t=c),c>a&&(a=c),f<n&&(n=f),f>l&&(l=f),d<o&&(o=d),d>u&&(u=d)}var p=Math.max(Math.max(a-t,l-n),u-o),h=(p+=2)/2;return new i(new r((t-=1)+h,(n-=1)+h,(o-=1)+h,h))}}},4561:function(e){function t(e,t,n,r){this.x="number"==typeof e?e:0,this.y="number"==typeof t?t:0,this.z="number"==typeof n?n:0,this.half="number"==typeof r?r:0}e.exports=t,t.prototype.contains=function(e,t,n){var r=this.half;return this.x-r<=e&&e<this.x+r&&this.y-r<=t&&t<this.y+r&&this.z-r<=n&&n<this.z+r}},44758:function(e,t,n){var r=n(4561);function i(e){this.bounds=e,this.q0=null,this.q1=null,this.q2=null,this.q3=null,this.q4=null,this.q5=null,this.q6=null,this.q7=null,this.items=null}e.exports=i,i.prototype.subdivide=function(){var e=this.bounds,t=e.half/2;this.q0=new i(new r(e.x-t,e.y-t,e.z-t,t)),this.q1=new i(new r(e.x+t,e.y-t,e.z-t,t)),this.q2=new i(new r(e.x-t,e.y+t,e.z-t,t)),this.q3=new i(new r(e.x+t,e.y+t,e.z-t,t)),this.q4=new i(new r(e.x-t,e.y-t,e.z+t,t)),this.q5=new i(new r(e.x+t,e.y-t,e.z+t,t)),this.q6=new i(new r(e.x-t,e.y+t,e.z+t,t)),this.q7=new i(new r(e.x+t,e.y+t,e.z+t,t))},i.prototype.insert=function(e,t,n){if(null===this.q0){if(null===this.items?this.items=[e]:this.items.push(e),this.items.length>=4&&n<16){this.subdivide();for(var r=0;r<this.items.length;++r)this.insert(this.items[r],t,n+1);this.items=null}}else{var i,o=t[e],a=t[e+1],l=t[e+2],u=this.bounds,s=0;o>u.x&&(s+=1),a>u.y&&(s+=2),l>u.z&&(s+=4),(0===(i=s)?this.q0:1===i?this.q1:2===i?this.q2:3===i?this.q3:4===i?this.q4:5===i?this.q5:6===i?this.q6:7===i?this.q7:void 0).insert(e,t,n+1)}},i.prototype.query=function(e,t,n,r){if(n(this.bounds)){var i=this.items,o="function"==typeof r;if(i)for(var a=0;a<i.length;++a){var l=i[a];o?r(t[l],t[l+1],t[l+2])&&e.push(l):e.push(l)}this.q0&&(this.q0.query(e,t,n,r),this.q1.query(e,t,n,r),this.q2.query(e,t,n,r),this.q3.query(e,t,n,r),this.q4.query(e,t,n,r),this.q5.query(e,t,n,r),this.q6.query(e,t,n,r),this.q7.query(e,t,n,r))}}},22988:function(e,t,n){"use strict";function r(){return(r=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)}n.d(t,{Z:function(){return r}})},70940:function(e,t,n){"use strict";n.d(t,{Vx:function(){return f},kX:function(){return c},oY:function(){return i}});var r,i=Object.freeze({Linear:Object.freeze({None:function(e){return e},In:function(e){return e},Out:function(e){return e},InOut:function(e){return e}}),Quadratic:Object.freeze({In:function(e){return e*e},Out:function(e){return e*(2-e)},InOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)}}),Cubic:Object.freeze({In:function(e){return e*e*e},Out:function(e){return--e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)}}),Quartic:Object.freeze({In:function(e){return e*e*e*e},Out:function(e){return 1- --e*e*e*e},InOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)}}),Quintic:Object.freeze({In:function(e){return e*e*e*e*e},Out:function(e){return--e*e*e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)}}),Sinusoidal:Object.freeze({In:function(e){return 1-Math.sin((1-e)*Math.PI/2)},Out:function(e){return Math.sin(e*Math.PI/2)},InOut:function(e){return .5*(1-Math.sin(Math.PI*(.5-e)))}}),Exponential:Object.freeze({In:function(e){return 0===e?0:Math.pow(1024,e-1)},Out:function(e){return 1===e?1:1-Math.pow(2,-10*e)},InOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)}}),Circular:Object.freeze({In:function(e){return 1-Math.sqrt(1-e*e)},Out:function(e){return Math.sqrt(1- --e*e)},InOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}}),Elastic:Object.freeze({In:function(e){return 0===e?0:1===e?1:-Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI)},Out:function(e){return 0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((e-.1)*5*Math.PI)+1},InOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?-.5*Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI):.5*Math.pow(2,-10*(e-1))*Math.sin((e-1.1)*5*Math.PI)+1}}),Back:Object.freeze({In:function(e){return 1===e?1:e*e*(2.70158*e-1.70158)},Out:function(e){return 0===e?0:--e*e*(2.70158*e+1.70158)+1},InOut:function(e){return(e*=2)<1?e*e*(3.5949095*e-2.5949095)*.5:.5*((e-=2)*e*(3.5949095*e+2.5949095)+2)}}),Bounce:Object.freeze({In:function(e){return 1-i.Bounce.Out(1-e)},Out:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},InOut:function(e){return e<.5?.5*i.Bounce.In(2*e):.5*i.Bounce.Out(2*e-1)+.5}}),generatePow:function(e){return void 0===e&&(e=4),e=(e=e<Number.EPSILON?Number.EPSILON:e)>1e4?1e4:e,{In:function(t){return Math.pow(t,e)},Out:function(t){return 1-Math.pow(1-t,e)},InOut:function(t){return t<.5?Math.pow(2*t,e)/2:(1-Math.pow(2-2*t,e))/2+.5}}}}),o=function(){return performance.now()},a=function(){function e(){this._tweens={},this._tweensAddedDuringUpdate={}}return e.prototype.getAll=function(){var e=this;return Object.keys(this._tweens).map(function(t){return e._tweens[t]})},e.prototype.removeAll=function(){this._tweens={}},e.prototype.add=function(e){this._tweens[e.getId()]=e,this._tweensAddedDuringUpdate[e.getId()]=e},e.prototype.remove=function(e){delete this._tweens[e.getId()],delete this._tweensAddedDuringUpdate[e.getId()]},e.prototype.update=function(e,t){void 0===e&&(e=o()),void 0===t&&(t=!1);var n=Object.keys(this._tweens);if(0===n.length)return!1;for(;n.length>0;){this._tweensAddedDuringUpdate={};for(var r=0;r<n.length;r++){var i=this._tweens[n[r]],a=!t;i&&!1===i.update(e,a)&&!t&&delete this._tweens[n[r]]}n=Object.keys(this._tweensAddedDuringUpdate)}return!0},e}(),l={Linear:function(e,t){var n=e.length-1,r=n*t,i=Math.floor(r),o=l.Utils.Linear;return t<0?o(e[0],e[1],r):t>1?o(e[n],e[n-1],n-r):o(e[i],e[i+1>n?n:i+1],r-i)},Bezier:function(e,t){for(var n=0,r=e.length-1,i=Math.pow,o=l.Utils.Bernstein,a=0;a<=r;a++)n+=i(1-t,r-a)*i(t,a)*e[a]*o(r,a);return n},CatmullRom:function(e,t){var n=e.length-1,r=n*t,i=Math.floor(r),o=l.Utils.CatmullRom;return e[0]===e[n]?(t<0&&(i=Math.floor(r=n*(1+t))),o(e[(i-1+n)%n],e[i],e[(i+1)%n],e[(i+2)%n],r-i)):t<0?e[0]-(o(e[0],e[0],e[1],e[1],-r)-e[0]):t>1?e[n]-(o(e[n],e[n],e[n-1],e[n-1],r-n)-e[n]):o(e[i?i-1:0],e[i],e[n<i+1?n:i+1],e[n<i+2?n:i+2],r-i)},Utils:{Linear:function(e,t,n){return(t-e)*n+e},Bernstein:function(e,t){var n=l.Utils.Factorial;return n(e)/n(t)/n(e-t)},Factorial:(r=[1],function(e){var t=1;if(r[e])return r[e];for(var n=e;n>1;n--)t*=n;return r[e]=t,t}),CatmullRom:function(e,t,n,r,i){var o=(n-e)*.5,a=(r-t)*.5,l=i*i;return i*l*(2*t-2*n+o+a)+(-3*t+3*n-2*o-a)*l+o*i+t}}},u=function(){function e(){}return e.nextId=function(){return e._nextId++},e._nextId=0,e}(),s=new a,c=function(){function e(e,t){void 0===t&&(t=s),this._object=e,this._group=t,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._isDynamic=!1,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=i.Linear.None,this._interpolationFunction=l.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._id=u.nextId(),this._isChainStopped=!1,this._propertiesAreSetUp=!1,this._goToEnd=!1}return e.prototype.getId=function(){return this._id},e.prototype.isPlaying=function(){return this._isPlaying},e.prototype.isPaused=function(){return this._isPaused},e.prototype.getDuration=function(){return this._duration},e.prototype.to=function(e,t){if(void 0===t&&(t=1e3),this._isPlaying)throw Error("Can not call Tween.to() while Tween is already started or paused. Stop the Tween first.");return this._valuesEnd=e,this._propertiesAreSetUp=!1,this._duration=t<0?0:t,this},e.prototype.duration=function(e){return void 0===e&&(e=1e3),this._duration=e<0?0:e,this},e.prototype.dynamic=function(e){return void 0===e&&(e=!1),this._isDynamic=e,this},e.prototype.start=function(e,t){if(void 0===e&&(e=o()),void 0===t&&(t=!1),this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed)for(var n in this._reversed=!1,this._valuesStartRepeat)this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];if(this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=e,this._startTime+=this._delayTime,!this._propertiesAreSetUp||t){if(this._propertiesAreSetUp=!0,!this._isDynamic){var r={};for(var i in this._valuesEnd)r[i]=this._valuesEnd[i];this._valuesEnd=r}this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat,t)}return this},e.prototype.startFromCurrentValues=function(e){return this.start(e,!0)},e.prototype._setupProperties=function(e,t,n,r,i){for(var o in n){var a=e[o],l=Array.isArray(a),u=l?"array":typeof a,s=!l&&Array.isArray(n[o]);if("undefined"!==u&&"function"!==u){if(s){var c=n[o];if(0===c.length)continue;for(var f=[a],d=0,p=c.length;d<p;d+=1){var h=this._handleRelativeValue(a,c[d]);if(isNaN(h)){s=!1,console.warn("Found invalid interpolation list. Skipping.");break}f.push(h)}s&&(n[o]=f)}if(("object"===u||l)&&a&&!s){for(var m in t[o]=l?[]:{},a)t[o][m]=a[m];r[o]=l?[]:{};var c=n[o];if(!this._isDynamic){var v={};for(var m in c)v[m]=c[m];n[o]=c=v}this._setupProperties(a,t[o],c,r[o],i)}else(void 0===t[o]||i)&&(t[o]=a),l||(t[o]*=1),s?r[o]=n[o].slice().reverse():r[o]=t[o]||0}}},e.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying&&(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object)),this},e.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},e.prototype.pause=function(e){return void 0===e&&(e=o()),this._isPaused||!this._isPlaying||(this._isPaused=!0,this._pauseStart=e,this._group&&this._group.remove(this)),this},e.prototype.resume=function(e){return void 0===e&&(e=o()),this._isPaused&&this._isPlaying&&(this._isPaused=!1,this._startTime+=e-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this)),this},e.prototype.stopChainedTweens=function(){for(var e=0,t=this._chainedTweens.length;e<t;e++)this._chainedTweens[e].stop();return this},e.prototype.group=function(e){return void 0===e&&(e=s),this._group=e,this},e.prototype.delay=function(e){return void 0===e&&(e=0),this._delayTime=e,this},e.prototype.repeat=function(e){return void 0===e&&(e=0),this._initialRepeat=e,this._repeat=e,this},e.prototype.repeatDelay=function(e){return this._repeatDelayTime=e,this},e.prototype.yoyo=function(e){return void 0===e&&(e=!1),this._yoyo=e,this},e.prototype.easing=function(e){return void 0===e&&(e=i.Linear.None),this._easingFunction=e,this},e.prototype.interpolation=function(e){return void 0===e&&(e=l.Linear),this._interpolationFunction=e,this},e.prototype.chain=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this._chainedTweens=e,this},e.prototype.onStart=function(e){return this._onStartCallback=e,this},e.prototype.onEveryStart=function(e){return this._onEveryStartCallback=e,this},e.prototype.onUpdate=function(e){return this._onUpdateCallback=e,this},e.prototype.onRepeat=function(e){return this._onRepeatCallback=e,this},e.prototype.onComplete=function(e){return this._onCompleteCallback=e,this},e.prototype.onStop=function(e){return this._onStopCallback=e,this},e.prototype.update=function(e,t){if(void 0===e&&(e=o()),void 0===t&&(t=!0),this._isPaused)return!0;var n,r=this._startTime+this._duration;if(!this._goToEnd&&!this._isPlaying){if(e>r)return!1;t&&this.start(e,!0)}if(this._goToEnd=!1,e<this._startTime)return!0;!1===this._onStartCallbackFired&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),!1===this._onEveryStartCallbackFired&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0);var i=e-this._startTime,a=this._duration+(null!==(n=this._repeatDelayTime)&&void 0!==n?n:this._delayTime),l=this._duration+this._repeat*a,u=this._calculateElapsedPortion(i,a,l),s=this._easingFunction(u),c=this._calculateCompletionStatus(i,a);if("repeat"===c&&this._processRepetition(i,a),this._updateProperties(this._object,this._valuesStart,this._valuesEnd,s),"about-to-repeat"===c&&this._processRepetition(i,a),this._onUpdateCallback&&this._onUpdateCallback(this._object,u),"repeat"===c||"about-to-repeat"===c)this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1;else if("completed"===c){this._isPlaying=!1,this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var f=0,d=this._chainedTweens.length;f<d;f++)this._chainedTweens[f].start(this._startTime+this._duration,!1)}return"completed"!==c},e.prototype._calculateElapsedPortion=function(e,t,n){if(0===this._duration||e>n)return 1;var r=Math.min(e%t/this._duration,1);return 0===r&&0!==e&&e%this._duration==0?1:r},e.prototype._calculateCompletionStatus=function(e,t){return 0!==this._duration&&e<this._duration?"playing":this._repeat<=0?"completed":e===this._duration?"about-to-repeat":"repeat"},e.prototype._processRepetition=function(e,t){var n=Math.min(Math.trunc((e-this._duration)/t)+1,this._repeat);for(var r in isFinite(this._repeat)&&(this._repeat-=n),this._valuesStartRepeat){var i=this._valuesEnd[r];this._yoyo||"string"!=typeof i||(this._valuesStartRepeat[r]=this._valuesStartRepeat[r]+parseFloat(i)),this._yoyo&&this._swapEndStartRepeatValues(r),this._valuesStart[r]=this._valuesStartRepeat[r]}this._yoyo&&(this._reversed=!this._reversed),this._startTime+=t*n},e.prototype._updateProperties=function(e,t,n,r){for(var i in n)if(void 0!==t[i]){var o=t[i]||0,a=n[i],l=Array.isArray(e[i]),u=Array.isArray(a);!l&&u?e[i]=this._interpolationFunction(a,r):"object"==typeof a&&a?this._updateProperties(e[i],o,a,r):"number"==typeof(a=this._handleRelativeValue(o,a))&&(e[i]=o+(a-o)*r)}},e.prototype._handleRelativeValue=function(e,t){return"string"!=typeof t?t:"+"===t.charAt(0)||"-"===t.charAt(0)?e+parseFloat(t):parseFloat(t)},e.prototype._swapEndStartRepeatValues=function(e){var t=this._valuesStartRepeat[e],n=this._valuesEnd[e];"string"==typeof n?this._va
33luesStartRepeat[e]=this._valuesStartRepeat[e]+parseFloat(n):this._valuesStartRepeat[e]=this._valuesEnd[e],this._valuesEnd[e]=t},e}();u.nextId,s.getAll.bind(s),s.removeAll.bind(s),s.add.bind(s),s.remove.bind(s);var f=s.update.bind(s)},9851:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return"function"==typeof e?e:"string"==typeof e?function(t){return t[e]}:function(t){return e}}},73131:function(e,t,n){"use strict";n.d(t,{dU:function(){return r}});class r{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){let t=this._partials,n=0;for(let r=0;r<this._n&&r<32;r++){let i=t[r],o=e+i,a=Math.abs(e)<Math.abs(i)?e-(o-i):i-(o-e);a&&(t[n++]=a),e=o}return t[n]=e,this._n=n+1,this}valueOf(){let e=this._partials,t=this._n,n,r,i,o=0;if(t>0){for(o=e[--t];t>0&&(o=(n=o)+(r=e[--t]),!(i=r-(o-n))););t>0&&(i<0&&e[t-1]<0||i>0&&e[t-1]>0)&&(n=o+(r=2*i),r==n-o&&(o=n))}return o}}},50641:function(e,t,n){"use strict";function r(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}n.d(t,{Z:function(){return r}})},27534:function(e,t,n){"use strict";function r(e,t){let n=0;if(void 0===t)for(let t of e)(t=+t)&&(n+=t);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&(n+=i)}return n}n.d(t,{Z:function(){return r}})},8343:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r,i,o,a,l=n(73131),u=n(22731),s=n(33375),c=n(18310),f={sphere:s.Z,point:s.Z,lineStart:function(){f.point=p,f.lineEnd=d},lineEnd:s.Z,polygonStart:s.Z,polygonEnd:s.Z};function d(){f.point=f.lineEnd=s.Z}function p(e,t){e*=u.uR,t*=u.uR,i=e,o=(0,u.O$)(t),a=(0,u.mC)(t),f.point=h}function h(e,t){e*=u.uR,t*=u.uR;var n=(0,u.O$)(t),l=(0,u.mC)(t),s=(0,u.Wn)(e-i),c=(0,u.mC)(s),f=l*(0,u.O$)(s),d=a*n-o*l*c,p=o*n+a*l*c;r.add((0,u.fv)((0,u._b)(f*f+d*d),p)),i=e,o=n,a=l}var m=[null,null],v={type:"LineString",coordinates:m};function g(e,t){return m[0]=e,m[1]=t,r=new l.dU,(0,c.Z)(v,f),+r}},54113:function(e,t,n){"use strict";n.d(t,{e:function(){return l}});var r=n(78923),i=n(22731);function o(e,t,n){var o=(0,r.Z)(e,t-i.Ho,n).concat(t);return function(e){return o.map(function(t){return[e,t]})}}function a(e,t,n){var o=(0,r.Z)(e,t-i.Ho,n).concat(t);return function(e){return o.map(function(t){return[t,e]})}}function l(){return(function(){var e,t,n,l,u,s,c,f,d,p,h,m,v=10,g=10,y=90,b=360,w=2.5;function x(){return{type:"MultiLineString",coordinates:S()}}function S(){return(0,r.Z)((0,i.mD)(l/y)*y,n,y).map(h).concat((0,r.Z)((0,i.mD)(f/b)*b,c,b).map(m)).concat((0,r.Z)((0,i.mD)(t/v)*v,e,v).filter(function(e){return(0,i.Wn)(e%y)>i.Ho}).map(d)).concat((0,r.Z)((0,i.mD)(s/g)*g,u,g).filter(function(e){return(0,i.Wn)(e%b)>i.Ho}).map(p))}return x.lines=function(){return S().map(function(e){return{type:"LineString",coordinates:e}})},x.outline=function(){return{type:"Polygon",coordinates:[h(l).concat(m(c).slice(1),h(n).reverse().slice(1),m(f).reverse().slice(1))]}},x.extent=function(e){return arguments.length?x.extentMajor(e).extentMinor(e):x.extentMinor()},x.extentMajor=function(e){return arguments.length?(l=+e[0][0],n=+e[1][0],f=+e[0][1],c=+e[1][1],l>n&&(e=l,l=n,n=e),f>c&&(e=f,f=c,c=e),x.precision(w)):[[l,f],[n,c]]},x.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],s=+n[0][1],u=+n[1][1],t>e&&(n=t,t=e,e=n),s>u&&(n=s,s=u,u=n),x.precision(w)):[[t,s],[e,u]]},x.step=function(e){return arguments.length?x.stepMajor(e).stepMinor(e):x.stepMinor()},x.stepMajor=function(e){return arguments.length?(y=+e[0],b=+e[1],x):[y,b]},x.stepMinor=function(e){return arguments.length?(v=+e[0],g=+e[1],x):[v,g]},x.precision=function(r){return arguments.length?(w=+r,d=o(s,u,90),p=a(t,e,w),h=o(f,c,90),m=a(l,n,w),x):w},x.extentMajor([[-180,-90+i.Ho],[180,90-i.Ho]]).extentMinor([[-180,-80-i.Ho],[180,80+i.Ho]])})()()}},71651:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(22731);function i(e,t){var n=e[0]*r.uR,i=e[1]*r.uR,o=t[0]*r.uR,a=t[1]*r.uR,l=(0,r.mC)(i),u=(0,r.O$)(i),s=(0,r.mC)(a),c=(0,r.O$)(a),f=l*(0,r.mC)(n),d=l*(0,r.O$)(n),p=s*(0,r.mC)(o),h=s*(0,r.O$)(o),m=2*(0,r.ZR)((0,r._b)((0,r.Jy)(a-i)+l*s*(0,r.Jy)(o-n))),v=(0,r.O$)(m),g=m?function(e){var t=(0,r.O$)(e*=m)/v,n=(0,r.O$)(m-e)/v,i=n*f+t*p,o=n*d+t*h;return[(0,r.fv)(o,i)*r.RW,(0,r.fv)(n*u+t*c,(0,r._b)(i*i+o*o))*r.RW]}:function(){return[n*r.RW,i*r.RW]};return g.distance=m,g}},22731:function(e,t,n){"use strict";n.d(t,{BZ:function(){return u},Ho:function(){return r},Jy:function(){return S},Kh:function(){return w},O$:function(){return g},RW:function(){return s},Wn:function(){return f},Xx:function(){return y},ZR:function(){return x},_b:function(){return b},_m:function(){return v},aW:function(){return i},fv:function(){return p},mC:function(){return h},mD:function(){return m},ou:function(){return a},pi:function(){return o},pu:function(){return l},uR:function(){return c},z4:function(){return d}});var r=1e-6,i=1e-12,o=Math.PI,a=o/2,l=o/4,u=2*o,s=180/o,c=o/180,f=Math.abs,d=Math.atan,p=Math.atan2,h=Math.cos,m=Math.ceil,v=Math.hypot,g=Math.sin,y=Math.sign||function(e){return e>0?1:e<0?-1:0},b=Math.sqrt;function w(e){return e>1?0:e<-1?o:Math.acos(e)}function x(e){return e>1?a:e<-1?-a:Math.asin(e)}function S(e){return(e=g(e/2))*e}},33375:function(e,t,n){"use strict";function r(){}n.d(t,{Z:function(){return r}})},18310:function(e,t,n){"use strict";function r(e,t){e&&o.hasOwnProperty(e.type)&&o[e.type](e,t)}n.d(t,{Z:function(){return u}});var i={Feature:function(e,t){r(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,i=-1,o=n.length;++i<o;)r(n[i].geometry,t)}},o={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)e=n[r],t.point(e[0],e[1],e[2])},LineString:function(e,t){a(e.coordinates,t,0)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)a(n[r],t,0)},Polygon:function(e,t){l(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)l(n[r],t)},GeometryCollection:function(e,t){for(var n=e.geometries,i=-1,o=n.length;++i<o;)r(n[i],t)}};function a(e,t,n){var r,i=-1,o=e.length-n;for(t.lineStart();++i<o;)r=e[i],t.point(r[0],r[1],r[2]);t.lineEnd()}function l(e,t){var n=-1,r=e.length;for(t.polygonStart();++n<r;)a(e[n],t,1);t.polygonEnd()}function u(e,t){e&&i.hasOwnProperty(e.type)?i[e.type](e,t):r(e,t)}},6989:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(66387);function i(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 o(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}function a(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,i,o,a,l=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,i=e}
33finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(e,t)||u(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 l(e){return function(e){if(Array.isArray(e))return s(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 s(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 s(e,t)}}function s(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 c=["createObj","updateObj","exitObj","objBindAttr","dataBindAttr"];function f(e,t,n,u,s){var f,d,p,h,m,v,g,y,b,w,x,S,_=s.createObj,E=void 0===_?function(e){return{}}:_,M=s.updateObj,P=void 0===M?function(e,t){}:M,k=s.exitObj,A=void 0===k?function(e){}:k,O=s.objBindAttr,C=void 0===O?"__obj":O,T=s.dataBindAttr,z=void 0===T?"__data":T,j=(h=void 0===(p=(d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({objBindAttr:C,dataBindAttr:z},function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(s,c))).objBindAttr)?"__obj":p,v=void 0===(m=d.dataBindAttr)?"__data":m,g=d.idAccessor,y=d.purge,b=function(e){return e.hasOwnProperty(v)},w=t.filter(function(e){return!b(e)}),x=t.filter(b).map(function(e){return e[v]}),(S=void 0!==y&&y?{enter:e,exit:x,update:[]}:function(e,t,n){var i={enter:[],update:[],exit:[]};if(n){var o=(0,r.Z)(e,n,!1),u=(0,r.Z)(t,n,!1);Object.entries(Object.assign({},o,u)).forEach(function(e){var t=a(e,2),n=t[0],r=t[1],l=o.hasOwnProperty(n)?u.hasOwnProperty(n)?"update":"exit":"enter";i[l].push("update"===l?[o[n],u[n]]:r)})}else{var s=new Set(e),c=new Set(t);new Set([].concat(l(s),l(c))).forEach(function(e){var t=s.has(e)?c.has(e)?"update":"exit":"enter";i[t].push("update"===t?[e,e]:e)})}return i}(x,e,g)).update=S.update.map(function(e){var t=a(e,2),n=t[0],r=t[1];return n!==r&&(r[h]=n[h],r[h][v]=r),r}),S.exit=S.exit.concat(w.map(function(e){return o({},h,e)})),S),I=j.enter,R=j.update;j.exit.forEach(function(e){var t=e[C];delete e[C],A(t),u(t)});var N=(f=[],I.forEach(function(e){var t=E(e);t&&(t[z]=e,e[C]=t,f.push(t))}),f);(function(e){e.forEach(function(e){var t=e[C];t&&(t[z]=e,P(t,e))})})([].concat(l(I),l(R))),N.forEach(n)}},66387:function(e,t,n){"use strict";function r(e,t){if(e){if("string"==typeof e)return i(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 i(e,t)}}function i(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 o(e){var t=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)}(e,"string");return"symbol"==typeof t?t:String(t)}n.d(t,{Z:function(){return a}});var a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=(t instanceof Array?t.length?t:[void 0]:[t]).map(function(e){return{keyAccessor:e,isProp:!(e instanceof Function)}}),u=e.reduce(function(e,t){var r=e,i=t;return l.forEach(function(e,t){var a,u=e.keyAccessor;if(e.isProp){var s=i,c=s[u],f=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(s,[u].map(o));a=c,i=f}else a=u(i,t);t+1<l.length?(r.hasOwnProperty(a)||(r[a]={}),r=r[a]):n?(r.hasOwnProperty(a)||(r[a]=[]),r[a].push(i)):r[a]=i}),e},{});n instanceof Function&&function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;r===l.length?Object.keys(t).forEach(function(e){return t[e]=n(t[e])}):Object.values(t).forEach(function(t){return e(t,r+1)})}(u);var s=u;return a&&(s=[],function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];n.length===l.length?s.push({keys:n,vals:t}):Object.entries(t).forEach(function(t){var o=function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,l=[],u=!0,s=!1;try{for(o=(n=n.call(e)).next;!(u=(r=o.call(n)).done)&&(l.push(r.value),2!==l.length);u=!0);}catch(e){s=!0,i=e}
33finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(t,2)||r(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.")}(),a=o[0];return e(o[1],[].concat(function(e){if(Array.isArray(e))return i(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||r(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.")}(),[a]))})}(u),t instanceof Array&&0===t.length&&1===s.length&&(s[0].keys=[])),s}},53443:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});var r,i=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},o="object"==typeof global&&global&&global.Object===Object&&global,a="object"==typeof self&&self&&self.Object===Object&&self,l=o||a||Function("return this")(),u=function(){return l.Date.now()},s=/\s/,c=function(e){for(var t=e.length;t--&&s.test(e.charAt(t)););return t},f=/^\s+/,d=l.Symbol,p=Object.prototype,h=p.hasOwnProperty,m=p.toString,v=d?d.toStringTag:void 0,g=function(e){var t=h.call(e,v),n=e[v];try{e[v]=void 0;var r=!0}catch(e){}var i=m.call(e);return r&&(t?e[v]=n:delete e[v]),i},y=Object.prototype.toString,b=d?d.toStringTag:void 0,w=function(e){var t;return"symbol"==typeof e||null!=e&&"object"==typeof e&&"[object Symbol]"==(null==(t=e)?void 0===t?"[object Undefined]":"[object Null]":b&&b in Object(t)?g(t):y.call(t))},x=0/0,S=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,E=/^0o[0-7]+$/i,M=parseInt,P=function(e){if("number"==typeof e)return e;if(w(e))return x;if(i(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=i(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,c(t)+1).replace(f,""):t;var r=_.test(e);return r||E.test(e)?M(e.slice(2),r?2:8):S.test(e)?x:+e},k=Math.max,A=Math.min,O=function(e,t,n){var r,o,a,l,s,c,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function m(t){var n=r,i=o;return r=o=void 0,f=t,l=e.apply(i,n)}function v(e){var n=e-c,r=e-f;return void 0===c||n>=t||n<0||p&&r>=a}function g(){var e,n,r,i=u();if(v(i))return y(i);s=setTimeout(g,(e=i-c,n=i-f,r=t-e,p?A(r,a-n):r))}function y(e){return(s=void 0,h&&r)?m(e):(r=o=void 0,l)}function b(){var e,n=u(),i=v(n);if(r=arguments,o=this,c=n,i){if(void 0===s)return f=e=c,s=setTimeout(g,t),d?m(e):l;if(p)return clearTimeout(s),s=setTimeout(g,t),m(c)}return void 0===s&&(s=setTimeout(g,t)),l}return t=P(t)||0,i(n)&&(d=!!n.leading,a=(p="maxWait"in n)?k(P(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),b.cancel=function(){void 0!==s&&clearTimeout(s),f=0,r=c=o=s=void 0},b.flush=function(){return void 0===s?l:y(u())},b};function C(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 T=(Object.defineProperty(r=function e(t,n){var r=n.default,i=n.triggerUpdate,o=n.onChange;(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this.name=t,this.defaultVal=void 0===r?null:r,this.triggerUpdate=void 0===i||i,this.onChange=void 0===o?function(e,t){}:o},"prototype",{writable:!1}),r);function z(e){var t=e.stateInit,n=void 0===t?function(){return{}}:t,r=e.props,i=void 0===r?{}:r,o=e.methods,a=void 0===o?{}:o,l=e.aliases,u=void 0===l?{}:l,s=e.init,c=void 0===s?function(){}:s,f=e.update,d=void 0===f?function(){}:f,p=Object.keys(i).map(function(e){return new T(e,i[e])});return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},n instanceof Function?n(e):n,{initialised:!1}),r={};function i(t){return o(t,e),l(),i}var o=function(e,n){c.call(i,e,t,n),t.initialised=!0},l=O(function(){t.initialised&&(d.call(i,t,r),r={})},1);return p.forEach(function(e){var n,o,a,u,s,c,f;i[e.name]=(n=e.name,a=void 0!==(o=e.triggerUpdate)&&o,s=void 0===(u=e.onChange)?function(e,t){}:u,f=void 0===(c=e.defaultVal)?null:c,function(e){var o=t[n];if(!arguments.length)return o;var u=void 0===e?f:e;return t[n]=u,s.call(i,u,t,o),r.hasOwnProperty(n)||(r[n]=o),a&&l(),i})}
33),Object.keys(a).forEach(function(e){i[e]=function(){for(var n,r=arguments.length,o=Array(r),l=0;l<r;l++)o[l]=arguments[l];return(n=a[e]).call.apply(n,[i,t].concat(o))}}),Object.entries(u).forEach(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,i,o,a,l=[],u=!0,s=!1;try{for(o=(n=n.call(e)).next;!(u=(r=o.call(n)).done)&&(l.push(r.value),2!==l.length);u=!0);}catch(e){s=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(e,2)||function(e,t){if(e){if("string"==typeof e)return C(e,2);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 C(e,2)}}(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 i[n]=i[r]}),i.resetProps=function(){return p.forEach(function(e){i[e.name](e.defaultVal)}),i},i.resetProps(),t._rerender=l,i}}},76340:function(e,t,n){"use strict";n.d(t,{E:function(){return tU}});var r,i,o,a,l,u,s,c,f,d,p,h,m,v,g,y,b,w,x,S,_,E,M,P,k,A,O,C,T=n(97776);function z(e){return Array.from(function*(e){for(let t of e)yield*t}(e))}function j(e,t){let n,r;if(void 0===t)for(let t of e)null!=t&&(void 0===n?t>=t&&(n=r=t):(n>t&&(n=t),r<t&&(r=t)));else{let i=-1;for(let o of e)null!=(o=t(o,++i,e))&&(void 0===n?o>=o&&(n=r=o):(n>o&&(n=o),r<o&&(r=o)))}return[n,r]}var I=n(5464),R=n(90961);function N(e,t,n){var r=!1;t[0][0]===t[t.length-1][0]&&t[0][1]===t[t.length-1][1]&&(t=t.slice(0,t.length-1));for(var i=0,o=t.length-1;i<t.length;o=i++){var a=t[i][0],l=t[i][1],u=t[o][0],s=t[o][1];if(e[1]*(a-u)+l*(u-e[0])+s*(e[0]-a)==0&&(a-e[0])*(u-e[0])<=0&&(l-e[1])*(s-e[1])<=0)return!n;l>e[1]!=s>e[1]&&e[0]<(u-a)*(e[1]-l)/(s-l)+a&&(r=!r)}return r}var L,B,F,U,D,H=n(73131),V=n(22731),W=n(33375),Z=new H.dU,q=new H.dU,$={point:W.Z,lineStart:W.Z,lineEnd:W.Z,polygonStart:function(){Z=new H.dU,$.lineStart=G,$.lineEnd=Q},polygonEnd:function(){var e=+Z;q.add(e<0?V.BZ+e:e),this.lineStart=this.lineEnd=this.point=W.Z},sphere:function(){q.add(V.BZ)}};function G(){$.point=Y}function Q(){X(L,B)}
33function Y(e,t){$.point=X,L=e,B=t,e*=V.uR,t*=V.uR,F=e,U=(0,V.mC)(t=t/2+V.pu),D=(0,V.O$)(t)}function X(e,t){e*=V.uR,t*=V.uR,t=t/2+V.pu;var n=e-F,r=n>=0?1:-1,i=r*n,o=(0,V.mC)(t),a=(0,V.O$)(t),l=D*a,u=U*o+l*(0,V.mC)(i),s=l*r*(0,V.O$)(i);Z.add((0,V.fv)(s,u)),F=e,U=o,D=a}function K(e){return[(0,V.fv)(e[1],e[0]),(0,V.ZR)(e[2])]}function J(e){var t=e[0],n=e[1],r=(0,V.mC)(n);return[r*(0,V.mC)(t),r*(0,V.O$)(t),(0,V.O$)(n)]}function ee(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function et(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function en(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function er(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function ei(e){var t=(0,V._b)(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var eo=n(18310),ea={point:el,lineStart:es,lineEnd:ec,polygonStart:function(){ea.point=ef,ea.lineStart=ed,ea.lineEnd=ep,d=new H.dU,$.polygonStart()},polygonEnd:function(){$.polygonEnd(),ea.point=el,ea.lineStart=es,ea.lineEnd=ec,Z<0?(i=-(a=180),o=-(l=90)):d>V.Ho?l=90:d<-V.Ho&&(o=-90),h[0]=i,h[1]=a},sphere:function(){i=-(a=180),o=-(l=90)}};function el(e,t){p.push(h=[i=e,a=e]),t<o&&(o=t),t>l&&(l=t)}function eu(e,t){var n=J([e*V.uR,t*V.uR]);if(f){var r=et(f,n),s=et([r[1],-r[0],0],r);ei(s),s=K(s);var c,d=e-u,m=d>0?1:-1,v=s[0]*V.RW*m,g=(0,V.Wn)(d)>180;g^(m*u<v&&v<m*e)?(c=s[1]*V.RW)>l&&(l=c):g^(m*u<(v=(v+360)%360-180)&&v<m*e)?(c=-s[1]*V.RW)<o&&(o=c):(t<o&&(o=t),t>l&&(l=t)),g?e<u?eh(i,e)>eh(i,a)&&(a=e):eh(e,a)>eh(i,a)&&(i=e):a>=i?(e<i&&(i=e),e>a&&(a=e)):e>u?eh(i,e)>eh(i,a)&&(a=e):eh(e,a)>eh(i,a)&&(i=e)}else p.push(h=[i=e,a=e]);t<o&&(o=t),t>l&&(l=t),f=n,u=e}function es(){ea.point=eu}function ec(){h[0]=i,h[1]=a,ea.point=el,f=null}function ef(e,t){if(f){var n=e-u;d.add((0,V.Wn)(n)>180?n+(n>0?360:-360):n)}else s=e,c=t;$.point(e,t),eu(e,t)}function ed(){$.lineStart()}function ep(){ef(s,c),$.lineEnd(),(0,V.Wn)(d)>V.Ho&&(i=-(a=180)),h[0]=i,h[1]=a,f=null}function eh(e,t){return(t-=e)<0?t+360:t}function em(e,t){return e[0]-t[0]}function ev(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t<e[0]||e[1]<t}function eg(e){var t,n,r,u,s,c,f;if(l=a=-(i=o=1/0),p=[],(0,eo.Z)(e,ea),n=p.length){for(p.sort(em),t=1,s=[r=p[0]];t<n;++t)ev(r,(u=p[t])[0])||ev(r,u[1])?(eh(r[0],u[1])>eh(r[0],r[1])&&(r[1]=u[1]),eh(u[0],r[1])>eh(r[0],r[1])&&(r[0]=u[0])):s.push(r=u);for(c=-1/0,n=s.length-1,t=0,r=s[n];t<=n;r=u,++t)u=s[t],(f=eh(r[1],u[0]))>c&&(c=f,i=u[0],a=r[1])}return p=h=null,i===1/0||o===1/0?[[NaN,NaN],[NaN,NaN]]:[[i,o],[a,l]]}var ey=n(8343),eb=n(71651);function ew(e){return(0,V.Wn)(e[0])<=V.pi?e[0]:(0,V.Xx)(e[0])*(((0,V.Wn)(e[0])+V.pi)%V.BZ-V.pi)}function ex(e,t){var n=ew(t),r=t[1],i=(0,V.O$)(r),o=[(0,V.O$)(n),-(0,V.mC)(n),0],a=0,l=0,u=new H.dU;1===i?r=V.ou+V.Ho:-1===i&&(r=-V.ou-V.Ho);for(var s=0,c=e.length;s<c;++s)if(d=(f=e[s]).length)for(var f,d,p=f[d-1],h=ew(p),m=p[1]/2+V.pu,v=(0,V.O$)(m),g=(0,V.mC)(m),y=0;y<d;++y,h=w,v=S,g=_,p=b){var b=f[y],w=ew(b),x=b[1]/2+V.pu,S=(0,V.O$)(x),_=(0,V.mC)(x),E=w-h,M=E>=0?1:-1,P=M*E,k=P>V.pi,A=v*S;if(u.add((0,V.fv)(A*M*(0,V.O$)(P),g*_+A*(0,V.mC)(P))),a+=k?E+M*V.BZ:E,k^h>=n^w>=n){var O=et(J(p),J(b));ei(O);var C=et(o,O);ei(C);var T=(k^E>=0?-1:1)*(0,V.ZR)(C[2]);(r>T||r===T&&(O[0]||O[1]))&&(l+=k^E>=0?1:-1)}}return(a<-V.Ho||a<V.Ho&&u<-V.aW)^1&l}var eS={Feature:function(e,t){return eE(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r<i;)if(eE(n[r].geometry,t))return!0;return!1}},e_={Sphere:function(){return!0},Point:function(e,t){return eM(e.coordinates,t)},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)if(eM(n[r],t))return!0;return!1},LineString:function(e,t){return eP(e.coordinates,t)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)if(eP(n[r],t))return!0;return!1},Polygon:function(e,t){return ek(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)if(ek(n[r],t))return!0;return!1},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,i=n.length;++r<i;)if(eE(n[r],t))return!0;return!1}};function eE(e,t){return!!(e&&e_.hasOwnProperty(e.type))&&e_[e.type](e,t)}function eM(e,t){return 0===(0,ey.Z)(e,t)}function eP(e,t){for(var n,r,i,o=0,a=e.length;o<a;o++){if(0===(r=(0,ey.Z)(e[o],t))||o>0&&(i=(0,ey.Z)(e[o],e[o-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<V.aW*i)return!0;n=r}return!1}function ek(e,t){return!!ex(e.map(eA),eO(t))}function eA(e){return(e=e.map(eO)).pop(),e}function eO(e){return[e[0]*V.uR,e[1]*V.uR]}var eC={sphere:W.Z,point:eT,lineStart:ej,lineEnd:eN,polygonStart:function(){eC.lineStart=eL,eC.lineEnd=eB},polygonEnd:function(){eC.lineStart=ej,eC.lineEnd=eN}};function eT(e,t){e*=V.uR,t*=V.uR;
33var n=(0,V.mC)(t);ez(n*(0,V.mC)(e),n*(0,V.O$)(e),(0,V.O$)(t))}function ez(e,t,n){++m,g+=(e-g)/m,y+=(t-y)/m,b+=(n-b)/m}function ej(){eC.point=eI}function eI(e,t){e*=V.uR,t*=V.uR;var n=(0,V.mC)(t);A=n*(0,V.mC)(e),O=n*(0,V.O$)(e),C=(0,V.O$)(t),eC.point=eR,ez(A,O,C)}function eR(e,t){e*=V.uR,t*=V.uR;var n=(0,V.mC)(t),r=n*(0,V.mC)(e),i=n*(0,V.O$)(e),o=(0,V.O$)(t),a=(0,V.fv)((0,V._b)((a=O*o-C*i)*a+(a=C*r-A*o)*a+(a=A*i-O*r)*a),A*r+O*i+C*o);v+=a,w+=a*(A+(A=r)),x+=a*(O+(O=i)),S+=a*(C+(C=o)),ez(A,O,C)}function eN(){eC.point=eT}function eL(){eC.point=eF}function eB(){eU(P,k),eC.point=eT}function eF(e,t){P=e,k=t,e*=V.uR,t*=V.uR,eC.point=eU;var n=(0,V.mC)(t);A=n*(0,V.mC)(e),O=n*(0,V.O$)(e),C=(0,V.O$)(t),ez(A,O,C)}function eU(e,t){e*=V.uR,t*=V.uR;var n=(0,V.mC)(t),r=n*(0,V.mC)(e),i=n*(0,V.O$)(e),o=(0,V.O$)(t),a=O*o-C*i,l=C*r-A*o,u=A*i-O*r,s=(0,V._m)(a,l,u),c=(0,V.ZR)(s),f=s&&-c/s;_.add(f*a),E.add(f*l),M.add(f*u),v+=c,w+=c*(A+(A=r)),x+=c*(O+(O=i)),S+=c*(C+(C=o)),ez(A,O,C)}function eD(e){m=v=g=y=b=w=x=S=0,_=new H.dU,E=new H.dU,M=new H.dU,(0,eo.Z)(e,eC);var t=+_,n=+E,r=+M,i=(0,V._m)(t,n,r);return i<V.aW&&(t=w,n=x,r=S,v<V.Ho&&(t=g,n=y,r=b),(i=(0,V._m)(t,n,r))<V.aW)?[NaN,NaN]:[(0,V.fv)(n,t)*V.RW,(0,V.ZR)(r/i)*V.RW]}var eH=n(8995);function eV(e,t){function n(n,r){return t((n=e(n,r))[0],n[1])}return e.invert&&t.invert&&(n.invert=function(n,r){return(n=t.invert(n,r))&&e.invert(n[0],n[1])}),n}function eW(e,t){return(0,V.Wn)(e)>V.pi&&(e-=Math.round(e/V.BZ)*V.BZ),[e,t]}function eZ(e,t,n){return(e%=V.BZ)?t||n?eV(e$(e),eG(t,n)):e$(e):t||n?eG(t,n):eW}function eq(e){return function(t,n){return t+=e,(0,V.Wn)(t)>V.pi&&(t-=Math.round(t/V.BZ)*V.BZ),[t,n]}}function e$(e){var t=eq(e);return t.invert=eq(-e),t}function eG(e,t){var n=(0,V.mC)(e),r=(0,V.O$)(e),i=(0,V.mC)(t),o=(0,V.O$)(t);function a(e,t){var a=(0,V.mC)(t),l=(0,V.mC)(e)*a,u=(0,V.O$)(e)*a,s=(0,V.O$)(t),c=s*n+l*r;return[(0,V.fv)(u*i-c*o,l*n-s*r),(0,V.ZR)(c*i+u*o)]}return a.invert=function(e,t){var a=(0,V.mC)(t),l=(0,V.mC)(e)*a,u=(0,V.O$)(e)*a,s=(0,V.O$)(t),c=s*i-u*o;return[(0,V.fv)(u*i+s*o,l*n+c*r),(0,V.ZR)(c*n-l*r)]},a}function eQ(){var e,t=[];return{point:function(t,n,r){e.push([t,n,r])},lineStart:function(){t.push(e=[])},lineEnd:W.Z,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function eY(e,t){return(0,V.Wn)(e[0]-t[0])<V.Ho&&(0,V.Wn)(e[1]-t[1])<V.Ho}function eX(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function eK(e,t,n,r,i){var o,a,l=[],u=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],a=e[t];if(eY(r,a)){if(!r[2]&&!a[2]){for(i.lineStart(),o=0;o<t;++o)i.point((r=e[o])[0],r[1]);i.lineEnd();return}a[0]+=2*V.Ho}l.push(n=new eX(r,e,null,!0)),u.push(n.o=new eX(r,null,n,!1)),l.push(n=new eX(a,e,null,!1)),u.push(n.o=new eX(a,null,n,!0))}}),l.length){for(u.sort(t),eJ(l),eJ(u),o=0,a=u.length;o<a;++o)u[o].e=n=!n;for(var s,c,f=l[0];;){for(var d=f,p=!0;d.v;)if((d=d.n)===f)return;s=d.z,i.lineStart();do{if(d.v=d.o.v=!0,d.e){if(p)for(o=0,a=s.length;o<a;++o)i.point((c=s[o])[0],c[1]);else r(d.x,d.n.x,1,i);d=d.n}else{if(p)for(o=(s=d.p.z).length-1;o>=0;--o)i.point((c=s[o])[0],c[1]);else r(d.x,d.p.x,-1,i);d=d.p}s=(d=d.o).z,p=!p}while(!d.v);i.lineEnd()}}}function eJ(e){if(t=e.length){for(var t,n,r=0,i=e[0];++r<t;)i.n=n=e[r],n.p=i,i=n;i.n=n=e[0],n.p=i}}function e0(e,t,n,r){return function(i){var o,a,l,u=t(i),s=eQ(),c=t(s),f=!1,d={point:p,lineStart:m,lineEnd:v,polygonStart:function(){d.point=g,d.lineStart=y,d.lineEnd=b,a=[],o=[]},polygonEnd:function(){d.point=p,d.lineStart=m,d.lineEnd=v,a=z(a);var e=ex(o,r);a.length?(f||(i.polygonStart(),f=!0),eK(a,e2,e,n,i)):e&&(f||(i.polygonStart(),f=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function p(t,n){e(t,n)&&i.point(t,n)}function h(e,t){u.point(e,t)}function m(){d.point=h,u.lineStart()}function v(){d.point=p,u.lineEnd()}function g(e,t){l.push([e,t]),c.point(e,t)}function y(){c.lineStart(),l=[]}function b(){g(l[0][0],l[0][1]),c.lineEnd();var e,t,n,r,u=c.clean(),d=s.result(),p=d.length;if(l.pop(),o.push(l),l=null,p){if(1&u){if((t=(n=d[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),e=0;e<t;++e)i.point((r=n[e])[0],r[1]);i.lineEnd()}return}p>1&&2&u&&d.push(d.pop().concat(d.shift())),a.push(d.filter(e1))}}return d}}function e1(e){return e.length>1}function e2(e,t){return((e=e.x)[0]<0?e[1]-V.ou-V.Ho:V.ou-e[1])-((t=t.x)[0]<0?t[1]-V.ou-V.Ho:V.ou-t[1])}eW.invert=eW;var e3=e0(function(){return!0},function(e){var t,n=NaN,r=NaN,i=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(o,a){var l,u,s,c,f,d,p=o>0?V.pi:-V.pi,h=(0,V.Wn)(o-n);
33(0,V.Wn)(h-V.pi)<V.Ho?(e.point(n,r=(r+a)/2>0?V.ou:-V.ou),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(p,r),e.point(o,r),t=0):i!==p&&h>=V.pi&&((0,V.Wn)(n-i)<V.Ho&&(n-=i*V.Ho),(0,V.Wn)(o-p)<V.Ho&&(o-=p*V.Ho),l=n,u=r,s=o,d=(0,V.O$)(l-s),r=(0,V.Wn)(d)>V.Ho?(0,V.z4)(((0,V.O$)(u)*(f=(0,V.mC)(a))*(0,V.O$)(s)-(0,V.O$)(a)*(c=(0,V.mC)(u))*(0,V.O$)(l))/(c*f*d)):(u+a)/2,e.point(i,r),e.lineEnd(),e.lineStart(),e.point(p,r),t=0),e.point(n=o,r=a),i=p},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var i;if(null==e)i=n*V.ou,r.point(-V.pi,i),r.point(0,i),r.point(V.pi,i),r.point(V.pi,0),r.point(V.pi,-i),r.point(0,-i),r.point(-V.pi,-i),r.point(-V.pi,0),r.point(-V.pi,i);else if((0,V.Wn)(e[0]-t[0])>V.Ho){var o=e[0]<t[0]?V.pi:-V.pi;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(t[0],t[1])},[-V.pi,-V.ou]);function e5(e,t){t=J(t),t[0]-=e,ei(t);var n=(0,V.Kh)(-t[1]);return((0>-t[2]?-n:n)+V.BZ-V.Ho)%V.BZ}var e4=e=>e;function e6(e){return function(t){var n=new e8;for(var r in e)n[r]=e[r];return n.stream=t,n}}function e8(){}e8.prototype={constructor:e8,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var e7=1/0,e9=1/0,te=-1/0,tt=te,tn={point:function(e,t){e<e7&&(e7=e),e>te&&(te=e),t<e9&&(e9=t),t>tt&&(tt=t)},lineStart:W.Z,lineEnd:W.Z,polygonStart:W.Z,polygonEnd:W.Z,result:function(){var e=[[e7,e9],[te,tt]];return te=tt=-(e9=e7=1/0),e}};function tr(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=r&&e.clipExtent(null),(0,eo.Z)(n,e.stream(tn)),t(tn.result()),null!=r&&e.clipExtent(r),e}function ti(e,t,n){return tr(e,function(n){var r=t[1][0]-t[0][0],i=t[1][1]-t[0][1],o=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+t[0][0]+(r-o*(n[1][0]+n[0][0]))/2,l=+t[0][1]+(i-o*(n[1][1]+n[0][1]))/2;e.scale(150*o).translate([a,l])},n)}var to=(0,V.mC)(30*V.uR);function ta(e,t){return+t?function(e,t){function n(r,i,o,a,l,u,s,c,f,d,p,h,m,v){var g=s-r,y=c-i,b=g*g+y*y;if(b>4*t&&m--){var w=a+d,x=l+p,S=u+h,_=(0,V._b)(w*w+x*x+S*S),E=(0,V.ZR)(S/=_),M=(0,V.Wn)((0,V.Wn)(S)-1)<V.Ho||(0,V.Wn)(o-f)<V.Ho?(o+f)/2:(0,V.fv)(x,w),P=e(M,E),k=P[0],A=P[1],O=k-r,C=A-i,T=y*O-g*C;(T*T/b>t||(0,V.Wn)((g*O+y*C)/b-.5)>.3||a*d+l*p+u*h<to)&&(n(r,i,o,a,l,u,k,A,M,w/=_,x/=_,S,m,v),v.point(k,A),n(k,A,M,w,x,S,s,c,f,d,p,h,m,v))}}return function(t){var r,i,o,a,l,u,s,c,f,d,p,h,m={point:v,lineStart:g,lineEnd:b,polygonStart:function(){t.polygonStart(),m.lineStart=w},polygonEnd:function(){t.polygonEnd(),m.lineStart=g}};function v(n,r){n=e(n,r),t.point(n[0],n[1])}function g(){c=NaN,m.point=y,t.lineStart()}function y(r,i){var o=J([r,i]),a=e(r,i);n(c,f,s,d,p,h,c=a[0],f=a[1],s=r,d=o[0],p=o[1],h=o[2],16,t),t.point(c,f)}function b(){m.point=v,t.lineEnd()}function w(){g(),m.point=x,m.lineEnd=S}function x(e,t){y(r=e,t),i=c,o=f,a=d,l=p,u=h,m.point=y}function S(){n(c,f,s,d,p,h,i,o,r,a,l,u,16,t),m.lineEnd=b,b()}return m}}(e,t):e6({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}var tl=e6({point:function(e,t){this.stream.point(e*V.uR,t*V.uR)}});function tu(e,t,n,r,i,o){if(!o)return function(e,t,n,r,i){function o(o,a){return[t+e*(o*=r),n-e*(a*=i)]}return o.invert=function(o,a){return[(o-t)/e*r,(n-a)/e*i]},o}(e,t,n,r,i);var a=(0,V.mC)(o),l=(0,V.O$)(o),u=a*e,s=l*e,c=a/e,f=l/e,d=(l*n-a*t)/e,p=(l*t+a*n)/e;function h(e,o){return[u*(e*=r)-s*(o*=i)+t,n-s*e-u*o]}return h.invert=function(e,t){return[r*(c*e-f*t+d),i*(p-f*e-c*t)]},h}function ts(e,t){var n=(0,V.mC)(t),r=1+(0,V.mC)(e)*n;return[n*(0,V.O$)(e)/r,(0,V.O$)(t)/r]}ts.invert=(r=function(e){return 2*(0,V.z4)(e)},function(e,t){var n=(0,V._b)(e*e+t*t),i=r(n),o=(0,V.O$)(i),a=(0,V.mC)(i);return[(0,V.fv)(e*o,n*a),(0,V.ZR)(n&&t*o/n)]});let tc=Math.PI,tf=tc/2,td=180/tc,tp=tc/180,th=Math.atan2,tm=Math.cos,tv=Math.max,tg=Math.min,ty=Math.sin,tb=Math.sign||function(e){return e>0?1:e<0?-1:0},tw=Math.sqrt;function tx(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function tS(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function t_(e,t){return[e[0]+t[0],e[1]+t[1],e[2]+t[2]]}function tE(e){var t=tw(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);return[e[0]/t,e[1]/t,e[2]/t]}function tM(e){var t;return[th(e[1],e[0])*td,((t=tv(-1,tg(1,e[2])))>1?tf:t<-1?-tf:Math.asin(t))*td]}function tP(e){let t=e[0]*tp,n=e[1]*tp,r=tm(n);return[r*tm(t),r*ty(t),ty(n)]}function tk(e){return tx((e=e.map(e=>tP(e)))[0],tS(e[2],e[1]))}function tA(e,t,n){e=tP(e),t=tP(t),n=tP(n);let r=tb(tx(tS(t,e),n));return tM(tE(t_(e,t)).map(e=>r*e))}var tO=n(90641);function tC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tC=function(){return!!e})()}function tT(e){return(tT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tz(e,t){return(tz=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tj(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,i,o,a,l=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,i=e}
33finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(e,t)||tR(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 tI(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)||tR(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 tR(e,t){if(e){if("string"==typeof e)return tN(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 tN(e,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 tL(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n?(t&&eS.hasOwnProperty(t.type)?eS[t.type]:eE)(t,e):function(e,t,n){if(void 0===n&&(n={}),!e)throw Error("point is required");if(!t)throw Error("polygon is required");
33var r=function(e){if(!e)throw Error("coord is required");if(!Array.isArray(e)){if("Feature"===e.type&&null!==e.geometry&&"Point"===e.geometry.type)return e.geometry.coordinates;if("Point"===e.type)return e.coordinates}if(Array.isArray(e)&&e.length>=2&&!Array.isArray(e[0])&&!Array.isArray(e[1]))return e;throw Error("coord must be GeoJSON Point or an Array of numbers")}(e),i="Feature"===t.type?t.geometry:t,o=i.type,a=t.bbox,l=i.coordinates;if(a&&!1==(a[0]<=r[0]&&a[1]<=r[1]&&a[2]>=r[0]&&a[3]>=r[1]))return!1;"Polygon"===o&&(l=[l]);for(var u=!1,s=0;s<l.length&&!u;s++)if(N(r,l[s][0],n.ignoreBoundary)){for(var c=!1,f=1;f<l[s].length&&!c;)N(r,l[s][f],!n.ignoreBoundary)&&(c=!0),f++;c||(u=!0)}return u}(e,t)}var tB=window.THREE?window.THREE:{BufferGeometry:T.BufferGeometry,Float32BufferAttribute:T.Float32BufferAttribute},tF=new tB.BufferGeometry().setAttribute?"setAttribute":"addAttribute",tU=function(e){function t(e,n,r,i,o,a,l){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),u=tT(u=t),(c=function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,tC()?Reflect.construct(u,[],tT(this).constructor):u.apply(this,s))).type="ConicPolygonBufferGeometry",c.parameters={polygonGeoJson:e,startHeight:n,endHeight:r,closedBottom:i,closedTop:o,includeSides:a,curvatureResolution:l},n=n||0,r=r||1,i=void 0===i||i,o=void 0===o||o,a=void 0===a||a;var u,s,c,f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.resolution,r=void 0===n?1/0:n,i=e.map(function(e){var t,n=[];return e.forEach(function(e){if(t){var i=180*(0,ey.Z)(e,t)/Math.PI;if(i>r)for(var o=(0,eb.Z)(t,e),a=1/Math.ceil(i/r),l=a;l<1;)n.push(o(l)),l+=a}n.push(t=e)}),n}),o=z(i),a=function(e,t){var n={type:"Polygon",coordinates:e},r=tj(eg(n),2),i=tj(r[0],2),o=i[0],a=i[1],l=tj(r[1],2),u=l[0],s=l[1];
33if(Math.min(Math.abs(u-o),Math.abs(s-a))<t)return[];var c=o>u||s>=89||a<=-89;return(function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minLng,r=t.maxLng,i=t.minLat,o=t.maxLat,a=Math.round(Math.pow(360/e,2)/Math.PI),l=(1+Math.sqrt(5))/2,u=function(e){return a*(Math.cos((e+90)*Math.PI/180)+1)/2},s=[void 0!==o?Math.ceil(u(o)):0,void 0!==i?Math.floor(u(i)):a-1],c=void 0===n&&void 0===r?function(){return!0}:void 0===n?function(e){return e<=r}:void 0===r?function(e){return e>=n}:r>=n?function(e){return e>=n&&e<=r}:function(e){return e>=n||e<=r},f=[],d=s[0];d<=s[1];d++){var p=d/l*360%360-180;c(p)&&f.push([p,Math.acos(2*d/a-1)/Math.PI*180-90])}return f})(t,{minLng:o,maxLng:u,minLat:a,maxLat:s}).filter(function(e){return tL(e,n,c)})}(e,r),l=[].concat(tI(o),tI(a)),u={type:"Polygon",coordinates:e},s=tj(eg(u),2),c=tj(s[0],2),f=c[0],d=c[1],p=tj(s[1],2),h=p[0],m=p[1],v=f>h||m>=89||d<=-89,g=[];if(v){var y=(function(e){let t=function(e){if(t.delaunay=null,t._data=e,"object"==typeof t._data&&"FeatureCollection"===t._data.type&&(t._data=t._data.features),"object"==typeof t._data){let e=t._data.map(e=>[t._vx(e),t._vy(e),e]).filter(e=>isFinite(e[0]+e[1]));t.points=e.map(e=>[e[0],e[1]]),t.valid=e.map(e=>e[2]),t.delaunay=function(e){let t=function(e){if(e.length<2)return{};let t=0;for(;isNaN(e[t][0]+e[t][1])&&t++<e.length;);let n=function(e){function t(t){return t=e(t[0]*V.uR,t[1]*V.uR),t[0]*=V.RW,t[1]*=V.RW,t}return e=eZ(e[0]*V.uR,e[1]*V.uR,e.length>2?e[2]*V.uR:0),t.invert=function(t){return t=e.invert(t[0]*V.uR,t[1]*V.uR),t[0]*=V.RW,t[1]*=V.RW,t},t}(e[t]),r=(function(e){var t,n,r,i,o,a,l,u,s,c,f=150,d=480,p=250,h=0,m=0,v=0,g=0,y=0,b=0,w=1,x=1,S=null,_=e3,E=null,M=e4,P=.5;function k(e){return u(e[0]*V.uR,e[1]*V.uR)}function A(e){return(e=u.invert(e[0],e[1]))&&[e[0]*V.RW,e[1]*V.RW]}function O(){var e=tu(f,0,0,w,x,b).apply(null,t(h,m)),r=tu(f,d-e[0],p-e[1],w,x,b);return n=eZ(v,g,y),l=eV(t,r),u=eV(n,l),a=ta(l,P),C()}function C(){return s=c=null,k}return k.stream=function(e){var t;return s&&c===e?s:s=tl((t=n,e6({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}}))(_(a(M(c=e)))))},k.preclip=function(e){return arguments.length?(_=e,S=void 0,C()):_},k.postclip=function(e){return arguments.length?(M=e,E=r=i=o=null,C()):M},k.clipAngle=function(e){return arguments.length?(_=+e?function(e){var t=(0,V.mC)(e),n=2*V.uR,r=t>0,i=(0,V.Wn)(t)>V.Ho;function o(e,n){return(0,V.mC)(e)*(0,V.mC)(n)>t}function a(e,n,r){var i=J(e),o=J(n),a=[1,0,0],l=et(i,o),u=ee(l,l),s=l[0],c=u-s*s;if(!c)return!r&&e;var f=et(a,l),d=er(a,t*u/c);en(d,er(l,-t*s/c));var p=ee(d,f),h=ee(f,f),m=p*p-h*(ee(d,d)-1);if(!(m<0)){var v=(0,V._b)(m),g=er(f,(-p-v)/h);if(en(g,d),g=K(g),!r)return g;var y,b=e[0],w=n[0],x=e[1],S=n[1];w<b&&(y=b,b=w,w=y);var _=w-b,E=(0,V.Wn)(_-V.pi)<V.Ho,M=E||_<V.Ho;if(!E&&S<x&&(y=x,x=S,S=y),M?E?x+S>0^g[1]<((0,V.Wn)(g[0]-b)<V.Ho?x:S):x<=g[1]&&g[1]<=S:_>V.pi^(b<=g[0]&&g[0]<=w)){var P=er(f,(-p+v)/h);return en(P,d),[g,K(P)]}}}function l(t,n){var i=r?e:V.pi-e,o=0;return t<-i?o|=1:t>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return e0(o,function(e){var t,n,u,s,c;return{lineStart:function(){s=u=!1,c=1},point:function(f,d){var p,h,m=[f,d],v=o(f,d),g=r?v?0:l(f,d):v?l(f+(f<0?V.pi:-V.pi),d):0;!t&&(s=u=v)&&e.lineStart(),v!==u&&(!(h=a(t,m))||eY(t,h)||eY(m,h))&&(m[2]=1),v!==u?(c=0,v?(e.lineStart(),h=a(m,t),e.point(h[0],h[1])):(h=a(t,m),e.point(h[0],h[1],2),e.lineEnd()),t=h):i&&t&&r^v&&!(g&n)&&(p=a(m,t,!0))&&(c=0,r?(e.lineStart(),e.point(p[0][0],p[0][1]),e.point(p[1][0],p[1][1]),e.lineEnd()):(e.point(p[1][0],p[1][1]),e.lineEnd(),e.lineStart(),e.point(p[0][0],p[0][1],3))),!v||t&&eY(t,m)||e.point(m[0],m[1]),t=m,u=v,n=g},lineEnd:function(){u&&e.lineEnd(),t=null},clean:function(){return c|(s&&u)<<1}}},function(t,r,i,o){!function(e,t,n,r,i,o){if(n){var a=(0,V.mC)(t),l=(0,V.O$)(t),u=r*n;null==i?(i=t+r*V.BZ,o=t-u/2):(i=e5(a,i),o=e5(a,o),(r>0?i<o:i>o)&&(i+=r*V.BZ));for(var s,c=i;r>0?c>o:c<o;c-=u)s=K([a,-l*(0,V.mC)(c),-l*(0,V.O$)(c)]),e.point(s[0],s[1])}}(o,e,n,i,t,r)},r?[0,-e]:[-V.pi,e-V.pi])}(S=e*V.uR):(S=null,e3),C()):S*V.RW},k.clipExtent=function(e){return arguments.length?(M=null==e?(E=r=i=o=null,e4):function(e,t,n,r){function i(i,o){return e<=i&&i<=n&&t<=o&&o<=r}function o(i,o,l,s){var c=0,f=0;if(null==i||(c=a(i,l))!==(f=a(o,l))||0>u(i,o)^l>0)do s.point(0===c||3===c?e:n,c>1?r:t);while((c=(c+l+4)%4)!==f);else s.point(o[0],o[1])}function a(r,i){return(0,V.Wn)(r[0]-e)<V.Ho?i>0?0:3:(0,V.Wn)(r[0]-n)<V.Ho?i>0?2:1:(0,V.Wn)(r[1]-t)<V.Ho?i>0?1:0:i>0?3:2}function l(e,t){return u(e.x,t.x)}
33function u(e,t){var n=a(e,1),r=a(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(a){var u,s,c,f,d,p,h,m,v,g,y,b=a,w=eQ(),x={point:S,lineStart:function(){x.point=_,s&&s.push(c=[]),g=!0,v=!1,h=m=NaN},lineEnd:function(){u&&(_(f,d),p&&v&&w.rejoin(),u.push(w.result())),x.point=S,v&&b.lineEnd()},polygonStart:function(){b=w,u=[],s=[],y=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,i=s.length;n<i;++n)for(var o,a,l=s[n],u=1,c=l.length,f=l[0],d=f[0],p=f[1];u<c;++u)o=d,a=p,d=(f=l[u])[0],p=f[1],a<=r?p>r&&(d-o)*(r-a)>(p-a)*(e-o)&&++t:p<=r&&(d-o)*(r-a)<(p-a)*(e-o)&&--t;return t}(),n=y&&t,i=(u=z(u)).length;(n||i)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&eK(u,l,t,o,a),a.polygonEnd()),b=a,u=s=c=null}};function S(e,t){i(e,t)&&b.point(e,t)}function _(o,a){var l=i(o,a);if(s&&c.push([o,a]),g)f=o,d=a,p=l,g=!1,l&&(b.lineStart(),b.point(o,a));else if(l&&v)b.point(o,a);else{var u=[h=Math.max(-1e9,Math.min(1e9,h)),m=Math.max(-1e9,Math.min(1e9,m))],w=[o=Math.max(-1e9,Math.min(1e9,o)),a=Math.max(-1e9,Math.min(1e9,a))];(function(e,t,n,r,i,o){var a,l=e[0],u=e[1],s=t[0],c=t[1],f=0,d=1,p=s-l,h=c-u;if(a=n-l,p||!(a>0)){if(a/=p,p<0){if(a<f)return;a<d&&(d=a)}else if(p>0){if(a>d)return;a>f&&(f=a)}if(a=i-l,p||!(a<0)){if(a/=p,p<0){if(a>d)return;a>f&&(f=a)}else if(p>0){if(a<f)return;a<d&&(d=a)}if(a=r-u,h||!(a>0)){if(a/=h,h<0){if(a<f)return;a<d&&(d=a)}else if(h>0){if(a>d)return;a>f&&(f=a)}if(a=o-u,h||!(a<0)){if(a/=h,h<0){if(a>d)return;a>f&&(f=a)}else if(h>0){if(a<f)return;a<d&&(d=a)}return f>0&&(e[0]=l+f*p,e[1]=u+f*h),d<1&&(t[0]=l+d*p,t[1]=u+d*h),!0}}}}})(u,w,e,t,n,r)?(v||(b.lineStart(),b.point(u[0],u[1])),b.point(w[0],w[1]),l||b.lineEnd(),y=!1):l&&(b.lineStart(),b.point(o,a),y=!1)}h=o,m=a,v=l}return x}}(E=+e[0][0],r=+e[0][1],i=+e[1][0],o=+e[1][1]),C()):null==E?null:[[E,r],[i,o]]},k.scale=function(e){return arguments.length?(f=+e,O()):f},k.translate=function(e){return arguments.length?(d=+e[0],p=+e[1],O()):[d,p]},k.center=function(e){return arguments.length?(h=e[0]%360*V.uR,m=e[1]%360*V.uR,O()):[h*V.RW,m*V.RW]},k.rotate=function(e){return arguments.length?(v=e[0]%360*V.uR,g=e[1]%360*V.uR,y=e.length>2?e[2]%360*V.uR:0,O()):[v*V.RW,g*V.RW,y*V.RW]},k.angle=function(e){return arguments.length?(b=e%360*V.uR,O()):b*V.RW},k.reflectX=function(e){return arguments.length?(w=e?-1:1,O()):w<0},k.reflectY=function(e){return arguments.length?(x=e?-1:1,O()):x<0},k.precision=function(e){return arguments.length?(a=ta(l,P=e*e),C()):(0,V._b)(P)},k.fitExtent=function(e,t){return ti(k,e,t)},k.fitSize=function(e,t){return ti(k,[[0,0],e],t)},k.fitWidth=function(e,t){return tr(k,function(t){var n=+e,r=n/(t[1][0]-t[0][0]),i=(n-r*(t[1][0]+t[0][0]))/2,o=-r*t[0][1];k.scale(150*r).translate([i,o])},t)},k.fitHeight=function(e,t){return tr(k,function(t){var n=+e,r=n/(t[1][1]-t[0][1]),i=-r*t[0][0],o=(n-r*(t[1][1]+t[0][1]))/2;k.scale(150*r).translate([i,o])},t)},function(){return t=e.apply(this,arguments),k.invert=t.invert&&A,O()}})(function(){return ts})().scale(250).clipAngle(142).translate([0,0]).scale(1).rotate(n.invert([180,0]));e=e.map(r);let i=[],o=1;for(let t=0,n=e.length;t<n;t++){let n=e[t][0]**2+e[t][1]**2;!isFinite(n)||n>1e32?i.push(t):n>o&&(o=n)}let a=1e6*tw(o);i.forEach(t=>e[t]=[a,0]),e.push([0,a]),e.push([-a,0]),e.push([0,-a]);let l=eH.Z.from(e);l.projection=r;let{triangles:u,halfedges:s,inedges:c}=l,f=[];for(let n=0,r=s.length;n<r;n++)if(s[n]<0){let e=n%3==2?n-2:n+1,r=n%3==0?n+2:n-1,i=s[e],o=s[r];s[i]=o,s[o]=i,s[e]=s[r]=-1,u[n]=u[e]=u[r]=t,c[u[i]]=i%3==0?i+2:i-1,c[u[o]]=o%3==0?o+2:o-1,f.push(Math.min(n,e,r)),n+=2-n%3}else u[n]>e.length-3-1&&(u[n]=t);return l}(e),n=function(e){let{triangles:t}=e;if(!t)return[];let n=[];for(let e=0,r=t.length/3;e<r;
33e++){let r=t[3*e],i=t[3*e+1],o=t[3*e+2];r!==i&&i!==o&&n.push([r,o,i])}return n}(t),r=function(e,t){let n=new Set;return 2===t.length?[[0,1]]:(e.forEach(e=>{if(e[0]!==e[1]&&!(0>tk(e.map(e=>t[e]))))for(let t=0,r;t<3;t++)r=(t+1)%3,n.add(j([e[t],e[r]]).join("-"))}),Array.from(n,e=>e.split("-").map(Number)))}(n,e),i=function(e,t){let n=[];return e.forEach(e=>{for(let t=0;t<3;t++){let r=e[t],i=e[(t+1)%3];n[r]=n[r]||[],n[r].push(i)}}),0===e.length&&(2===t?(n[0]=[1],n[1]=[0]):1===t&&(n[0]=[])),n}(n,e.length),o=function(e,t){function n(e,t){let n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}return function(r,i,o){void 0===o&&(o=0);let a,l,u=o,s=tP([r,i]);do a=o,o=null,l=n(s,tP(t[a])),e[a].forEach(e=>{let r=n(s,tP(t[e]));if(r<l){l=r,o=e,u=e;return}});while(null!==o);return u}}(i,e),{polygons:a,centers:l}=function(e,t,n){let r=[],i=e.slice();if(0===t.length){if(n.length<2)return{polygons:r,centers:i};if(2===n.length){let e=tP(n[0]),t=tP(n[1]),a=tE(t_(e,t)),l=tE(tS(e,t)),u=tS(a,l),s=[a,tS(a,u),tS(tS(a,u),u),tS(tS(tS(a,u),u),u)].map(tM).map(o);return r.push(s),r.push(s.slice().reverse()),{polygons:r,centers:i}}}function o(e){let n=-1;return i.slice(t.length,1/0).forEach((r,i)=>{r[0]===e[0]&&r[1]===e[1]&&(n=i+t.length)}),n<0&&(n=i.length,i.push(e)),n}return t.forEach((e,t)=>{for(let n=0;n<3;n++){let i=e[n],o=e[(n+1)%3],a=e[(n+2)%3];r[i]=r[i]||[],r[i].push([o,a,t,[i,o,a]])}}),{polygons:r.map(e=>{let t=[e[0][2]],r=e[0][1];for(let n=1;n<e.length;n++)for(let n=0;n<e.length;n++)if(e[n][0]==r){r=e[n][1],t.push(e[n][2]);break}if(t.length>2)return t;if(2==t.length){let r=tA(n[e[0][3][0]],n[e[0][3][1]],i[t[0]]),a=tA(n[e[0][3][2]],n[e[0][3][0]],i[t[0]]),l=o(r),u=o(a);return[t[0],u,t[1],l]}}),centers:i}}(n.map(t=>{let n=t.map(t=>e[t]).map(tP);return tM(tE(t_(t_(tS(n[1],n[0]),tS(n[2],n[1])),tS(n[0],n[2]))))}),n,e),u=function(e){let t=[];return e.forEach(e=>{if(!e)return;let n=e[e.length-1];for(let r of e)r>n&&t.push([n,r]),n=r}),t}(a),s=function(e,t){let n;let r=new Set,i=[];e.map(e=>{if(!(tk(e.map(e=>t[e>t.length?0:e]))>1e-12))for(let t=0;t<3;t++){let n=[e[t],e[(t+1)%3]],i=`${n[0]}-${n[1]}`;r.has(i)?r.delete(i):r.add(`${n[1]}-${n[0]}`)}});let o=new Map;if(r.forEach(e=>{e=e.split("-").map(Number),o.set(e[0],e[1]),n=e[0]}),void 0===n)return i;let a=n;do{i.push(a);let e=o.get(a);o.set(a,-1),a=e}while(a>-1&&a!==n);return i}(n,e);return{delaunay:t,edges:r,triangles:n,centers:l,neighbors:i,polygons:a,mesh:u,hull:s,urquhart:function(e){let t=new Map,i=new Map;return r.forEach((n,r)=>{let o=n.join("-");t.set(o,e[r]),i.set(o,!0)}),n.forEach(e=>{let n=0,r=-1;for(let i=0;i<3;i++){let o=j([e[i],e[(i+1)%3]]).join("-");t.get(o)>n&&(n=t.get(o),r=o)}i.set(r,!1)}),r.map(e=>i.get(e.join("-")))},find:o}}(t.points)}return t};return t._vx=function(e){return"object"==typeof e&&"type"in e?eD(e)[0]:0 in e?e[0]:void 0},t._vy=function(e){return"object"==typeof e&&"type"in e?eD(e)[1]:1 in e?e[1]:void 0},t.x=function(e){return e?(t._vx=e,t):t._vx},t.y=function(e){return e?(t._vy=e,t):t._vy},t.polygons=function(e){if(void 0!==e&&t(e),!t.delaunay)return!1;let n={type:"FeatureCollection",features:[]};return 0===t.valid.length||(t.delaunay.polygons.forEach((e,r)=>n.features.push({type:"Feature",geometry:e?{type:"Polygon",coordinates:[[...e,e[0]].map(e=>t.delaunay.centers[e])]}:null,properties:{site:t.valid[r],sitecoordinates:t.points[r],neighbours:t.delaunay.neighbors[r]}})),1===t.valid.length&&n.features.push({type:"Feature",geometry:{type:"Sphere"},properties:{site:t.valid[0],sitecoordinates:t.points[0],neighbours:[]}})),n},t.triangles=function(e){return void 0!==e&&t(e),!!t.delaunay&&{type:"FeatureCollection",features:t.delaunay.triangles.map((e,n)=>((e=e.map(e=>t.points[e])).center=t.delaunay.centers[n],e)).filter(e=>tk(e)>0).map(e=>({type:"Feature",properties:{circumcenter:e.center},geometry:{type:"Polygon",coordinates:[[...e,e[0]]]}}))}},t.links=function(e){if(void 0!==e&&t(e),!t.delaunay)return!1;let n=t.delaunay.edges.map(e=>(0,ey.Z)(t.points[e[0]],t.points[e[1]])),r=t.delaunay.urquhart(n);return{type:"FeatureCollection",features:t.delaunay.edges.map((e,i)=>({type:"Feature",properties:{source:t.valid[e[0]],target:t.valid[e[1]],length:n[i],urquhart:!!r[i]},geometry:{type:"LineString",coordinates:[t.points[e[0]],t.points[e[1]]]}}))}},t.mesh=function(e){return void 0!==e&&t(e),!!t.delaunay&&{type:"MultiLineString",coordinates:t.delaunay.edges.map(e=>[t.points[e[0]],t.points[e[1]]])}},t.cellMesh=function(e){if(void 0!==e&&t(e),!t.delaunay)return!1;let{centers:n,polygons:r}=t.delaunay,i=[];for(let e of r)if(e)for(let t=e.length,r=e[t-1],o=e[0],a=0;a<t;r=o,o=e[++a])o>r&&i.push([n[r],n[o]]);return{type:"MultiLineString",coordinates:i}},t._found=void 0,t.find=function(e,n,r){if(t._found=t.delaunay.find(e,n,t._found),!r||(0,ey.Z)([e,n],t.points[t._found])<r)return t._found},t.hull=function(e){void 0!==e&&t(e);let n=t.delaunay.hull,r=t.points;return 0===n.length?null:{type:"Polygon",coordinates:[[...n.map(e=>r[e]),r[n[0]]]]}},e?t(e):t})(l).triangles(),b=new Map(l.map(function(e,t){var n=tj(e,2),r=n[0],i=n[1];return["".concat(r,"-").concat(i),t]}));
33y.features.forEach(function(e){var t,n=e.geometry.coordinates[0].slice(0,3).reverse(),r=[];if(n.forEach(function(e){var t=tj(e,2),n=t[0],i=t[1],o="".concat(n,"-").concat(i);b.has(o)&&r.push(b.get(o))}),3===r.length){if(r.some(function(e){return e<o.length})&&!tL(e.properties.circumcenter,u,v))return;(t=g).push.apply(t,r)}})}else if(a.length){for(var w=R.Z.from(l),x=function(e){var t,n=[2,1,0].map(function(t){return w.triangles[e+t]}),r=n.map(function(e){return l[e]});if(n.some(function(e){return e<o.length})&&!tL([0,1].map(function(e){return function(e,t){let n=0,r=0;if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(++n,r+=t);else{let i=-1;for(let o of e)null!=(o=t(o,++i,e))&&(o=+o)>=o&&(++n,r+=o)}if(n)return r/n}(r,function(t){return t[e]})}),u,v))return 1;(t=g).push.apply(t,tI(n))},S=0,_=w.triangles.length;S<_;S+=3)if(x(S))continue}else{var E=I.flatten(i),M=E.vertices,P=E.holes;g=I(M,void 0===P?[]:P,2)}var k=(0,tO.Z)(j(l,function(e){return e[0]}),[0,1]),A=(0,tO.Z)(j(l,function(e){return e[1]}),[0,1]),O=l.map(function(e){var t=tj(e,2),n=t[0],r=t[1];return[k(n),A(r)]});return{contour:i,triangles:{points:l,indices:g,uvs:O}}}(e,{resolution:l=l||5}),d=f.contour,p=f.triangles,h=z(p.uvs),m=[],v=[],g=[],y=0,b=function(e){var t=Math.round(m.length/3),n=g.length;m=m.concat(e.vertices),v=v.concat(e.uvs),g=g.concat(t?e.indices.map(function(e){return e+t}):e.indices),c.addGroup(n,g.length-n,y++)};function w(e,t){var n=e.map(function(e){return e.map(function(e){var n=tj(e,2),r=n[0];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=(90-e)*Math.PI/180,i=(90-t)*Math.PI/180;return[n*Math.sin(r)*Math.cos(i),n*Math.cos(r),n*Math.sin(r)*Math.sin(i)]}(n[1],r,t)})});return I.flatten(n)}function x(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return{indices:t?p.indices:p.indices.slice().reverse(),vertices:w([p.points],e).vertices,uvs:h}}return a&&b(function(){for(var e=w(d,n),t=e.vertices,i=e.holes,o=w(d,r).vertices,a=z([o,t]),l=Math.round(o.length/3),u=new Set(i),s=0,c=[],f=0;f<l;f++){var p=f+1;if(p===l)p=s;else if(u.has(p)){var h=p;p=s,s=h}c.push(f,f+l,p+l),c.push(p+l,p,f)}for(var m=[],v=1;v>=0;v--)for(var g=0;g<l;g+=1)m.push(g/(l-1),v);return{indices:c,vertices:a,uvs:m}}()),i&&b(x(n,!1)),o&&b(x(r,!0)),c.setIndex(g),c[tF]("position",new tB.Float32BufferAttribute(m,3)),c[tF]("uv",new tB.Float32BufferAttribute(v,2)),c.computeVertexNormals(),c}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tz(e,t)}(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(tB.BufferGeometry)},72064:function(e,t,n){"use strict";n.d(t,{L1:function(){return P},YR:function(){return c},w_:function(){return k}});var r=n(97776);let i=window.THREE?window.THREE:{Box3:r.Box3,BufferGeometry:r.BufferGeometry,Float32BufferAttribute:r.Float32BufferAttribute,InstancedBufferGeometry:r.InstancedBufferGeometry,InstancedInterleavedBuffer:r.InstancedInterleavedBuffer,InterleavedBufferAttribute:r.InterleavedBufferAttribute,Sphere:r.Sphere,Vector3:r.Vector3,WireframeGeometry:r.WireframeGeometry};var o=new i.BufferGeometry().setAttribute?"setAttribute":"addAttribute";let a=new i.Box3,l=new i.Vector3;class u extends i.InstancedBufferGeometry{constructor(){super(),this.type="LineSegmentsGeometry",this.setIndex([0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5]),this[o]("position",new i.Float32BufferAttribute([-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],3)),this[o]("uv",new i.Float32BufferAttribute([-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],2))}applyMatrix4(e){let t=this.attributes.instanceStart,n=this.attributes.instanceEnd;return void 0!==t&&(t.applyMatrix4(e),n.applyMatrix4(e),t.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}setPositions(e){let t;e instanceof Float32Array?t=e:Array.isArray(e)&&(t=new Float32Array(e));let n=new i.InstancedInterleavedBuffer(t,6,1);return this[o]("instanceStart",new i.InterleavedBufferAttribute(n,3,0)),this[o]("instanceEnd",new i.InterleavedBufferAttribute(n,3,3)),this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(e){let t;e instanceof Float32Array?t=e:Array.isArray(e)&&(t=new Float32Array(e));let n=new i.InstancedInterleavedBuffer(t,6,1);return this[o]("instanceColorStart",new i.InterleavedBufferAttribute(n,3,0)),this[o]("instanceColorEnd",new i.InterleavedBufferAttribute(n,3,3)),this}fromWireframeGeometry(e){return this.setPositions(e.attributes.position.array),this}fromEdgesGeometry(e){return this.setPositions(e.attributes.position.array),this}fromMesh(e){return this.fromWireframeGeometry(new i.WireframeGeometry(e.geometry)),this}fromLineSegments(e){let t=e.geometry;if(t.isGeometry){console.error("LineSegmentsGeometry no longer supports Geometry. Use THREE.BufferGeometry instead.");return}return t.isBufferGeometry&&this.setPositions(t.attributes.position.array),this}
33computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new i.Box3);let e=this.attributes.instanceStart,t=this.attributes.instanceEnd;void 0!==e&&void 0!==t&&(this.boundingBox.setFromBufferAttribute(e),a.setFromBufferAttribute(t),this.boundingBox.union(a))}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new i.Sphere),null===this.boundingBox&&this.computeBoundingBox();let e=this.attributes.instanceStart,t=this.attributes.instanceEnd;if(void 0!==e&&void 0!==t){let n=this.boundingSphere.center;this.boundingBox.getCenter(n);let r=0;for(let i=0,o=e.count;i<o;i++)l.fromBufferAttribute(e,i),r=Math.max(r,n.distanceToSquared(l)),l.fromBufferAttribute(t,i),r=Math.max(r,n.distanceToSquared(l));this.boundingSphere.radius=Math.sqrt(r),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}toJSON(){}applyMatrix(e){return console.warn("THREE.LineSegmentsGeometry: applyMatrix() has been renamed to applyMatrix4()."),this.applyMatrix4(e)}}u.prototype.isLineSegmentsGeometry=!0;let s=window.THREE?window.THREE:{ShaderLib:r.ShaderLib,ShaderMaterial:r.ShaderMaterial,UniformsLib:r.UniformsLib,UniformsUtils:r.UniformsUtils,Vector2:r.Vector2};s.UniformsLib.line={worldUnits:{value:1},linewidth:{value:1},resolution:{value:new s.Vector2(1,1)},dashScale:{value:1},dashSize:{value:1},dashOffset:{value:0},gapSize:{value:1}},s.ShaderLib.line={uniforms:s.UniformsUtils.merge([s.UniformsLib.common,s.UniformsLib.fog,s.UniformsLib.line]),vertexShader:`
34		#include <common>
35		#include <color_pars_vertex>
36		#include <fog_pars_vertex>
37		#include <logdepthbuf_pars_vertex>
38		#include <clipping_planes_pars_vertex>
39
40		uniform float linewidth;
41		uniform vec2 resolution;
42
43		attribute vec3 instanceStart;
44		attribute vec3 instanceEnd;
45
46		attribute vec3 instanceColorStart;
47		attribute vec3 instanceColorEnd;
48
49		varying vec2 vUv;
50		varying vec4 worldPos;
51		varying vec3 worldStart;
52		varying vec3 worldEnd;
53
54		#ifdef USE_DASH
55
56			uniform float dashScale;
57			attribute float instanceDistanceStart;
58			attribute float instanceDistanceEnd;
59			varying float vLineDistance;
60
61		#endif
62
63		void trimSegment( const in vec4 start, inout vec4 end ) {
64
65			// trim end segment so it terminates between the camera plane and the near plane
66
67			// conservative estimate of the near plane
68			float a = projectionMatrix[ 2 ][ 2 ]; // 3nd entry in 3th column
69			float b = projectionMatrix[ 3 ][ 2 ]; // 3nd entry in 4th column
70			float nearEstimate = - 0.5 * b / a;
71
72			float alpha = ( nearEstimate - start.z ) / ( end.z - start.z );
73
74			end.xyz = mix( start.xyz, end.xyz, alpha );
75
76		}
77
78		void main() {
79
80			#ifdef USE_COLOR
81
82				vColor.xyz = ( position.y < 0.5 ) ? instanceColorStart : instanceColorEnd;
83
84			#endif
85
86			#ifdef USE_DASH
87
88				vLineDistance = ( position.y < 0.5 ) ? dashScale * instanceDistanceStart : dashScale * instanceDistanceEnd;
89
90			#endif
91
92			float aspect = resolution.x / resolution.y;
93
94			vUv = uv;
95
96			// camera space
97			vec4 start = modelViewMatrix * vec4( instanceStart, 1.0 );
98			vec4 end = modelViewMatrix * vec4( instanceEnd, 1.0 );
99
100			worldStart = start.xyz;
101			worldEnd = end.xyz;
102
103			// special case for perspective projection, and segments that terminate either in, or behind, the camera plane
104			// clearly the gpu firmware has a way of addressing this issue when projecting into ndc space
105			// but we need to perform ndc-space calculations in the shader, so we must address this issue directly
106			// perhaps there is a more elegant solution -- WestLangley
107
108			bool perspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 ); // 4th entry in the 3rd column
109
110			if ( perspective ) {
111
112				if ( start.z < 0.0 && end.z >= 0.0 ) {
113
114					trimSegment( start, end );
115
116				} else if ( end.z < 0.0 && start.z >= 0.0 ) {
117
118					trimSegment( end, start );
119
120				}
121
122			}
123
124			// clip space
125			vec4 clipStart = projectionMatrix * start;
126			vec4 clipEnd = projectionMatrix * end;
127
128			// ndc space
129			vec3 ndcStart = clipStart.xyz / clipStart.w;
130			vec3 ndcEnd = clipEnd.xyz / clipEnd.w;
131
132			// direction
133			vec2 dir = ndcEnd.xy - ndcStart.xy;
134
135			// account for clip-space aspect ratio
136			dir.x *= aspect;
137			dir = normalize( dir );
138
139			#ifdef WORLD_UNITS
140
141				// get the offset direction as perpendicular to the view vector
142				vec3 worldDir = normalize( end.xyz - start.xyz );
143				vec3 offset;
144				if ( position.y < 0.5 ) {
145
146					offset = normalize( cross( start.xyz, worldDir ) );
147
148				} else {
149
150					offset = normalize( cross( end.xyz, worldDir ) );
151
152				}
153
154				// sign flip
155				if ( position.x < 0.0 ) offset *= - 1.0;
156
157				float forwardOffset = dot( worldDir, vec3( 0.0, 0.0, 1.0 ) );
158
159				// don't extend the line if we're rendering dashes because we
160				// won't be rendering the endcaps
161				#ifndef USE_DASH
162
163					// extend the line bounds to encompass  endcaps
164					start.xyz += - worldDir * linewidth * 0.5;
165					end.xyz += worldDir * linewidth * 0.5;
166
167					// shift the position of the quad so it hugs the forward edge of the line
168					offset.xy -= dir * forwardOffset;
169					offset.z += 0.5;
170
171				#endif
172
173				// endcaps
174				if ( position.y > 1.0 || position.y < 0.0 ) {
175
176					offset.xy += dir * 2.0 * forwardOffset;
177
178				}
179
180				// adjust for linewidth
181				offset *= linewidth * 0.5;
182
183				// set the world position
184				worldPos = ( position.y < 0.5 ) ? start : end;
185				worldPos.xyz += offset;
186
187				// project the worldpos
188				vec4 clip = projectionMatrix * worldPos;
189
190				// shift the depth of the projected points so the line
191				// segements overlap neatly
192				vec3 clipPose = ( position.y < 0.5 ) ? ndcStart : ndcEnd;
193				clip.z = clipPose.z * clip.w;
194
195			#else
196
197			vec2 offset = vec2( dir.y, - dir.x );
198			// undo aspect ratio adjustment
199			dir.x /= aspect;
200			offset.x /= aspect;
201
202			// sign flip
203			if ( position.x < 0.0 ) offset *= - 1.0;
204
205			// endcaps
206			if ( position.y < 0.0 ) {
207
208				offset += - dir;
209
210			} else if ( position.y > 1.0 ) {
211
212				offset += dir;
213
214			}
215
216			// adjust for linewidth
217			offset *= linewidth;
218
219			// adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ...
220			offset /= resolution.y;
221
222			// select end
223			vec4 clip = ( position.y < 0.5 ) ? clipStart : clipEnd;
224
225			// back to clip space
226			offset *= clip.w;
227
228			clip.xy += offset;
229
230			#endif
231
232			gl_Position = clip;
233
234			vec4 mvPosition = ( position.y < 0.5 ) ? start : end; // this is an approximation
235
236			#include <logdepthbuf_vertex>
237			#include <clipping_planes_vertex>
238			#include <fog_vertex>
239
240		}
241		`,fragmentShader:`
242		uniform vec3 diffuse;
243		uniform float opacity;
244		uniform float linewidth;
245
246		#ifdef USE_DASH
247
248			uniform float dashOffset;
249			uniform float dashSize;
250			uniform float gapSize;
251
252		#endif
253
254		varying float vLineDistance;
255		varying vec4 worldPos;
256		varying vec3 worldStart;
257		varying vec3 worldEnd;
258
259		#include <common>
260		#include <color_pars_fragment>
261		#include <fog_pars_fragment>
262		#include <logdepthbuf_pars_fragment>
263		#include <clipping_planes_pars_fragment>
264
265		varying vec2 vUv;
266
267		vec2 closestLineToLine(vec3 p1, vec3 p2, vec3 p3, vec3 p4) {
268
269			float mua;
270			float mub;
271
272			vec3 p13 = p1 - p3;
273			vec3 p43 = p4 - p3;
274
275			vec3 p21 = p2 - p1;
276
277			float d1343 = dot( p13, p43 );
278			float d4321 = dot( p43, p21 );
279			float d1321 = dot( p13, p21 );
280			float d4343 = dot( p43, p43 );
281			float d2121 = dot( p21, p21 );
282
283			float denom = d2121 * d4343 - d4321 * d4321;
284
285			float numer = d1343 * d4321 - d1321 * d4343;
286
287			mua = numer / denom;
288			mua = clamp( mua, 0.0, 1.0 );
289			mub = ( d1343 + d4321 * ( mua ) ) / d4343;
290			mub = clamp( mub, 0.0, 1.0 );
291
292			return vec2( mua, mub );
293
294		}
295
296		void main() {
297
298			#include <clipping_planes_fragment>
299
300			#ifdef USE_DASH
301
302				if ( vUv.y < - 1.0 || vUv.y > 1.0 ) discard; // discard endcaps
303
304				if ( mod( vLineDistance + dashOffset, dashSize + gapSize ) > dashSize ) discard; // todo - FIX
305
306			#endif
307
308			float alpha = opacity;
309
310			#ifdef WORLD_UNITS
311
312				// Find the closest points on the view ray and the line segment
313				vec3 rayEnd = normalize( worldPos.xyz ) * 1e5;
314				vec3 lineDir = worldEnd - worldStart;
315				vec2 params = closestLineToLine( worldStart, worldEnd, vec3( 0.0, 0.0, 0.0 ), rayEnd );
316
317				vec3 p1 = worldStart + lineDir * params.x;
318				vec3 p2 = rayEnd * params.y;
319				vec3 delta = p1 - p2;
320				float len = length( delta );
321				float norm = len / linewidth;
322
323				#ifndef USE_DASH
324
325					#ifdef ALPHA_TO_COVERAGE
326
327						float dnorm = fwidth( norm );
328						alpha = 1.0 - smoothstep( 0.5 - dnorm, 0.5 + dnorm, norm );
329
330					#else
331
332						if ( norm > 0.5 ) {
333
334							discard;
335
336						}
337
338					#endif
339
340			#endif
341
342			#else
343
344				#ifdef ALPHA_TO_COVERAGE
345
346					// artifacts appear on some hardware if a derivative is taken within a conditional
347					float a = vUv.x;
348					float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;
349					float len2 = a * a + b * b;
350					float dlen = fwidth( len2 );
351
352					if ( abs( vUv.y ) > 1.0 ) {
353
354						alpha = 1.0 - smoothstep( 1.0 - dlen, 1.0 + dlen, len2 );
355
356					}
357
358				#else
359
360			if ( abs( vUv.y ) > 1.0 ) {
361
362				float a = vUv.x;
363				float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;
364				float len2 = a * a + b * b;
365
366				if ( len2 > 1.0 ) discard;
367
368			}
369
370				#endif
371
372			#endif
373
374			vec4 diffuseColor = vec4( diffuse, alpha );
375
376			#include <logdepthbuf_fragment>
377			#include <color_fragment>
378
379			gl_FragColor = vec4( diffuseColor.rgb, alpha );
380
381			#include <tonemapping_fragment>
382			#include <colorspace_fragment>
383			#include <fog_fragment>
384			#include <premultiplied_alpha_fragment>
385
386		}
387		`};class c extends s.ShaderMaterial{constructor(e){super({type:"LineMaterial",uniforms:s.UniformsUtils.clone(s.ShaderLib.line.uniforms),vertexShader:s.ShaderLib.line.vertexShader,fragmentShader:s.ShaderLib.line.fragmentShader,clipping:!0}),Object.defineProperties(this,{color:{enumerable:!0,get:function(){return this.uniforms.diffuse.value},set:function(e){this.uniforms.diffuse.value=e}},worldUnits:{enumerable:!0,get:function(){return"WORLD_UNITS"in this.defines},set:function(e){!0===e?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}},linewidth:{enumerable:!0,get:function(){return this.uniforms.linewidth.value},set:function(e){this.uniforms.linewidth.value=e}},dashed:{enumerable:!0,get:function(){return"USE_DASH"in this.defines},set(e){!!e!="USE_DASH"in this.defines&&(this.needsUpdate=!0),!0===e?this.defines.USE_DASH="":delete this.defines.USE_DASH}},dashScale:{enumerable:!0,get:function(){return this.uniforms.dashScale.value},set:function(e){this.uniforms.dashScale.value=e}},dashSize:{enumerable:!0,get:function(){return this.uniforms.dashSize.value},set:function(e){this.uniforms.dashSize.value=e}},dashOffset:{enumerable:!0,get:function(){return this.uniforms.dashOffset.value},set:function(e){this.uniforms.dashOffset.value=e}},gapSize:{enumerable:!0,get:function(){return this.uniforms.gapSize.value},set:function(e){this.uniforms.gapSize.value=e}},opacity:{enumerable:!0,get:function(){return this.uniforms.opacity.value},set:function(e){this.uniforms.opacity.value=e}},resolution:{enumerable:!0,get:function(){return this.uniforms.resolution.value},set:function(e){this.uniforms.resolution.value.copy(e)}},alphaToCoverage:{enumerable:!0,get:function(){return"ALPHA_TO_COVERAGE"in this.defines},set:function(e){!!e!="ALPHA_TO_COVERAGE"in this.defines&&(this.needsUpdate=!0),!0===e?(this.defines.ALPHA_TO_COVERAGE="",this.extensions.derivatives=!0):(delete this.defines.ALPHA_TO_COVERAGE,this.extensions.derivatives=!1)}}}),this.setValues(e)}}c.prototype.isLineMaterial=!0;
387let f=window.THREE?window.THREE:{Box3:r.Box3,BufferGeometry:r.BufferGeometry,InstancedInterleavedBuffer:r.InstancedInterleavedBuffer,InterleavedBufferAttribute:r.InterleavedBufferAttribute,Line3:r.Line3,MathUtils:r.MathUtils,Matrix4:r.Matrix4,Mesh:r.Mesh,Sphere:r.Sphere,Vector3:r.Vector3,Vector4:r.Vector4};var d=new f.BufferGeometry().setAttribute?"setAttribute":"addAttribute";let p=new f.Vector3,h=new f.Vector3,m=new f.Vector4,v=new f.Vector4,g=new f.Vector4,y=new f.Vector3,b=new f.Matrix4,w=new f.Line3,x=new f.Vector3,S=new f.Box3,_=new f.Sphere,E=new f.Vector4;class M extends f.Mesh{constructor(e=new u,t=new c({color:16777215*Math.random()})){super(e,t),this.type="LineSegments2"}computeLineDistances(){let e=this.geometry,t=e.attributes.instanceStart,n=e.attributes.instanceEnd,r=new Float32Array(2*t.count);for(let e=0,i=0,o=t.count;e<o;e++,i+=2)p.fromBufferAttribute(t,e),h.fromBufferAttribute(n,e),r[i]=0===i?0:r[i-1],r[i+1]=r[i]+p.distanceTo(h);let i=new f.InstancedInterleavedBuffer(r,2,1);return e[d]("instanceDistanceStart",new f.InterleavedBufferAttribute(i,1,0)),e[d]("instanceDistanceEnd",new f.InterleavedBufferAttribute(i,1,1)),this}raycast(e,t){null===e.camera&&console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2.');let n=void 0!==e.params.Line2&&e.params.Line2.threshold||0,r=e.ray,i=e.camera,o=i.projectionMatrix,a=this.matrixWorld,l=this.geometry,u=this.material,s=u.resolution,c=u.linewidth+n,d=l.attributes.instanceStart,p=l.attributes.instanceEnd,h=-i.near,M=2*Math.max(c/s.width,c/s.height);null===l.boundingSphere&&l.computeBoundingSphere(),_.copy(l.boundingSphere).applyMatrix4(a);let P=Math.max(i.near,_.distanceToPoint(r.origin));E.set(0,0,-P,1).applyMatrix4(i.projectionMatrix),E.multiplyScalar(1/E.w),E.applyMatrix4(i.projectionMatrixInverse);let k=.5*Math.abs(M/E.w);if(_.radius+=k,!1===e.ray.intersectsSphere(_))return;null===l.boundingBox&&l.computeBoundingBox(),S.copy(l.boundingBox).applyMatrix4(a);let A=Math.max(i.near,S.distanceToPoint(r.origin));E.set(0,0,-A,1).applyMatrix4(i.projectionMatrix),E.multiplyScalar(1/E.w),E.applyMatrix4(i.projectionMatrixInverse);let O=.5*Math.abs(M/E.w);if(S.max.x+=O,S.max.y+=O,S.max.z+=O,S.min.x-=O,S.min.y-=O,S.min.z-=O,!1!==e.ray.intersectsBox(S)){r.at(1,g),g.w=1,g.applyMatrix4(i.matrixWorldInverse),g.applyMatrix4(o),g.multiplyScalar(1/g.w),g.x*=s.x/2,g.y*=s.y/2,g.z=0,y.copy(g),b.multiplyMatrices(i.matrixWorldInverse,a);for(let e=0,n=d.count;e<n;e++){if(m.fromBufferAttribute(d,e),v.fromBufferAttribute(p,e),m.w=1,v.w=1,m.applyMatrix4(b),v.applyMatrix4(b),m.z>h&&v.z>h)continue;if(m.z>h){let e=m.z-v.z,t=(m.z-h)/e;m.lerp(v,t)}else if(v.z>h){let e=v.z-m.z,t=(v.z-h)/e;v.lerp(m,t)}m.applyMatrix4(o),v.applyMatrix4(o),m.multiplyScalar(1/m.w),v.multiplyScalar(1/v.w),m.x*=s.x/2,m.y*=s.y/2,v.x*=s.x/2,v.y*=s.y/2,w.start.copy(m),w.start.z=0,w.end.copy(v),w.end.z=0;let n=w.closestPointToPointParameter(y,!0);w.at(n,x);let i=f.MathUtils.lerp(m.z,v.z,n),l=i>=-1&&i<=1,u=y.distanceTo(x)<.5*c;if(l&&u){w.start.fromBufferAttribute(d,e),w.end.fromBufferAttribute(p,e),w.start.applyMatrix4(a),w.end.applyMatrix4(a);let n=new f.Vector3,i=new f.Vector3;r.distanceSqToSegment(w.start,w.end,i,n),t.push({point:i,pointOnLine:n,distance:r.origin.distanceTo(i),object:this,face:null,faceIndex:e,uv:null,uv2:null})}}}}}M.prototype.LineSegments2=!0;class P extends u{constructor(){super(),this.type="LineGeometry"}setPositions(e){for(var t=e.length-3,n=new Float32Array(2*t),r=0;r<t;r+=3)n[2*r]=e[r],n[2*r+1]=e[r+1],n[2*r+2]=e[r+2],n[2*r+3]=e[r+3],n[2*r+4]=e[r+4],n[2*r+5]=e[r+5];return super.setPositions(n),this}setColors(e){for(var t=e.length-3,n=new Float32Array(2*t),r=0;r<t;r+=3)n[2*r]=e[r],n[2*r+1]=e[r+1],n[2*r+2]=e[r+2],n[2*r+3]=e[r+3],n[2*r+4]=e[r+4],n[2*r+5]=e[r+5];return super.setColors(n),this}fromLine(e){var t=e.geometry;if(t.isGeometry){console.error("THREE.LineGeometry no longer supports Geometry. Use THREE.BufferGeometry instead.");return}return t.isBufferGeometry&&this.setPositions(t.attributes.position.array),this}}P.prototype.isLineGeometry=!0;class k extends M{constructor(e=new P,t=new c({color:16777215*Math.random()})){super(e,t),this.type="Line2"}}k.prototype.isLine2=!0},27753:function(e,t,n){"use strict";n.d(t,{k:function(){return v}});var r=n(97776),i=n(5464),o=n(8343),a=n(71651);function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
387function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(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,i,o,a,l=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(e,t)||f(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 f(e,t){if(e){if("string"==typeof e)return d(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 d(e,t)}}function d(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 p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],r=null;return e.forEach(function(e){if(r){var i=180*(0,o.Z)(e,r)/Math.PI;if(i>t)for(var l=(0,a.Z)(r,e),u=1/Math.ceil(i/t),s=u;s<1;)n.push(l(s)),s+=u}n.push(r=e)}),n},h="undefined"!=typeof window&&window.THREE?window.THREE:{BufferGeometry:r.BufferGeometry,Float32BufferAttribute:r.Float32BufferAttribute},m=new h.BufferGeometry().setAttribute?"setAttribute":"addAttribute",v=function(e){function t(e){var n,r,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),n=u(n=t),(o=function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,l()?Reflect.construct(n,[],u(this).constructor):n.apply(this,r))).type="GeoJsonGeometry",o.parameters={geoJson:e,radius:a,resolution:s};var f=(({Point:w,MultiPoint:function(e,t){var n={vertices:[],indices:[]};return e.map(function(e){return w(e,t)}).forEach(function(e){g(n,c(e,1)[0])}),[n]},LineString:x,MultiLineString:function(e,t){var n={vertices:[],indices:[]};return e.map(function(e){return x(e,t)}).forEach(function(e){g(n,c(e,1)[0])}),[n]},Polygon:S,MultiPolygon:function(e,t){var n={vertices:[],indices:[]},r={vertices:[],indices:[]};e.map(function(e){return S(e,t)}).forEach(function(e){var t=c(e,2),i=t[0],o=t[1];g(n,i),o&&g(r,o)});var i=[n];return r.vertices.length&&i.push(r),i}})[e.type]||function(){return[]})(e.coordinates,a),d=[],v=[],y=0;function w(e,t){return[{vertices:b(e[1],e[0],t),indices:[]}]}function x(e,t){for(var n=p(e,s).map(function(e){var n=c(e,2),r=n[0];return b(n[1],r,t)}),r=i.flatten([n]).vertices,o=Math.round(r.length/3),a=[],l=1;l<o;l++)a.push(l-1,l);return[{vertices:r,indices:a}]}function S(e,t){for(var n=e.map(function(e){return p(e,s).map(function(e){var n=c(e,2),r=n[0];return b(n[1],r,t)})}),r=i.flatten(n),o=r.vertices,a=r.holes,l=a[0]||1/0,u=o.slice(0,3*l),f=o.slice(3*l),d=new Set(a),h=Math.round(o.length/3),m=[],v=[],g=1;g<h;g++)d.has(g)||(g<l?m.push(g-1,g):v.push(g-1-l,g-l));var y=[{indices:m,vertices:u}];return a.length&&y.push({indices:v,vertices:f}),y}return f.forEach(function(e){var t=d.length;g({indices:d,vertices:v},e),o.addGroup(t,d.length-t,y++)}),d.length&&o.setIndex(d),v.length&&o[m]("position",new h.Float32BufferAttribute(v,3)),o}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(h.BufferGeometry);function g(e,t){var n=Math.round(e.vertices.length/3);y(e.vertices,t.vertices),y(e.indices,t.indices.map(function(e){return e+n}))}function y(e,t){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
387if(!n){if(Array.isArray(e)||(n=f(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;e.push(i)}}catch(e){r.e(e)}finally{r.f()}}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=(90-e)*Math.PI/180,i=(90-t)*Math.PI/180;return[n*Math.sin(r)*Math.cos(i),n*Math.cos(r),n*Math.sin(r)*Math.sin(i)]}},55685:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});var r=n(97776);class i extends r.ExtrudeGeometry{constructor(e,t={}){let n=t.font;if(void 0===n)super();else{let r=n.generateShapes(e,t.size);void 0===t.depth&&void 0!==t.height&&console.warn("THREE.TextGeometry: .height is now depreciated. Please use .depth instead"),t.depth=void 0!==t.depth?t.depth:void 0!==t.height?t.height:50,void 0===t.bevelThickness&&(t.bevelThickness=10),void 0===t.bevelSize&&(t.bevelSize=8),void 0===t.bevelEnabled&&(t.bevelEnabled=!1),super(r,t)}this.type="TextGeometry"}}},43141:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(97776);class i{constructor(e){this.isFont=!0,this.type="Font",this.data=e}generateShapes(e,t=100){let n=[],i=function(e,t,n){let i=Array.from(e),o=t/n.resolution,a=(n.boundingBox.yMax-n.boundingBox.yMin+n.underlineThickness)*o,l=[],u=0,s=0;for(let e=0;e<i.length;e++){let t=i[e];if("\n"===t)u=0,s-=a;else{let e=function(e,t,n,i,o){let a,l,u,s,c,f,d,p;let h=o.glyphs[e]||o.glyphs["?"];if(!h){console.error('THREE.Font: character "'+e+'" does not exists in font family '+o.familyName+".");return}let m=new r.ShapePath;if(h.o){let e=h._cachedOutline||(h._cachedOutline=h.o.split(" "));for(let r=0,o=e.length;r<o;)switch(e[r++]){case"m":a=e[r++]*t+n,l=e[r++]*t+i,m.moveTo(a,l);break;case"l":a=e[r++]*t+n,l=e[r++]*t+i,m.lineTo(a,l);break;case"q":u=e[r++]*t+n,s=e[r++]*t+i,c=e[r++]*t+n,f=e[r++]*t+i,m.quadraticCurveTo(c,f,u,s);break;case"b":u=e[r++]*t+n,s=e[r++]*t+i,c=e[r++]*t+n,f=e[r++]*t+i,d=e[r++]*t+n,p=e[r++]*t+i,m.bezierCurveTo(c,f,d,p,u,s)}}return{offsetX:h.ha*t,path:m}}(t,o,u,s,n);u+=e.offsetX,l.push(e.path)}}return l}(e,t,this.data);for(let e=0,t=i.length;e<t;e++)n.push(...i[e].toShapes());return n}}},33237:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(97776);class i extends r.Object3D{constructor(e=document.createElement("div")){super(),this.isCSS2DObject=!0,this.element=e,this.element.style.position="absolute",this.element.style.userSelect="none",this.element.setAttribute("draggable",!1),this.center=new r.Vector2(.5,.5),this.addEventListener("removed",function(){this.traverse(function(e){e.element instanceof Element&&null!==e.element.parentNode&&e.element.parentNode.removeChild(e.element)})})}copy(e,t){return super.copy(e,t),this.element=e.element.cloneNode(!0),this.center=e.center,this}}new r.Vector3,new r.Matrix4,new r.Matrix4,new r.Vector3,new r.Vector3},67161:function(e,t,n){"use strict";n.r(t),n.d(t,{computeMikkTSpaceTangents:function(){return i},computeMorphedAttributes:function(){return h},deepCloneAttribute:function(){return l},deinterleaveAttribute:function(){return s},deinterleaveGeometry:function(){return c},estimateBytesUsed:function(){return f},interleaveAttributes:function(){return u},mergeAttributes:function(){return a},mergeGeometries:function(){return o},mergeGroups:function(){return m},mergeVertices:function(){return d},toCreasedNormals:function(){return v},toTrianglesDrawMode:function(){return p}});var r=n(97776);function i(e,t,n=!0){if(!t||!t.isReady)throw Error("BufferGeometryUtils: Initialized MikkTSpace library required.");if(!e.hasAttribute("position")||!e.hasAttribute("normal")||!e.hasAttribute("uv"))throw Error('BufferGeometryUtils: Tangents require "position", "normal", and "uv" attributes.');function i(e){if(e.normalized||e.isInterleavedBufferAttribute){let t=new Float32Array(e.count*e.itemSize);for(let n=0,r=0;n<e.count;n++)t[r++]=e.getX(n),t[r++]=e.getY(n),e.itemSize>2&&(t[r++]=e.getZ(n));return t}return e.array instanceof Float32Array?e.array:new Float32Array(e.array)}let o=e.index?e.toNonIndexed():e,a=t.generateTangents(i(o.attributes.position),i(o.attributes.normal),i(o.attributes.uv));if(n)for(let e=3;e<a.length;e+=4)a[e]*=-1;return o.setAttribute("tangent",new r.BufferAttribute(a,4)),e!==o&&e.copy(o),e}function o(e,t=!1){let n=null!==e[0].index,i=new Set(Object.keys(e[0].attributes)),o=new Set(Object.keys(e[0].morphAttributes)),l={},u={},s=e[0].morphTargetsRelative,c=new r.BufferGeometry,f=0;for(let r=0;r<e.length;++r){let a=e[r],d=0;if(n!==(null!==a.index))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+r+". All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them."),null;
387for(let e in a.attributes){if(!i.has(e))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+r+'. All geometries must have compatible attributes; make sure "'+e+'" attribute exists among all geometries, or in none of them.'),null;void 0===l[e]&&(l[e]=[]),l[e].push(a.attributes[e]),d++}if(d!==i.size)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+r+". Make sure all geometries have the same number of attributes."),null;if(s!==a.morphTargetsRelative)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+r+". .morphTargetsRelative must be consistent throughout all geometries."),null;for(let e in a.morphAttributes){if(!o.has(e))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+r+".  .morphAttributes must be consistent throughout all geometries."),null;void 0===u[e]&&(u[e]=[]),u[e].push(a.morphAttributes[e])}if(t){let e;if(n)e=a.index.count;else{if(void 0===a.attributes.position)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+r+". The geometry must have either an index or a position attribute"),null;e=a.attributes.position.count}c.addGroup(f,e,r),f+=e}}if(n){let t=0,n=[];for(let r=0;r<e.length;++r){let i=e[r].index;for(let e=0;e<i.count;++e)n.push(i.getX(e)+t);t+=e[r].attributes.position.count}c.setIndex(n)}for(let e in l){let t=a(l[e]);if(!t)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+e+" attribute."),null;c.setAttribute(e,t)}for(let e in u){let t=u[e][0].length;if(0===t)break;c.morphAttributes=c.morphAttributes||{},c.morphAttributes[e]=[];for(let n=0;n<t;++n){let t=[];for(let r=0;r<u[e].length;++r)t.push(u[e][r][n]);let r=a(t);if(!r)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+e+" morphAttribute."),null;c.morphAttributes[e].push(r)}}return c}function a(e){let t,n,i;let o=-1,a=0;for(let r=0;r<e.length;++r){let l=e[r];if(void 0===t&&(t=l.array.constructor),t!==l.array.constructor)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.array must be of consistent array types across matching attributes."),null;if(void 0===n&&(n=l.itemSize),n!==l.itemSize)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.itemSize must be consistent across matching attributes."),null;if(void 0===i&&(i=l.normalized),i!==l.normalized)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.normalized must be consistent across matching attributes."),null;if(-1===o&&(o=l.gpuType),o!==l.gpuType)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.gpuType must be consistent across matching attributes."),null;a+=l.count*n}let l=new t(a),u=new r.BufferAttribute(l,n,i),s=0;for(let t=0;t<e.length;++t){let r=e[t];if(r.isInterleavedBufferAttribute){let e=s/n;for(let t=0,i=r.count;t<i;t++)for(let i=0;i<n;i++){let n=r.getComponent(t,i);u.setComponent(t+e,i,n)}}else l.set(r.array,s);s+=r.count*n}return void 0!==o&&(u.gpuType=o),u}function l(e){return e.isInstancedInterleavedBufferAttribute||e.isInterleavedBufferAttribute?s(e):e.isInstancedBufferAttribute?new r.InstancedBufferAttribute().copy(e):new r.BufferAttribute().copy(e)}function u(e){let t;let n=0,i=0;for(let r=0,o=e.length;r<o;++r){let o=e[r];if(void 0===t&&(t=o.array.constructor),t!==o.array.constructor)return console.error("AttributeBuffers of different types cannot be interleaved"),null;n+=o.array.length,i+=o.itemSize}let o=new r.InterleavedBuffer(new t(n),i),a=0,l=[],u=["getX","getY","getZ","getW"],s=["setX","setY","setZ","setW"];for(let t=0,n=e.length;t<n;t++){let n=e[t],i=n.itemSize,c=n.count,f=new r.InterleavedBufferAttribute(o,i,a,n.normalized);l.push(f),a+=i;for(let e=0;e<c;e++)for(let t=0;t<i;t++)f[s[t]](e,n[u[t]](e))}return l}function s(e){let t;let n=e.data.array.constructor,i=e.count,o=e.itemSize,a=e.normalized,l=new n(i*o);t=e.isInstancedInterleavedBufferAttribute?new r.InstancedBufferAttribute(l,o,a,e.meshPerAttribute):new r.BufferAttribute(l,o,a);for(let n=0;n<i;
387n++)t.setX(n,e.getX(n)),o>=2&&t.setY(n,e.getY(n)),o>=3&&t.setZ(n,e.getZ(n)),o>=4&&t.setW(n,e.getW(n));return t}function c(e){let t=e.attributes,n=e.morphTargets,r=new Map;for(let e in t){let n=t[e];n.isInterleavedBufferAttribute&&(r.has(n)||r.set(n,s(n)),t[e]=r.get(n))}for(let e in n){let t=n[e];t.isInterleavedBufferAttribute&&(r.has(t)||r.set(t,s(t)),n[e]=r.get(t))}}function f(e){let t=0;for(let n in e.attributes){let r=e.getAttribute(n);t+=r.count*r.itemSize*r.array.BYTES_PER_ELEMENT}let n=e.getIndex();return t+(n?n.count*n.itemSize*n.array.BYTES_PER_ELEMENT:0)}function d(e,t=1e-4){t=Math.max(t,Number.EPSILON);let n={},r=e.getIndex(),i=e.getAttribute("position"),o=r?r.count:i.count,a=0,l=Object.keys(e.attributes),u={},s={},c=[],f=["getX","getY","getZ","getW"],d=["setX","setY","setZ","setW"];for(let t=0,n=l.length;t<n;t++){let n=l[t],r=e.attributes[n];u[n]=new r.constructor(new r.array.constructor(r.count*r.itemSize),r.itemSize,r.normalized);let i=e.morphAttributes[n];i&&(s[n]||(s[n]=[]),i.forEach((e,t)=>{let r=new e.array.constructor(e.count*e.itemSize);s[n][t]=new e.constructor(r,e.itemSize,e.normalized)}))}let p=.5*t,h=Math.pow(10,Math.log10(1/t)),m=p*h;for(let t=0;t<o;t++){let i=r?r.getX(t):t,o="";for(let t=0,n=l.length;t<n;t++){let n=l[t],r=e.getAttribute(n),a=r.itemSize;for(let e=0;e<a;e++)o+=`${~~(r[f[e]](i)*h+m)},`}if(o in n)c.push(n[o]);else{for(let t=0,n=l.length;t<n;t++){let n=l[t],r=e.getAttribute(n),o=e.morphAttributes[n],c=r.itemSize,p=u[n],h=s[n];for(let e=0;e<c;e++){let t=f[e],n=d[e];if(p[n](a,r[t](i)),o)for(let e=0,r=o.length;e<r;e++)h[e][n](a,o[e][t](i))}}n[o]=a,c.push(a),a++}}let v=e.clone();for(let t in e.attributes){let e=u[t];if(v.setAttribute(t,new e.constructor(e.array.slice(0,a*e.itemSize),e.itemSize,e.normalized)),t in s)for(let e=0;e<s[t].length;e++){let n=s[t][e];v.morphAttributes[t][e]=new n.constructor(n.array.slice(0,a*n.itemSize),n.itemSize,n.normalized)}}return v.setIndex(c),v}function p(e,t){if(t===r.TrianglesDrawMode)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),e;if(t!==r.TriangleFanDrawMode&&t!==r.TriangleStripDrawMode)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",t),e;{let n=e.getIndex();if(null===n){let t=[],r=e.getAttribute("position");if(void 0===r)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),e;for(let e=0;e<r.count;e++)t.push(e);e.setIndex(t),n=e.getIndex()}let i=n.count-2,o=[];if(t===r.TriangleFanDrawMode)for(let e=1;e<=i;e++)o.push(n.getX(0)),o.push(n.getX(e)),o.push(n.getX(e+1));else for(let e=0;e<i;e++)e%2==0?(o.push(n.getX(e)),o.push(n.getX(e+1)),o.push(n.getX(e+2))):(o.push(n.getX(e+2)),o.push(n.getX(e+1)),o.push(n.getX(e)));o.length/3!==i&&console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");let a=e.clone();return a.setIndex(o),a.clearGroups(),a}}function h(e){let t,n,i,o,a,l,u,s,c,f;let d=new r.Vector3,p=new r.Vector3,h=new r.Vector3,m=new r.Vector3,v=new r.Vector3,g=new r.Vector3,y=new r.Vector3,b=new r.Vector3,w=new r.Vector3;function x(e,t,n,r,i,o,a,l){d.fromBufferAttribute(t,i),p.fromBufferAttribute(t,o),h.fromBufferAttribute(t,a);let u=e.morphTargetInfluences;if(n&&u){y.set(0,0,0),b.set(0,0,0),w.set(0,0,0);for(let e=0,t=n.length;e<t;e++){let t=u[e],l=n[e];0!==t&&(m.fromBufferAttribute(l,i),v.fromBufferAttribute(l,o),g.fromBufferAttribute(l,a),r?(y.addScaledVector(m,t),b.addScaledVector(v,t),w.addScaledVector(g,t)):(y.addScaledVector(m.sub(d),t),b.addScaledVector(v.sub(p),t),w.addScaledVector(g.sub(h),t)))}d.add(y),p.add(b),h.add(w)}e.isSkinnedMesh&&(e.applyBoneTransform(i,d),e.applyBoneTransform(o,p),e.applyBoneTransform(a,h)),l[3*i+0]=d.x,l[3*i+1]=d.y,l[3*i+2]=d.z,l[3*o+0]=p.x,l[3*o+1]=p.y,l[3*o+2]=p.z,l[3*a+0]=h.x,l[3*a+1]=h.y,l[3*a+2]=h.z}let S=e.geometry,_=e.material,E=S.index,M=S.attributes.position,P=S.morphAttributes.position,k=S.morphTargetsRelative,A=S.attributes.normal,O=S.morphAttributes.position,C=S.groups,T=S.drawRange,z=new Float32Array(M.count*M.itemSize),j=new Float32Array(A.count*A.itemSize);if(null!==E){if(Array.isArray(_))for(o=0,l=C.length;o<l;o++)for(c=Math.max((s=C[o]).start,T.start),f=Math.min(s.start+s.count,T.start+T.count),a=c,u=f;a<u;a+=3)x(e,M,P,k,t=E.getX(a),n=E.getX(a+1),i=E.getX(a+2),z),x(e,A,O,k,t,n,i,j);else for(c=Math.max(0,T.start),f=Math.min(E.count,T.start+T.count),o=c,l=f;o<l;o+=3)x(e,M,P,k,t=E.getX(o),n=E.getX(o+1),i=E.getX(o+2),z),x(e,A,O,k,t,n,i,j)}else if(Array.isArray(_))for(o=0,l=C.length;o<l;o++)for(c=Math.max((s=C[o]).start,T.start),f=Math.min(s.start+s.count,T.start+T.count),a=c,u=f;a<u;a+=3)x(e,M,P,k,t=a,n=a+1,i=a+2,z),x(e,A,O,k,t,n,i,j);else for(c=Math.max(0,T.start),f=Math.min(M.count,T.start+T.count),o=c,l=f;o<l;o+=3)x(e,M,P,k,t=o,n=o+1,i=o+2,z),x(e,A,O,k,t,n,i,j);return{positionAttribute:M,normalAttribute:A,morphedPositionAttribute:new r.Float32BufferAttribute(z,3),morphedNormalAttribute:new r.Float32BufferAttribute(j,3)}}function m(e){if(0===e.groups.length)return console.warn("THREE.BufferGeometryUtils.mergeGroups(): No groups are defined. Nothing to merge."),e;let t=e.groups;if(t=t.sort((e,t)=>
387e.materialIndex!==t.materialIndex?e.materialIndex-t.materialIndex:e.start-t.start),null===e.getIndex()){let t=e.getAttribute("position"),n=[];for(let e=0;e<t.count;e+=3)n.push(e,e+1,e+2);e.setIndex(n)}let n=e.getIndex(),r=[];for(let e=0;e<t.length;e++){let i=t[e],o=i.start,a=o+i.count;for(let e=o;e<a;e++)r.push(n.getX(e))}e.dispose(),e.setIndex(r);let i=0;for(let e=0;e<t.length;e++){let n=t[e];n.start=i,i+=n.count}let o=t[0];e.groups=[o];for(let n=1;n<t.length;n++){let r=t[n];o.materialIndex===r.materialIndex?o.count+=r.count:(o=r,e.groups.push(o))}return e}function v(e,t=Math.PI/3){let n=Math.cos(t),i=(1+1e-10)*100,o=[new r.Vector3,new r.Vector3,new r.Vector3],a=new r.Vector3,l=new r.Vector3,u=new r.Vector3,s=new r.Vector3;function c(e){let t=~~(e.x*i),n=~~(e.y*i),r=~~(e.z*i);return`${t},${n},${r}`}let f=e.index?e.toNonIndexed():e,d=f.attributes.position,p={};for(let e=0,t=d.count/3;e<t;e++){let t=3*e,n=o[0].fromBufferAttribute(d,t+0),i=o[1].fromBufferAttribute(d,t+1),u=o[2].fromBufferAttribute(d,t+2);a.subVectors(u,i),l.subVectors(n,i);let s=new r.Vector3().crossVectors(a,l).normalize();for(let e=0;e<3;e++){let t=c(o[e]);t in p||(p[t]=[]),p[t].push(s)}}let h=new Float32Array(3*d.count),m=new r.BufferAttribute(h,3,!1);for(let e=0,t=d.count/3;e<t;e++){let t=3*e,r=o[0].fromBufferAttribute(d,t+0),i=o[1].fromBufferAttribute(d,t+1),f=o[2].fromBufferAttribute(d,t+2);a.subVectors(f,i),l.subVectors(r,i),u.crossVectors(a,l).normalize();for(let e=0;e<3;e++){let r=p[c(o[e])];s.set(0,0,0);for(let e=0,t=r.length;e<t;e++){let t=r[e];u.dot(t)>n&&s.add(t)}s.normalize(),m.setXYZ(t+e,s.x,s.y,s.z)}}return f.setAttribute("normal",m),f}},13130:function(e,t,n){"use strict";function r(e){return(r="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)}n.d(t,{Z:function(){return s}});var i,o,a,l=/^\s+/,u=/\s+$/;function s(e,t){if(t=t||{},(e=e||"")instanceof s)return e;if(!(this instanceof s))return new s(e,t);var n,i,o,a,c,f,d,p,h,m,v,g,y,b,w,x,S,_,E,M,k=(i={r:0,g:0,b:0},o=1,a=null,c=null,f=null,d=!1,p=!1,"string"==typeof(n=e)&&(n=function(e){e=e.replace(l,"").replace(u,"").toLowerCase();var t,n=!1;if(P[e])e=P[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=R.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=R.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=R.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=R.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=R.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=R.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=R.hex8.exec(e))?{r:T(t[1]),g:T(t[2]),b:T(t[3]),a:T(t[4])/255,format:n?"name":"hex8"}:(t=R.hex6.exec(e))?{r:T(t[1]),g:T(t[2]),b:T(t[3]),format:n?"name":"hex"}:(t=R.hex4.exec(e))?{r:T(t[1]+""+t[1]),g:T(t[2]+""+t[2]),b:T(t[3]+""+t[3]),a:T(t[4]+""+t[4])/255,format:n?"name":"hex8"}:!!(t=R.hex3.exec(e))&&{r:T(t[1]+""+t[1]),g:T(t[2]+""+t[2]),b:T(t[3]+""+t[3]),format:n?"name":"hex"}}(n)),"object"==r(n)&&(N(n.r)&&N(n.g)&&N(n.b)?(h=n.r,m=n.g,v=n.b,i={r:255*O(h,255),g:255*O(m,255),b:255*O(v,255)},d=!0,p="%"===String(n.r).substr(-1)?"prgb":"rgb"):N(n.h)&&N(n.s)&&N(n.v)?(a=j(n.s),c=j(n.v),g=n.h,y=a,b=c,g=6*O(g,360),y=O(y,100),b=O(b,100),w=Math.floor(g),x=g-w,S=b*(1-y),_=b*(1-x*y),E=b*(1-(1-x)*y),i={r:255*[b,_,S,S,E,b][M=w%6],g:255*[E,b,b,_,S,S][M],b:255*[S,S,E,b,b,_][M]},d=!0,p="hsv"):N(n.h)&&N(n.s)&&N(n.l)&&(a=j(n.s),f=j(n.l),i=function(e,t,n){var r,i,o;function a(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=O(e,360),t=O(t,100),n=O(n,100),0===t)r=i=o=n;else{var l=n<.5?n*(1+t):n+t-n*t,u=2*n-l;r=a(u,l,e+1/3),i=a(u,l,e),o=a(u,l,e-1/3)}return{r:255*r,g:255*i,b:255*o}}(n.h,a,f),d=!0,p="hsl"),n.hasOwnProperty("a")&&(o=n.a)),o=A(o),{ok:d,format:n.format||p,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:o});this._originalInput=e,this._r=k.r,this._g=k.g,this._b=k.b,this._a=k.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||k.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=k.ok}
387function c(e,t,n){var r,i,o=Math.max(e=O(e,255),t=O(t,255),n=O(n,255)),a=Math.min(e,t,n),l=(o+a)/2;if(o==a)r=i=0;else{var u=o-a;switch(i=l>.5?u/(2-o-a):u/(o+a),o){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:i,l:l}}function f(e,t,n){var r,i,o=Math.max(e=O(e,255),t=O(t,255),n=O(n,255)),a=Math.min(e,t,n),l=o-a;if(i=0===o?0:l/o,o==a)r=0;else{switch(o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:i,v:o}}function d(e,t,n,r){var i=[z(Math.round(e).toString(16)),z(Math.round(t).toString(16)),z(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function p(e,t,n,r){return[z(I(r)),z(Math.round(e).toString(16)),z(Math.round(t).toString(16)),z(Math.round(n).toString(16))].join("")}function h(e,t){t=0===t?0:t||10;var n=s(e).toHsl();return n.s-=t/100,n.s=C(n.s),s(n)}function m(e,t){t=0===t?0:t||10;var n=s(e).toHsl();return n.s+=t/100,n.s=C(n.s),s(n)}function v(e){return s(e).desaturate(100)}function g(e,t){t=0===t?0:t||10;var n=s(e).toHsl();return n.l+=t/100,n.l=C(n.l),s(n)}function y(e,t){t=0===t?0:t||10;var n=s(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(t/100*255)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(t/100*255)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(t/100*255)))),s(n)}function b(e,t){t=0===t?0:t||10;var n=s(e).toHsl();return n.l-=t/100,n.l=C(n.l),s(n)}function w(e,t){var n=s(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,s(n)}function x(e){var t=s(e).toHsl();return t.h=(t.h+180)%360,s(t)}function S(e,t){if(isNaN(t)||t<=0)throw Error("Argument to polyad must be a positive number");for(var n=s(e).toHsl(),r=[s(e)],i=360/t,o=1;o<t;o++)r.push(s({h:(n.h+o*i)%360,s:n.s,l:n.l}));return r}function _(e){var t=s(e).toHsl(),n=t.h;return[s(e),s({h:(n+72)%360,s:t.s,l:t.l}),s({h:(n+216)%360,s:t.s,l:t.l})]}function E(e,t,n){t=t||6,n=n||30;var r=s(e).toHsl(),i=360/n,o=[s(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(s(r));return o}function M(e,t){t=t||6;for(var n=s(e).toHsv(),r=n.h,i=n.s,o=n.v,a=[],l=1/t;t--;)a.push(s({h:r,s:i,v:o})),o=(o+l)%1;return a}s.prototype={isDark:function(){return 128>this.getBrightness()},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*((t=r.g/255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*((n=r.b/255)<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=A(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=f(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=c(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return d(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){var t,n,r,i,o;return t=this._r,n=this._g,r=this._b,i=this._a,o=[z(Math.round(t).toString(16)),z(Math.round(n).toString(16)),z(Math.round(r).toString(16)),z(I(i))],e&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*O(this._r,255))+"%",g:Math.round(100*O(this._g,255))+"%",b:Math.round(100*O(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*O(this._r,255))+"%, "+Math.round(100*O(this._g,255))+"%, "+Math.round(100*O(this._b,255))+"%)":"rgba("+Math.round(100*O(this._r,255))+"%, "+Math.round(100*O(this._g,255))+"%, "+Math.round(100*O(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(k[d(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+p(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=s(e);n="#"+p(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return!t&&r&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e)?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return s(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(g,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(b,arguments)},desaturate:function(){return this._applyModification(h,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(E,arguments)},complement:function(){return this._applyCombination(x,arguments)},monochromatic:function(){return this._applyCombination(M,arguments)},splitcomplement:function(){return this._applyCombination(_,arguments)},triad:function(){return this._applyCombination(S,[3])},tetrad:function(){return this._applyCombination(S,[4])}},s.fromRatio=function(e,t){if("object"==r(e)){var n={};for(var i in e)e.hasOwnProperty(i)&&("a"===i?n[i]=e[i]:n[i]=j(e[i]));e=n}return s(e,t)},s.equals=function(e,t){return!!e&&!!t&&s(e).toRgbString()==s(t).toRgbString()},s.random=function(){return s.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},s.mix=function(e,t,n){n=0===n?0:n||50;var r=s(e).toRgb(),i=s(t).toRgb(),o=n/100;return s({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},s.readability=function(e,t){var n=s(e),r=s(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},s.isReadable=function(e,t,n){var r,i,o,a,l,u=s.readability(e,t);switch(l=!1,(i=((r=(r=n)||{level:"AA",size:"small"}).level||"AA").toUpperCase(),o=(r.size||"small").toLowerCase(),"AA"!==i&&"AAA"!==i&&(i="AA"),"small"!==o&&"large"!==o&&(o="small"),a={level:i,size:o}).level+a.size){case"AAsmall":case"AAAlarge":l=u>=4.5;break;case"AAlarge":l=u>=3;break;case"AAAsmall":l=u>=7}return l},s.mostReadable=function(e,t,n){var r,i,o,a,l=null,u=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;
vendor: 1,583 bytes, line 387
387for(var c=0;c<t.length;c++)(r=s.readability(e,t[c]))>u&&(u=r,l=s(t[c]));return s.isReadable(e,l,{level:o,size:a})||!i?l:(n.includeFallbackColors=!1,s.mostReadable(e,["#fff","#000"],n))};var P=s.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",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:"f0f",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
3870",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:"663399",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"},k=s.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(P);function A(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function O(e,t){"string"==typeof(n=e)&&-1!=n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var n,r,i="string"==typeof(r=e)&&-1!=r.indexOf("%");return(e=Math.min(t,Math.max(0,parseFloat(e))),i&&(e=parseInt(e*t,10)/100),1e-6>Math.abs(e-t))?1:e%t/parseFloat(t)}function C(e){return Math.min(1,Math.max(0,e))}function T(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function j(e){return e<=1&&(e=100*e+"%"),e}function I(e){return Math.round(255*parseFloat(e)).toString(16)}var R=(o="[\\s|\\(]+("+(i="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+i+")[,|\\s]+("+i+")\\s*\\)?",a="[\\s|\\(]+("+i+")[,|\\s]+("+i+")[,|\\s]+("+i+")[,|\\s]+("+i+")\\s*\\)?",{CSS_UNIT:new RegExp(i),rgb:RegExp("rgb"+o),rgba:RegExp("rgba"+a),hsl:RegExp("hsl"+o),hsla:RegExp("hsla"+a),hsv:RegExp("hsv"+o),hsva:RegExp("hsva"
387+a),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function N(e){return!!R.CSS_UNIT.exec(e)}}}]);

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.