@lynx-js/web-core-wasm-canary 0.0.1-canary-20260116-ce265e8f → 0.0.1-canary-20260116-ff5a5b09

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @lynx-js/web-core-wasm
2
2
 
3
- ## 0.0.1-canary-20260116085656-ce265e8ff3d1a19e2f5b1b689fcb136c18c7913d
3
+ ## 0.0.1-canary-20260116094314-ff5a5b09d069df0e851e0e84a33c2147d537309e
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies []:
8
- - @lynx-js/web-worker-rpc@0.19.6-canary-20260116085656-ce265e8ff3d1a19e2f5b1b689fcb136c18c7913d
8
+ - @lynx-js/web-worker-rpc@0.19.6-canary-20260116094314-ff5a5b09d069df0e851e0e84a33c2147d537309e
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- (()=>{"use strict";var e={6462(e,t,n){e.exports=n.p+"static/wasm/7ff75609.module.wasm"},5704(e,t,n){let r;n.r(t),n.d(t,{DecodedStyleData:()=>E,ElementTemplateSection:()=>O,EventInfo:()=>j,MainThreadWasmContext:()=>U,RawStyleInfo:()=>A,Rule:()=>L,RulePrelude:()=>M,Selector:()=>$,default:()=>N,initSync:()=>T});let _=null;function i(){return(null===_||0===_.byteLength)&&(_=new Uint8Array(r.memory.buffer)),_}let o=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});o.decode();let s=0;function a(e,t){var n;return e>>>=0,n=e,(s+=t)>=0x7ff00000&&((o=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),s=t),o.decode(i().subarray(n,n+t))}let l=0,c=new TextEncoder;function b(e,t,n){if(void 0===n){let n=c.encode(e),r=t(n.length,1)>>>0;return i().subarray(r,r+n.length).set(n),l=n.length,r}let r=e.length,_=t(r,1)>>>0,o=i(),s=0;for(;s<r;s++){let t=e.charCodeAt(s);if(t>127)break;o[_+s]=t}if(s!==r){0!==s&&(e=e.slice(s)),_=n(_,r,r=s+3*e.length,1)>>>0;let t=i().subarray(_+s,_+r);s+=c.encodeInto(e,t).written,_=n(_,r,s,1)>>>0}return l=s,_}"encodeInto"in c||(c.encodeInto=function(e,t){let n=c.encode(e);return t.set(n),{read:e.length,written:n.length}});let f=null;function u(){return(null===f||!0===f.buffer.detached||void 0===f.buffer.detached&&f.buffer!==r.memory.buffer)&&(f=new DataView(r.memory.buffer)),f}function d(e){return null==e}function w(e){let t=r.__externref_table_alloc();return r.__wbindgen_externrefs.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(t){let e=w(t);r.__wbindgen_exn_store(e)}}function p(e,t){return e>>>=0,i().subarray(e/1,e/1+t)}function h(e){let t=r.__wbindgen_externrefs.get(e);return r.__externref_table_dealloc(e),t}function y(e,t){if(!(e instanceof t))throw Error(`expected instance of ${t.name}`)}function m(e,t){e>>>=0;let n=u(),_=[];for(let i=e;i<e+4*t;i+=4)_.push(r.__wbindgen_externrefs.get(n.getUint32(i,!0)));return r.__externref_drop_slice(e,t),_}let v=null;function x(e,t){let n=t(4*e.length,4)>>>0;return((null===v||0===v.byteLength)&&(v=new Uint32Array(r.memory.buffer)),v).set(e,n/4),l=e.length,n}let S="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_decodedstyledata_free(e>>>0,1));class E{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_decodedstyledata_free(e,0)}constructor(e){const t=r.decodedstyledata_new(e);if(t[2])throw h(t[1]);return this.__wbg_ptr=t[0]>>>0,S.register(this,this.__wbg_ptr,this),this}get style_content(){let e,t;try{let n=r.decodedstyledata_style_content(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get font_face_content(){let e,t;try{let n=r.decodedstyledata_font_face_content(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}query_css_og_declarations_by_css_id(e,t){let n,_;try{let i=function(e,t){let n=t(4*e.length,4)>>>0;for(let t=0;t<e.length;t++){let r=w(e[t]);u().setUint32(n+4*t,r,!0)}return l=e.length,n}(t,r.__wbindgen_malloc),o=l,s=r.decodedstyledata_query_css_og_declarations_by_css_id(this.__wbg_ptr,e,i,o);return n=s[0],_=s[1],a(s[0],s[1])}finally{r.__wbindgen_free(n,_,1)}}static decode_into(e,t,n){var _=d(t)?0:b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;let o=r.decodedstyledata_decode_into(e,_,i,n);if(o[2])throw h(o[1]);return h(o[0])}static encode_from_raw_style_info(e,t,n){y(e,A);var _=e.__destroy_into_raw(),i=d(n)?0:b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;let s=r.decodedstyledata_encode_from_raw_style_info(_,t,i,o);if(s[2])throw h(s[1]);return h(s[0])}}Symbol.dispose&&(E.prototype[Symbol.dispose]=E.prototype.free);let C="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_elementtemplatesection_free(e>>>0,1));class O{static __wrap(e){e>>>=0;let t=Object.create(O.prototype);return t.__wbg_ptr=e,C.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,C.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_elementtemplatesection_free(e,0)}static from_encoded(e){let t=r.elementtemplatesection_from_encoded(e);if(t[2])throw h(t[1]);return O.__wrap(t[0])}}Symbol.dispose&&(O.prototype[Symbol.dispose]=O.prototype.free);let R="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_eventinfo_free(e>>>0,1));class j{static __wrap(e){e>>>=0;let t=Object.create(j.prototype);return t.__wbg_ptr=e,R.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,R.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_eventinfo_free(e,0)}get name(){let e,t;try{let n=r.__wbg_get_eventinfo_name(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}set name(e){let t=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.__wbg_set_eventinfo_name(this.__wbg_ptr,t,n)}get type(){let e,t;try{let n=r.__wbg_get_eventinfo_type(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}set type(e){let t=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.__wbg_set_eventinfo_type(this.__wbg_ptr,t,n)}get function(){return r.__wbg_get_eventinfo_function(this.__wbg_ptr)}set function(e){r.__wbg_set_eventinfo_function(this.__wbg_ptr,e)}}Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);let I="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_mainthreadwasmcontext_free(e>>>0,1));class U{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,I.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_mainthreadwasmcontext_free(e,0)}__GetComponentID(e){let t,n=r.mainthreadwasmcontext___GetComponentID(this.__wbg_ptr,e);if(n[3])throw h(n[2]);return 0!==n[0]&&(t=a(n[0],n[1]).slice(),r.__wbindgen_free(n[0],+n[1],1)),t}__GetElementConfig(e){let t=r.mainthreadwasmcontext___GetElementConfig(this.__wbg_ptr,e);if(t[2])throw h(t[1]);return h(t[0])}__SetConfig(e,t){let n=r.mainthreadwasmcontext___SetConfig(this.__wbg_ptr,e,t);if(n[1])throw h(n[0])}__GetConfig(e){let t=r.mainthreadwasmcontext___GetConfig(this.__wbg_ptr,e);if(t[2])throw h(t[1]);return h(t[0])}__UpdateComponentID(e,t){var n=d(t)?0:b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;let i=r.mainthreadwasmcontext___UpdateComponentID(this.__wbg_ptr,e,n,_);if(i[1])throw h(i[0])}__SetDataset(e,t,n){let _=r.mainthreadwasmcontext___SetDataset(this.__wbg_ptr,e,t,n);if(_[1])throw h(_[0])}__AddDataset(e,t,n){let _=r.mainthreadwasmcontext___AddDataset(this.__wbg_ptr,e,t,n);if(_[1])throw h(_[0])}__GetDataset(e){let t=r.mainthreadwasmcontext___GetDataset(this.__wbg_ptr,e);if(t[2])throw h(t[1]);return h(t[0])}__GetDataByKey(e,t){let n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,i=r.mainthreadwasmcontext___GetDataByKey(this.__wbg_ptr,e,n,_);if(i[2])throw h(i[1]);return h(i[0])}_wasm_elementFromBinary(e,t,n,_){let i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l,s=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;y(_,O);let c=r.mainthreadwasmcontext__wasm_elementFromBinary(this.__wbg_ptr,e,i,o,s,a,_.__wbg_ptr);if(c[2])throw h(c[1]);return h(c[0])}__wasm_add_event_bts(e,t,n,_){let i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l,s=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;var c=d(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),f=l;r.mainthreadwasmcontext___wasm_add_event_bts(this.__wbg_ptr,e,i,o,s,a,c,f)}__wasm_add_event_run_worklet(e,t,n,_){let i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l,s=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;r.mainthreadwasmcontext___wasm_add_event_run_worklet(this.__wbg_ptr,e,i,o,s,a,d(_)?0:w(_))}__GetEvent(e,t,n){let _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,o=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;return r.mainthreadwasmcontext___GetEvent(this.__wbg_ptr,e,_,i,o,s)}__GetEvents(e){let t=r.mainthreadwasmcontext___GetEvents(this.__wbg_ptr,e);var n=m(t[0],t[1]).slice();return r.__wbindgen_free(t[0],4*t[1],4),n}dispatch_event_by_path(e,t,n,_){let i=x(e,r.__wbindgen_malloc),o=l,s=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;return 0!==r.mainthreadwasmcontext_dispatch_event_by_path(this.__wbg_ptr,i,o,s,a,n,_)}__wasm_commonEventHandler(e,t,n){let _=x(t,r.__wbindgen_malloc),i=l,o=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;r.mainthreadwasmcontext___wasm_commonEventHandler(this.__wbg_ptr,e,_,i,o,s)}__wasm_set_css_id(e,t){let n=x(e,r.__wbindgen_malloc),_=l;r.mainthreadwasmcontext___wasm_set_css_id(this.__wbg_ptr,n,_,t)}__wasm_AddInlineStyle_str_key(e,t,n){let _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;var o=d(n)?0:b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;r.mainthreadwasmcontext___wasm_AddInlineStyle_str_key(this.__wbg_ptr,e,_,i,o,s)}__wasm_AddInlineStyle_number_key(e,t,n){var _=d(n)?0:b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;r.mainthreadwasmcontext___wasm_AddInlineStyle_number_key(this.__wbg_ptr,e,t,_,i)}__wasm_SetInlineStyles(e,t){let n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;return 0!==r.mainthreadwasmcontext___wasm_SetInlineStyles(this.__wbg_ptr,e,n,_)}constructor(e,t,n,_,i){const o=r.mainthreadwasmcontext_new(e,t,n,_,i);return this.__wbg_ptr=o>>>0,I.register(this,this.__wbg_ptr,this),this}__wasm_set_page_element_unique_id(e){r.mainthreadwasmcontext___wasm_set_page_element_unique_id(this.__wbg_ptr,e)}__CreateElementCommon(e,t,n,_){var i=d(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;return r.mainthreadwasmcontext___CreateElementCommon(this.__wbg_ptr,e,t,d(n)?0x100000001:0|n,i,o)>>>0}__wasm_take_timing_flags(){let e=r.mainthreadwasmcontext___wasm_take_timing_flags(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],4*e[1],4),t}__wasm_get_unique_id_by_component_id(e){let t=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,_=r.mainthreadwasmcontext___wasm_get_unique_id_by_component_id(this.__wbg_ptr,t,n);return 0x100000001===_?void 0:_}__wasm_get_css_id_by_unique_id(e){let t=r.mainthreadwasmcontext___wasm_get_css_id_by_unique_id(this.__wbg_ptr,e);return 0x100000001===t?void 0:t}}Symbol.dispose&&(U.prototype[Symbol.dispose]=U.prototype.free);let k="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_rawstyleinfo_free(e>>>0,1));class A{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,k.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_rawstyleinfo_free(e,0)}constructor(){const e=r.rawstyleinfo_new();return this.__wbg_ptr=e>>>0,k.register(this,this.__wbg_ptr,this),this}append_import(e,t){r.rawstyleinfo_append_import(this.__wbg_ptr,e,t)}push_rule(e,t){y(t,L);var n=t.__destroy_into_raw();r.rawstyleinfo_push_rule(this.__wbg_ptr,e,n)}}Symbol.dispose&&(A.prototype[Symbol.dispose]=A.prototype.free);let D="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_rule_free(e>>>0,1));class L{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,D.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_rule_free(e,0)}constructor(e){const t=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,_=r.rule_new(t,n);if(_[2])throw h(_[1]);return this.__wbg_ptr=_[0]>>>0,D.register(this,this.__wbg_ptr,this),this}set_prelude(e){y(e,M);var t=e.__destroy_into_raw();r.rule_set_prelude(this.__wbg_ptr,t)}push_declaration(e,t){let n=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;r.rule_push_declaration(this.__wbg_ptr,n,_,i,o)}push_rule_children(e){y(e,L);var t=e.__destroy_into_raw();r.rule_push_rule_children(this.__wbg_ptr,t)}}Symbol.dispose&&(L.prototype[Symbol.dispose]=L.prototype.free);let W="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_ruleprelude_free(e>>>0,1));class M{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_ruleprelude_free(e,0)}constructor(){const e=r.ruleprelude_new();return this.__wbg_ptr=e>>>0,W.register(this,this.__wbg_ptr,this),this}push_selector(e){y(e,$);var t=e.__destroy_into_raw();r.ruleprelude_push_selector(this.__wbg_ptr,t)}}Symbol.dispose&&(M.prototype[Symbol.dispose]=M.prototype.free);let F="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_selector_free(e>>>0,1));class ${__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_selector_free(e,0)}constructor(){const e=r.ruleprelude_new();return this.__wbg_ptr=e>>>0,F.register(this,this.__wbg_ptr,this),this}push_one_selector_section(e,t){let n=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l,s=r.selector_push_one_selector_section(this.__wbg_ptr,n,_,i,o);if(s[1])throw h(s[0])}}Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);let z=new Set(["basic","cors","default"]);async function P(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&z.has(e.type)&&"application/wasm"!==e.headers.get("Content-Type"))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",t);else throw t}let n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}function B(){let e={};return e.wbg={},e.wbg.__wbg_Error_e83987f665cf5504=function(e,t){return Error(a(e,t))},e.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763=function(e,t){let n=b(function e(t){let n,r=typeof t;if("number"==r||"boolean"==r||null==t)return`${t}`;if("string"==r)return`"${t}"`;if("symbol"==r){let e=t.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==r){let e=t.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(t)){let n=t.length,r="[";n>0&&(r+=e(t[0]));for(let _=1;_<n;_++)r+=", "+e(t[_]);return r+"]"}let _=/\[object ([^\]]+)\]/.exec(toString.call(t));if(!_||!(_.length>1))return toString.call(t);if("Object"==(n=_[1]))try{return"Object("+JSON.stringify(t)+")"}catch(e){return"Object"}return t instanceof Error?`${t.name}: ${t.message}
1
+ (()=>{"use strict";var e={6462(e,t,n){e.exports=n.p+"static/wasm/e7da3f5d.module.wasm"},5704(e,t,n){let r;n.r(t),n.d(t,{DecodedStyleData:()=>E,ElementTemplateSection:()=>O,EventInfo:()=>j,MainThreadWasmContext:()=>U,RawStyleInfo:()=>A,Rule:()=>L,RulePrelude:()=>M,Selector:()=>$,default:()=>N,initSync:()=>T});let _=null;function i(){return(null===_||0===_.byteLength)&&(_=new Uint8Array(r.memory.buffer)),_}let o=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});o.decode();let s=0;function a(e,t){var n;return e>>>=0,n=e,(s+=t)>=0x7ff00000&&((o=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),s=t),o.decode(i().subarray(n,n+t))}let l=0,c=new TextEncoder;function b(e,t,n){if(void 0===n){let n=c.encode(e),r=t(n.length,1)>>>0;return i().subarray(r,r+n.length).set(n),l=n.length,r}let r=e.length,_=t(r,1)>>>0,o=i(),s=0;for(;s<r;s++){let t=e.charCodeAt(s);if(t>127)break;o[_+s]=t}if(s!==r){0!==s&&(e=e.slice(s)),_=n(_,r,r=s+3*e.length,1)>>>0;let t=i().subarray(_+s,_+r);s+=c.encodeInto(e,t).written,_=n(_,r,s,1)>>>0}return l=s,_}"encodeInto"in c||(c.encodeInto=function(e,t){let n=c.encode(e);return t.set(n),{read:e.length,written:n.length}});let f=null;function u(){return(null===f||!0===f.buffer.detached||void 0===f.buffer.detached&&f.buffer!==r.memory.buffer)&&(f=new DataView(r.memory.buffer)),f}function d(e){return null==e}function w(e){let t=r.__externref_table_alloc();return r.__wbindgen_externrefs.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(t){let e=w(t);r.__wbindgen_exn_store(e)}}function p(e,t){return e>>>=0,i().subarray(e/1,e/1+t)}function h(e){let t=r.__wbindgen_externrefs.get(e);return r.__externref_table_dealloc(e),t}function y(e,t){if(!(e instanceof t))throw Error(`expected instance of ${t.name}`)}function m(e,t){e>>>=0;let n=u(),_=[];for(let i=e;i<e+4*t;i+=4)_.push(r.__wbindgen_externrefs.get(n.getUint32(i,!0)));return r.__externref_drop_slice(e,t),_}let v=null;function x(e,t){let n=t(4*e.length,4)>>>0;return((null===v||0===v.byteLength)&&(v=new Uint32Array(r.memory.buffer)),v).set(e,n/4),l=e.length,n}let S="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_decodedstyledata_free(e>>>0,1));class E{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_decodedstyledata_free(e,0)}constructor(e){const t=r.decodedstyledata_new(e);if(t[2])throw h(t[1]);return this.__wbg_ptr=t[0]>>>0,S.register(this,this.__wbg_ptr,this),this}get style_content(){let e,t;try{let n=r.decodedstyledata_style_content(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get font_face_content(){let e,t;try{let n=r.decodedstyledata_font_face_content(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}query_css_og_declarations_by_css_id(e,t){let n,_;try{let i=function(e,t){let n=t(4*e.length,4)>>>0;for(let t=0;t<e.length;t++){let r=w(e[t]);u().setUint32(n+4*t,r,!0)}return l=e.length,n}(t,r.__wbindgen_malloc),o=l,s=r.decodedstyledata_query_css_og_declarations_by_css_id(this.__wbg_ptr,e,i,o);return n=s[0],_=s[1],a(s[0],s[1])}finally{r.__wbindgen_free(n,_,1)}}static decode_into(e,t,n){var _=d(t)?0:b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;let o=r.decodedstyledata_decode_into(e,_,i,n);if(o[2])throw h(o[1]);return h(o[0])}static encode_from_raw_style_info(e,t,n){y(e,A);var _=e.__destroy_into_raw(),i=d(n)?0:b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;let s=r.decodedstyledata_encode_from_raw_style_info(_,t,i,o);if(s[2])throw h(s[1]);return h(s[0])}}Symbol.dispose&&(E.prototype[Symbol.dispose]=E.prototype.free);let C="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_elementtemplatesection_free(e>>>0,1));class O{static __wrap(e){e>>>=0;let t=Object.create(O.prototype);return t.__wbg_ptr=e,C.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,C.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_elementtemplatesection_free(e,0)}static from_encoded(e){let t=r.elementtemplatesection_from_encoded(e);if(t[2])throw h(t[1]);return O.__wrap(t[0])}}Symbol.dispose&&(O.prototype[Symbol.dispose]=O.prototype.free);let R="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_eventinfo_free(e>>>0,1));class j{static __wrap(e){e>>>=0;let t=Object.create(j.prototype);return t.__wbg_ptr=e,R.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,R.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_eventinfo_free(e,0)}get name(){let e,t;try{let n=r.__wbg_get_eventinfo_name(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}set name(e){let t=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.__wbg_set_eventinfo_name(this.__wbg_ptr,t,n)}get type(){let e,t;try{let n=r.__wbg_get_eventinfo_type(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}set type(e){let t=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.__wbg_set_eventinfo_type(this.__wbg_ptr,t,n)}get function(){return r.__wbg_get_eventinfo_function(this.__wbg_ptr)}set function(e){r.__wbg_set_eventinfo_function(this.__wbg_ptr,e)}}Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);let I="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_mainthreadwasmcontext_free(e>>>0,1));class U{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,I.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_mainthreadwasmcontext_free(e,0)}__GetComponentID(e){let t,n=r.mainthreadwasmcontext___GetComponentID(this.__wbg_ptr,e);if(n[3])throw h(n[2]);return 0!==n[0]&&(t=a(n[0],n[1]).slice(),r.__wbindgen_free(n[0],+n[1],1)),t}__GetElementConfig(e){let t=r.mainthreadwasmcontext___GetElementConfig(this.__wbg_ptr,e);if(t[2])throw h(t[1]);return h(t[0])}__SetConfig(e,t){let n=r.mainthreadwasmcontext___SetConfig(this.__wbg_ptr,e,t);if(n[1])throw h(n[0])}__GetConfig(e){let t=r.mainthreadwasmcontext___GetConfig(this.__wbg_ptr,e);if(t[2])throw h(t[1]);return h(t[0])}__UpdateComponentID(e,t){var n=d(t)?0:b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;let i=r.mainthreadwasmcontext___UpdateComponentID(this.__wbg_ptr,e,n,_);if(i[1])throw h(i[0])}__SetDataset(e,t,n){let _=r.mainthreadwasmcontext___SetDataset(this.__wbg_ptr,e,t,n);if(_[1])throw h(_[0])}__AddDataset(e,t,n){let _=r.mainthreadwasmcontext___AddDataset(this.__wbg_ptr,e,t,n);if(_[1])throw h(_[0])}__GetDataset(e){let t=r.mainthreadwasmcontext___GetDataset(this.__wbg_ptr,e);if(t[2])throw h(t[1]);return h(t[0])}__GetDataByKey(e,t){let n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,i=r.mainthreadwasmcontext___GetDataByKey(this.__wbg_ptr,e,n,_);if(i[2])throw h(i[1]);return h(i[0])}_wasm_elementFromBinary(e,t,n,_){let i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l,s=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;y(_,O);let c=r.mainthreadwasmcontext__wasm_elementFromBinary(this.__wbg_ptr,e,i,o,s,a,_.__wbg_ptr);if(c[2])throw h(c[1]);return h(c[0])}__wasm_add_event_bts(e,t,n,_){let i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l,s=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;var c=d(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),f=l;r.mainthreadwasmcontext___wasm_add_event_bts(this.__wbg_ptr,e,i,o,s,a,c,f)}__wasm_add_event_run_worklet(e,t,n,_){let i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l,s=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;r.mainthreadwasmcontext___wasm_add_event_run_worklet(this.__wbg_ptr,e,i,o,s,a,d(_)?0:w(_))}__GetEvent(e,t,n){let _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,o=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;return r.mainthreadwasmcontext___GetEvent(this.__wbg_ptr,e,_,i,o,s)}__GetEvents(e){let t=r.mainthreadwasmcontext___GetEvents(this.__wbg_ptr,e);var n=m(t[0],t[1]).slice();return r.__wbindgen_free(t[0],4*t[1],4),n}dispatch_event_by_path(e,t,n,_){let i=x(e,r.__wbindgen_malloc),o=l,s=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;return 0!==r.mainthreadwasmcontext_dispatch_event_by_path(this.__wbg_ptr,i,o,s,a,n,_)}__wasm_commonEventHandler(e,t,n){let _=x(t,r.__wbindgen_malloc),i=l,o=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;r.mainthreadwasmcontext___wasm_commonEventHandler(this.__wbg_ptr,e,_,i,o,s)}__wasm_set_css_id(e,t){let n=x(e,r.__wbindgen_malloc),_=l;r.mainthreadwasmcontext___wasm_set_css_id(this.__wbg_ptr,n,_,t)}__wasm_AddInlineStyle_str_key(e,t,n){let _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;var o=d(n)?0:b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;r.mainthreadwasmcontext___wasm_AddInlineStyle_str_key(this.__wbg_ptr,e,_,i,o,s)}__wasm_AddInlineStyle_number_key(e,t,n){var _=d(n)?0:b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;r.mainthreadwasmcontext___wasm_AddInlineStyle_number_key(this.__wbg_ptr,e,t,_,i)}__wasm_SetInlineStyles(e,t){let n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;return 0!==r.mainthreadwasmcontext___wasm_SetInlineStyles(this.__wbg_ptr,e,n,_)}constructor(e,t,n,_,i){const o=r.mainthreadwasmcontext_new(e,t,n,_,i);return this.__wbg_ptr=o>>>0,I.register(this,this.__wbg_ptr,this),this}__wasm_set_page_element_unique_id(e){r.mainthreadwasmcontext___wasm_set_page_element_unique_id(this.__wbg_ptr,e)}__CreateElementCommon(e,t,n,_){var i=d(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;return r.mainthreadwasmcontext___CreateElementCommon(this.__wbg_ptr,e,t,d(n)?0x100000001:0|n,i,o)>>>0}__wasm_take_timing_flags(){let e=r.mainthreadwasmcontext___wasm_take_timing_flags(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],4*e[1],4),t}__wasm_get_unique_id_by_component_id(e){let t=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,_=r.mainthreadwasmcontext___wasm_get_unique_id_by_component_id(this.__wbg_ptr,t,n);return 0x100000001===_?void 0:_}__wasm_get_css_id_by_unique_id(e){let t=r.mainthreadwasmcontext___wasm_get_css_id_by_unique_id(this.__wbg_ptr,e);return 0x100000001===t?void 0:t}}Symbol.dispose&&(U.prototype[Symbol.dispose]=U.prototype.free);let k="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_rawstyleinfo_free(e>>>0,1));class A{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,k.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_rawstyleinfo_free(e,0)}constructor(){const e=r.rawstyleinfo_new();return this.__wbg_ptr=e>>>0,k.register(this,this.__wbg_ptr,this),this}append_import(e,t){r.rawstyleinfo_append_import(this.__wbg_ptr,e,t)}push_rule(e,t){y(t,L);var n=t.__destroy_into_raw();r.rawstyleinfo_push_rule(this.__wbg_ptr,e,n)}}Symbol.dispose&&(A.prototype[Symbol.dispose]=A.prototype.free);let D="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_rule_free(e>>>0,1));class L{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,D.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_rule_free(e,0)}constructor(e){const t=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,_=r.rule_new(t,n);if(_[2])throw h(_[1]);return this.__wbg_ptr=_[0]>>>0,D.register(this,this.__wbg_ptr,this),this}set_prelude(e){y(e,M);var t=e.__destroy_into_raw();r.rule_set_prelude(this.__wbg_ptr,t)}push_declaration(e,t){let n=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;r.rule_push_declaration(this.__wbg_ptr,n,_,i,o)}push_rule_children(e){y(e,L);var t=e.__destroy_into_raw();r.rule_push_rule_children(this.__wbg_ptr,t)}}Symbol.dispose&&(L.prototype[Symbol.dispose]=L.prototype.free);let W="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_ruleprelude_free(e>>>0,1));class M{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_ruleprelude_free(e,0)}constructor(){const e=r.ruleprelude_new();return this.__wbg_ptr=e>>>0,W.register(this,this.__wbg_ptr,this),this}push_selector(e){y(e,$);var t=e.__destroy_into_raw();r.ruleprelude_push_selector(this.__wbg_ptr,t)}}Symbol.dispose&&(M.prototype[Symbol.dispose]=M.prototype.free);let F="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_selector_free(e>>>0,1));class ${__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_selector_free(e,0)}constructor(){const e=r.ruleprelude_new();return this.__wbg_ptr=e>>>0,F.register(this,this.__wbg_ptr,this),this}push_one_selector_section(e,t){let n=b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l,s=r.selector_push_one_selector_section(this.__wbg_ptr,n,_,i,o);if(s[1])throw h(s[0])}}Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);let z=new Set(["basic","cors","default"]);async function P(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&z.has(e.type)&&"application/wasm"!==e.headers.get("Content-Type"))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",t);else throw t}let n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}function B(){let e={};return e.wbg={},e.wbg.__wbg_Error_e83987f665cf5504=function(e,t){return Error(a(e,t))},e.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763=function(e,t){let n=b(function e(t){let n,r=typeof t;if("number"==r||"boolean"==r||null==t)return`${t}`;if("string"==r)return`"${t}"`;if("symbol"==r){let e=t.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==r){let e=t.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(t)){let n=t.length,r="[";n>0&&(r+=e(t[0]));for(let _=1;_<n;_++)r+=", "+e(t[_]);return r+"]"}let _=/\[object ([^\]]+)\]/.exec(toString.call(t));if(!_||!(_.length>1))return toString.call(t);if("Object"==(n=_[1]))try{return"Object("+JSON.stringify(t)+")"}catch(e){return"Object"}return t instanceof Error?`${t.name}: ${t.message}
2
2
  ${t.stack}`:n}(t),r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;u().setInt32(e+4,_,!0),u().setInt32(e+0,n,!0)},e.wbg.__wbg___wbindgen_is_null_5e69f72e906cc57c=function(e){return null===e},e.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478=function(e){return void 0===e},e.wbg.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50=function(e,t){return e===t},e.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b=function(e,t){let n="string"==typeof t?t:void 0;var _=d(n)?0:b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;u().setInt32(e+4,i,!0),u().setInt32(e+0,_,!0)},e.wbg.__wbg___wbindgen_throw_b855445ff6a94295=function(e,t){throw Error(a(e,t))},e.wbg.__wbg_addEventListener_509b0778ff0f5d80=function(e,t,n){e.addEventListener(a(t,n))},e.wbg.__wbg_appendChild_aec7a8a4bd6cac61=function(){return g(function(e,t){return e.appendChild(t)},arguments)},e.wbg.__wbg_assign_322cd025d1feae78=function(e,t){return Object.assign(e,t)},e.wbg.__wbg_cloneNode_4ff138eda9fcd474=function(){return g(function(e,t){return e.cloneNode(0!==t)},arguments)},e.wbg.__wbg_content_a7b60fc3c1ac64bd=function(e){return e.content},e.wbg.__wbg_createElement_964ab674a0176cd8=function(){return g(function(e,t,n){return e.createElement(a(t,n))},arguments)},e.wbg.__wbg_disableElementEvent_54563f003ce6f005=function(e,t,n,r){e.disableElementEvent(t>>>0,a(n,r))},e.wbg.__wbg_done_2042aa2670fb1db1=function(e){return e.done},e.wbg.__wbg_enableElementEvent_b56814551effb38c=function(e,t,n,r){e.enableElementEvent(t>>>0,a(n,r))},e.wbg.__wbg_eventinfo_new=function(e){return j.__wrap(e)},e.wbg.__wbg_firstChild_dab0d4655f86bce5=function(e){let t=e.firstChild;return d(t)?0:w(t)},e.wbg.__wbg_getAttribute_a0d65fabc2f0d559=function(e,t,n,_){let i=t.getAttribute(a(n,_));var o=d(i)?0:b(i,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;u().setInt32(e+4,s,!0),u().setInt32(e+0,o,!0)},e.wbg.__wbg_get_7bed016f185add81=function(e,t){return e[t>>>0]},e.wbg.__wbg_get_efcb449f58ec27c2=function(){return g(function(e,t){return Reflect.get(e,t)},arguments)},e.wbg.__wbg_has_787fafc980c3ccdb=function(){return g(function(e,t){return Reflect.has(e,t)},arguments)},e.wbg.__wbg_keys_b4d27b02ad14f4be=function(e){return Object.keys(e)},e.wbg.__wbg_length_69bca3cb64fc8748=function(e){return e.length},e.wbg.__wbg_length_cdd215e10d9dd507=function(e){return e.length},e.wbg.__wbg_loadInternalWebElement_8cae19b87cc26220=function(e,t){e.loadInternalWebElement(t>>>0)},e.wbg.__wbg_loadUnknownElement_762c72a091c9dc9e=function(e,t,n){e.loadUnknownElement(a(t,n))},e.wbg.__wbg_markExposureRelatedElementByUniqueId_c37ed9a4da654c4e=function(e,t,n){e.markExposureRelatedElementByUniqueId(t>>>0,0!==n)},e.wbg.__wbg_new_1acc0b6eea89d040=function(){return{}},e.wbg.__wbg_new_from_slice_92f4d78ca282a2d2=function(e,t){return new Uint8Array(p(e,t))},e.wbg.__wbg_next_020810e0ae8ebcb0=function(){return g(function(e){return e.next()},arguments)},e.wbg.__wbg_prototypesetcall_2a6620b6922694b2=function(e,t,n){Uint8Array.prototype.set.call(p(e,t),n)},e.wbg.__wbg_publishEvent_9003166a9524dc81=function(e,t,n,r,_,i,o,s,l,c){e.publishEvent(a(t,n),0===r?void 0:a(r,_),i,o>>>0,s,l>>>0,c)},e.wbg.__wbg_querySelectorAll_28da62a91120d3e9=function(){return g(function(e,t,n){return e.querySelectorAll(a(t,n))},arguments)},e.wbg.__wbg_removeAttribute_993c4bef8df6e74d=function(){return g(function(e,t,n){e.removeAttribute(a(t,n))},arguments)},e.wbg.__wbg_removeProperty_f76e32d12224854d=function(){return g(function(e,t,n,_){let i=b(t.removeProperty(a(n,_)),r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;u().setInt32(e+4,o,!0),u().setInt32(e+0,i,!0)},arguments)},e.wbg.__wbg_runWorklet_6d04359b8a8c370f=function(e,t,n,r,_,i,o){e.runWorklet(t,n,r>>>0,_,i>>>0,o)},e.wbg.__wbg_setAttribute_9bad76f39609daac=function(){return g(function(e,t,n,r,_){e.setAttribute(a(t,n),a(r,_))},arguments)},e.wbg.__wbg_setProperty_7b188d7e71d4aca8=function(){return g(function(e,t,n,r,_){e.setProperty(a(t,n),a(r,_))},arguments)},e.wbg.__wbg_set_c2abbebe8b9ebee1=function(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)},e.wbg.__wbg_style_763a7ccfd47375da=function(e){return e.style},e.wbg.__wbg_value_692627309814bb8c=function(e){return e.value},e.wbg.__wbg_values_fea03b2a33fe593c=function(e){return e.values()},e.wbg.__wbindgen_cast_2241b6af4c4b2941=function(e,t){return a(e,t)},e.wbg.__wbindgen_cast_d6cd19b81560fd6e=function(e){return e},e.wbg.__wbindgen_init_externref_table=function(){let e=r.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)},e.wbg.__wbindgen_object_is_undefined=function(e){return void 0===e},e}function q(e,t){return r=e.exports,G.__wbindgen_wasm_module=t,f=null,v=null,_=null,r.__wbindgen_start(),r}function T(e){if(void 0!==r)return r;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?{module:e}=e:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let t=B();return e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e)),q(new WebAssembly.Instance(e,t),e)}async function G(e){if(void 0!==r)return r;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===e&&(e=new URL(n(6462),n.b));let t=B();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));let{instance:_,module:i}=await P(await e,t);return q(_,i)}let N=G},446(e,t,n){n.a(e,async function(e,r){try{n.d(t,{g:()=>o});var _=n(9521),i=e([_]);function o(e,t,n){let r=new _.wasmInstance.RawStyleInfo;for(let[t,n]of Object.entries(e)){let e=parseInt(t,10);for(let t of(n.imports,n.rules)){let n=new _.wasmInstance.Rule("StyleRule");for(let[e,r]of t.decl)n.push_declaration(e,r);let i=new _.wasmInstance.RulePrelude;for(let e of t.sel){let t=new _.wasmInstance.Selector;for(let n=0;n<e.length;n+=4){let r=e[n]||[],_=e[n+1]||[],i=e[n+2]||[],o=e[n+3]||[];for(let e of r)!function(e,t){if(t.startsWith("."))e.push_one_selector_section("ClassSelector",t.substring(1));else if(t.startsWith("#"))e.push_one_selector_section("IdSelector",t.substring(1));else if(t.startsWith("[")){let n=t.substring(1,t.length-1);e.push_one_selector_section("AttributeSelector",n)}else if("*"===t)e.push_one_selector_section("UniversalSelector","*");else{let n=t;t.startsWith("[")&&t.endsWith("]")&&(n=t.substring(1,t.length-1)),e.push_one_selector_section("AttributeSelector",n)}}(t,e);for(let e of _){let n=e.startsWith(":")?e.substring(1):e;t.push_one_selector_section("PseudoClassSelector",n)}for(let e of i){let n=e.startsWith("::")?e.substring(2):e.startsWith(":")?e.substring(1):e;t.push_one_selector_section("PseudoElementSelector",n)}o.length>0&&t.push_one_selector_section("Combinator",o[0])}i.push_selector(t)}n.set_prelude(i),r.push_rule(e,n)}}return _.wasmInstance.DecodedStyleData.encode_from_raw_style_info(r,t,n)}_=(i.then?(await i)():i)[0],r()}catch(e){r(e)}})},676(e,t,n){n.a(e,async function(e,t){try{let b;var r=n(1180),_=n(9521),i=n(446),o=e([_,i]);[_,i]=o.then?(await o)():o;let f=new Promise(e=>{b=e});class u{#e;#t=new Uint8Array(0);constructor(e){this.#e=e}async read(e){if(this.#t.length>=e){let t=this.#t.slice(0,e);return this.#t=this.#t.slice(e),t}for(;this.#t.length<e;){let{done:e,value:t}=await this.#e.read();if(t){let e=new Uint8Array(this.#t.length+t.length);e.set(this.#t),e.set(t,this.#t.length),this.#t=e}if(e)break}if(this.#t.length<e){if(0===this.#t.length)return null;throw Error(`Unexpected end of stream. Expected ${e} bytes, got ${this.#t.length}`)}let t=this.#t.slice(0,e);return this.#t=this.#t.slice(e),t}async readRest(){for(;;){let{done:e,value:t}=await this.#e.read();if(t){let e=new Uint8Array(this.#t.length+t.length);e.set(this.#t),e.set(t,this.#t.length),this.#t=e}if(e)break}let e=this.#t;return this.#t=new Uint8Array(0),e}}function s(e){let t=new Uint16Array(e.buffer,e.byteOffset,e.byteLength/2),n="";for(let e=0;e<t.length;e+=8192)n+=String.fromCharCode.apply(null,t.subarray(e,e+8192));return JSON.parse(n)}function a(e){let t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=0;if(e.byteLength<4)throw Error("Buffer too short for count");let r=t.getUint32(n,!0);n+=4;let _={},i=new TextDecoder;for(let o=0;o<r;o++){if(e.byteLength<n+4)throw Error("Buffer too short for key length");let r=t.getUint32(n,!0);if(n+=4,e.byteLength<n+r)throw Error("Buffer too short for key");let o=i.decode(e.subarray(n,n+r));if(n+=r,e.byteLength<n+4)throw Error("Buffer too short for value length");let s=t.getUint32(n,!0);if(n+=4,e.byteLength<n+s)throw Error("Buffer too short for value");let a=e.subarray(n,n+s);n+=s,_[o]=a}return _}async function l(e,t,n){let i=new u(t),o={},l=await i.read(8);if(!l)throw Error("Empty stream");if(123===l[0]){let t=await i.readRest(),r=new TextDecoder,_=r.decode(l)+r.decode(t),o=JSON.parse(_);await c(o,e,n);return}if(new DataView(l.buffer,l.byteOffset,l.byteLength).getBigUint64(0,!0)!==BigInt(r.Lj))throw Error("Invalid Magic Header");let b=await i.read(4);if(!b)throw Error("Unexpected EOF reading version");let d=new DataView(b.buffer,b.byteOffset,b.byteLength).getUint32(0,!0);if(d>1)throw Error(`Unsupported version: ${d}`);for(;;){let t=await i.read(4);if(!t)break;let l=new DataView(t.buffer,t.byteOffset,t.byteLength).getUint32(0,!0),c=await i.read(4);if(!c)throw Error("Unexpected EOF reading section length");let b=new DataView(c.buffer,c.byteOffset,c.byteLength).getUint32(0,!0),u=await i.read(b);if(!u)throw Error(`Unexpected EOF reading section content. Expected ${b} bytes.`);switch(l){case r.eC.Configurations:o=n?{...s(u),...n}:s(u),postMessage({type:"section",label:l,url:e,data:o});break;case r.eC.StyleInfo:{await f;let t=_.DecodedStyle.webWorkerDecode(u,"true"===o.enableCSSSelector,"true"===o.isLazy?e:void 0);postMessage({type:"section",label:l,url:e,data:t.buffer,config:o},{transfer:[t.buffer]});break}case r.eC.LepusCode:{let t=a(u),n="true"===o.isLazy,r={};for(let[_,i]of Object.entries(t)){let t=`(function(){ "use strict"; const navigator=void 0,postMessage=void 0,window=void 0; ${n?"module.exports=":""} `,o=`
3
3
  })()
