PageSourceSearch

https://cdn.v1v2.io/_next/static/chunks/8265-75432e0ab904ae2f.js

js v1v2.io collected 2026-09-25 21:07:27 UTC 26,347 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8265],{60896:(t,e,r)=>{"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{f:()=>c});var i,o=function(){var t;function e(){var t,r;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),t="listeners",r=new Set,t in this?Object.defineProperty(this,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[t]=r,this.emit=this.emit.bind(this)}return t=[{key:"clear",value:function(){this.listeners.clear()}},{key:"add",value:function(t){var e=this;return this.listeners.add(t),function(){return e.remove(t)}}},{key:"remove",value:function(t){this.listeners.delete(t)}},{key:"emit",value:function(t){var e,r=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return n(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,void 0)}}(t))){r&&(t=r);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}(this.listeners);try{for(r.s();!(e=r.n()).done;)(0,e.value)(t)}catch(t){r.e(t)}finally{r.f()}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}i=Symbol.iterator;var c=function(){var t;function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),u(this,"onEntityAdded",new o),u(this,"onEntityRemoved",new o),u(this,"entityPositions",new Map),this.entities=t,this.add=this.add.bind(this),this.remove=this.remove.bind(this);for(var r=0;r<t.length;r++)this.entityPositions.set(t[r],r)}return t=[{key:i,value:function(){var t=this,e=this.entities.length,r={value:void 0,done:!1};return{next:function(){return r.value=t.entities[--e],r.done=e<0,r}}}},{key:"size",get:function(){return this.entities.length}},{key:"first",get:function(){return this.entities[0]}},{key:"has",value:function(t){return this.entityPositions.has(t)}},{key:"add",value:function(t){return t&&!this.has(t)&&(this.entities.push(t),this.entityPositions.set(t,this.entities.length-1),this.onEntityAdded.emit(t)),t}},{key:"remove",value:function(t){if(this.has(t)){this.onEntityRemoved.emit(t);var e=this.entityPositions.get(t);this.entityPositions.delete(t);var r=this.entities[this.entities.length-1];r!==t&&(this.entities[e]=r,this.entityPositions.set(r,e)),this.entities.pop()}return t}},{key:"clear",value:function(){var t,e=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return a(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,void 0)}}(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},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,u=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){c=!0,o=t},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw o}}}}(this);try{for(e.s();!(t=e.n()).done;){var r=t.value;this.remove(r)}}catch(t){e.e(t)}finally{e.f()}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}()},88153:(t,e,r)=>{"use strict";r.d(e,{HK:()=>P});var n=r(60896);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function o(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}}function a(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||o(t)||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(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=o(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},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 a,u=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}function s(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e,r){return e&&l(t.prototype,e),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function y(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
1function d(t,e){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function h(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var r,n=p(t);return r=e?Reflect.construct(n,arguments,p(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return y(t)}(this,r)}}function m(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var b=function(){function t(){s(this,t),m(this,"cache",new Map)}return f(t,[{key:"get",value:function(t,e){var r=this.cache.get(t);return void 0===r&&(this.cache.set(t,e),r=e),r}}]),t}();function g(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return r.every(function(e){return void 0!==t[e]})}function w(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return r.every(function(e){return void 0===t[e]})}new b;var O=function(t){return a(new Set(t.sort().filter(function(t){return!!t&&""!==t})))},E=new b,A=function(t){var e={with:void 0!==t.with?O(t.with):[],without:void 0!==t.without?O(t.without):[]},r=JSON.stringify(e);return E.get(r,e)},S=function(t){h(r,t);var e=v(r);function r(){var t;s(this,r);for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return m(y(t=e.call.apply(e,[this].concat(i))),"buckets",new Set),t}return f(r,[{key:"wants",value:function(t){return!0}},{key:"evaluate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;if(this.wants(e)?this.add(t):this.remove(t),this.has(t)){var r,n=c(this.buckets);try{for(n.s();!(r=n.n()).done;)r.value.evaluate(t,e)}catch(t){n.e(t)}finally{n.f()}}}},{key:"where",value:function(t){var e=this,r=this.entities.length,n=function(){var n;do n=e.entities[--r];while(n&&!t(n));return{value:n,done:r<0}};return m({},Symbol.iterator,function(){return{next:n}})}},{key:"with",value:function(){return this.archetype.apply(this,arguments)}},{key:"without",value:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.archetype({without:e})}},{key:"archetype",value:function(t){if("function"==typeof t){var e,r=c(this.buckets);try{for(r.s();!(e=r.n()).done;){var n=e.value;if(n instanceof T&&n.predicate===t)return n}}catch(t){r.e(t)}finally{r.f()}var i=new T(this,t);return this.buckets.add(i),i}if("object"!==u(t)){for(var o=arguments.length,a=Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];return this.archetype({with:[t].concat(a)})}var l,f=A(t),y=c(this.buckets);try{for(y.s();!(l=y.n()).done;){var d=l.value;if(d instanceof k&&d.query===f)return d}}catch(t){y.e(t)}finally{y.f()}var h=new k(this,f);return this.buckets.add(h),h}}]),r}(n.f),j=function(t){h(r,t);var e=v(r);function r(t){var n;return s(this,r),(n=e.call(this)).source=t,n}return f(r,[{key:"startUpdating",value:function(){var t=this;this.source.onEntityAdded.add(function(e){t.wants(e)&&t.add(e)}),this.source.onEntityRemoved.add(function(e){t.remove(e)}),this.update()}},{key:"update",value:function(){var t,e=c(this.source);try{for(e.s();!(t=e.n()).done;){var r=t.value;this.evaluate(r)}}catch(t){e.e(t)}finally{e.f()}}}]),r}(S),T=function(t){h(r,t);var e=v(r);function r(t,n){var i;return s(this,r),(i=e.call(this,t)).source=t,i.predicate=n,i.startUpdating(),i}return f(r,[{key:"wants",value:function(t){return this.predicate(t)}}]),r}(j),k=function(t){h(r,t);var e=v(r);function r(t,n){var i;return s(this,r),(i=e.call(this,t)).source=t,i.query=n,i.startUpd
1ating(),i}return f(r,[{key:"wants",value:function(t){return g.apply(void 0,[t].concat(a(this.query.with||[])))&&w.apply(void 0,[t].concat(a(this.query.without||[])))}}]),r}(j);function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var P=function(t){h(r,t);var e=v(r);function r(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return s(this,r),m(y(t=e.call(this,n)),"entityToId",new Map),m(y(t),"idToEntity",new Map),m(y(t),"nextId",0),t.onEntityRemoved.add(function(e){if(t.entityToId.has(e)){var r=t.entityToId.get(e);t.idToEntity.delete(r),t.entityToId.delete(e)}}),t}return f(r,[{key:"update",value:function(t){function e(e,r,n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t,e,r){if("function"==typeof e){var n=e(t);n&&Object.assign(t,n)}else"string"==typeof e?t[e]=r:e&&Object.assign(t,e);return this.has(t)&&this.evaluate(t),t})},{key:"addComponent",value:function(t,e,r){void 0===t[e]&&(t[e]=r,this.has(t)&&this.evaluate(t))}},{key:"removeComponent",value:function(t,e){if(void 0!==t[e]){if(this.has(t)){var r=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach(function(e){m(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},t);delete r[e],this.evaluate(t,r)}delete t[e]}}},{key:"id",value:function(t){if(this.has(t)){if(!this.entityToId.has(t)){var e=this.nextId++;this.entityToId.set(t,e),this.idToEntity.set(e,t)}return this.entityToId.get(t)}}},{key:"entity",value:function(t){return this.idToEntity.get(t)}}]),r}(S)},12684:(t,e,r)=>{"use strict";r.d(e,{_i:()=>m});var n=r(60896),i=r(96540);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var a=function(){var t,e=function(t){if(Array.isArray(t))return t}(t=(0,i.useState)(0))||function(t,e){var r,n,i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o=[],a=!0,u=!1;try{for(i=i.call(t);!(a=(r=i.next()).done)&&(o.push(r.value),2!==o.length);a=!0);}catch(t){u=!0,n=t}finally{try{a||null==i.return||i.return()}finally{if(u)throw n}}return o}}(t,2)||function(t,e){if(t){if("string"==typeof t)return o(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(t,2)}}(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.")}(),r=e[0],n=e[1];return[r,function(){return n(function(t){return t+1})}]};function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var c=function(){var t,e=function(t){if(Array.isArray(t))return t}(t=a())||function(t,e){var r,n,i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o=[],a=!0,u=!1;try{for(i=i.call(t);!(a=(r=i.next()).done)&&(o.push(r.value),2!==o.length);a=!0);}catch(t){u=!0,n=t}finally{try{a||null==i.return||i.return()}finally{if(u)throw n}}return o}}(t,2)||function(t,e){if(t){if("string"==typeof t)return u(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,2)}}(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.")}();return e[0],e[1]};function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function l(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var y="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,d=["entities"],h=["bucket"],p=["in"],v="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,m=function(t){var e=(0,i.createContext)(null),r=(0,i.memo)((0,i.forwardRef)(function(r,n){var o,a=r.children,u=r.entity,c=(function(t){if(Array.isArray(t))return t}(o=(0,i.useState)(function(){return{}}))||function(t,e){var r,n,i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o=[],a=!0,u=!1;try{for(i=i.call(t);!(a=(r=i.next()).done)&&(o.push(r.value),1!==o.length);a=!0);}catch(t){u=!0,n=t}finally{try{a||null==i.return||i.return()}finally{if(u)throw n}}return o}}(o,1)||function(t,e){if(t){if("string"==typeof t)return f(t,1);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(t,1)}}(o,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],s=u||c;v(function(){if(!t.has(s))return t.add(s),function(){t.remove(s)}},[t,s]);var l="function"==typeof a?a(s):a;return(0,i.useImperativeHandle)(n,function(){return s}),i.createElement(e.Provider,{value:s},l)})),o=function(e){var n=e.entities,o=l(e,d);return i.createElement(i.Fragment,null,n.map(function(e){return i.createElement(r,s({key:t.id(e),entity:e},o))}))},a=(0,i.memo)(function(t){var e,r=t.bucket,n=l(t,h);return i.createElement(o,s({entities:(y(function(){return r.onEntityAdded.add(e),r.onEntityRemoved.add(e),function(){r.onEntityAdded.remove(e),r.onEntityRemoved.remove(e)}},[e=c()]),y(e,[]),r).entities},n))});return{world:t,Component:function(r){var n=(0,i.useContext)(e),o=(0,i.useRef)(null);if(!n)throw Error("<Component> must be a child of <Entity>");if(v(function(){return t.addComponent(n,r.name,r.data||o.current),function(){return t.removeComponent(n,r.name)}},[n,r.name]),v(function(){void 0!==r.data&&(n[r.name]=r.data||o.current)},[n,r.name,r.data,o.current]),r.children){var a,u=i.Children.only(r.children);return i.cloneElement(u,{ref:(a=[u.ref,o],function(t){a.forEach(function(e){"function"==typeof e?e(t):e&&(e.current=t)})})})}return null},Entity:r,Entities:function(t){var e=t.in,r=l(t,p);return e instanceof n.f?i.createElement(a,s({bucket:e},r)):i.createElement(o,s({entities:e},r))},useCurrentEntity:function(){var t=(0,i.useContext)(e);if(!t)throw Error("useCurrentEntity must be called from a child of <Entity>.");return t}}}},27864:(t,e,r)=>{"use strict";r.d(e,{cw:()=>A,X8:()=>S,BO:()=>j});var n=r(58168),i=r(39437),o=r(96540),a=r(92267),u=r(92417),c=r(5556),s=r.n(c);function l(t){return function t(e,r,n){if(n=n||[],!r[0])return e(n);function i(i){return t(e,r.slice(1),n.concat([i]))}return"function"==typeof r[0]?r[0]({results:n,render:i}):(0,o.cloneElement)(r[0],{children:i})}(t.children,t.components)}l.propTypes={children:s().func.isRequired,components:s().arrayOf(s().oneOfType([s().element,s().func])).isRequired};let f=new i.Matrix4,y=new i.Matrix4,d=[],h=new i.Mesh;class p extends i.Group{constructor(){super(),this.color=new i.Color("white"),this.instance={current:void 0},this.instanceKey={current:void 0}}get geometry(){var t;return null==(t=this.instance.current)?void 0:t.geometry}raycast(t,e){let r=this.instance.current;if(!r||!r.geometry||!r.material)return;h.geometry=r.geometry;let n=r.matrixWorld,o=r.userData.instances.indexOf(this.instanceKey);if(-1!==o&&!(o>r.count)){r.getMatrixAt(o,f),y.multiplyMatrices(n,f),h.matrixWorld=y,r.material instanceof i.Material?h.material.side=r.material.side:h.material.side=r.material[0].side,h.raycast(t,d);for(let t=0,r=d.length;t<r;t++){let r=d[t];r.instanceId=o,r.object=this,e.push(r)}d.length=0}}}let v=o.createContext(null),m=new i.Matrix4,b=new i.Matrix4,g=new i.Matrix4,w=new i.Vector3,O=new i.Quaternion,E=new i.Vector3,A=o.forwardRef(({context:t,children:e,...r},i)=>{o.useMemo(()=>(0,a.e)({PositionMesh:p}),[]);let c=o.useRef(),{subscribe:s,getParent:l}=o.useContext(t||v);return o.useLayoutEffect(()=>s(c),[]),o.createElement("positionMesh",(0,n.A)({instance:l(),instanceKey:c,ref:(0,u.A)([i,c])},r),e)}),S=o.forwardRef(({children:t,range:e,limit:r=1e3,frames:c=1/0,...s},l)=>{let[{context:f,instance:y}]=o.useState(()=>
1{let t=o.createContext(null);return{context:t,instance:o.forwardRef((e,r)=>o.createElement(A,(0,n.A)({context:t},e,{ref:r})))}}),d=o.useRef(null),[h,p]=o.useState([]),[[S,j]]=o.useState(()=>{let t=new Float32Array(16*r);for(let e=0;e<r;e++)g.identity().toArray(t,16*e);return[t,new Float32Array([...Array(3*r)].map(()=>1))]});o.useEffect(()=>{d.current.instanceMatrix.needsUpdate=!0});let T=0,k=0;(0,a.A)(()=>{if(c===1/0||T<c){d.current.updateMatrix(),d.current.updateMatrixWorld(),m.copy(d.current.matrixWorld).invert(),k=Math.min(r,void 0!==e?e:r,h.length),d.current.count=k,d.current.instanceMatrix.updateRange.count=16*k,d.current.instanceColor.updateRange.count=3*k;for(let t=0;t<h.length;t++){let e=h[t].current;e.matrixWorld.decompose(w,O,E),b.compose(w,O,E).premultiply(m),b.toArray(S,16*t),d.current.instanceMatrix.needsUpdate=!0,e.color.toArray(j,3*t),d.current.instanceColor.needsUpdate=!0}T++}});let x=o.useMemo(()=>({getParent:()=>d,subscribe:t=>(p(e=>[...e,t]),()=>p(e=>e.filter(e=>e.current!==t.current)))}),[]);return o.createElement("instancedMesh",(0,n.A)({userData:{instances:h},matrixAutoUpdate:!1,ref:(0,u.A)([l,d]),args:[null,null,0],raycast:()=>null},s),o.createElement("instancedBufferAttribute",{attach:"instanceMatrix",count:S.length/16,array:S,itemSize:16,usage:i.DynamicDrawUsage}),o.createElement("instancedBufferAttribute",{attach:"instanceColor",count:j.length/3,array:j,itemSize:3,usage:i.DynamicDrawUsage}),"function"==typeof t?o.createElement(f.Provider,{value:x},t(y)):o.createElement(v.Provider,{value:x},t))}),j=o.forwardRef(function({meshes:t,children:e,...r},i){let a=Array.isArray(t);if(!a)for(let e of Object.keys(t))t[e].isMesh||delete t[e];return o.createElement("group",{ref:i},o.createElement(l,{components:(a?t:Object.values(t)).map(({geometry:t,material:e})=>o.createElement(S,(0,n.A)({key:t.uuid,geometry:t,material:e},r)))},r=>a?e(...r):e(Object.keys(t).filter(e=>t[e].isMesh).reduce((t,e,n)=>({...t,[e]:r[n]}),{}))))})},20548:(t,e,r)=>{"use strict";r.d(e,{j:()=>a});var n=r(96540),i=r(39437),o=r(92267);function a(t,e,r){let{gl:a,size:u,viewport:c}=(0,o.z)(),s="number"==typeof t?t:u.width*c.dpr,l="number"==typeof e?e:u.height*c.dpr,{samples:f=0,depth:y,...d}=("number"==typeof t?r:t)||{},h=n.useMemo(()=>{let t;return t=new i.WebGLRenderTarget(s,l,{minFilter:i.LinearFilter,magFilter:i.LinearFilter,encoding:a.outputEncoding,type:i.HalfFloatType,...d}),y&&(t.depthTexture=new i.DepthTexture(s,l,i.FloatType)),t.samples=f,t},[]);return n.useLayoutEffect(()=>{h.setSize(s,l),f&&(h.samples=f)},[f,h,s,l]),n.useEffect(()=>()=>h.dispose(),[]),h}},39174:(t,e,r)=>{"use strict";r.d(e,{z:()=>u});var n=r(39437),i=r(92267),o=r(96540);let a=t=>t===Object(t)&&!Array.isArray(t)&&"function"!=typeof t;function u(t,e){let r=(0,i.z)(t=>t.gl),u=(0,i.D)(n.TextureLoader,a(t)?Object.values(t):t);if((0,o.useLayoutEffect)(()=>{null==e||e(u)},[e]),(0,o.useEffect)(()=>{(Array.isArray(u)?u:[u]).forEach(r.initTexture)},[r,u]),!a(t))return u;{let e=Object.keys(t),r={};return e.forEach(t=>Object.assign(r,{[t]:u[e.indexOf(t)]})),r}}u.preload=t=>i.D.preload(n.TextureLoader,t),u.clear=t=>i.D.clear(n.TextureLoader,t)},52790:(t,e,r)=>{"use strict";r.d(e,{gP:()=>n,t2:()=>i});var n=(t,...e)=>e.includes(t),i=t=>null!=t},2694:(t,e,r)=>{"use strict";var n=r(6925);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,r,i,o,a){if(a!==n){var u=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i}
1;return r.PropTypes=r,r}},5556:(t,e,r)=>{t.exports=r(2694)()},6925:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},92417:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return function(e){t.forEach(function(t){"function"==typeof t?t(e):null!=t&&(t.current=e)})}}},44329:(t,e,r)=>{"use strict";r.d(e,{Ak:()=>n});let n=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((t,e)=>((e&=63)<36?t+=e.toString(36):e<62?t+=(e-26).toString(36).toUpperCase():e>62?t+="-":t+="_",t),"")},87134:(t,e,r)=>{"use strict";r.d(e,{lt:()=>n});let n=(t,e={})=>(r,n,o)=>{let a;let{enabled:u,anonymousActionType:c,...s}=e;try{a=(null==u||u)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(t){}if(!a)return u&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),t(r,n,o);let l=a.connect(s),f=!0;o.setState=(t,e,i)=>{let o=r(t,e);return f&&l.send(void 0===i?{type:c||"anonymous"}:"string"==typeof i?{type:i}:i,n()),o};let y=(...t)=>{let e=f;f=!1,r(...t),f=e},d=t(o.setState,n,o);if(l.init(d),o.dispatchFromDevtools&&"function"==typeof o.dispatch){let t=!1,e=o.dispatch;o.dispatch=(...r)=>{"__setState"!==r[0].type||t||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),t=!0),e(...r)}}return l.subscribe(t=>{var e;switch(t.type){case"ACTION":if("string"!=typeof t.payload){console.error("[zustand devtools middleware] Unsupported action format");return}return i(t.payload,t=>{if("__setState"===t.type){y(t.state);return}o.dispatchFromDevtools&&"function"==typeof o.dispatch&&o.dispatch(t)});case"DISPATCH":switch(t.payload.type){case"RESET":return y(d),l.init(o.getState());case"COMMIT":return l.init(o.getState());case"ROLLBACK":return i(t.state,t=>{y(t),l.init(o.getState())});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return i(t.state,t=>{y(t)});case"IMPORT_STATE":{let{nextLiftedState:r}=t.payload,n=null==(e=r.computedStates.slice(-1)[0])?void 0:e.state;if(!n)return;y(n),l.send(null,r);break}case"PAUSE_RECORDING":return f=!f}return}}),d},i=(t,e)=>{let r;try{r=JSON.parse(t)}catch(t){console.error("[zustand devtools middleware] Could not parse the received json",t)}void 0!==r&&e(r)}}}]);

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.