-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path3039.8d4720f5.async.js
1 lines (1 loc) · 9.56 KB
/
3039.8d4720f5.async.js
1
!function(){"use strict";var n={3039:function(n,e,t){let r,o;const i=new Array(128).fill(void 0);function _(n){return i[n]}i.push(void 0,null,!0,!1);let u=i.length;function c(n){const e=_(n);return function(n){n<132||(i[n]=u,u=n)}(n),e}function b(n){u===i.length&&i.push(i.length+1);const e=u;return u=i[e],i[e]=n,e}function f(n){return null==n}let a=null;let w=null;function g(){return null!==w&&w.buffer===o.memory.buffer||(w=new Int32Array(o.memory.buffer)),w}const s="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&s.decode();let l=null;function d(){return null!==l&&l.buffer===o.memory.buffer||(l=new Uint8Array(o.memory.buffer)),l}function y(n,e){return n>>>=0,s.decode(d().slice(n,n+e))}let m=null;let p=0;const h="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}};function v(n,e,t){if(void 0===t){const t=h.encode(n),r=e(t.length,1)>>>0;return d().subarray(r,r+t.length).set(t),p=t.length,r}let r=n.length,o=e(r,1)>>>0;const i=d();let _=0;for(;_<r;_++){const e=n.charCodeAt(_);if(e>127)break;i[o+_]=e}if(_!==r){0!==_&&(n=n.slice(_)),o=t(o,r,r=_+3*n.length,1)>>>0;const e=function(n,e){const t=h.encode(n);return e.set(t),{read:n.length,written:t.length}}(n,d().subarray(o+_,o+r));_+=e.written,o=t(o,r,_,1)>>>0}return p=_,o}function A(n){const e=typeof n;if("number"==e||"boolean"==e||null==n)return`${n}`;if("string"==e)return`"${n}"`;if("symbol"==e){const e=n.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==e){const e=n.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(n)){const e=n.length;let t="[";e>0&&(t+=A(n[0]));for(let r=1;r<e;r++)t+=", "+A(n[r]);return t+="]",t}const t=/\[object ([^\]]+)\]/.exec(toString.call(n));let r;if(!(t.length>1))return toString.call(n);if(r=t[1],"Object"==r)try{return"Object("+JSON.stringify(n)+")"}catch(n){return"Object"}return n instanceof Error?`${n.name}: ${n.message}\n${n.stack}`:r}function x(n,e){try{return n.apply(this,e)}catch(n){o.__wbindgen_exn_store(b(n))}}const T="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((n=>o.__wbg_wbg_rayon_poolbuilder_free(n>>>0)));class j{static __wrap(n){n>>>=0;const e=Object.create(j.prototype);return e.__wbg_ptr=n,T.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const n=this.__wbg_ptr;return this.__wbg_ptr=0,T.unregister(this),n}free(){const n=this.__destroy_into_raw();o.__wbg_wbg_rayon_poolbuilder_free(n)}numThreads(){return o.wbg_rayon_poolbuilder_numThreads(this.__wbg_ptr)>>>0}receiver(){return o.wbg_rayon_poolbuilder_receiver(this.__wbg_ptr)>>>0}build(){o.wbg_rayon_poolbuilder_build(this.__wbg_ptr)}}function E(){const n={wbg:{}};return n.wbg.__wbindgen_object_drop_ref=function(n){c(n)},n.wbg.__wbindgen_is_object=function(n){const e=_(n);return"object"==typeof e&&null!==e},n.wbg.__wbg_getwithrefkey_5e6d9547403deab8=function(n,e){return b(_(n)[_(e)])},n.wbg.__wbindgen_is_undefined=function(n){return void 0===_(n)},n.wbg.__wbindgen_in=function(n,e){return _(n)in _(e)},n.wbg.__wbg_new_16b304a2cfa7ff4a=function(){return b(new Array)},n.wbg.__wbindgen_number_new=function(n){return b(n)},n.wbg.__wbg_push_a5b05aedc7234f9f=function(n,e){return _(n).push(_(e))},n.wbg.__wbg_new_72fb9a18b5ae2624=function(){return b(new Object)},n.wbg.__wbg_set_d4638f722068f043=function(n,e,t){_(n)[e>>>0]=c(t)},n.wbg.__wbg_set_841ac57cff3d672b=function(n,e,t){_(n)[c(e)]=c(t)},n.wbg.__wbg_isArray_2ab64d95e09ea0ae=function(n){return Array.isArray(_(n))},n.wbg.__wbg_length_cd7af8117672b8b8=function(n){return _(n).length},n.wbg.__wbindgen_is_bigint=function(n){return"bigint"==typeof _(n)},n.wbg.__wbindgen_bigint_get_as_i64=function(n,e){const t=_(e),r="bigint"==typeof t?t:void 0;(null!==a&&a.buffer===o.memory.buffer||(a=new BigInt64Array(o.memory.buffer)),a)[n/8+1]=f(r)?BigInt(0):r,g()[n/4+0]=!f(r)},n.wbg.__wbindgen_bigint_from_u64=function(n){return b(BigInt.asUintN(64,n))},n.wbg.__wbindgen_jsval_eq=function(n,e){return _(n)===_(e)},n.wbg.__wbindgen_error_new=function(n,e){return b(new Error(y(n,e)))},n.wbg.__wbindgen_number_get=function(n,e){const t=_(e),r="number"==typeof t?t:void 0;(null!==m&&m.buffer===o.memory.buffer||(m=new Float64Array(o.memory.buffer)),m)[n/8+1]=f(r)?0:r,g()[n/4+0]=!f(r)},n.wbg.__wbindgen_boolean_get=function(n){const e=_(n);return"boolean"==typeof e?e?1:0:2},n.wbg.__wbg_get_bd8e338fbd5f5cc8=function(n,e){return b(_(n)[e>>>0])},n.wbg.__wbindgen_jsval_loose_eq=function(n,e){return _(n)==_(e)},n.wbg.__wbindgen_string_get=function(n,e){const t=_(e),r="string"==typeof t?t:void 0;var i=f(r)?0:v(r,o.__wbindgen_malloc,o.__wbindgen_realloc),u=p;g()[n/4+1]=u,g()[n/4+0]=i},n.wbg.__wbg_new_abda76e883ba8a5f=function(){return b(new Error)},n.wbg.__wbg_stack_658279fe44541cf6=function(n,e){const t=v(_(e).stack,o.__wbindgen_malloc,o.__wbindgen_realloc),r=p;g()[n/4+1]=r,g()[n/4+0]=t},n.wbg.__wbg_error_f851667af71bcfc6=function(n,e){let t,r;try{t=n,r=e,console.error(y(n,e))}finally{o.__wbindgen_free(t,r,1)}},n.wbg.__wbg_next_196c84450b364254=function(){return x((function(n){return b(_(n).next())}),arguments)},n.wbg.__wbg_done_298b57d23c0fc80c=function(n){return _(n).done},n.wbg.__wbg_value_d93c65011f51a456=function(n){return b(_(n).value)},n.wbg.__wbg_iterator_2cee6dadfd956dfa=function(){return b(Symbol.iterator)},n.wbg.__wbg_get_e3c254076557e348=function(){return x((function(n,e){return b(Reflect.get(_(n),_(e)))}),arguments)},n.wbg.__wbindgen_is_function=function(n){return"function"==typeof _(n)},n.wbg.__wbg_next_40fc327bfc8770e6=function(n){return b(_(n).next)},n.wbg.__wbg_call_27c0f87801dedf93=function(){return x((function(n,e){return b(_(n).call(_(e)))}),arguments)},n.wbg.__wbg_length_c20a40f15020d68a=function(n){return _(n).length},n.wbg.__wbindgen_memory=function(){return b(o.memory)},n.wbg.__wbg_buffer_12d079cc21e14bdb=function(n){return b(_(n).buffer)},n.wbg.__wbg_new_63b92bc8671ed464=function(n){return b(new Uint8Array(_(n)))},n.wbg.__wbg_set_a47bac70306a19a7=function(n,e,t){_(n).set(_(e),t>>>0)},n.wbg.__wbg_self_ce0dbfc45cf2f5be=function(){return x((function(){return b(self.self)}),arguments)},n.wbg.__wbg_window_c6fb939a7f436783=function(){return x((function(){return b(window.window)}),arguments)},n.wbg.__wbg_globalThis_d1e6af4856ba331b=function(){return x((function(){return b(globalThis.globalThis)}),arguments)},n.wbg.__wbg_global_207b558942527489=function(){return x((function(){return b(t.g.global)}),arguments)},n.wbg.__wbg_newnoargs_e258087cd0daa0ea=function(n,e){return b(new Function(y(n,e)))},n.wbg.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6=function(n){let e;try{e=_(n)instanceof Uint8Array}catch(n){e=!1}return e},n.wbg.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2=function(n){let e;try{e=_(n)instanceof ArrayBuffer}catch(n){e=!1}return e},n.wbg.__wbg_isSafeInteger_f7b04ef02296c4d2=function(n){return Number.isSafeInteger(_(n))},n.wbg.__wbindgen_string_new=function(n,e){return b(y(n,e))},n.wbg.__wbindgen_object_clone_ref=function(n){return b(_(n))},n.wbg.__wbindgen_debug_string=function(n,e){const t=v(A(_(e)),o.__wbindgen_malloc,o.__wbindgen_realloc),r=p;g()[n/4+1]=r,g()[n/4+0]=t},n.wbg.__wbindgen_throw=function(n,e){throw new Error(y(n,e))},n.wbg.__wbindgen_module=function(){return b(S.__wbindgen_wasm_module)},n.wbg.__wbg_startWorkers_2ee336a9694dda13=function(n,e,o){return b(async function(n,e,o){if(0===o.numThreads())throw new Error("num_threads must be > 0.");const i={module:n,memory:e,receiver:o.receiver()};r=await Promise.all(Array.from({length:o.numThreads()},(async()=>{const n=new Worker(new URL(t.p+t.u(3039),t.b),{type:void 0});return n.postMessage(i),await new Promise((e=>n.addEventListener("message",e,{once:!0}))),n}))),o.build()}(c(n),c(e),j.__wrap(o)))},n.wbg.__wbg_instanceof_Window_f401953a2cf86220=function(n){let e;try{e=_(n)instanceof Window}catch(n){e=!1}return e},n}function W(n,e){n.wbg.memory=e||new WebAssembly.Memory({initial:18,maximum:16384,shared:!0})}function R(n,e){return o=n.exports,S.__wbindgen_wasm_module=e,a=null,m=null,w=null,l=null,o.__wbindgen_start(),o}async function S(n,e){if(void 0!==o)return o;void 0===n&&(n=new URL(t(80105),t.b));const r=E();("string"==typeof n||"function"==typeof Request&&n instanceof Request||"function"==typeof URL&&n instanceof URL)&&(n=fetch(n)),W(r,e);const{instance:i,module:_}=await async function(n,e){if("function"==typeof Response&&n instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(n,e)}catch(e){if("application/wasm"==n.headers.get("Content-Type"))throw e;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",e)}const t=await n.arrayBuffer();return await WebAssembly.instantiate(t,e)}{const t=await WebAssembly.instantiate(n,e);return t instanceof WebAssembly.Instance?{instance:t,module:n}:t}}(await n,r);return R(i,_)}var O=S;onmessage=async({data:{module:n,memory:e,receiver:t}})=>{await O(n,e),postMessage(!0),function(n){o.wbg_rayon_start_worker(n)}(t)}},80105:function(n,e,t){n.exports=t.p+"static/antv_layout_wasm_bg.acdb396c.wasm"}},e={};function t(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return n[r](i,i.exports,t),i.exports}t.m=n,t.u=function(n){return n+".8d4720f5.async.js"},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="/",t.b=self.location+"";t(3039)}();