4
4
  //# sourceURL=${e}
@@ -1,2 +1,2 @@
1
- (()=>{"use strict";var e,t,n,r={6462(e,t,n){e.exports=n.p+"static/wasm/7ff75609.module.wasm"},5704(e,t,n){let r;n.r(t),n.d(t,{DecodedStyleData:()=>k,ElementTemplateSection:()=>C,EventInfo:()=>T,MainThreadWasmContext:()=>I,RawStyleInfo:()=>M,Rule:()=>P,RulePrelude:()=>j,Selector:()=>U,default:()=>$,initSync:()=>z});let i=null;function o(){return(null===i||0===i.byteLength)&&(i=new Uint8Array(r.memory.buffer)),i}let _=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});_.decode();let s=0;function a(e,t){var n;return e>>>=0,n=e,(s+=t)>=0x7ff00000&&((_=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),s=t),_.decode(o().subarray(n,n+t))}let l=0,c=new TextEncoder;function d(e,t,n){if(void 0===n){let n=c.encode(e),r=t(n.length,1)>>>0;return o().subarray(r,r+n.length).set(n),l=n.length,r}let r=e.length,i=t(r,1)>>>0,_=o(),s=0;for(;s<r;s++){let t=e.charCodeAt(s);if(t>127)break;_[i+s]=t}if(s!==r){0!==s&&(e=e.slice(s)),i=n(i,r,r=s+3*e.length,1)>>>0;let t=o().subarray(i+s,i+r);s+=c.encodeInto(e,t).written,i=n(i,r,s,1)>>>0}return l=s,i}"encodeInto"in c||(c.encodeInto=function(e,t){let n=c.encode(e);return t.set(n),{read:e.length,written:n.length}});let u=null;function g(){return(null===u||!0===u.buffer.detached||void 0===u.buffer.detached&&u.buffer!==r.memory.buffer)&&(u=new DataView(r.memory.buffer)),u}function b(e){return null==e}function w(e){let t=r.__externref_table_alloc();return r.__wbindgen_externrefs.set(t,e),t}function p(e,t){try{return e.apply(this,t)}catch(t){let e=w(t);r.__wbindgen_exn_store(e)}}function h(e,t){return e>>>=0,o().subarray(e/1,e/1+t)}function f(e){let t=r.__wbindgen_externrefs.get(e);return r.__externref_table_dealloc(e),t}function m(e,t){if(!(e instanceof t))throw Error(`expected instance of ${t.name}`)}function y(e,t){e>>>=0;let n=g(),i=[];for(let o=e;o<e+4*t;o+=4)i.push(r.__wbindgen_externrefs.get(n.getUint32(o,!0)));return r.__externref_drop_slice(e,t),i}let v=null;function x(e,t){let n=t(4*e.length,4)>>>0;return((null===v||0===v.byteLength)&&(v=new Uint32Array(r.memory.buffer)),v).set(e,n/4),l=e.length,n}let S="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_decodedstyledata_free(e>>>0,1));class k{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_decodedstyledata_free(e,0)}constructor(e){const t=r.decodedstyledata_new(e);if(t[2])throw f(t[1]);return this.__wbg_ptr=t[0]>>>0,S.register(this,this.__wbg_ptr,this),this}get style_content(){let e,t;try{let n=r.decodedstyledata_style_content(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get font_face_content(){let e,t;try{let n=r.decodedstyledata_font_face_content(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}query_css_og_declarations_by_css_id(e,t){let n,i;try{let o=function(e,t){let n=t(4*e.length,4)>>>0;for(let t=0;t<e.length;t++){let r=w(e[t]);g().setUint32(n+4*t,r,!0)}return l=e.length,n}(t,r.__wbindgen_malloc),_=l,s=r.decodedstyledata_query_css_og_declarations_by_css_id(this.__wbg_ptr,e,o,_);return n=s[0],i=s[1],a(s[0],s[1])}finally{r.__wbindgen_free(n,i,1)}}static decode_into(e,t,n){var i=b(t)?0:d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;let _=r.decodedstyledata_decode_into(e,i,o,n);if(_[2])throw f(_[1]);return f(_[0])}static encode_from_raw_style_info(e,t,n){m(e,M);var i=e.__destroy_into_raw(),o=b(n)?0:d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;let s=r.decodedstyledata_encode_from_raw_style_info(i,t,o,_);if(s[2])throw f(s[1]);return f(s[0])}}Symbol.dispose&&(k.prototype[Symbol.dispose]=k.prototype.free);let E="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_elementtemplatesection_free(e>>>0,1));class C{static __wrap(e){e>>>=0;let t=Object.create(C.prototype);return t.__wbg_ptr=e,E.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_elementtemplatesection_free(e,0)}static from_encoded(e){let t=r.elementtemplatesection_from_encoded(e);if(t[2])throw f(t[1]);return C.__wrap(t[0])}}Symbol.dispose&&(C.prototype[Symbol.dispose]=C.prototype.free);let R="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_eventinfo_free(e>>>0,1));class T{static __wrap(e){e>>>=0;let t=Object.create(T.prototype);return t.__wbg_ptr=e,R.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,R.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_eventinfo_free(e,0)}get name(){let e,t;try{let n=r.__wbg_get_eventinfo_name(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}set name(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.__wbg_set_eventinfo_name(this.__wbg_ptr,t,n)}get type(){let e,t;try{let n=r.__wbg_get_eventinfo_type(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}set type(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.__wbg_set_eventinfo_type(this.__wbg_ptr,t,n)}get function(){return r.__wbg_get_eventinfo_function(this.__wbg_ptr)}set function(e){r.__wbg_set_eventinfo_function(this.__wbg_ptr,e)}}Symbol.dispose&&(T.prototype[Symbol.dispose]=T.prototype.free);let O="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_mainthreadwasmcontext_free(e>>>0,1));class I{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,O.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_mainthreadwasmcontext_free(e,0)}__GetComponentID(e){let t,n=r.mainthreadwasmcontext___GetComponentID(this.__wbg_ptr,e);if(n[3])throw f(n[2]);return 0!==n[0]&&(t=a(n[0],n[1]).slice(),r.__wbindgen_free(n[0],+n[1],1)),t}__GetElementConfig(e){let t=r.mainthreadwasmcontext___GetElementConfig(this.__wbg_ptr,e);if(t[2])throw f(t[1]);return f(t[0])}__SetConfig(e,t){let n=r.mainthreadwasmcontext___SetConfig(this.__wbg_ptr,e,t);if(n[1])throw f(n[0])}__GetConfig(e){let t=r.mainthreadwasmcontext___GetConfig(this.__wbg_ptr,e);if(t[2])throw f(t[1]);return f(t[0])}__UpdateComponentID(e,t){var n=b(t)?0:d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;let o=r.mainthreadwasmcontext___UpdateComponentID(this.__wbg_ptr,e,n,i);if(o[1])throw f(o[0])}__SetDataset(e,t,n){let i=r.mainthreadwasmcontext___SetDataset(this.__wbg_ptr,e,t,n);if(i[1])throw f(i[0])}__AddDataset(e,t,n){let i=r.mainthreadwasmcontext___AddDataset(this.__wbg_ptr,e,t,n);if(i[1])throw f(i[0])}__GetDataset(e){let t=r.mainthreadwasmcontext___GetDataset(this.__wbg_ptr,e);if(t[2])throw f(t[1]);return f(t[0])}__GetDataByKey(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,o=r.mainthreadwasmcontext___GetDataByKey(this.__wbg_ptr,e,n,i);if(o[2])throw f(o[1]);return f(o[0])}_wasm_elementFromBinary(e,t,n,i){let o=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,s=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;m(i,C);let c=r.mainthreadwasmcontext__wasm_elementFromBinary(this.__wbg_ptr,e,o,_,s,a,i.__wbg_ptr);if(c[2])throw f(c[1]);return f(c[0])}__wasm_add_event_bts(e,t,n,i){let o=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,s=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;var c=b(i)?0:d(i,r.__wbindgen_malloc,r.__wbindgen_realloc),u=l;r.mainthreadwasmcontext___wasm_add_event_bts(this.__wbg_ptr,e,o,_,s,a,c,u)}__wasm_add_event_run_worklet(e,t,n,i){let o=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,s=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;r.mainthreadwasmcontext___wasm_add_event_run_worklet(this.__wbg_ptr,e,o,_,s,a,b(i)?0:w(i))}__GetEvent(e,t,n){let i=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l,_=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;return r.mainthreadwasmcontext___GetEvent(this.__wbg_ptr,e,i,o,_,s)}__GetEvents(e){let t=r.mainthreadwasmcontext___GetEvents(this.__wbg_ptr,e);var n=y(t[0],t[1]).slice();return r.__wbindgen_free(t[0],4*t[1],4),n}dispatch_event_by_path(e,t,n,i){let o=x(e,r.__wbindgen_malloc),_=l,s=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;return 0!==r.mainthreadwasmcontext_dispatch_event_by_path(this.__wbg_ptr,o,_,s,a,n,i)}__wasm_commonEventHandler(e,t,n){let i=x(t,r.__wbindgen_malloc),o=l,_=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;r.mainthreadwasmcontext___wasm_commonEventHandler(this.__wbg_ptr,e,i,o,_,s)}__wasm_set_css_id(e,t){let n=x(e,r.__wbindgen_malloc),i=l;r.mainthreadwasmcontext___wasm_set_css_id(this.__wbg_ptr,n,i,t)}__wasm_AddInlineStyle_str_key(e,t,n){let i=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;var _=b(n)?0:d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;r.mainthreadwasmcontext___wasm_AddInlineStyle_str_key(this.__wbg_ptr,e,i,o,_,s)}__wasm_AddInlineStyle_number_key(e,t,n){var i=b(n)?0:d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;r.mainthreadwasmcontext___wasm_AddInlineStyle_number_key(this.__wbg_ptr,e,t,i,o)}__wasm_SetInlineStyles(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;return 0!==r.mainthreadwasmcontext___wasm_SetInlineStyles(this.__wbg_ptr,e,n,i)}constructor(e,t,n,i,o){const _=r.mainthreadwasmcontext_new(e,t,n,i,o);return this.__wbg_ptr=_>>>0,O.register(this,this.__wbg_ptr,this),this}__wasm_set_page_element_unique_id(e){r.mainthreadwasmcontext___wasm_set_page_element_unique_id(this.__wbg_ptr,e)}__CreateElementCommon(e,t,n,i){var o=b(i)?0:d(i,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;return r.mainthreadwasmcontext___CreateElementCommon(this.__wbg_ptr,e,t,b(n)?0x100000001:0|n,o,_)>>>0}__wasm_take_timing_flags(){let e=r.mainthreadwasmcontext___wasm_take_timing_flags(this.__wbg_ptr);var t=y(e[0],e[1]).slice();return r.__wbindgen_free(e[0],4*e[1],4),t}__wasm_get_unique_id_by_component_id(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,i=r.mainthreadwasmcontext___wasm_get_unique_id_by_component_id(this.__wbg_ptr,t,n);return 0x100000001===i?void 0:i}__wasm_get_css_id_by_unique_id(e){let t=r.mainthreadwasmcontext___wasm_get_css_id_by_unique_id(this.__wbg_ptr,e);return 0x100000001===t?void 0:t}}Symbol.dispose&&(I.prototype[Symbol.dispose]=I.prototype.free);let A="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_rawstyleinfo_free(e>>>0,1));class M{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,A.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_rawstyleinfo_free(e,0)}constructor(){const e=r.rawstyleinfo_new();return this.__wbg_ptr=e>>>0,A.register(this,this.__wbg_ptr,this),this}append_import(e,t){r.rawstyleinfo_append_import(this.__wbg_ptr,e,t)}push_rule(e,t){m(t,P);var n=t.__destroy_into_raw();r.rawstyleinfo_push_rule(this.__wbg_ptr,e,n)}}Symbol.dispose&&(M.prototype[Symbol.dispose]=M.prototype.free);let D="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_rule_free(e>>>0,1));class P{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,D.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_rule_free(e,0)}constructor(e){const t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,i=r.rule_new(t,n);if(i[2])throw f(i[1]);return this.__wbg_ptr=i[0]>>>0,D.register(this,this.__wbg_ptr,this),this}set_prelude(e){m(e,j);var t=e.__destroy_into_raw();r.rule_set_prelude(this.__wbg_ptr,t)}push_declaration(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,o=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;r.rule_push_declaration(this.__wbg_ptr,n,i,o,_)}push_rule_children(e){m(e,P);var t=e.__destroy_into_raw();r.rule_push_rule_children(this.__wbg_ptr,t)}}Symbol.dispose&&(P.prototype[Symbol.dispose]=P.prototype.free);let N="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_ruleprelude_free(e>>>0,1));class j{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,N.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_ruleprelude_free(e,0)}constructor(){const e=r.ruleprelude_new();return this.__wbg_ptr=e>>>0,N.register(this,this.__wbg_ptr,this),this}push_selector(e){m(e,U);var t=e.__destroy_into_raw();r.ruleprelude_push_selector(this.__wbg_ptr,t)}}Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);let L="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_selector_free(e>>>0,1));class U{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,L.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_selector_free(e,0)}constructor(){const e=r.ruleprelude_new();return this.__wbg_ptr=e>>>0,L.register(this,this.__wbg_ptr,this),this}push_one_selector_section(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,o=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,s=r.selector_push_one_selector_section(this.__wbg_ptr,n,i,o,_);if(s[1])throw f(s[0])}}Symbol.dispose&&(U.prototype[Symbol.dispose]=U.prototype.free);let W=new Set(["basic","cors","default"]);async function F(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&W.has(e.type)&&"application/wasm"!==e.headers.get("Content-Type"))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",t);else throw t}let n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}function q(){let e={};return e.wbg={},e.wbg.__wbg_Error_e83987f665cf5504=function(e,t){return Error(a(e,t))},e.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763=function(e,t){let n=d(function e(t){let n,r=typeof t;if("number"==r||"boolean"==r||null==t)return`${t}`;if("string"==r)return`"${t}"`;if("symbol"==r){let e=t.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==r){let e=t.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(t)){let n=t.length,r="[";n>0&&(r+=e(t[0]));for(let i=1;i<n;i++)r+=", "+e(t[i]);return r+"]"}let i=/\[object ([^\]]+)\]/.exec(toString.call(t));if(!i||!(i.length>1))return toString.call(t);if("Object"==(n=i[1]))try{return"Object("+JSON.stringify(t)+")"}catch(e){return"Object"}return t instanceof Error?`${t.name}: ${t.message}
1
+ (()=>{"use strict";var e,t,n,r={6462(e,t,n){e.exports=n.p+"static/wasm/e7da3f5d.module.wasm"},5704(e,t,n){let r;n.r(t),n.d(t,{DecodedStyleData:()=>k,ElementTemplateSection:()=>C,EventInfo:()=>T,MainThreadWasmContext:()=>I,RawStyleInfo:()=>M,Rule:()=>P,RulePrelude:()=>j,Selector:()=>U,default:()=>$,initSync:()=>z});let i=null;function o(){return(null===i||0===i.byteLength)&&(i=new Uint8Array(r.memory.buffer)),i}let _=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});_.decode();let s=0;function a(e,t){var n;return e>>>=0,n=e,(s+=t)>=0x7ff00000&&((_=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),s=t),_.decode(o().subarray(n,n+t))}let l=0,c=new TextEncoder;function d(e,t,n){if(void 0===n){let n=c.encode(e),r=t(n.length,1)>>>0;return o().subarray(r,r+n.length).set(n),l=n.length,r}let r=e.length,i=t(r,1)>>>0,_=o(),s=0;for(;s<r;s++){let t=e.charCodeAt(s);if(t>127)break;_[i+s]=t}if(s!==r){0!==s&&(e=e.slice(s)),i=n(i,r,r=s+3*e.length,1)>>>0;let t=o().subarray(i+s,i+r);s+=c.encodeInto(e,t).written,i=n(i,r,s,1)>>>0}return l=s,i}"encodeInto"in c||(c.encodeInto=function(e,t){let n=c.encode(e);return t.set(n),{read:e.length,written:n.length}});let u=null;function g(){return(null===u||!0===u.buffer.detached||void 0===u.buffer.detached&&u.buffer!==r.memory.buffer)&&(u=new DataView(r.memory.buffer)),u}function b(e){return null==e}function w(e){let t=r.__externref_table_alloc();return r.__wbindgen_externrefs.set(t,e),t}function p(e,t){try{return e.apply(this,t)}catch(t){let e=w(t);r.__wbindgen_exn_store(e)}}function h(e,t){return e>>>=0,o().subarray(e/1,e/1+t)}function f(e){let t=r.__wbindgen_externrefs.get(e);return r.__externref_table_dealloc(e),t}function m(e,t){if(!(e instanceof t))throw Error(`expected instance of ${t.name}`)}function y(e,t){e>>>=0;let n=g(),i=[];for(let o=e;o<e+4*t;o+=4)i.push(r.__wbindgen_externrefs.get(n.getUint32(o,!0)));return r.__externref_drop_slice(e,t),i}let v=null;function x(e,t){let n=t(4*e.length,4)>>>0;return((null===v||0===v.byteLength)&&(v=new Uint32Array(r.memory.buffer)),v).set(e,n/4),l=e.length,n}let S="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_decodedstyledata_free(e>>>0,1));class k{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_decodedstyledata_free(e,0)}constructor(e){const t=r.decodedstyledata_new(e);if(t[2])throw f(t[1]);return this.__wbg_ptr=t[0]>>>0,S.register(this,this.__wbg_ptr,this),this}get style_content(){let e,t;try{let n=r.decodedstyledata_style_content(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get font_face_content(){let e,t;try{let n=r.decodedstyledata_font_face_content(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}query_css_og_declarations_by_css_id(e,t){let n,i;try{let o=function(e,t){let n=t(4*e.length,4)>>>0;for(let t=0;t<e.length;t++){let r=w(e[t]);g().setUint32(n+4*t,r,!0)}return l=e.length,n}(t,r.__wbindgen_malloc),_=l,s=r.decodedstyledata_query_css_og_declarations_by_css_id(this.__wbg_ptr,e,o,_);return n=s[0],i=s[1],a(s[0],s[1])}finally{r.__wbindgen_free(n,i,1)}}static decode_into(e,t,n){var i=b(t)?0:d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;let _=r.decodedstyledata_decode_into(e,i,o,n);if(_[2])throw f(_[1]);return f(_[0])}static encode_from_raw_style_info(e,t,n){m(e,M);var i=e.__destroy_into_raw(),o=b(n)?0:d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;let s=r.decodedstyledata_encode_from_raw_style_info(i,t,o,_);if(s[2])throw f(s[1]);return f(s[0])}}Symbol.dispose&&(k.prototype[Symbol.dispose]=k.prototype.free);let E="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_elementtemplatesection_free(e>>>0,1));class C{static __wrap(e){e>>>=0;let t=Object.create(C.prototype);return t.__wbg_ptr=e,E.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_elementtemplatesection_free(e,0)}static from_encoded(e){let t=r.elementtemplatesection_from_encoded(e);if(t[2])throw f(t[1]);return C.__wrap(t[0])}}Symbol.dispose&&(C.prototype[Symbol.dispose]=C.prototype.free);let R="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_eventinfo_free(e>>>0,1));class T{static __wrap(e){e>>>=0;let t=Object.create(T.prototype);return t.__wbg_ptr=e,R.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,R.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_eventinfo_free(e,0)}get name(){let e,t;try{let n=r.__wbg_get_eventinfo_name(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}set name(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.__wbg_set_eventinfo_name(this.__wbg_ptr,t,n)}get type(){let e,t;try{let n=r.__wbg_get_eventinfo_type(this.__wbg_ptr);return e=n[0],t=n[1],a(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}set type(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.__wbg_set_eventinfo_type(this.__wbg_ptr,t,n)}get function(){return r.__wbg_get_eventinfo_function(this.__wbg_ptr)}set function(e){r.__wbg_set_eventinfo_function(this.__wbg_ptr,e)}}Symbol.dispose&&(T.prototype[Symbol.dispose]=T.prototype.free);let O="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_mainthreadwasmcontext_free(e>>>0,1));class I{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,O.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_mainthreadwasmcontext_free(e,0)}__GetComponentID(e){let t,n=r.mainthreadwasmcontext___GetComponentID(this.__wbg_ptr,e);if(n[3])throw f(n[2]);return 0!==n[0]&&(t=a(n[0],n[1]).slice(),r.__wbindgen_free(n[0],+n[1],1)),t}__GetElementConfig(e){let t=r.mainthreadwasmcontext___GetElementConfig(this.__wbg_ptr,e);if(t[2])throw f(t[1]);return f(t[0])}__SetConfig(e,t){let n=r.mainthreadwasmcontext___SetConfig(this.__wbg_ptr,e,t);if(n[1])throw f(n[0])}__GetConfig(e){let t=r.mainthreadwasmcontext___GetConfig(this.__wbg_ptr,e);if(t[2])throw f(t[1]);return f(t[0])}__UpdateComponentID(e,t){var n=b(t)?0:d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;let o=r.mainthreadwasmcontext___UpdateComponentID(this.__wbg_ptr,e,n,i);if(o[1])throw f(o[0])}__SetDataset(e,t,n){let i=r.mainthreadwasmcontext___SetDataset(this.__wbg_ptr,e,t,n);if(i[1])throw f(i[0])}__AddDataset(e,t,n){let i=r.mainthreadwasmcontext___AddDataset(this.__wbg_ptr,e,t,n);if(i[1])throw f(i[0])}__GetDataset(e){let t=r.mainthreadwasmcontext___GetDataset(this.__wbg_ptr,e);if(t[2])throw f(t[1]);return f(t[0])}__GetDataByKey(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,o=r.mainthreadwasmcontext___GetDataByKey(this.__wbg_ptr,e,n,i);if(o[2])throw f(o[1]);return f(o[0])}_wasm_elementFromBinary(e,t,n,i){let o=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,s=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;m(i,C);let c=r.mainthreadwasmcontext__wasm_elementFromBinary(this.__wbg_ptr,e,o,_,s,a,i.__wbg_ptr);if(c[2])throw f(c[1]);return f(c[0])}__wasm_add_event_bts(e,t,n,i){let o=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,s=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;var c=b(i)?0:d(i,r.__wbindgen_malloc,r.__wbindgen_realloc),u=l;r.mainthreadwasmcontext___wasm_add_event_bts(this.__wbg_ptr,e,o,_,s,a,c,u)}__wasm_add_event_run_worklet(e,t,n,i){let o=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,s=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;r.mainthreadwasmcontext___wasm_add_event_run_worklet(this.__wbg_ptr,e,o,_,s,a,b(i)?0:w(i))}__GetEvent(e,t,n){let i=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l,_=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;return r.mainthreadwasmcontext___GetEvent(this.__wbg_ptr,e,i,o,_,s)}__GetEvents(e){let t=r.mainthreadwasmcontext___GetEvents(this.__wbg_ptr,e);var n=y(t[0],t[1]).slice();return r.__wbindgen_free(t[0],4*t[1],4),n}dispatch_event_by_path(e,t,n,i){let o=x(e,r.__wbindgen_malloc),_=l,s=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;return 0!==r.mainthreadwasmcontext_dispatch_event_by_path(this.__wbg_ptr,o,_,s,a,n,i)}__wasm_commonEventHandler(e,t,n){let i=x(t,r.__wbindgen_malloc),o=l,_=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;r.mainthreadwasmcontext___wasm_commonEventHandler(this.__wbg_ptr,e,i,o,_,s)}__wasm_set_css_id(e,t){let n=x(e,r.__wbindgen_malloc),i=l;r.mainthreadwasmcontext___wasm_set_css_id(this.__wbg_ptr,n,i,t)}__wasm_AddInlineStyle_str_key(e,t,n){let i=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;var _=b(n)?0:d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;r.mainthreadwasmcontext___wasm_AddInlineStyle_str_key(this.__wbg_ptr,e,i,o,_,s)}__wasm_AddInlineStyle_number_key(e,t,n){var i=b(n)?0:d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;r.mainthreadwasmcontext___wasm_AddInlineStyle_number_key(this.__wbg_ptr,e,t,i,o)}__wasm_SetInlineStyles(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;return 0!==r.mainthreadwasmcontext___wasm_SetInlineStyles(this.__wbg_ptr,e,n,i)}constructor(e,t,n,i,o){const _=r.mainthreadwasmcontext_new(e,t,n,i,o);return this.__wbg_ptr=_>>>0,O.register(this,this.__wbg_ptr,this),this}__wasm_set_page_element_unique_id(e){r.mainthreadwasmcontext___wasm_set_page_element_unique_id(this.__wbg_ptr,e)}__CreateElementCommon(e,t,n,i){var o=b(i)?0:d(i,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;return r.mainthreadwasmcontext___CreateElementCommon(this.__wbg_ptr,e,t,b(n)?0x100000001:0|n,o,_)>>>0}__wasm_take_timing_flags(){let e=r.mainthreadwasmcontext___wasm_take_timing_flags(this.__wbg_ptr);var t=y(e[0],e[1]).slice();return r.__wbindgen_free(e[0],4*e[1],4),t}__wasm_get_unique_id_by_component_id(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,i=r.mainthreadwasmcontext___wasm_get_unique_id_by_component_id(this.__wbg_ptr,t,n);return 0x100000001===i?void 0:i}__wasm_get_css_id_by_unique_id(e){let t=r.mainthreadwasmcontext___wasm_get_css_id_by_unique_id(this.__wbg_ptr,e);return 0x100000001===t?void 0:t}}Symbol.dispose&&(I.prototype[Symbol.dispose]=I.prototype.free);let A="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_rawstyleinfo_free(e>>>0,1));class M{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,A.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_rawstyleinfo_free(e,0)}constructor(){const e=r.rawstyleinfo_new();return this.__wbg_ptr=e>>>0,A.register(this,this.__wbg_ptr,this),this}append_import(e,t){r.rawstyleinfo_append_import(this.__wbg_ptr,e,t)}push_rule(e,t){m(t,P);var n=t.__destroy_into_raw();r.rawstyleinfo_push_rule(this.__wbg_ptr,e,n)}}Symbol.dispose&&(M.prototype[Symbol.dispose]=M.prototype.free);let D="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_rule_free(e>>>0,1));class P{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,D.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_rule_free(e,0)}constructor(e){const t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,i=r.rule_new(t,n);if(i[2])throw f(i[1]);return this.__wbg_ptr=i[0]>>>0,D.register(this,this.__wbg_ptr,this),this}set_prelude(e){m(e,j);var t=e.__destroy_into_raw();r.rule_set_prelude(this.__wbg_ptr,t)}push_declaration(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,o=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;r.rule_push_declaration(this.__wbg_ptr,n,i,o,_)}push_rule_children(e){m(e,P);var t=e.__destroy_into_raw();r.rule_push_rule_children(this.__wbg_ptr,t)}}Symbol.dispose&&(P.prototype[Symbol.dispose]=P.prototype.free);let N="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_ruleprelude_free(e>>>0,1));class j{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,N.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_ruleprelude_free(e,0)}constructor(){const e=r.ruleprelude_new();return this.__wbg_ptr=e>>>0,N.register(this,this.__wbg_ptr,this),this}push_selector(e){m(e,U);var t=e.__destroy_into_raw();r.ruleprelude_push_selector(this.__wbg_ptr,t)}}Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);let L="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_selector_free(e>>>0,1));class U{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,L.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_selector_free(e,0)}constructor(){const e=r.ruleprelude_new();return this.__wbg_ptr=e>>>0,L.register(this,this.__wbg_ptr,this),this}push_one_selector_section(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,o=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=l,s=r.selector_push_one_selector_section(this.__wbg_ptr,n,i,o,_);if(s[1])throw f(s[0])}}Symbol.dispose&&(U.prototype[Symbol.dispose]=U.prototype.free);let W=new Set(["basic","cors","default"]);async function F(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&W.has(e.type)&&"application/wasm"!==e.headers.get("Content-Type"))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",t);else throw t}let n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}function q(){let e={};return e.wbg={},e.wbg.__wbg_Error_e83987f665cf5504=function(e,t){return Error(a(e,t))},e.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763=function(e,t){let n=d(function e(t){let n,r=typeof t;if("number"==r||"boolean"==r||null==t)return`${t}`;if("string"==r)return`"${t}"`;if("symbol"==r){let e=t.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==r){let e=t.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(t)){let n=t.length,r="[";n>0&&(r+=e(t[0]));for(let i=1;i<n;i++)r+=", "+e(t[i]);return r+"]"}let i=/\[object ([^\]]+)\]/.exec(toString.call(t));if(!i||!(i.length>1))return toString.call(t);if("Object"==(n=i[1]))try{return"Object("+JSON.stringify(t)+")"}catch(e){return"Object"}return t instanceof Error?`${t.name}: ${t.message}
2
2
  ${t.stack}`:n}(t),r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;g().setInt32(e+4,i,!0),g().setInt32(e+0,n,!0)},e.wbg.__wbg___wbindgen_is_null_5e69f72e906cc57c=function(e){return null===e},e.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478=function(e){return void 0===e},e.wbg.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50=function(e,t){return e===t},e.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b=function(e,t){let n="string"==typeof t?t:void 0;var i=b(n)?0:d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=l;g().setInt32(e+4,o,!0),g().setInt32(e+0,i,!0)},e.wbg.__wbg___wbindgen_throw_b855445ff6a94295=function(e,t){throw Error(a(e,t))},e.wbg.__wbg_addEventListener_509b0778ff0f5d80=function(e,t,n){e.addEventListener(a(t,n))},e.wbg.__wbg_appendChild_aec7a8a4bd6cac61=function(){return p(function(e,t){return e.appendChild(t)},arguments)},e.wbg.__wbg_assign_322cd025d1feae78=function(e,t){return Object.assign(e,t)},e.wbg.__wbg_cloneNode_4ff138eda9fcd474=function(){return p(function(e,t){return e.cloneNode(0!==t)},arguments)},e.wbg.__wbg_content_a7b60fc3c1ac64bd=function(e){return e.content},e.wbg.__wbg_createElement_964ab674a0176cd8=function(){return p(function(e,t,n){return e.createElement(a(t,n))},arguments)},e.wbg.__wbg_disableElementEvent_54563f003ce6f005=function(e,t,n,r){e.disableElementEvent(t>>>0,a(n,r))},e.wbg.__wbg_done_2042aa2670fb1db1=function(e){return e.done},e.wbg.__wbg_enableElementEvent_b56814551effb38c=function(e,t,n,r){e.enableElementEvent(t>>>0,a(n,r))},e.wbg.__wbg_eventinfo_new=function(e){return T.__wrap(e)},e.wbg.__wbg_firstChild_dab0d4655f86bce5=function(e){let t=e.firstChild;return b(t)?0:w(t)},e.wbg.__wbg_getAttribute_a0d65fabc2f0d559=function(e,t,n,i){let o=t.getAttribute(a(n,i));var _=b(o)?0:d(o,r.__wbindgen_malloc,r.__wbindgen_realloc),s=l;g().setInt32(e+4,s,!0),g().setInt32(e+0,_,!0)},e.wbg.__wbg_get_7bed016f185add81=function(e,t){return e[t>>>0]},e.wbg.__wbg_get_efcb449f58ec27c2=function(){return p(function(e,t){return Reflect.get(e,t)},arguments)},e.wbg.__wbg_has_787fafc980c3ccdb=function(){return p(function(e,t){return Reflect.has(e,t)},arguments)},e.wbg.__wbg_keys_b4d27b02ad14f4be=function(e){return Object.keys(e)},e.wbg.__wbg_length_69bca3cb64fc8748=function(e){return e.length},e.wbg.__wbg_length_cdd215e10d9dd507=function(e){return e.length},e.wbg.__wbg_loadInternalWebElement_8cae19b87cc26220=function(e,t){e.loadInternalWebElement(t>>>0)},e.wbg.__wbg_loadUnknownElement_762c72a091c9dc9e=function(e,t,n){e.loadUnknownElement(a(t,n))},e.wbg.__wbg_markExposureRelatedElementByUniqueId_c37ed9a4da654c4e=function(e,t,n){e.markExposureRelatedElementByUniqueId(t>>>0,0!==n)},e.wbg.__wbg_new_1acc0b6eea89d040=function(){return{}},e.wbg.__wbg_new_from_slice_92f4d78ca282a2d2=function(e,t){return new Uint8Array(h(e,t))},e.wbg.__wbg_next_020810e0ae8ebcb0=function(){return p(function(e){return e.next()},arguments)},e.wbg.__wbg_prototypesetcall_2a6620b6922694b2=function(e,t,n){Uint8Array.prototype.set.call(h(e,t),n)},e.wbg.__wbg_publishEvent_9003166a9524dc81=function(e,t,n,r,i,o,_,s,l,c){e.publishEvent(a(t,n),0===r?void 0:a(r,i),o,_>>>0,s,l>>>0,c)},e.wbg.__wbg_querySelectorAll_28da62a91120d3e9=function(){return p(function(e,t,n){return e.querySelectorAll(a(t,n))},arguments)},e.wbg.__wbg_removeAttribute_993c4bef8df6e74d=function(){return p(function(e,t,n){e.removeAttribute(a(t,n))},arguments)},e.wbg.__wbg_removeProperty_f76e32d12224854d=function(){return p(function(e,t,n,i){let o=d(t.removeProperty(a(n,i)),r.__wbindgen_malloc,r.__wbindgen_realloc),_=l;g().setInt32(e+4,_,!0),g().setInt32(e+0,o,!0)},arguments)},e.wbg.__wbg_runWorklet_6d04359b8a8c370f=function(e,t,n,r,i,o,_){e.runWorklet(t,n,r>>>0,i,o>>>0,_)},e.wbg.__wbg_setAttribute_9bad76f39609daac=function(){return p(function(e,t,n,r,i){e.setAttribute(a(t,n),a(r,i))},arguments)},e.wbg.__wbg_setProperty_7b188d7e71d4aca8=function(){return p(function(e,t,n,r,i){e.setProperty(a(t,n),a(r,i))},arguments)},e.wbg.__wbg_set_c2abbebe8b9ebee1=function(){return p(function(e,t,n){return Reflect.set(e,t,n)},arguments)},e.wbg.__wbg_style_763a7ccfd47375da=function(e){return e.style},e.wbg.__wbg_value_692627309814bb8c=function(e){return e.value},e.wbg.__wbg_values_fea03b2a33fe593c=function(e){return e.values()},e.wbg.__wbindgen_cast_2241b6af4c4b2941=function(e,t){return a(e,t)},e.wbg.__wbindgen_cast_d6cd19b81560fd6e=function(e){return e},e.wbg.__wbindgen_init_externref_table=function(){let e=r.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)},e.wbg.__wbindgen_object_is_undefined=function(e){return void 0===e},e}function G(e,t){return r=e.exports,B.__wbindgen_wasm_module=t,u=null,v=null,i=null,r.__wbindgen_start(),r}function z(e){if(void 0!==r)return r;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?{module:e}=e:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let t=q();return e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e)),G(new WebAssembly.Instance(e,t),e)}async function B(e){if(void 0!==r)return r;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===e&&(e=new URL(n(6462),n.b));let t=q();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));let{instance:i,module:o}=await F(await e,t);return G(i,o)}let $=B},6658(e,t,n){n.d(t,{Q:()=>_});var r=n(1180);let i=Promise.resolve().then(n.bind(n,9521));class o{#e=new Map;#t=new Map;#n=new Map;#r=null;#i=null;#o=null;constructor(){this.#_()}fetchBundle(e,t,n){return this.#e.has(e)&&!n?(async()=>{let n=this.#e.get(e),r=n?.config||{},i=await t;i.backgroundThread.markTiming("decode_start"),i.onPageConfigReady(r);let o=n?.styleInfo;o&&i.onStyleInfoReady(o,e),i.onMTSScriptsLoaded(e,"true"===r.isLazy),i.onBTSScriptsLoaded(e)})():(this.createTemplate(e),this.#s(e,t,n))}async #s(e,t,n){let r=performance.now()+performance.timeOrigin;t.then(e=>{e.backgroundThread.markTiming("fetch_start",void 0,r)}),this.#t.set(e,t),await this.#_();let i={type:"load",url:e,fetchUrl:new URL(e,location.href).toString(),overrideConfig:n};return this.#r.postMessage(i),new Promise((t,n)=>{this.#n.set(e,{resolve:t,reject:n})})}#a(e){let t=this.#n.get(e);t&&(t.resolve(),this.#n.delete(e))}#l(e,t){let n=this.#n.get(e);n&&(n.reject(t),this.#n.delete(e))}#_(){return this.#r?this.#i?this.#i:void 0:(this.#i=new Promise(e=>{this.#o=e}),this.#r=new Worker(new URL(n.p+n.u("350"),n.b),Object.assign({},{type:"module"},{type:void 0})),this.#r.onmessage=this.#c.bind(this),this.#i.then(()=>{i.then(({wasmModule:e})=>{this.#r.postMessage({type:"init",wasmModule:e})})}),this.#i)}#c(e){let t=e.data;if("ready"===t.type){this.#o&&(this.#o(),this.#o=null,this.#i=null);return}let{url:n}=t,r=this.#t.get(n);if(r)switch(t.type){case"section":this.#d(t,r);break;case"error":console.error(`Error decoding template ${n}:`,t.error),this.#u(n),this.#g(n),this.#l(n,Error(t.error));break;case"done":this.#u(n),r.then(e=>{e.backgroundThread.markTiming("decode_end"),e.backgroundThread.markTiming("load_template_start"),this.#a(n)})}}async #d(e,t){let[n,{DecodedStyle:o,ElementTemplateSection:_}]=await Promise.all([t,i.then(({DecodedStyle:e,wasmInstance:t})=>({DecodedStyle:e,ElementTemplateSection:t.ElementTemplateSection}))]),{label:s,data:a,url:l,config:c}=e;switch(s){case r.eC.Configurations:n.backgroundThread.markTiming("decode_start"),this.#b(l,a),n.onPageConfigReady(a);break;case r.eC.StyleInfo:{let e=new o(new Uint8Array(a));this.#w(l,e),n.onStyleInfoReady(e,l);break}case r.eC.LepusCode:this.#p(l,a),n.onMTSScriptsLoaded(l,"true"===c.isLazy);break;case r.eC.ElementTemplates:let d=_.from_encoded(new Uint8Array(a));this.setElementTemplateSection(l,d);break;case r.eC.CustomSections:this.#h(l,a);break;case r.eC.Manifest:this.#f(l,a),n.onBTSScriptsLoaded(l);break;default:throw Error(`Unknown section label: ${s}`)}}#u(e){this.#t.delete(e)}createTemplate(e){if(this.#e.has(e)){let t=this.#e.get(e);if(t){if(t.lepusCode)for(let e of Object.values(t.lepusCode))URL.revokeObjectURL(e);if(t.backgroundCode)for(let e of Object.values(t.backgroundCode))URL.revokeObjectURL(e)}this.#e.delete(e)}this.#e.set(e,{})}#g(e){this.#e.delete(e)}#b(e,t){let n=this.#e.get(e);n&&(n.config=t)}#w(e,t){let n=this.#e.get(e);n&&(n.styleInfo=t)}#p(e,t){let n=this.#e.get(e);n&&(n.lepusCode=t)}setElementTemplateSection(e,t){let n=this.#e.get(e);n&&(n.elementTemplates=t)}#h(e,t){let n=this.#e.get(e);n&&(n.customSections=t)}#f(e,t){let n=this.#e.get(e);n&&(n.backgroundCode=t)}getTemplate(e){return this.#e.get(e)}}let _=new o},9521(e,t,n){n.a(e,async function(e,r){try{n.r(t),n.d(t,{DecodedStyle:()=>a,wasmInstance:()=>_,wasmModule:()=>s});var i=n(480);let e="u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,o=(0,i.rO)().then(t=>{if(t)return Promise.all([Promise.resolve().then(n.bind(n,5704)),e?void 0:WebAssembly.compileStreaming(fetch(new URL(n(6462),n.b)))]);throw Error("WASM not supported")}),[_,s]=await o;e||_.initSync({module:s});class a{static webWorkerDecode(e,t,n){return _.DecodedStyleData.decode_into(e,n,t)}#m;style_content;font_face_content;constructor(e){this.#m=new _.DecodedStyleData(e),this.style_content=this.#m.style_content,this.font_face_content=this.#m.font_face_content,this.query_css_og_declarations_by_css_id=this.#m.query_css_og_declarations_by_css_id.bind(this.#m)}query_css_og_declarations_by_css_id}r()}catch(e){r(e)}},1)},1180(e,t,n){n.d(t,{$4:()=>b,Fd:()=>u,Gm:()=>a,H1:()=>y,JA:()=>o,O4:()=>m,Pb:()=>i,RM:()=>g,Wx:()=>k,eC:()=>p,f7:()=>l,hv:()=>d,im:()=>w,js:()=>r,li:()=>x,oZ:()=>s,u9:()=>S,vh:()=>v,xW:()=>c,y:()=>_});let r="l-css-id",i="l-e-name",o="l-disposed",_="l-template",s="dirtyID",a="lynx-default-display-linear",l="lynx-default-overflow-visible",c="__lynx_timing_flag",d="i18nResourceMissed",u=Symbol("uniqueId"),g={platform:"web",lynxSdkVersion:"3.0"},b={click:"tap",lynxscroll:"scroll",lynxscrollend:"scrollend",overlaytouch:"touch",lynxfocus:"focus",lynxblur:"blur",lynxinput:"input"},w=Object.fromEntries(Object.entries(b).map(([e,t])=>[t,e])),p={Manifest:1,StyleInfo:2,LepusCode:3,CustomSections:4,ElementTemplates:5,Configurations:6};var h,f,m=((h={})[h.SUCCESS=0]="SUCCESS",h[h.UNKNOWN=1]="UNKNOWN",h[h.NODE_NOT_FOUND=2]="NODE_NOT_FOUND",h[h.METHOD_NOT_FOUND=3]="METHOD_NOT_FOUND",h[h.PARAM_INVALID=4]="PARAM_INVALID",h[h.SELECTOR_NOT_SUPPORTED=5]="SELECTOR_NOT_SUPPORTED",h[h.NO_UI_FOR_NODE=6]="NO_UI_FOR_NODE",h);let y=Object.freeze(Object.assign(Object.create(null),{view:"x-view",text:"x-text",image:"x-image","raw-text":"raw-text","scroll-view":"x-scroll-view",wrapper:"lynx-wrapper",list:"x-list",page:"div",input:"x-input","x-input-ng":"x-input",svg:"x-svg"})),v=Object.freeze(Object.assign(Object.create(null),Object.fromEntries(Object.entries(y).map(([e,t])=>[t,e]))));Object.assign(Object.create(null),{list:0,"x-swiper":1,"x-input":2,"x-input-ng":2,input:2,"x-textarea":3,"x-audio-tt":4,"x-foldview-ng":5,"x-foldview-header-ng":5,"x-foldview-slot-drag-ng":5,"x-foldview-slot-ng":5,"x-foldview-toolbar-ng":5,"x-refresh-view":6,"x-refresh-header":6,"x-refresh-footer":6,"x-overlay-ng":7,"x-viewpager-ng":8,"x-viewpager-item-ng":8});let x=Symbol.for("lynx-scroll-container-dom"),S="loadUnknownElement";var k=((f={})[f.ID_SELECTOR=0]="ID_SELECTOR",f[f.REF_ID=1]="REF_ID",f[f.UNIQUE_ID=2]="UNIQUE_ID",f)},480(e,t,n){n.d(t,{rO:()=>r});let r=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,7,1,5,0,208,112,26,11]))}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,exports:{}};return r[e](n,n.exports,o),n.exports}o.m=r,s=(_="function"==typeof Symbol)?Symbol("rspack queues"):"__rspack_queues",a=o.aE=_?Symbol("rspack exports"):"__webpack_exports__",l=_?Symbol("rspack error"):"__rspack_error",c=_?Symbol("rspack done"):"__rspack_done",d=o.zS=_?Symbol("rspack defer"):"__rspack_defer",u=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},o.a=(e,t,n)=>{n&&((r=[]).d=-1);var r,_,g,b,w=new Set,p=e.exports,h=new Promise((e,t)=>{b=t,g=e});h[a]=p,h[s]=e=>{r&&e(r),w.forEach(e),h.catch(()=>{})},e.exports=h,t(e=>{_=e.map(e=>{if(null!==e&&"object"==typeof e){if(!e[s]&&e[d]){var t=e[d];if(!t.some(e=>{var t=i[e];return!t||!1===t[c]}))return e;var n=e;e={then(e){Promise.all(t.map(o)).then(()=>e(n))}}}if(e[s])return e;if(e.then){var r=[];r.d=0,e.then(e=>{_[a]=e,u(r)},e=>{_[l]=e,u(r)});var _={};return _[d]=!1,_[s]=e=>e(r),_}}var g={};return g[s]=()=>{},g[a]=e,g});var t,n=()=>_.map(e=>{if(e[d])return e;if(e[l])throw e[l];return e[a]}),g=new Promise(e=>{(t=()=>e(n)).r=0;var i=e=>e!==r&&!w.has(e)&&(w.add(e),e&&!e.d&&(t.r++,e.push(t)));_.map(e=>e[d]||e[s](i))});return t.r?g:n()},e=>(e?b(h[l]=e):g(p),u(r),h[c]=!0)),r&&r.d<0&&(r.d=0)},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=(e,t)=>Promise.all(Object.keys(o.f).reduce((n,r)=>(o.f[r](e,n,t),n),[])),o.u=e=>"static/js/async/"+({185:"web-elements-list",350:"web-core-template-loader-thread",43:"web-elements-textarea",555:"web-elements-foldview",577:"web-elements-swiper",589:"web-elements-input",614:"web-elements-refrshview",625:"web-elements-overlay",785:"web-elements-viewpager",843:"web-elements-audio",894:"web-core-main-chunk",97:"web-core-worker-chunk"})[e]+".js",o.miniCssF=e=>"static/css/async/web-core-main-chunk.css",o.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),g={},o.l=function(e,t,n,r,i){if(g[e])return void g[e].push(t);if(void 0!==n)for(var _,s,a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var c=a[l];if(c.getAttribute("src")==e||c.getAttribute("data-rspack")=="@lynx-js/web-core-wasm:"+n){_=c;break}}_||(s=!0,(_=document.createElement("script")).timeout=120,o.nc&&_.setAttribute("nonce",o.nc),_.setAttribute("data-rspack","@lynx-js/web-core-wasm:"+n),i&&_.setAttribute("fetchpriority",i),_.src=e),g[e]=[t];var d=function(t,n){_.onerror=_.onload=null,clearTimeout(u);var r=g[e];if(delete g[e],_.parentNode&&_.parentNode.removeChild(_),r&&r.forEach(function(e){return e(n)}),t)return t(n)},u=setTimeout(d.bind(null,void 0,{type:"timeout",target:_}),12e4);_.onerror=d.bind(null,_.onerror),_.onload=d.bind(null,_.onload),s&&document.head.appendChild(_)},o.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.g.importScripts&&(b=o.g.location+"");var _,s,a,l,c,d,u,g,b,w=o.g.document;if(!b&&w&&(w.currentScript&&"SCRIPT"===w.currentScript.tagName.toUpperCase()&&(b=w.currentScript.src),!b)){var p=w.getElementsByTagName("script");if(p.length)for(var h=p.length-1;h>-1&&(!b||!/^http(s?):/.test(b));)b=p[h--].src}if(!b)throw Error("Automatic publicPath is not supported in this browser");if(o.p=(b=b.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"))+"../../","u">typeof document){var f=function(e,t,n,r,i){var _=document.createElement("link");return _.rel="stylesheet",_.type="text/css",o.nc&&(_.nonce=o.nc),_.href=t,_.onerror=_.onload=function(n){if(_.onerror=_.onload=null,"load"===n.type)r();else{var o=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.href||t,a=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");a.code="CSS_CHUNK_LOAD_FAILED",a.type=o,a.request=s,_.parentNode&&_.parentNode.removeChild(_),i(a)}},n?n.parentNode.insertBefore(_,n.nextSibling):document.head.appendChild(_),_},m=function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var i=n[r],o=i.getAttribute("data-href")||i.getAttribute("href");if(o&&(o=o.split("?")[0]),"stylesheet"===i.rel&&(o===e||o===t))return i}for(var _=document.getElementsByTagName("style"),r=0;r<_.length;r++){var i=_[r],o=i.getAttribute("data-href");if(o===e||o===t)return i}},y={719:0};o.f.miniCss=function(e,t){if(y[e])t.push(y[e]);else 0!==y[e]&&({894:1})[e]&&t.push(y[e]=new Promise(function(t,n){var r=o.miniCssF(e),i=o.p+r;if(m(r,i))return t();f(e,i,null,t,n)}).then(function(){y[e]=0},function(t){throw delete y[e],t}))}}o.b=document.baseURI||self.location.href,e={719:0},o.f.j=function(t,n,r){var i=o.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var _=new Promise((n,r)=>i=e[t]=[n,r]);n.push(i[2]=_);var s=o.p+o.u(t),a=Error();o.l(s,function(n){if(o.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var r=n&&("load"===n.type?"missing":n.type),_=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+_+")",a.name="ChunkLoadError",a.type=r,a.request=_,i[1](a)}},"chunk-"+t,t,r)}},t=(t,n)=>{var r,i,[_,s,a]=n,l=0;if(_.some(t=>0!==e[t])){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);a&&a(o)}for(t&&t(n);l<_.length;l++)i=_[l],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},(n=globalThis.webpackChunk_lynx_js_web_core_wasm=globalThis.webpackChunk_lynx_js_web_core_wasm||[]).forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n)),(()=>{var e=o(1180);let t=document.querySelector("script[nonce]"),n=t?.nonce||t?.getAttribute("nonce");async function r(e){let t=document.createElement("iframe"),r=new Promise(e=>{let n=r=>{"lynx:mtsready"===r.data&&r.source===t.contentWindow&&(e(),globalThis.removeEventListener("message",n))};globalThis.addEventListener("message",n)});t.style.display="none",t.srcdoc='<!DOCTYPE html><html><head><script>parent.postMessage("lynx:mtsready","*")<\/script></head><body style="display:none"></body></html>',t.sandbox="allow-same-origin allow-scripts",t.loading="eager",e.appendChild(t),await r;let i=t.contentWindow,o=async e=>{let r=t.contentDocument.createElement("script");return r.fetchPriority="high",r.defer=!0,r.async=!1,r.nonce=n||"",t.contentDocument.head.appendChild(r),new Promise(async(t,n)=>{r.onload=()=>{let e=i?.module?.exports;i.module={exports:void 0},t(e)},r.onerror=t=>n(Error(`Failed to load script: ${e}`,{cause:t})),i.module={exports:void 0},r.src=e})};return{globalWindow:i,loadScript:o,loadScriptSync:e=>{let n=new XMLHttpRequest;if(n.open("GET",e,!1),n.send(null),200===n.status){let e=t.contentDocument.createElement("script");e.textContent=n.responseText,i.module={exports:void 0},t.contentDocument.head.appendChild(e);let r=i?.module?.exports;return i.module={exports:void 0},r}throw Error(`Failed to load script: ${e}`,{cause:n})}}}var i=o(6658);o.e("894","high").then(o.bind(o,3764));class _ extends HTMLElement{static lynxViewCount=0;static tag="lynx-view";static observedAttributeAsProperties=["url","global-props","init-data"];static observedAttributes=_.observedAttributeAsProperties.map(e=>e.toLowerCase());#y;#v=!1;#x;nativeModulesMap;napiModulesMap;onNapiModulesCall;constructor(){super(),this.onNativeModulesCall||(this.onNativeModulesCall=(e,t,n)=>new Promise(r=>{this.#S.push({args:[e,t,n],resolve:r})}))}get url(){return this.#x}set url(e){this.#x=e,this.#k()}#E={};get globalProps(){return this.#E}set globalProps(e){"string"==typeof e?this.#E=JSON.parse(e):this.#E=e}#C={};get initData(){return this.#C}set initData(e){"string"==typeof e?this.#C=JSON.parse(e):this.#C=e}#R=[];get initI18nResources(){return this.#R}set initI18nResources(e){"string"==typeof e?this.#R=JSON.parse(e):this.#R=e}updateI18nResources(e,t){this.#y?.i18nManager.updateData(e,t)}#T={page:"div"};get overrideLynxTagToHTMLTagMap(){return this.#T}set overrideLynxTagToHTMLTagMap(e){"string"==typeof e?this.#T=JSON.parse(e):this.#T=e}#S=[];#O;get onNativeModulesCall(){return this.#O}set onNativeModulesCall(e){for(let t of(this.#O=e,this.#S))t.resolve(e.apply(void 0,t.args));this.#S=[]}get lynxGroupId(){return this.getAttribute("lynx-group-id")?Number(this.getAttribute("lynx-group-id")):void 0}set lynxGroupId(e){e?this.setAttribute("lynx-group-id",e.toString()):this.removeAttribute("lynx-group-id")}updateData(e,t,n){this.#y?.updateData(e,t).then(()=>{n?.()})}updateGlobalProps(e){this.#y?.updateGlobalProps(e),this.globalProps=e}sendGlobalEvent(e,t){this.#y?.backgroundThread.sendGlobalEvent(e,t)}reload(){this.removeAttribute("ssr"),this.#k()}setAttribute(e,t){"false"===t?this.removeAttribute(e):super.setAttribute(e,t)}attributeChangedCallback(e,t,n){if(t!==n)switch(e){case"url":this.#x=n;break;case"global-props":this.#E=JSON.parse(n);break;case"init-data":this.#C=JSON.parse(n)}}injectStyleRules;disconnectedCallback(){this.shadowRoot?.querySelector('[part="page"]')?.setAttribute(e.JA,""),this.#y?.[Symbol.asyncDispose](),this.shadowRoot&&(this.shadowRoot.innerHTML=""),this.#y=void 0}#I=!1;#k(){if(!this.#I&&this.#v){this.#I=!0,this.shadowRoot||this.attachShadow({mode:"open"}),this.#y&&this.disconnectedCallback();let e=r(this.shadowRoot);queueMicrotask(async()=>{if(this.injectStyleRules&&this.injectStyleRules.length>0){let e=new CSSStyleSheet;for(let t of this.injectStyleRules)e.insertRule(t);this.shadowRoot.adoptedStyleSheets=this.shadowRoot.adoptedStyleSheets.concat(e)}let t=await e;if(this.#x){let e=o.e("894","high").then(o.bind(o,3764)).then(({LynxViewInstance:e})=>new e(this,this.initData,this.globalProps,this.#x,this.shadowRoot,t,n,this.nativeModulesMap,this.napiModulesMap,this.#R));i.Q.fetchBundle(this.#x,e);let n=this.lynxGroupId;this.#y=await e,this.#I=!1}})}}connectedCallback(){this.url&&(this.#x=this.url),this.#v=!0,this.#k()}}customElements.get(_.tag)?console.error(`[${_.tag}] has already been defined`):customElements.define(_.tag,_)})()})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-wasm-canary",
3
- "version": "0.0.1-canary-20260116-ce265e8f",
3
+ "version": "0.0.1-canary-20260116-ff5a5b09",
4
4
  "description": "This is an internal experimental package, do not use",
5
5
  "repository": {
6
6
  "type": "git",
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.11.0",
55
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.6-canary-20260116-ce265e8f",
55
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.6-canary-20260116-ff5a5b09",
56
56
  "hyphenate-style-name": "^1.1.0"
57
57
  },
58
58
  "devDependencies": {