@keadex/mina-react 2.8.0 → 2.10.0
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.
|
Binary file
|
|
Binary file
|
package/core.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _,e,t,n,r={196:(_,e,t)=>{var n=t(457);_.exports=t.v(e,_.id,"a348b06643dd8ebe9662",{"./mina_react_bg.js":{__wbg_log_c222819a41e063d3:n.pR9,__wbg_info_3daf2e093e091b66:n.ZrD,__wbg_warn_4ca3906c248c47c4:n.jwJ,__wbg_debug_3cb59063b29f58c1:n.F$t,__wbg_error_524f506f44df1645:n.pWA,__wbindgen_string_new:n.ycJ,__wbindgen_string_get:n.qNE,__wbindgen_bigint_get_as_i64:n.DMD,__wbindgen_memory:n.Py0,__wbindgen_throw:n.Qnr,__wbindgen_debug_string:n.rl,__wbg_new_5e0be73521bc8c17:n.aIY,__wbg_new_78feb108b6472713:n.M2,__wbindgen_number_new:n.QRK,__wbg_new_405e22f390576ce2:n.va5,__wbg_newnoargs_105ed471475aaf50:n.VrZ,__wbg_new_a12002a7f91c75be:n.vVD,__wbg_stringify_f7ed6987935b4a24:n.Y6F,__wbindgen_is_function:n.PRY,__wbindgen_is_string:n.GuA,__wbindgen_is_object:n.qvD,__wbg_next_25feadfc0913fea9:n.yqB,__wbg_buffer_609cc3eee51ed158:n.FHK,__wbg_byteLength_e674b853d9c77e1d:n.x6W,__wbg_byteOffset_fd862df290ef848d:n.cyg,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:n.hI8,__wbg_length_a446193dc22c12f8:n.eIr,__wbg_set_65595bdd868b3009:n.HBq,__wbg_newwithlength_a381634e90c276d4:n.HtP,__wbg_buffer_09165b52af8c5237:n._Ue,__wbg_subarray_aa9065fa9dc5df96:n.TOc,__wbg_done_769e5ede4b31c67b:n.Xb8,__wbg_value_cd1ffa7b1ab794f1:n.LMq,__wbg_next_c3ab0d59847b3b5c:n.tER,__wbg_instanceof_Error_4d54113b22d20306:n.fcg,__wbg_instanceof_Uint8Array_17156bcf118086a9:n.SJf,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:n.gGA,__wbg_set_8fc6bf8a5b1071d1:n.iAh,__wbg_get_b9b93047fe3cf45b:n.RKz,__wbg_set_37837023f3d740e8:n.p8e,__wbg_length_e2d2a49132c1b256:n.Ry,__wbg_push_737cfc8c1432c2c6:n.tZf,__wbg_isArray_a1eab7e0d067391b:n.uod,__wbg_new_c68d7209be747379:n.wd3,__wbg_message_97a2af9b89d693a3:n.oGe,__wbg_isSafeInteger_343e2beeeece1bb0:n.Yb6,__wbg_entries_3265d4158b33e5dc:n.gHg,__wbg_iterator_9a24c88df860dc65:n.eW0,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:n.w6e,__wbindgen_is_undefined:n.vUM,__wbg_call_672a4d21634d4a24:n.wHY,__wbg_static_accessor_SELF_37c5d418e4bf5819:n.fb$,__wbg_static_accessor_GLOBAL_88a902d13a557d07:n.ii7,__wbg_static_accessor_WINDOW_5de37043a91a9c40:n.x0C,__wbg_new_23a2665fac83c611:n.c6u,__wbg_then_44b73946d2fb3e7d:n.GQG,__wbg_then_48b406749878a531:n.xV_,__wbg_resolve_4851785c9c5f573d:n.wJz,__wbg_call_7cccdd69e0791ae2:n.w9h,__wbg_next_6574e1a8a62d1055:n.Dn4,__wbindgen_number_get:n.sWe,__wbg_get_67b2ba62fc30de12:n.dzD,__wbg_setkeepexistingdata_ee7c8cb466e9477f:n.aKt,__wbg_instanceof_FileSystemFileHandle_d3d037cf85ee546c:n.KA3,__wbg_createWritable_b4ed240dc879905e:n.kPb,__wbg_getFile_2607bc0123c724e0:n.ycy,__wbg_postMessage_83a8d58d3fcb6c13:n.A2$,__wbg_byobRequest_77d9adf63337edfb:n.JpR,__wbg_close_5ce03e29be453811:n.sQY,__wbg_append_299d5d48292c0495:n.cVx,__wbg_append_b44785ebeb668479:n.d_N,__wbg_append_b2d1fc16de2a0e81:n.WqA,__wbg_new_9fd39a253424609a:n.z09,__wbg_respond_1f279fa9f8edcb1c:n.dSQ,__wbg_view_fd8a56e8983f448d:n.NgT,__wbg_seek_3f0f8d7591f648d7:n.Zk3,__wbg_write_397d977609afc729:n.Vob,__wbg_new_e25e5aab09ff45db:n.RG9,__wbg_abort_775ef1d17fc65868:n.gMQ,__wbg_signal_aaf9ad74119f20a4:n.CF8,__wbg_setrecursive_536113a081d6177a:n.ugc,__wbg_enqueue_bb16ba72f537dc9e:n.QHd,__wbg_close_304cc1fef3466669:n.oaw,__wbg_instanceof_File_a4e2256bf71955a9:n.gjJ,__wbg_lastModified_7a9e61b3961224b8:n.gvw,__wbg_close_24caca68e93b9c03:n.jeC,__wbg_settype_39ed370d3edd403c:n.a4S,__wbg_setcreate_139bad94b2874fb5:n.kF0,__wbg_queueMicrotask_97d92b4fcc8a61c5:n._mt,__wbg_queueMicrotask_d3219def82552485:n.k2R,__wbindgen_cb_drop:n.LCp,__wbg_arrayBuffer_f18c144cd0125f07:n.RGi,__wbg_newwithu8arraysequenceandoptions_068570c487f69127:n.qe7,__wbg_size_3808d41635a9c259:n.$CF,__wbg_text_1f39a8afe3c70a99:n.CFe,__wbg_newwithstrandinit_06c535e0a867c635:n.heb,__wbg_instanceof_FileSystemDirectoryHandle_0906fc139d75557b:n.Cjr,__wbg_removeEntry_9f6bc325e3383e59:n.m_N,__wbg_removeEntry_a424e90dff229b19:n.lkn,__wbg_getFileHandle_5fb877d1ecc74d52:n.Wkh,__wbg_getDirectoryHandle_c48a138373d79b3d:n.kTu,__wbg_entries_19efe296f7d36df9:n.RCF,__wbg_setcreate_4ca762e23d9f78da:n.N9Q,__wbg_new_018dcc2d6c8c2f6a:n.RR8,__wbg_append_8c7dd8d641a5f01b:n.Tbm,__wbg_name_e4a115def9e2bbaa:n.Yeo,__wbg_has_a5ea9117f258a0ec:n.HSm,__wbindgen_boolean_get:n.NhE,__wbg_instanceof_Response_f2cc20d9f7dfd644:n.Hzn,__wbg_arrayBuffer_d1b44c4390db422f:n._iy,__wbg_url_ae10c34ca209681d:n.Tp3,__wbg_status_f6360336ca686bf0:n.kK3,__wbg_headers_9cb51cfd2ac780a4:n.Moj,__wbg_shape_new:n._cl,__wbg_point_new:n.nA9,__wbg_diagramelementspec_new:n.Dr_,__wbg_diagram_new:n.YLb,__wbg_minaerror_new:n.EkI,__wbg_relationship_new:n.NpJ,__wbg_softwaresystem_new:n.dM0,__wbg_boundary_new:n.HCo,__wbg_person_new:n.c1W,__wbg_deploymentnode_new:n.ezj,__wbg_component_new:n.WJm,__wbg_container_new:n.e57,__wbg_new_8a6f238a6ece86ea:n.$Pc,__wbg_stack_0ed75d68575b0f3c:n.x$X,__wbg_error_7534b8e9a36f1ab4:n.WYM,__wbg_fetch_4465c2b10f21a927:n.o0R,__wbg_fetch_509096533071c657:n.gRe,__wbg_boundary_unwrap:n.Wq,__wbg_shape_unwrap:n.D7n,__wbindgen_jsval_loose_eq:n.U8c,__wbindgen_as_number:n.qmw,__wbindgen_error_new:n.RjG,__wbg_getwithrefkey_2d7fdfea9645a25b:n.A2U,__wbg_set_2873a5cee2324875:n.v1k,__wbg_String_1b2069caba3b9783:n.JF5,__wbindgen_bigint_from_u64:n.Qg3,__wbg_deploymentnode_unwrap:n._Zx,__wbg_setmethod_3c5280fe5d890842:n._hX,__wbg_setsignal_75b21ef3a81de905:n.l0x,__wbg_setcredentials_c3a22f1cd105a2c6:n.uw1,__wbg_setheaders_834c0bdb6a8949ad:n.rk2,__wbg_setbody_5923b78a95eedf29:n.Nhd,__wbg_setmode_5dc300b865044b65:n.BFX,__wbg_crypto_ed58b8e10a292839:n.ilI,__wbg_process_5c1d670bc53614b8:n.Evb,__wbg_versions_c71aa1626a93e0a1:n.ooJ,__wbg_node_02999533c4ea02e3:n.OtZ,__wbg_require_79b1e9274cde3c87:n.Ltb,__wbg_msCrypto_0a36e2ec3a343d26:n.HOd,__wbg_randomFillSync_ab2cfe79ebbf2740:n.NNx,__wbg_getRandomValues_bcb4912f16000dc4:n.FGp,__wbindgen_in:n.zEy,__wbindgen_is_bigint:n.YkQ,__wbindgen_jsval_eq:n.BGI,__wbg_container_unwrap:n.xB8,__wbg_softwaresystem_unwrap:n.qre,__wbg_relationship_unwrap:n.KM7,__wbg_component_unwrap:n.dT0,__wbg_point_unwrap:n._QJ,__wbg_person_unwrap:n.Xv$,__wbg_diagramelementspec_unwrap:n.W3f,__wbindgen_closure_wrapper1431:n.ojN,__wbindgen_init_externref_table:n.bLn}})},457:(_,e,t)=>{let n;function r(_){n=_}t.d(e,{$CF:()=>jt,$Pc:()=>Ae,A2$:()=>Te,A2U:()=>ne,BFX:()=>ht,BGI:()=>on,CF8:()=>xt,CFe:()=>Mt,Cjr:()=>ge,D7n:()=>zt,DMD:()=>Tt,Dn4:()=>We,Dr_:()=>W_,EkI:()=>Re,Evb:()=>Ye,F$t:()=>M_,FGp:()=>_e,FHK:()=>R_,GQG:()=>Ct,GuA:()=>an,HBq:()=>ct,HCo:()=>h_,HOd:()=>Fe,HSm:()=>re,HtP:()=>Me,Hzn:()=>we,JD7:()=>x,JF5:()=>b_,JpR:()=>F_,KA3:()=>ce,KM7:()=>et,LCp:()=>Kt,LMq:()=>Wt,Llp:()=>j,Ltb:()=>rt,M2:()=>Se,Moj:()=>ie,N9Q:()=>dt,NNx:()=>Xe,NgT:()=>Bt,NhE:()=>Yt,Nhd:()=>wt,NpJ:()=>_t,OtZ:()=>Be,Oxg:()=>F,PRY:()=>nn,Py0:()=>cn,QHd:()=>U_,QRK:()=>wn,Qg3:()=>Qt,Qnr:()=>ln,RCF:()=>$_,RG9:()=>Ie,RGi:()=>y_,RKz:()=>te,RR8:()=>xe,RjG:()=>Xt,Ry:()=>he,SJf:()=>ue,TOc:()=>Jt,Tbm:()=>d_,Tp3:()=>Gt,U8c:()=>gn,Vob:()=>$t,VrZ:()=>He,W3f:()=>L_,WJm:()=>D_,WYM:()=>T_,Wkh:()=>Z_,Wq:()=>m_,WqA:()=>l_,Xb8:()=>B_,Xv$:()=>$e,Y6F:()=>Ht,YLb:()=>G_,Yb6:()=>le,Yeo:()=>ze,YkQ:()=>tn,Zk3:()=>st,ZrD:()=>ae,_Cc:()=>k,_QJ:()=>Qe,_Ue:()=>v_,_Zx:()=>N_,_cl:()=>Ft,_hX:()=>yt,_iy:()=>f_,_mt:()=>Ve,a4S:()=>Rt,aIY:()=>Oe,aKt:()=>ft,bLn:()=>en,c1W:()=>Ue,c6u:()=>je,cVx:()=>u_,cyg:()=>x_,dM0:()=>kt,dSQ:()=>at,dT0:()=>q_,d_N:()=>p_,dzD:()=>ee,e57:()=>E_,eIr:()=>ye,eW0:()=>pe,ezj:()=>C_,fb$:()=>qt,fcg:()=>oe,gGA:()=>se,gHg:()=>P_,gMQ:()=>w_,gRe:()=>K_,gjJ:()=>be,gvw:()=>fe,hI8:()=>Je,heb:()=>Ce,iAh:()=>bt,ii7:()=>At,ilI:()=>J_,jeC:()=>O_,jwJ:()=>Ut,k2R:()=>Ze,kF0:()=>ut,kK3:()=>It,kPb:()=>H_,kTu:()=>V_,l0x:()=>vt,lIU:()=>r,lkn:()=>nt,m_N:()=>tt,nA9:()=>Pe,o0R:()=>Y_,oGe:()=>ve,oaw:()=>S_,ojN:()=>Vt,ooJ:()=>Lt,p8e:()=>gt,pR9:()=>me,pWA:()=>Q_,qNE:()=>un,qe7:()=>Ne,qmw:()=>Pt,qre:()=>Ot,qvD:()=>rn,rk2:()=>pt,rl:()=>Zt,sQY:()=>A_,sWe:()=>bn,tER:()=>Le,tZf:()=>Ke,ugc:()=>mt,uod:()=>de,uw1:()=>lt,v1k:()=>ot,vUM:()=>sn,vVD:()=>qe,va5:()=>ke,w6e:()=>Dt,w9h:()=>k_,wHY:()=>j_,wJz:()=>it,wd3:()=>Ee,x$X:()=>St,x0C:()=>Et,x6W:()=>z_,xB8:()=>I_,xV_:()=>Nt,ycJ:()=>dn,ycy:()=>X_,yqB:()=>Ge,z09:()=>De,zEy:()=>_n}),_=t.hmd(_);let i=0,a=null;function s(){return null!==a&&0!==a.byteLength||(a=new Uint8Array(n.memory.buffer)),a}let o=new("undefined"==typeof TextEncoder?(0,_.require)("util").TextEncoder:TextEncoder)("utf-8");const g="function"==typeof o.encodeInto?function(_,e){return o.encodeInto(_,e)}:function(_,e){const t=o.encode(_);return e.set(t),{read:_.length,written:t.length}};function c(_,e,t){if(void 0===t){const t=o.encode(_),n=e(t.length,1)>>>0;return s().subarray(n,n+t.length).set(t),i=t.length,n}let n=_.length,r=e(n,1)>>>0;const a=s();let c=0;for(;c<n;c++){const e=_.charCodeAt(c);if(e>127)break;a[r+c]=e}if(c!==n){0!==c&&(_=_.slice(c)),r=t(r,n,n=c+3*_.length,1)>>>0;const e=s().subarray(r+c,r+n);c+=g(_,e).written,r=t(r,n,c,1)>>>0}return i=c,r}let b=null;function w(){return(null===b||!0===b.buffer.detached||void 0===b.buffer.detached&&b.buffer!==n.memory.buffer)&&(b=new DataView(n.memory.buffer)),b}let u=new("undefined"==typeof TextDecoder?(0,_.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});function d(_,e){return _>>>=0,u.decode(s().subarray(_,_+e))}function l(_){const e=n.__externref_table_alloc();return n.__wbindgen_export_4.set(e,_),e}function p(_,e){try{return _.apply(this,e)}catch(_){const e=l(_);n.__wbindgen_exn_store(e)}}function f(_){return null==_}u.decode();const y="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>{n.__wbindgen_export_6.get(_.dtor)(_.a,_.b)}));function h(_){const e=typeof _;if("number"==e||"boolean"==e||null==_)return`${_}`;if("string"==e)return`"${_}"`;if("symbol"==e){const e=_.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==e){const e=_.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(_)){const e=_.length;let t="[";e>0&&(t+=h(_[0]));for(let n=1;n<e;n++)t+=", "+h(_[n]);return t+="]",t}const t=/\[object ([^\]]+)\]/.exec(toString.call(_));let n;if(!(t&&t.length>1))return toString.call(_);if(n=t[1],"Object"==n)try{return"Object("+JSON.stringify(_)+")"}catch(_){return"Object"}return _ instanceof Error?`${_.name}: ${_.message}\n${_.stack}`:n}function m(_,e){if(!(_ instanceof e))throw new Error(`expected instance of ${e.name}`)}function v(_,e){_>>>=0;const t=w(),r=[];for(let i=_;i<_+4*e;i+=4)r.push(n.__wbindgen_export_4.get(t.getUint32(i,!0)));return n.__externref_drop_slice(_,e),r}function R(_,e){const t=e(4*_.length,4)>>>0;for(let e=0;e<_.length;e++){const n=l(_[e]);w().setUint32(t+4*e,n,!0)}return i=_.length,t}function F(_,e,t,r){const a=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),s=i,o=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),g=i,b=c(t,n.__wbindgen_malloc,n.__wbindgen_realloc),w=i,u=c(r,n.__wbindgen_malloc,n.__wbindgen_realloc),d=i;return n.open_remote_diagram(a,s,o,g,b,w,u,d)}function z(_){const e=n.__wbindgen_export_4.get(_);return n.__externref_table_dealloc(_),e}function x(_,e){let t,r;try{const o=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),g=i,b=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),w=i,u=n.diagram_spec_url_from_diagram_url(o,g,b,w);var a=u[0],s=u[1];if(u[3])throw a=0,s=0,z(u[2]);return t=a,r=s,d(a,s)}finally{n.__wbindgen_free(t,r,1)}}function j(_,e){let t,r;try{const o=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),g=i,b=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),w=i,u=n.diagram_plantuml_url_from_diagram_url(o,g,b,w);var a=u[0],s=u[1];if(u[3])throw a=0,s=0,z(u[2]);return t=a,r=s,d(a,s)}finally{n.__wbindgen_free(t,r,1)}}function k(_){let e,t;try{const r=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),a=i,s=n.project_settings_url(r,a);return e=s[0],t=s[1],d(s[0],s[1])}finally{n.__wbindgen_free(e,t,1)}}function O(_,e,t){n.closure116_externref_shim(_,e,t)}const S=["omit","same-origin","include"],A=["same-origin","no-cors","cors","navigate"];"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_aisettings_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_addelementtag_free(_>>>0,1)));const D="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_baseelement_free(_>>>0,1)));class q{static __wrap(_){_>>>=0;const e=Object.create(q.prototype);return e.__wbg_ptr=_,D.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,D.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_baseelement_free(_,0)}get alias(){const _=n.__wbg_get_baseelement_alias(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set alias(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_alias(this.__wbg_ptr,e,t)}get label(){const _=n.__wbg_get_baseelement_label(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set label(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_label(this.__wbg_ptr,e,t)}get description(){const _=n.__wbg_get_baseelement_description(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set description(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_description(this.__wbg_ptr,e,t)}get sprite(){const _=n.__wbg_get_baseelement_sprite(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set sprite(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_sprite(this.__wbg_ptr,e,t)}get tags(){const _=n.__wbg_get_baseelement_tags(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set tags(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_tags(this.__wbg_ptr,e,t)}get link(){const _=n.__wbg_get_baseelement_link(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set link(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_link(this.__wbg_ptr,e,t)}get uuid(){const _=n.__wbg_get_baseelement_uuid(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set uuid(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_uuid(this.__wbg_ptr,e,t)}get notes(){const _=n.__wbg_get_baseelement_notes(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set notes(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_notes(this.__wbg_ptr,e,t)}}const E="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_boundary_free(_>>>0,1)));class I{static __wrap(_){_>>>=0;const e=Object.create(I.prototype);return e.__wbg_ptr=_,E.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof I?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_boundary_free(_,0)}get base_data(){const _=n.__wbg_get_boundary_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){m(_,q);var e=_.__destroy_into_raw();n.__wbg_set_boundary_base_data(this.__wbg_ptr,e)}get boundary_type(){return n.__wbg_get_boundary_boundary_type(this.__wbg_ptr)}set boundary_type(_){n.__wbg_set_boundary_boundary_type(this.__wbg_ptr,f(_)?0:l(_))}get boundary_custom_type(){const _=n.__wbg_get_boundary_boundary_custom_type(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set boundary_custom_type(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_legend_sprite(this.__wbg_ptr,e,t)}get sub_elements(){const _=n.__wbg_get_boundary_sub_elements(this.__wbg_ptr);var e=v(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set sub_elements(_){const e=R(_,n.__wbindgen_malloc),t=i;n.__wbg_set_boundary_sub_elements(this.__wbg_ptr,e,t)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_c4elements_free(_>>>0,1)));const H="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_component_free(_>>>0,1)));class J{static __wrap(_){_>>>=0;const e=Object.create(J.prototype);return e.__wbg_ptr=_,H.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof J?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,H.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_component_free(_,0)}get base_data(){const _=n.__wbg_get_component_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){m(_,q);var e=_.__destroy_into_raw();n.__wbg_set_component_base_data(this.__wbg_ptr,e)}get technology(){const _=n.__wbg_get_component_technology(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set technology(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_component_technology(this.__wbg_ptr,e,t)}get component_type(){return n.__wbg_get_component_component_type(this.__wbg_ptr)}set component_type(_){n.__wbg_set_component_component_type(this.__wbg_ptr,f(_)?0:l(_))}}const M="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_container_free(_>>>0,1)));class C{static __wrap(_){_>>>=0;const e=Object.create(C.prototype);return e.__wbg_ptr=_,M.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof C?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,M.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_container_free(_,0)}get base_data(){const _=n.__wbg_get_container_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){m(_,q);var e=_.__destroy_into_raw();n.__wbg_set_container_base_data(this.__wbg_ptr,e)}get technology(){const _=n.__wbg_get_container_technology(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set technology(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_container_technology(this.__wbg_ptr,e,t)}get container_type(){return n.__wbg_get_container_container_type(this.__wbg_ptr)}set container_type(_){n.__wbg_set_container_container_type(this.__wbg_ptr,f(_)?0:l(_))}}const N="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_deploymentnode_free(_>>>0,1)));class G{static __wrap(_){_>>>=0;const e=Object.create(G.prototype);return e.__wbg_ptr=_,N.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof G?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,N.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_deploymentnode_free(_,0)}get base_data(){const _=n.__wbg_get_boundary_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){m(_,q);var e=_.__destroy_into_raw();n.__wbg_set_boundary_base_data(this.__wbg_ptr,e)}get deploymeny_node_custom_type(){const _=n.__wbg_get_deploymentnode_deploymeny_node_custom_type(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set deploymeny_node_custom_type(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_legend_sprite(this.__wbg_ptr,e,t)}get deployment_node_type(){return n.__wbg_get_deploymentnode_deployment_node_type(this.__wbg_ptr)}set deployment_node_type(_){n.__wbg_set_deploymentnode_deployment_node_type(this.__wbg_ptr,f(_)?0:l(_))}get sub_elements(){const _=n.__wbg_get_deploymentnode_sub_elements(this.__wbg_ptr);var e=v(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set sub_elements(_){const e=R(_,n.__wbindgen_malloc),t=i;n.__wbg_set_boundary_sub_elements(this.__wbg_ptr,e,t)}}const W="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_diagram_free(_>>>0,1)));class L{static __wrap(_){_>>>=0;const e=Object.create(L.prototype);return e.__wbg_ptr=_,W.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_diagram_free(_,0)}get diagram_name(){const _=n.__wbg_get_diagram_diagram_name(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set diagram_name(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagram_diagram_name(this.__wbg_ptr,e,t)}get diagram_type(){return n.__wbg_get_diagram_diagram_type(this.__wbg_ptr)}set diagram_type(_){n.__wbg_set_diagram_diagram_type(this.__wbg_ptr,f(_)?0:l(_))}get diagram_spec(){const _=n.__wbg_get_diagram_diagram_spec(this.__wbg_ptr);return 0===_?void 0:T.__wrap(_)}set diagram_spec(_){let e=0;f(_)||(m(_,T),e=_.__destroy_into_raw()),n.__wbg_set_diagram_diagram_spec(this.__wbg_ptr,e)}get diagram_plantuml(){const _=n.__wbg_get_diagram_diagram_plantuml(this.__wbg_ptr);return 0===_?void 0:P.__wrap(_)}set diagram_plantuml(_){let e=0;f(_)||(m(_,P),e=_.__destroy_into_raw()),n.__wbg_set_diagram_diagram_plantuml(this.__wbg_ptr,e)}get raw_plantuml(){const _=n.__wbg_get_diagram_raw_plantuml(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set raw_plantuml(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagram_raw_plantuml(this.__wbg_ptr,e,t)}get last_modified(){const _=n.__wbg_get_diagram_last_modified(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set last_modified(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagram_last_modified(this.__wbg_ptr,e,t)}get auto_layout_errors(){const _=n.__wbg_get_diagram_auto_layout_errors(this.__wbg_ptr);let e;return 0!==_[0]&&(e=v(_[0],_[1]).slice(),n.__wbindgen_free(_[0],4*_[1],4)),e}set auto_layout_errors(_){var e=f(_)?0:R(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagram_auto_layout_errors(this.__wbg_ptr,e,t)}get auto_layout(){return n.diagram_auto_layout(this.__wbg_ptr)}set auto_layout(_){n.diagram_set_auto_layout(this.__wbg_ptr,_)}}const B="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_diagramelementspec_free(_>>>0,1)));class U{static __wrap(_){_>>>=0;const e=Object.create(U.prototype);return e.__wbg_ptr=_,B.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof U?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,B.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_diagramelementspec_free(_,0)}get alias(){const _=n.__wbg_get_diagramelementspec_alias(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set alias(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_alias(this.__wbg_ptr,e,t)}get from(){const _=n.__wbg_get_diagramelementspec_from(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set from(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_from(this.__wbg_ptr,e,t)}get to(){const _=n.__wbg_get_diagramelementspec_to(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set to(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_to(this.__wbg_ptr,e,t)}get shapes(){const _=n.__wbg_get_diagramelementspec_shapes(this.__wbg_ptr);let e;return 0!==_[0]&&(e=v(_[0],_[1]).slice(),n.__wbindgen_free(_[0],4*_[1],4)),e}set shapes(_){var e=f(_)?0:R(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramelementspec_shapes(this.__wbg_ptr,e,t)}get element_type(){return n.__wbg_get_diagramelementspec_element_type(this.__wbg_ptr)}set element_type(_){n.__wbg_set_diagramelementspec_element_type(this.__wbg_ptr,f(_)?0:l(_))}get position(){const _=n.__wbg_get_diagramelementspec_position(this.__wbg_ptr);return 0===_?void 0:t_.__wrap(_)}set position(_){let e=0;f(_)||(m(_,t_),e=_.__destroy_into_raw()),n.__wbg_set_diagramelementspec_position(this.__wbg_ptr,e)}get size(){const _=n.__wbg_get_diagramelementspec_size(this.__wbg_ptr);return 0===_?void 0:o_.__wrap(_)}set size(_){let e=0;f(_)||(m(_,o_),e=_.__destroy_into_raw()),n.__wbg_set_diagramelementspec_size(this.__wbg_ptr,e)}get inner_specs(){const _=n.__wbg_get_diagramelementspec_inner_specs(this.__wbg_ptr);let e;return 0!==_[0]&&(e=v(_[0],_[1]).slice(),n.__wbindgen_free(_[0],4*_[1],4)),e}set inner_specs(_){var e=f(_)?0:R(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramelementspec_inner_specs(this.__wbg_ptr,e,t)}}const $="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_diagramplantuml_free(_>>>0,1)));class P{static __wrap(_){_>>>=0;const e=Object.create(P.prototype);return e.__wbg_ptr=_,$.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_diagramplantuml_free(_,0)}get tags(){return n.diagramplantuml_tags(this.__wbg_ptr)}set tags(_){n.diagramplantuml_set_tags(this.__wbg_ptr,_)}get diagram_id(){const _=n.__wbg_get_diagramplantuml_diagram_id(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set diagram_id(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramplantuml_diagram_id(this.__wbg_ptr,e,t)}get elements(){const _=n.__wbg_get_diagramplantuml_elements(this.__wbg_ptr);var e=v(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set elements(_){const e=R(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramplantuml_elements(this.__wbg_ptr,e,t)}get aliases(){const _=n.__wbg_get_diagramplantuml_aliases(this.__wbg_ptr);var e=v(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set aliases(_){const e=R(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramplantuml_aliases(this.__wbg_ptr,e,t)}}const Q="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_diagramspec_free(_>>>0,1)));class T{static __wrap(_){_>>>=0;const e=Object.create(T.prototype);return e.__wbg_ptr=_,Q.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_diagramspec_free(_,0)}get uuid(){let _,e;try{const t=n.__wbg_get_diagramspec_uuid(this.__wbg_ptr);return _=t[0],e=t[1],d(t[0],t[1])}finally{n.__wbindgen_free(_,e,1)}}set uuid(_){const e=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramspec_uuid(this.__wbg_ptr,e,t)}get description(){const _=n.__wbg_get_diagramspec_description(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set description(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramspec_description(this.__wbg_ptr,e,t)}get tags(){const _=n.__wbg_get_diagramspec_tags(this.__wbg_ptr);let e;return 0!==_[0]&&(e=v(_[0],_[1]).slice(),n.__wbindgen_free(_[0],4*_[1],4)),e}set tags(_){var e=f(_)?0:R(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramspec_tags(this.__wbg_ptr,e,t)}get elements_specs(){const _=n.__wbg_get_diagramspec_elements_specs(this.__wbg_ptr);var e=v(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set elements_specs(_){const e=R(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramspec_elements_specs(this.__wbg_ptr,e,t)}get shapes(){const _=n.__wbg_get_diagramspec_shapes(this.__wbg_ptr);var e=v(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set shapes(_){const e=R(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramspec_shapes(this.__wbg_ptr,e,t)}get auto_layout_enabled(){return 0!==n.__wbg_get_diagramspec_auto_layout_enabled(this.__wbg_ptr)}set auto_layout_enabled(_){n.__wbg_set_diagramspec_auto_layout_enabled(this.__wbg_ptr,_)}get auto_layout_orientation(){return n.__wbg_get_diagramspec_auto_layout_orientation(this.__wbg_ptr)}set auto_layout_orientation(_){n.__wbg_set_diagramspec_auto_layout_orientation(this.__wbg_ptr,_)}get auto_layout_only_straight_arrows(){return 0!==n.__wbg_get_diagramspec_auto_layout_only_straight_arrows(this.__wbg_ptr)}set auto_layout_only_straight_arrows(_){n.__wbg_set_diagramspec_auto_layout_only_straight_arrows(this.__wbg_ptr,_)}get auto_layout_ranksep(){return n.__wbg_get_diagramspec_auto_layout_ranksep(this.__wbg_ptr)}set auto_layout_ranksep(_){n.__wbg_set_diagramspec_auto_layout_ranksep(this.__wbg_ptr,_)}get auto_layout_subgraph_inner_margin(){return n.__wbg_get_diagramspec_auto_layout_subgraph_inner_margin(this.__wbg_ptr)}set auto_layout_subgraph_inner_margin(_){n.__wbg_set_diagramspec_auto_layout_subgraph_inner_margin(this.__wbg_ptr,_)}get auto_layout_subgraph_outer_margin(){return n.__wbg_get_diagramspec_auto_layout_subgraph_outer_margin(this.__wbg_ptr)}set auto_layout_subgraph_outer_margin(_){n.__wbg_set_diagramspec_auto_layout_subgraph_outer_margin(this.__wbg_ptr,_)}get grid_enabled(){return 0!==n.__wbg_get_diagramspec_grid_enabled(this.__wbg_ptr)}set grid_enabled(_){n.__wbg_set_diagramspec_grid_enabled(this.__wbg_ptr,_)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_diagramsthemesettings_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_elementdata_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_hookpayload_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_intounderlyingbytesource_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_intounderlyingsink_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_intounderlyingsource_free(_>>>0,1)));const Y="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_minaerror_free(_>>>0,1)));class K{static __wrap(_){_>>>=0;const e=Object.create(K.prototype);return e.__wbg_ptr=_,Y.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_minaerror_free(_,0)}get code(){return n.__wbg_get_minaerror_code(this.__wbg_ptr)}set code(_){n.__wbg_set_minaerror_code(this.__wbg_ptr,_)}get msg(){let _,e;try{const t=n.__wbg_get_minaerror_msg(this.__wbg_ptr);return _=t[0],e=t[1],d(t[0],t[1])}finally{n.__wbindgen_free(_,e,1)}}set msg(_){const e=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_minaerror_msg(this.__wbg_ptr,e,t)}}const V="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_person_free(_>>>0,1)));class Z{static __wrap(_){_>>>=0;const e=Object.create(Z.prototype);return e.__wbg_ptr=_,V.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof Z?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,V.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_person_free(_,0)}get base_data(){const _=n.__wbg_get_component_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){m(_,q);var e=_.__destroy_into_raw();n.__wbg_set_component_base_data(this.__wbg_ptr,e)}get person_type(){return n.__wbg_get_person_person_type(this.__wbg_ptr)}set person_type(_){n.__wbg_set_person_person_type(this.__wbg_ptr,f(_)?0:l(_))}}const X="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_point_free(_>>>0,1)));class __{static __wrap(_){_>>>=0;const e=Object.create(__.prototype);return e.__wbg_ptr=_,X.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof __?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,X.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_point_free(_,0)}get x(){return n.__wbg_get_point_x(this.__wbg_ptr)}set x(_){n.__wbg_set_point_x(this.__wbg_ptr,_)}get y(){return n.__wbg_get_point_y(this.__wbg_ptr)}set y(_){n.__wbg_set_point_y(this.__wbg_ptr,_)}}const e_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_position_free(_>>>0,1)));class t_{static __wrap(_){_>>>=0;const e=Object.create(t_.prototype);return e.__wbg_ptr=_,e_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,e_.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_position_free(_,0)}get left(){const _=n.__wbg_get_position_left(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set left(_){n.__wbg_set_position_left(this.__wbg_ptr,!f(_),f(_)?0:_)}get top(){const _=n.__wbg_get_position_top(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set top(_){n.__wbg_set_position_top(this.__wbg_ptr,!f(_),f(_)?0:_)}get z_index(){const _=n.__wbg_get_position_z_index(this.__wbg_ptr);return 4294967297===_?void 0:_}set z_index(_){n.__wbg_set_position_z_index(this.__wbg_ptr,f(_)?4294967297:0|_)}get angle(){const _=n.__wbg_get_position_angle(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set angle(_){n.__wbg_set_position_angle(this.__wbg_ptr,!f(_),f(_)?0:_)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_project_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_projectlibrary_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_projectsettings_free(_>>>0,1)));const n_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_relationship_free(_>>>0,1)));class r_{static __wrap(_){_>>>=0;const e=Object.create(r_.prototype);return e.__wbg_ptr=_,n_.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof r_?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,n_.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_relationship_free(_,0)}get base_data(){const _=n.__wbg_get_component_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){m(_,q);var e=_.__destroy_into_raw();n.__wbg_set_component_base_data(this.__wbg_ptr,e)}get from(){const _=n.__wbg_get_relationship_from(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set from(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_component_technology(this.__wbg_ptr,e,t)}get to(){const _=n.__wbg_get_relationship_to(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set to(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_relationship_to(this.__wbg_ptr,e,t)}get technology(){const _=n.__wbg_get_relationship_technology(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set technology(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_relationship_technology(this.__wbg_ptr,e,t)}get relationship_type(){return n.__wbg_get_relationship_relationship_type(this.__wbg_ptr)}set relationship_type(_){n.__wbg_set_relationship_relationship_type(this.__wbg_ptr,f(_)?0:l(_))}}const i_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_shape_free(_>>>0,1)));class a_{static __wrap(_){_>>>=0;const e=Object.create(a_.prototype);return e.__wbg_ptr=_,i_.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof a_?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,i_.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_shape_free(_,0)}get shape_type(){return n.__wbg_get_shape_shape_type(this.__wbg_ptr)}set shape_type(_){n.__wbg_set_shape_shape_type(this.__wbg_ptr,f(_)?0:l(_))}get position(){const _=n.__wbg_get_shape_position(this.__wbg_ptr);return 0===_?void 0:t_.__wrap(_)}set position(_){let e=0;f(_)||(m(_,t_),e=_.__destroy_into_raw()),n.__wbg_set_shape_position(this.__wbg_ptr,e)}get size(){const _=n.__wbg_get_shape_size(this.__wbg_ptr);return 0===_?void 0:o_.__wrap(_)}set size(_){let e=0;f(_)||(m(_,o_),e=_.__destroy_into_raw()),n.__wbg_set_shape_size(this.__wbg_ptr,e)}}const s_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_size_free(_>>>0,1)));class o_{static __wrap(_){_>>>=0;const e=Object.create(o_.prototype);return e.__wbg_ptr=_,s_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,s_.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_size_free(_,0)}get width(){const _=n.__wbg_get_size_width(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set width(_){n.__wbg_set_size_width(this.__wbg_ptr,!f(_),f(_)?0:_)}get height(){const _=n.__wbg_get_size_height(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set height(_){n.__wbg_set_size_height(this.__wbg_ptr,!f(_),f(_)?0:_)}get scale_x(){const _=n.__wbg_get_size_scale_x(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set scale_x(_){n.__wbg_set_size_scale_x(this.__wbg_ptr,!f(_),f(_)?0:_)}get scale_y(){const _=n.__wbg_get_size_scale_y(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set scale_y(_){n.__wbg_set_size_scale_y(this.__wbg_ptr,!f(_),f(_)?0:_)}}const g_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_softwaresystem_free(_>>>0,1)));class c_{static __wrap(_){_>>>=0;const e=Object.create(c_.prototype);return e.__wbg_ptr=_,g_.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof c_?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,g_.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_softwaresystem_free(_,0)}get base_data(){const _=n.__wbg_get_container_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){m(_,q);var e=_.__destroy_into_raw();n.__wbg_set_container_base_data(this.__wbg_ptr,e)}get system_type(){return n.__wbg_get_softwaresystem_system_type(this.__wbg_ptr)}set system_type(_){n.__wbg_set_softwaresystem_system_type(this.__wbg_ptr,f(_)?0:l(_))}}function b_(_,e){const t=c(String(e),n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(_+4,r,!0),w().setInt32(_+0,t,!0)}function w_(_){_.abort()}function u_(){return p((function(_,e,t,n,r){_.append(d(e,t),d(n,r))}),arguments)}function d_(){return p((function(_,e,t,n,r){_.append(d(e,t),d(n,r))}),arguments)}function l_(){return p((function(_,e,t,n,r,i){_.append(d(e,t),n,d(r,i))}),arguments)}function p_(){return p((function(_,e,t,n){_.append(d(e,t),n)}),arguments)}function f_(){return p((function(_){return _.arrayBuffer()}),arguments)}function y_(_){return _.arrayBuffer()}function h_(_){return I.__wrap(_)}function m_(_){return I.__unwrap(_)}function v_(_){return _.buffer}function R_(_){return _.buffer}function F_(_){const e=_.byobRequest;return f(e)?0:l(e)}function z_(_){return _.byteLength}function x_(_){return _.byteOffset}function j_(){return p((function(_,e){return _.call(e)}),arguments)}function k_(){return p((function(_,e,t){return _.call(e,t)}),arguments)}function O_(_){return _.close()}function S_(){return p((function(_){_.close()}),arguments)}function A_(){return p((function(_){_.close()}),arguments)}function D_(_){return J.__wrap(_)}function q_(_){return J.__unwrap(_)}function E_(_){return C.__wrap(_)}function I_(_){return C.__unwrap(_)}function H_(_,e){return _.createWritable(e)}function J_(_){return _.crypto}function M_(_){console.debug(_)}function C_(_){return G.__wrap(_)}function N_(_){return G.__unwrap(_)}function G_(_){return L.__wrap(_)}function W_(_){return U.__wrap(_)}function L_(_){return U.__unwrap(_)}function B_(_){return _.done}function U_(){return p((function(_,e){_.enqueue(e)}),arguments)}function $_(_){return _.entries()}function P_(_){return Object.entries(_)}function Q_(_){console.error(_)}function T_(_,e){let t,r;try{t=_,r=e,console.error(d(_,e))}finally{n.__wbindgen_free(t,r,1)}}function Y_(_){return fetch(_)}function K_(_,e){return _.fetch(e)}function V_(_,e,t,n){return _.getDirectoryHandle(d(e,t),n)}function Z_(_,e,t,n){return _.getFileHandle(d(e,t),n)}function X_(_){return _.getFile()}function _e(){return p((function(_,e){_.getRandomValues(e)}),arguments)}function ee(){return p((function(_,e){return Reflect.get(_,e)}),arguments)}function te(_,e){return _[e>>>0]}function ne(_,e){return _[e]}function re(){return p((function(_,e){return Reflect.has(_,e)}),arguments)}function ie(_){return _.headers}function ae(_){console.info(_)}function se(_){let e;try{e=_ instanceof ArrayBuffer}catch(_){e=!1}return e}function oe(_){let e;try{e=_ instanceof Error}catch(_){e=!1}return e}function ge(_){let e;try{e=_ instanceof FileSystemDirectoryHandle}catch(_){e=!1}return e}function ce(_){let e;try{e=_ instanceof FileSystemFileHandle}catch(_){e=!1}return e}function be(_){let e;try{e=_ instanceof File}catch(_){e=!1}return e}function we(_){let e;try{e=_ instanceof Response}catch(_){e=!1}return e}function ue(_){let e;try{e=_ instanceof Uint8Array}catch(_){e=!1}return e}function de(_){return Array.isArray(_)}function le(_){return Number.isSafeInteger(_)}function pe(){return Symbol.iterator}function fe(_){return _.lastModified}function ye(_){return _.length}function he(_){return _.length}function me(_){console.log(_)}function ve(_){return _.message}function Re(_){return K.__wrap(_)}function Fe(_){return _.msCrypto}function ze(_,e){const t=c(e.name,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(_+4,r,!0),w().setInt32(_+0,t,!0)}function xe(){return p((function(){return new Headers}),arguments)}function je(_,e){try{var t={a:_,b:e};const r=new Promise(((_,e)=>{const r=t.a;t.a=0;try{return function(_,e,t,r){n.closure72_externref_shim(_,e,t,r)}(r,t.b,_,e)}finally{t.a=r}}));return r}finally{t.a=t.b=0}}function ke(){return new Object}function Oe(){return new Map}function Se(){return new Array}function Ae(){return new Error}function De(){return p((function(){return new FormData}),arguments)}function qe(_){return new Uint8Array(_)}function Ee(_,e){return new Error(d(_,e))}function Ie(){return p((function(){return new AbortController}),arguments)}function He(_,e){return new Function(d(_,e))}function Je(_,e,t){return new Uint8Array(_,e>>>0,t>>>0)}function Me(_){return new Uint8Array(_>>>0)}function Ce(){return p((function(_,e,t){return new Request(d(_,e),t)}),arguments)}function Ne(){return p((function(_,e){return new Blob(_,e)}),arguments)}function Ge(_){return _.next}function We(){return p((function(_){return _.next()}),arguments)}function Le(){return p((function(_){return _.next()}),arguments)}function Be(_){return _.node}function Ue(_){return Z.__wrap(_)}function $e(_){return Z.__unwrap(_)}function Pe(_){return __.__wrap(_)}function Qe(_){return __.__unwrap(_)}function Te(){return p((function(_,e){_.postMessage(e)}),arguments)}function Ye(_){return _.process}function Ke(_,e){return _.push(e)}function Ve(_){queueMicrotask(_)}function Ze(_){return _.queueMicrotask}function Xe(){return p((function(_,e){_.randomFillSync(e)}),arguments)}function _t(_){return r_.__wrap(_)}function et(_){return r_.__unwrap(_)}function tt(_,e,t){return _.removeEntry(d(e,t))}function nt(_,e,t,n){return _.removeEntry(d(e,t),n)}function rt(){return p((function(){return _.require}),arguments)}function it(_){return Promise.resolve(_)}function at(){return p((function(_,e){_.respond(e>>>0)}),arguments)}function st(){return p((function(_,e){return _.seek(e)}),arguments)}function ot(_,e,t){_[e]=t}function gt(_,e,t){_[e>>>0]=t}function ct(_,e,t){_.set(e,t>>>0)}function bt(_,e,t){return _.set(e,t)}function wt(_,e){_.body=e}function ut(_,e){_.create=0!==e}function dt(_,e){_.create=0!==e}function lt(_,e){_.credentials=S[e]}function pt(_,e){_.headers=e}function ft(_,e){_.keepExistingData=0!==e}function yt(_,e,t){_.method=d(e,t)}function ht(_,e){_.mode=A[e]}function mt(_,e){_.recursive=0!==e}function vt(_,e){_.signal=e}function Rt(_,e,t){_.type=d(e,t)}function Ft(_){return a_.__wrap(_)}function zt(_){return a_.__unwrap(_)}function xt(_){return _.signal}function jt(_){return _.size}function kt(_){return c_.__wrap(_)}function Ot(_){return c_.__unwrap(_)}function St(_,e){const t=c(e.stack,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(_+4,r,!0),w().setInt32(_+0,t,!0)}function At(){const _="undefined"==typeof global?null:global;return f(_)?0:l(_)}function Dt(){const _="undefined"==typeof globalThis?null:globalThis;return f(_)?0:l(_)}function qt(){const _="undefined"==typeof self?null:self;return f(_)?0:l(_)}function Et(){const _="undefined"==typeof window?null:window;return f(_)?0:l(_)}function It(_){return _.status}function Ht(){return p((function(_){return JSON.stringify(_)}),arguments)}function Jt(_,e,t){return _.subarray(e>>>0,t>>>0)}function Mt(_){return _.text()}function Ct(_,e){return _.then(e)}function Nt(_,e,t){return _.then(e,t)}function Gt(_,e){const t=c(e.url,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(_+4,r,!0),w().setInt32(_+0,t,!0)}function Wt(_){return _.value}function Lt(_){return _.versions}function Bt(_){const e=_.view;return f(e)?0:l(e)}function Ut(_){console.warn(_)}function $t(){return p((function(_,e){return _.write(e)}),arguments)}function Pt(_){return+_}function Qt(_){return BigInt.asUintN(64,_)}function Tt(_,e){const t="bigint"==typeof e?e:void 0;w().setBigInt64(_+8,f(t)?BigInt(0):t,!0),w().setInt32(_+0,!f(t),!0)}function Yt(_){return"boolean"==typeof _?_?1:0:2}function Kt(_){const e=_.original;return 1==e.cnt--&&(e.a=0,!0)}function Vt(_,e,t){const r=function(_,e,t,r){const i={a:_,b:e,cnt:1,dtor:117},a=(..._)=>{i.cnt++;const e=i.a;i.a=0;try{return r(e,i.b,..._)}finally{0==--i.cnt?(n.__wbindgen_export_6.get(i.dtor)(e,i.b),y.unregister(i)):i.a=e}};return a.original=i,y.register(a,i,i),a}(_,e,0,O);return r}function Zt(_,e){const t=c(h(e),n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(_+4,r,!0),w().setInt32(_+0,t,!0)}function Xt(_,e){return new Error(d(_,e))}function _n(_,e){return _ in e}function en(){const _=n.__wbindgen_export_4,e=_.grow(4);_.set(0,void 0),_.set(e+0,void 0),_.set(e+1,null),_.set(e+2,!0),_.set(e+3,!1)}function tn(_){return"bigint"==typeof _}function nn(_){return"function"==typeof _}function rn(_){return"object"==typeof _&&null!==_}function an(_){return"string"==typeof _}function sn(_){return void 0===_}function on(_,e){return _===e}function gn(_,e){return _==e}function cn(){return n.memory}function bn(_,e){const t="number"==typeof e?e:void 0;w().setFloat64(_+8,f(t)?0:t,!0),w().setInt32(_+0,!f(t),!0)}function wn(_){return _}function un(_,e){const t="string"==typeof e?e:void 0;var r=f(t)?0:c(t,n.__wbindgen_malloc,n.__wbindgen_realloc),a=i;w().setInt32(_+4,a,!0),w().setInt32(_+0,r,!0)}function dn(_,e){return d(_,e)}function ln(_,e){throw new Error(d(_,e))}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_themessettings_free(_>>>0,1)))},507:(_,e,t)=>{t.a(_,(async(_,n)=>{try{t.d(e,{Ay:()=>g,RC:()=>o,Y$:()=>a,wS:()=>s});var r=t(519),i=_([r]);async function a(_,e){if(e){const t="https://keadex.dev/api/download-gh-raw-file",n={headers:{"Keadex-Gh-Url":_}};return e&&(n.headers["Keadex-Gh-Authorization"]=e),await fetch(t,n)}return await fetch(_)}async function s(_,e,t){let n,i,s;try{n=(0,r._Cc)(_),i=(0,r.Llp)(_,e),s=(0,r.JD7)(_,e)}catch(_){throw console.error(_),new Error("Invalid URL: the provided URL is an invalid Mina project or diagram.")}if(n&&i&&s){let _,e,r;try{const o=await a(n,t),g=await a(i,t),c=await a(s,t);if(o.ok&&g.ok&&c.ok)return _=await o.text(),e=await g.text(),r=await c.text(),{projectSettingsJson:_,plantuml:e,spec:r};throw new Error}catch(_){throw console.error(_),new Error("Diagram or project settings not found. Please verify the URLs provided, or, if linking to a private repository, ensure the GitHub token is configured.")}}}async function o(_,e,t){try{const i=await s(_,e,t);var n;if(i)return{diagram:await(0,r.Oxg)(_,e,i.plantuml,i.spec),diagramsThemeSettings:null==(n=JSON.parse(i.projectSettingsJson).themes_settings)?void 0:n.diagrams_theme_settings}}catch(_){console.error(_)}}r=(i.then?(await i)():i)[0];const g={fetchGhRawFile:a,downloadDiagramData:s,openRemoteProjectDiagram:o};n()}catch(c){n(c)}}))},519:(_,e,t)=>{t.a(_,(async(_,n)=>{try{t.d(e,{JD7:()=>i.JD7,Llp:()=>i.Llp,Oxg:()=>i.Oxg,_Cc:()=>i._Cc});var r=t(196),i=t(457),a=_([r]);r=(a.then?(await a)():a)[0],(0,i.lIU)(r),r.__wbindgen_start(),n()}catch(_){n(_)}}))}},i={};function a(_){var e=i[_];if(void 0!==e)return e.exports;var t=i[_]={id:_,loaded:!1,exports:{}};return r[_](t,t.exports,a),t.loaded=!0,t.exports}_="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",e="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",t="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",n=_=>{_&&_.d<1&&(_.d=1,_.forEach((_=>_.r--)),_.forEach((_=>_.r--?_.r++:_())))},a.a=(r,i,a)=>{var s;a&&((s=[]).d=-1);var o,g,c,b=new Set,w=r.exports,u=new Promise(((_,e)=>{c=e,g=_}));u[e]=w,u[_]=_=>(s&&_(s),b.forEach(_),u.catch((_=>{}))),r.exports=u,i((r=>{var i;o=(r=>r.map((r=>{if(null!==r&&"object"==typeof r){if(r[_])return r;if(r.then){var i=[];i.d=0,r.then((_=>{a[e]=_,n(i)}),(_=>{a[t]=_,n(i)}));var a={};return a[_]=_=>_(i),a}}var s={};return s[_]=_=>{},s[e]=r,s})))(r);var a=()=>o.map((_=>{if(_[t])throw _[t];return _[e]})),g=new Promise((e=>{(i=()=>e(a)).r=0;var t=_=>_!==s&&!b.has(_)&&(b.add(_),_&&!_.d&&(i.r++,_.push(i)));o.map((e=>e[_](t)))}));return i.r?g:a()}),(_=>(_?c(u[t]=_):g(w),n(s)))),s&&s.d<0&&(s.d=0)},a.d=(_,e)=>{for(var t in e)a.o(e,t)&&!a.o(_,t)&&Object.defineProperty(_,t,{enumerable:!0,get:e[t]})},a.hmd=_=>((_=Object.create(_)).children||(_.children=[]),Object.defineProperty(_,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+_.id)}}),_),a.o=(_,e)=>Object.prototype.hasOwnProperty.call(_,e),a.v=(_,e,t,n)=>Promise.all([import("fs"),import("url")]).then((([{readFile:_},{URL:e}])=>new Promise(((n,r)=>{_(new e(t+".module.wasm",import.meta.url),((_,e)=>{if(_)return r(_);n({arrayBuffer:()=>e})}))})))).then((_=>_.arrayBuffer())).then((_=>WebAssembly.instantiate(_,n))).then((e=>Object.assign(_,e.instance.exports)));var s=a(507),o=(s=await s).Ay,g=s.wS,c=s.Y$,b=s.RC;export{o as default,g as downloadDiagramData,c as fetchGhRawFile,b as openRemoteProjectDiagram};
|
|
1
|
+
var e,_,t,n,r={196:(e,_,t)=>{var n=t(457);e.exports=t.v(_,e.id,"ce2f45e0bd022127751d",{"./mina_react_bg.js":{__wbg_log_c222819a41e063d3:n.pR9,__wbg_info_3daf2e093e091b66:n.ZrD,__wbg_warn_4ca3906c248c47c4:n.jwJ,__wbg_debug_3cb59063b29f58c1:n.F$t,__wbg_error_524f506f44df1645:n.pWA,__wbindgen_string_get:n.qNE,__wbindgen_bigint_get_as_i64:n.DMD,__wbindgen_memory:n.Py0,__wbindgen_throw:n.Qnr,__wbindgen_debug_string:n.rl,__wbindgen_string_new:n.ycJ,__wbg_new_5e0be73521bc8c17:n.aIY,__wbg_new_78feb108b6472713:n.M2,__wbindgen_number_new:n.QRK,__wbg_new_405e22f390576ce2:n.va5,__wbg_newnoargs_105ed471475aaf50:n.VrZ,__wbg_new_a12002a7f91c75be:n.vVD,__wbindgen_is_string:n.GuA,__wbindgen_is_function:n.PRY,__wbindgen_is_object:n.qvD,__wbg_next_25feadfc0913fea9:n.yqB,__wbg_stringify_f7ed6987935b4a24:n.Y6F,__wbg_buffer_609cc3eee51ed158:n.FHK,__wbg_byteLength_e674b853d9c77e1d:n.x6W,__wbg_byteOffset_fd862df290ef848d:n.cyg,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:n.hI8,__wbg_length_a446193dc22c12f8:n.eIr,__wbg_set_65595bdd868b3009:n.HBq,__wbg_newwithlength_a381634e90c276d4:n.HtP,__wbg_buffer_09165b52af8c5237:n._Ue,__wbg_subarray_aa9065fa9dc5df96:n.TOc,__wbg_done_769e5ede4b31c67b:n.Xb8,__wbg_value_cd1ffa7b1ab794f1:n.LMq,__wbg_next_c3ab0d59847b3b5c:n.tER,__wbg_instanceof_Error_4d54113b22d20306:n.fcg,__wbg_instanceof_Uint8Array_17156bcf118086a9:n.SJf,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:n.gGA,__wbg_set_8fc6bf8a5b1071d1:n.iAh,__wbg_get_b9b93047fe3cf45b:n.RKz,__wbg_set_37837023f3d740e8:n.p8e,__wbg_length_e2d2a49132c1b256:n.Ry,__wbg_push_737cfc8c1432c2c6:n.tZf,__wbg_isArray_a1eab7e0d067391b:n.uod,__wbg_new_c68d7209be747379:n.wd3,__wbg_message_97a2af9b89d693a3:n.oGe,__wbg_isSafeInteger_343e2beeeece1bb0:n.Yb6,__wbg_entries_3265d4158b33e5dc:n.gHg,__wbg_iterator_9a24c88df860dc65:n.eW0,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:n.w6e,__wbindgen_is_undefined:n.vUM,__wbg_call_672a4d21634d4a24:n.wHY,__wbg_static_accessor_SELF_37c5d418e4bf5819:n.fb$,__wbg_static_accessor_GLOBAL_88a902d13a557d07:n.ii7,__wbg_static_accessor_WINDOW_5de37043a91a9c40:n.x0C,__wbg_new_23a2665fac83c611:n.c6u,__wbg_then_44b73946d2fb3e7d:n.GQG,__wbg_then_48b406749878a531:n.xV_,__wbg_resolve_4851785c9c5f573d:n.wJz,__wbg_call_7cccdd69e0791ae2:n.w9h,__wbg_next_6574e1a8a62d1055:n.Dn4,__wbindgen_number_get:n.sWe,__wbg_get_67b2ba62fc30de12:n.dzD,__wbg_instanceof_FileSystemFileHandle_d3d037cf85ee546c:n.KA3,__wbg_createWritable_b4ed240dc879905e:n.kPb,__wbg_getFile_2607bc0123c724e0:n.ycy,__wbg_respond_1f279fa9f8edcb1c:n.dSQ,__wbg_view_fd8a56e8983f448d:n.NgT,__wbg_postMessage_83a8d58d3fcb6c13:n.A2$,__wbg_setcreate_4ca762e23d9f78da:n.N9Q,__wbg_instanceof_FileSystemDirectoryHandle_0906fc139d75557b:n.Cjr,__wbg_removeEntry_9f6bc325e3383e59:n.m_N,__wbg_removeEntry_a424e90dff229b19:n.lkn,__wbg_getFileHandle_5fb877d1ecc74d52:n.Wkh,__wbg_getDirectoryHandle_c48a138373d79b3d:n.kTu,__wbg_entries_19efe296f7d36df9:n.RCF,__wbg_instanceof_Window_def73ea0955fc569:n.vF0,__wbg_setmethod_3c5280fe5d890842:n._hX,__wbg_setsignal_75b21ef3a81de905:n.l0x,__wbg_setcredentials_c3a22f1cd105a2c6:n.uw1,__wbg_setheaders_834c0bdb6a8949ad:n.rk2,__wbg_setbody_5923b78a95eedf29:n.Nhd,__wbg_setmode_5dc300b865044b65:n.BFX,__wbg_enqueue_bb16ba72f537dc9e:n.QHd,__wbg_close_304cc1fef3466669:n.oaw,__wbg_instanceof_File_a4e2256bf71955a9:n.gjJ,__wbg_lastModified_7a9e61b3961224b8:n.gvw,__wbg_newwithstrandinit_06c535e0a867c635:n.heb,__wbg_close_24caca68e93b9c03:n.jeC,__wbg_setrecursive_536113a081d6177a:n.ugc,__wbg_new_018dcc2d6c8c2f6a:n.RR8,__wbg_append_8c7dd8d641a5f01b:n.Tbm,__wbg_get_79e1d7592116244e:n.X_o,__wbg_set_d9a72c1550e3f2b5:n.pdH,__wbg_name_e4a115def9e2bbaa:n.Yeo,__wbg_setcreate_139bad94b2874fb5:n.kF0,__wbg_settype_39ed370d3edd403c:n.a4S,__wbg_byobRequest_77d9adf63337edfb:n.JpR,__wbg_close_5ce03e29be453811:n.sQY,__wbg_setkeepexistingdata_ee7c8cb466e9477f:n.aKt,__wbg_component_unwrap:n.dT0,__wbindgen_jsval_loose_eq:n.U8c,__wbindgen_boolean_get:n.NhE,__wbindgen_as_number:n.qmw,__wbindgen_error_new:n.RjG,__wbg_getwithrefkey_2d7fdfea9645a25b:n.A2U,__wbg_set_2873a5cee2324875:n.v1k,__wbg_String_1b2069caba3b9783:n.JF5,__wbindgen_bigint_from_u64:n.Qg3,__wbg_shape_unwrap:n.D7n,__wbg_container_unwrap:n.xB8,__wbg_queueMicrotask_d3219def82552485:n.k2R,__wbg_queueMicrotask_97d92b4fcc8a61c5:n._mt,__wbindgen_cb_drop:n.LCp,__wbg_has_a5ea9117f258a0ec:n.HSm,__wbg_new_e25e5aab09ff45db:n.RG9,__wbg_abort_775ef1d17fc65868:n.gMQ,__wbg_signal_aaf9ad74119f20a4:n.CF8,__wbg_seek_3f0f8d7591f648d7:n.Zk3,__wbg_write_397d977609afc729:n.Vob,__wbg_fetch_4465c2b10f21a927:n.o0R,__wbg_fetch_509096533071c657:n.gRe,__wbg_append_299d5d48292c0495:n.cVx,__wbg_append_b44785ebeb668479:n.d_N,__wbg_append_b2d1fc16de2a0e81:n.WqA,__wbg_new_9fd39a253424609a:n.z09,__wbg_arrayBuffer_f18c144cd0125f07:n.RGi,__wbg_newwithu8arraysequenceandoptions_068570c487f69127:n.qe7,__wbg_size_3808d41635a9c259:n.$CF,__wbg_text_1f39a8afe3c70a99:n.CFe,__wbg_instanceof_Response_f2cc20d9f7dfd644:n.Hzn,__wbg_arrayBuffer_d1b44c4390db422f:n._iy,__wbg_url_ae10c34ca209681d:n.Tp3,__wbg_status_f6360336ca686bf0:n.kK3,__wbg_headers_9cb51cfd2ac780a4:n.Moj,__wbg_minaerror_new:n.EkI,__wbg_localStorage_1406c99c39728187:n.x8V,__wbg_crypto_ed58b8e10a292839:n.ilI,__wbg_process_5c1d670bc53614b8:n.Evb,__wbg_versions_c71aa1626a93e0a1:n.ooJ,__wbg_node_02999533c4ea02e3:n.OtZ,__wbg_require_79b1e9274cde3c87:n.Ltb,__wbg_msCrypto_0a36e2ec3a343d26:n.HOd,__wbg_randomFillSync_ab2cfe79ebbf2740:n.NNx,__wbg_getRandomValues_bcb4912f16000dc4:n.FGp,__wbg_new_8a6f238a6ece86ea:n.$Pc,__wbg_stack_0ed75d68575b0f3c:n.x$X,__wbg_error_7534b8e9a36f1ab4:n.WYM,__wbg_relationship_unwrap:n.KM7,__wbg_deploymentnode_new:n.ezj,__wbg_component_new:n.WJm,__wbg_boundary_new:n.HCo,__wbg_person_new:n.c1W,__wbg_container_new:n.e57,__wbg_relationship_new:n.NpJ,__wbg_softwaresystem_new:n.dM0,__wbg_softwaresystem_unwrap:n.qre,__wbg_shape_new:n._cl,__wbg_diagramelementspec_new:n.Dr_,__wbg_person_unwrap:n.Xv$,__wbg_point_new:n.nA9,__wbg_boundary_unwrap:n.Wq,__wbg_deploymentnode_unwrap:n._Zx,__wbindgen_jsval_eq:n.BGI,__wbindgen_in:n.zEy,__wbindgen_is_bigint:n.YkQ,__wbg_point_unwrap:n._QJ,__wbg_diagramelementspec_unwrap:n.W3f,__wbindgen_closure_wrapper1607:n.vAd,__wbindgen_init_externref_table:n.bLn}})},457:(e,_,t)=>{let n;function r(e){n=e}t.d(_,{$CF:()=>Ft,$Pc:()=>j_,A2$:()=>L_,A2U:()=>Ve,BFX:()=>lt,BGI:()=>rn,CF8:()=>Rt,CFe:()=>Et,Cjr:()=>n_,D7n:()=>vt,DMD:()=>$t,Dn4:()=>M_,Dr_:()=>Ee,EkI:()=>y_,Evb:()=>$_,F$t:()=>De,FGp:()=>Qe,FHK:()=>le,GQG:()=>Ht,GuA:()=>tn,HBq:()=>ot,HCo:()=>ue,HOd:()=>h_,HSm:()=>Xe,HtP:()=>q_,Hzn:()=>o_,JD7:()=>k,JF5:()=>ie,JpR:()=>pe,KA3:()=>r_,KM7:()=>V_,LCp:()=>Qt,LMq:()=>Wt,Llp:()=>j,Ltb:()=>et,M2:()=>x_,Moj:()=>Ze,N9Q:()=>bt,NNx:()=>Y_,NgT:()=>Gt,NhE:()=>Pt,Nhd:()=>gt,NpJ:()=>K_,OtZ:()=>C_,Oxg:()=>m,PRY:()=>en,Py0:()=>sn,QHd:()=>Me,QRK:()=>gn,Qg3:()=>Lt,Qnr:()=>wn,RCF:()=>We,RG9:()=>A_,RGi:()=>we,RKz:()=>Ke,RR8:()=>v_,RjG:()=>Kt,Ry:()=>d_,SJf:()=>s_,TOc:()=>qt,Tbm:()=>ae,Tp3:()=>Mt,U8c:()=>on,Vob:()=>Bt,VrZ:()=>D_,W3f:()=>He,WJm:()=>xe,WYM:()=>Ne,Wkh:()=>$e,Wq:()=>de,WqA:()=>ge,X_o:()=>Ye,Xb8:()=>Je,Xv$:()=>N_,Y6F:()=>It,Yb6:()=>c_,Yeo:()=>m_,YkQ:()=>Zt,Zk3:()=>nt,ZrD:()=>e_,_Cc:()=>z,_QJ:()=>U_,_Ue:()=>fe,_Zx:()=>qe,_cl:()=>mt,_hX:()=>ft,_iy:()=>be,_mt:()=>Q_,a4S:()=>ht,aIY:()=>z_,aKt:()=>dt,bLn:()=>Xt,c1W:()=>G_,c6u:()=>R_,cVx:()=>se,cyg:()=>he,dM0:()=>zt,dSQ:()=>tt,dT0:()=>je,d_N:()=>ce,dzD:()=>Te,e57:()=>ke,eIr:()=>u_,eW0:()=>b_,ezj:()=>Ie,fb$:()=>St,fcg:()=>t_,gGA:()=>__,gHg:()=>Ce,gMQ:()=>oe,gRe:()=>Ue,gjJ:()=>i_,gvw:()=>w_,hI8:()=>I_,heb:()=>E_,iAh:()=>st,ii7:()=>kt,ilI:()=>Ae,jeC:()=>Re,jwJ:()=>Nt,k2R:()=>T_,kF0:()=>ct,kK3:()=>Dt,kPb:()=>Se,kTu:()=>Le,l0x:()=>yt,lIU:()=>r,lkn:()=>Z_,m_N:()=>X_,nA9:()=>B_,o0R:()=>Be,oGe:()=>p_,oaw:()=>Fe,ooJ:()=>Ct,p8e:()=>it,pR9:()=>l_,pWA:()=>Ge,pdH:()=>at,qNE:()=>cn,qe7:()=>H_,qmw:()=>Ut,qre:()=>xt,qvD:()=>_n,rk2:()=>ut,rl:()=>Yt,sQY:()=>ze,sWe:()=>an,tER:()=>W_,tZf:()=>P_,ugc:()=>pt,uod:()=>g_,uw1:()=>wt,v1k:()=>rt,vAd:()=>Tt,vF0:()=>a_,vUM:()=>nn,vVD:()=>O_,va5:()=>F_,w6e:()=>Ot,w9h:()=>ve,wHY:()=>me,wJz:()=>_t,wd3:()=>S_,x$X:()=>jt,x0C:()=>At,x6W:()=>ye,x8V:()=>f_,xB8:()=>Oe,xV_:()=>Jt,ycJ:()=>bn,ycy:()=>Pe,yqB:()=>J_,z09:()=>k_,zEy:()=>Vt}),e=t.hmd(e);let i=0,o=null;function s(){return null!==o&&0!==o.byteLength||(o=new Uint8Array(n.memory.buffer)),o}let a=new("undefined"==typeof TextEncoder?(0,e.require)("util").TextEncoder:TextEncoder)("utf-8");const g="function"==typeof a.encodeInto?function(e,_){return a.encodeInto(e,_)}:function(e,_){const t=a.encode(e);return _.set(t),{read:e.length,written:t.length}};function c(e,_,t){if(void 0===t){const t=a.encode(e),n=_(t.length,1)>>>0;return s().subarray(n,n+t.length).set(t),i=t.length,n}let n=e.length,r=_(n,1)>>>0;const o=s();let c=0;for(;c<n;c++){const _=e.charCodeAt(c);if(_>127)break;o[r+c]=_}if(c!==n){0!==c&&(e=e.slice(c)),r=t(r,n,n=c+3*e.length,1)>>>0;const _=s().subarray(r+c,r+n);c+=g(e,_).written,r=t(r,n,c,1)>>>0}return i=c,r}let b=null;function w(){return(null===b||!0===b.buffer.detached||void 0===b.buffer.detached&&b.buffer!==n.memory.buffer)&&(b=new DataView(n.memory.buffer)),b}let u=new("undefined"==typeof TextDecoder?(0,e.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});function d(e,_){return e>>>=0,u.decode(s().subarray(e,e+_))}function f(e){const _=n.__externref_table_alloc();return n.__wbindgen_export_4.set(_,e),_}function l(e,_){try{return e.apply(this,_)}catch(e){const _=f(e);n.__wbindgen_exn_store(_)}}function p(e){return null==e}u.decode();const y="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>{n.__wbindgen_export_6.get(e.dtor)(e.a,e.b)}));function h(e){const _=typeof e;if("number"==_||"boolean"==_||null==e)return`${e}`;if("string"==_)return`"${e}"`;if("symbol"==_){const _=e.description;return null==_?"Symbol":`Symbol(${_})`}if("function"==_){const _=e.name;return"string"==typeof _&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(e)){const _=e.length;let t="[";_>0&&(t+=h(e[0]));for(let n=1;n<_;n++)t+=", "+h(e[n]);return t+="]",t}const t=/\[object ([^\]]+)\]/.exec(toString.call(e));let n;if(!(t&&t.length>1))return toString.call(e);if(n=t[1],"Object"==n)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:n}function m(e,_,t,r){return n.open_remote_diagram(e,_,t,r)}function v(e,_){if(!(e instanceof _))throw new Error(`expected instance of ${_.name}`)}function R(e,_){e>>>=0;const t=w(),r=[];for(let i=e;i<e+4*_;i+=4)r.push(n.__wbindgen_export_4.get(t.getUint32(i,!0)));return n.__externref_drop_slice(e,_),r}function F(e,_){const t=_(4*e.length,4)>>>0;for(let _=0;_<e.length;_++){const n=f(e[_]);w().setUint32(t+4*_,n,!0)}return i=e.length,t}function z(e){let _,t;try{const r=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),o=i,s=n.project_settings_url(r,o);return _=s[0],t=s[1],d(s[0],s[1])}finally{n.__wbindgen_free(_,t,1)}}function x(e){const _=n.__wbindgen_export_4.get(e);return n.__externref_table_dealloc(e),_}function j(e,_){let t,r;try{const a=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),g=i,b=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=i,u=n.diagram_plantuml_url_from_diagram_url(a,g,b,w);var o=u[0],s=u[1];if(u[3])throw o=0,s=0,x(u[2]);return t=o,r=s,d(o,s)}finally{n.__wbindgen_free(t,r,1)}}function k(e,_){let t,r;try{const a=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),g=i,b=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=i,u=n.diagram_spec_url_from_diagram_url(a,g,b,w);var o=u[0],s=u[1];if(u[3])throw o=0,s=0,x(u[2]);return t=o,r=s,d(o,s)}finally{n.__wbindgen_free(t,r,1)}}function O(e,_,t){n.closure146_externref_shim(e,_,t)}const S=["omit","same-origin","include"],A=["same-origin","no-cors","cors","navigate"];"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_aisettings_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_addelementtag_free(e>>>0,1)));const D="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_baseelement_free(e>>>0,1)));class I{static __wrap(e){e>>>=0;const _=Object.create(I.prototype);return _.__wbg_ptr=e,D.register(_,_.__wbg_ptr,_),_}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,D.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_baseelement_free(e,0)}get alias(){const e=n.__wbg_get_baseelement_alias(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set alias(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_tag(this.__wbg_ptr,_,t)}get label(){const e=n.__wbg_get_baseelement_label(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set label(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_bg_color(this.__wbg_ptr,_,t)}get description(){const e=n.__wbg_get_baseelement_description(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set description(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_font_color(this.__wbg_ptr,_,t)}get sprite(){const e=n.__wbg_get_baseelement_sprite(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set sprite(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_border_color(this.__wbg_ptr,_,t)}get tags(){const e=n.__wbg_get_baseelement_tags(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set tags(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_shadowing(this.__wbg_ptr,_,t)}get link(){const e=n.__wbg_get_baseelement_link(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set link(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_shape(this.__wbg_ptr,_,t)}get uuid(){const e=n.__wbg_get_baseelement_uuid(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set uuid(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_sprite(this.__wbg_ptr,_,t)}get notes(){const e=n.__wbg_get_baseelement_notes(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set notes(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_techn(this.__wbg_ptr,_,t)}}const q="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_boundary_free(e>>>0,1)));class E{static __wrap(e){e>>>=0;const _=Object.create(E.prototype);return _.__wbg_ptr=e,q.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof E?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,q.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_boundary_free(e,0)}get base_data(){const e=n.__wbg_get_boundary_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){v(e,I);var _=e.__destroy_into_raw();n.__wbg_set_boundary_base_data(this.__wbg_ptr,_)}get boundary_type(){return n.__wbg_get_boundary_boundary_type(this.__wbg_ptr)}set boundary_type(e){n.__wbg_set_boundary_boundary_type(this.__wbg_ptr,p(e)?0:f(e))}get boundary_custom_type(){const e=n.__wbg_get_boundary_boundary_custom_type(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set boundary_custom_type(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_legend_sprite(this.__wbg_ptr,_,t)}get sub_elements(){const e=n.__wbg_get_boundary_sub_elements(this.__wbg_ptr);var _=R(e[0],e[1]).slice();return n.__wbindgen_free(e[0],4*e[1],4),_}set sub_elements(e){const _=F(e,n.__wbindgen_malloc),t=i;n.__wbg_set_boundary_sub_elements(this.__wbg_ptr,_,t)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_c4elements_free(e>>>0,1)));const H="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_component_free(e>>>0,1)));class J{static __wrap(e){e>>>=0;const _=Object.create(J.prototype);return _.__wbg_ptr=e,H.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof J?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,H.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_component_free(e,0)}get base_data(){const e=n.__wbg_get_component_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){v(e,I);var _=e.__destroy_into_raw();n.__wbg_set_component_base_data(this.__wbg_ptr,_)}get technology(){const e=n.__wbg_get_component_technology(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set technology(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_component_technology(this.__wbg_ptr,_,t)}get component_type(){return n.__wbg_get_component_component_type(this.__wbg_ptr)}set component_type(e){n.__wbg_set_component_component_type(this.__wbg_ptr,p(e)?0:f(e))}}const M="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_container_free(e>>>0,1)));class W{static __wrap(e){e>>>=0;const _=Object.create(W.prototype);return _.__wbg_ptr=e,M.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof W?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,M.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_container_free(e,0)}get base_data(){const e=n.__wbg_get_container_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){v(e,I);var _=e.__destroy_into_raw();n.__wbg_set_container_base_data(this.__wbg_ptr,_)}get technology(){const e=n.__wbg_get_container_technology(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set technology(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_container_technology(this.__wbg_ptr,_,t)}get container_type(){return n.__wbg_get_container_container_type(this.__wbg_ptr)}set container_type(e){n.__wbg_set_container_container_type(this.__wbg_ptr,p(e)?0:f(e))}}const C="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_deploymentnode_free(e>>>0,1)));class G{static __wrap(e){e>>>=0;const _=Object.create(G.prototype);return _.__wbg_ptr=e,C.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof G?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,C.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_deploymentnode_free(e,0)}get base_data(){const e=n.__wbg_get_boundary_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){v(e,I);var _=e.__destroy_into_raw();n.__wbg_set_boundary_base_data(this.__wbg_ptr,_)}get deploymeny_node_custom_type(){const e=n.__wbg_get_deploymentnode_deploymeny_node_custom_type(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set deploymeny_node_custom_type(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_legend_sprite(this.__wbg_ptr,_,t)}get deployment_node_type(){return n.__wbg_get_deploymentnode_deployment_node_type(this.__wbg_ptr)}set deployment_node_type(e){n.__wbg_set_deploymentnode_deployment_node_type(this.__wbg_ptr,p(e)?0:f(e))}get sub_elements(){const e=n.__wbg_get_deploymentnode_sub_elements(this.__wbg_ptr);var _=R(e[0],e[1]).slice();return n.__wbindgen_free(e[0],4*e[1],4),_}set sub_elements(e){const _=F(e,n.__wbindgen_malloc),t=i;n.__wbg_set_boundary_sub_elements(this.__wbg_ptr,_,t)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_diagram_free(e>>>0,1)));const N="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_diagramelementspec_free(e>>>0,1)));class B{static __wrap(e){e>>>=0;const _=Object.create(B.prototype);return _.__wbg_ptr=e,N.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof B?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,N.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_diagramelementspec_free(e,0)}get alias(){const e=n.__wbg_get_diagramelementspec_alias(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set alias(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_alias(this.__wbg_ptr,_,t)}get from(){const e=n.__wbg_get_diagramelementspec_from(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set from(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_from(this.__wbg_ptr,_,t)}get to(){const e=n.__wbg_get_diagramelementspec_to(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set to(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_to(this.__wbg_ptr,_,t)}get shapes(){const e=n.__wbg_get_diagramelementspec_shapes(this.__wbg_ptr);let _;return 0!==e[0]&&(_=R(e[0],e[1]).slice(),n.__wbindgen_free(e[0],4*e[1],4)),_}set shapes(e){var _=p(e)?0:F(e,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramelementspec_shapes(this.__wbg_ptr,_,t)}get element_type(){return n.__wbg_get_diagramelementspec_element_type(this.__wbg_ptr)}set element_type(e){n.__wbg_set_diagramelementspec_element_type(this.__wbg_ptr,p(e)?0:f(e))}get position(){const e=n.__wbg_get_diagramelementspec_position(this.__wbg_ptr);return 0===e?void 0:K.__wrap(e)}set position(e){let _=0;p(e)||(v(e,K),_=e.__destroy_into_raw()),n.__wbg_set_diagramelementspec_position(this.__wbg_ptr,_)}get size(){const e=n.__wbg_get_diagramelementspec_size(this.__wbg_ptr);return 0===e?void 0:te.__wrap(e)}set size(e){let _=0;p(e)||(v(e,te),_=e.__destroy_into_raw()),n.__wbg_set_diagramelementspec_size(this.__wbg_ptr,_)}get inner_specs(){const e=n.__wbg_get_diagramelementspec_inner_specs(this.__wbg_ptr);let _;return 0!==e[0]&&(_=R(e[0],e[1]).slice(),n.__wbindgen_free(e[0],4*e[1],4)),_}set inner_specs(e){var _=p(e)?0:F(e,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramelementspec_inner_specs(this.__wbg_ptr,_,t)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_diagramplantuml_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_diagramspec_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_diagramsthemesettings_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_elementdata_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_hookpayload_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_intounderlyingbytesource_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_intounderlyingsink_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_intounderlyingsource_free(e>>>0,1)));const U="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_minaerror_free(e>>>0,1)));class L{static __wrap(e){e>>>=0;const _=Object.create(L.prototype);return _.__wbg_ptr=e,U.register(_,_.__wbg_ptr,_),_}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,U.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_minaerror_free(e,0)}get code(){return n.__wbg_get_minaerror_code(this.__wbg_ptr)}set code(e){n.__wbg_set_minaerror_code(this.__wbg_ptr,e)}get msg(){let e,_;try{const t=n.__wbg_get_minaerror_msg(this.__wbg_ptr);return e=t[0],_=t[1],d(t[0],t[1])}finally{n.__wbindgen_free(e,_,1)}}set msg(e){const _=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_minaerror_msg(this.__wbg_ptr,_,t)}}const $="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_person_free(e>>>0,1)));class P{static __wrap(e){e>>>=0;const _=Object.create(P.prototype);return _.__wbg_ptr=e,$.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof P?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_person_free(e,0)}get base_data(){const e=n.__wbg_get_person_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){v(e,I);var _=e.__destroy_into_raw();n.__wbg_set_person_base_data(this.__wbg_ptr,_)}get person_type(){return n.__wbg_get_person_person_type(this.__wbg_ptr)}set person_type(e){n.__wbg_set_person_person_type(this.__wbg_ptr,p(e)?0:f(e))}}const Q="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_point_free(e>>>0,1)));class T{static __wrap(e){e>>>=0;const _=Object.create(T.prototype);return _.__wbg_ptr=e,Q.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof T?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_point_free(e,0)}get x(){return n.__wbg_get_point_x(this.__wbg_ptr)}set x(e){n.__wbg_set_point_x(this.__wbg_ptr,e)}get y(){return n.__wbg_get_point_y(this.__wbg_ptr)}set y(e){n.__wbg_set_point_y(this.__wbg_ptr,e)}}const Y="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_position_free(e>>>0,1)));class K{static __wrap(e){e>>>=0;const _=Object.create(K.prototype);return _.__wbg_ptr=e,Y.register(_,_.__wbg_ptr,_),_}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_position_free(e,0)}get left(){const e=n.__wbg_get_position_left(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set left(e){n.__wbg_set_position_left(this.__wbg_ptr,!p(e),p(e)?0:e)}get top(){const e=n.__wbg_get_position_top(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set top(e){n.__wbg_set_position_top(this.__wbg_ptr,!p(e),p(e)?0:e)}get z_index(){const e=n.__wbg_get_position_z_index(this.__wbg_ptr);return 4294967297===e?void 0:e}set z_index(e){n.__wbg_set_position_z_index(this.__wbg_ptr,p(e)?4294967297:0|e)}get angle(){const e=n.__wbg_get_position_angle(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set angle(e){n.__wbg_set_position_angle(this.__wbg_ptr,!p(e),p(e)?0:e)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_project_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_projectlibrary_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_projectsettings_free(e>>>0,1)));const V="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_relationship_free(e>>>0,1)));class X{static __wrap(e){e>>>=0;const _=Object.create(X.prototype);return _.__wbg_ptr=e,V.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof X?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,V.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_relationship_free(e,0)}get base_data(){const e=n.__wbg_get_container_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){v(e,I);var _=e.__destroy_into_raw();n.__wbg_set_container_base_data(this.__wbg_ptr,_)}get from(){const e=n.__wbg_get_relationship_from(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set from(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_container_technology(this.__wbg_ptr,_,t)}get to(){const e=n.__wbg_get_relationship_to(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set to(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_relationship_to(this.__wbg_ptr,_,t)}get technology(){const e=n.__wbg_get_relationship_technology(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set technology(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_relationship_technology(this.__wbg_ptr,_,t)}get relationship_type(){return n.__wbg_get_relationship_relationship_type(this.__wbg_ptr)}set relationship_type(e){n.__wbg_set_relationship_relationship_type(this.__wbg_ptr,p(e)?0:f(e))}}const Z="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_shape_free(e>>>0,1)));class ee{static __wrap(e){e>>>=0;const _=Object.create(ee.prototype);return _.__wbg_ptr=e,Z.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof ee?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_shape_free(e,0)}get shape_type(){return n.__wbg_get_shape_shape_type(this.__wbg_ptr)}set shape_type(e){n.__wbg_set_shape_shape_type(this.__wbg_ptr,p(e)?0:f(e))}get position(){const e=n.__wbg_get_shape_position(this.__wbg_ptr);return 0===e?void 0:K.__wrap(e)}set position(e){let _=0;p(e)||(v(e,K),_=e.__destroy_into_raw()),n.__wbg_set_shape_position(this.__wbg_ptr,_)}get size(){const e=n.__wbg_get_shape_size(this.__wbg_ptr);return 0===e?void 0:te.__wrap(e)}set size(e){let _=0;p(e)||(v(e,te),_=e.__destroy_into_raw()),n.__wbg_set_shape_size(this.__wbg_ptr,_)}}const _e="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_size_free(e>>>0,1)));class te{static __wrap(e){e>>>=0;const _=Object.create(te.prototype);return _.__wbg_ptr=e,_e.register(_,_.__wbg_ptr,_),_}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,_e.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_size_free(e,0)}get width(){const e=n.__wbg_get_size_width(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set width(e){n.__wbg_set_size_width(this.__wbg_ptr,!p(e),p(e)?0:e)}get height(){const e=n.__wbg_get_size_height(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set height(e){n.__wbg_set_size_height(this.__wbg_ptr,!p(e),p(e)?0:e)}get scale_x(){const e=n.__wbg_get_size_scale_x(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set scale_x(e){n.__wbg_set_size_scale_x(this.__wbg_ptr,!p(e),p(e)?0:e)}get scale_y(){const e=n.__wbg_get_size_scale_y(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set scale_y(e){n.__wbg_set_size_scale_y(this.__wbg_ptr,!p(e),p(e)?0:e)}}const ne="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_softwaresystem_free(e>>>0,1)));class re{static __wrap(e){e>>>=0;const _=Object.create(re.prototype);return _.__wbg_ptr=e,ne.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof re?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ne.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_softwaresystem_free(e,0)}get base_data(){const e=n.__wbg_get_component_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){v(e,I);var _=e.__destroy_into_raw();n.__wbg_set_component_base_data(this.__wbg_ptr,_)}get system_type(){return n.__wbg_get_softwaresystem_system_type(this.__wbg_ptr)}set system_type(e){n.__wbg_set_softwaresystem_system_type(this.__wbg_ptr,p(e)?0:f(e))}}function ie(e,_){const t=c(String(_),n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(e+4,r,!0),w().setInt32(e+0,t,!0)}function oe(e){e.abort()}function se(){return l((function(e,_,t,n,r){e.append(d(_,t),d(n,r))}),arguments)}function ae(){return l((function(e,_,t,n,r){e.append(d(_,t),d(n,r))}),arguments)}function ge(){return l((function(e,_,t,n,r,i){e.append(d(_,t),n,d(r,i))}),arguments)}function ce(){return l((function(e,_,t,n){e.append(d(_,t),n)}),arguments)}function be(){return l((function(e){return e.arrayBuffer()}),arguments)}function we(e){return e.arrayBuffer()}function ue(e){return E.__wrap(e)}function de(e){return E.__unwrap(e)}function fe(e){return e.buffer}function le(e){return e.buffer}function pe(e){const _=e.byobRequest;return p(_)?0:f(_)}function ye(e){return e.byteLength}function he(e){return e.byteOffset}function me(){return l((function(e,_){return e.call(_)}),arguments)}function ve(){return l((function(e,_,t){return e.call(_,t)}),arguments)}function Re(e){return e.close()}function Fe(){return l((function(e){e.close()}),arguments)}function ze(){return l((function(e){e.close()}),arguments)}function xe(e){return J.__wrap(e)}function je(e){return J.__unwrap(e)}function ke(e){return W.__wrap(e)}function Oe(e){return W.__unwrap(e)}function Se(e,_){return e.createWritable(_)}function Ae(e){return e.crypto}function De(e){console.debug(e)}function Ie(e){return G.__wrap(e)}function qe(e){return G.__unwrap(e)}function Ee(e){return B.__wrap(e)}function He(e){return B.__unwrap(e)}function Je(e){return e.done}function Me(){return l((function(e,_){e.enqueue(_)}),arguments)}function We(e){return e.entries()}function Ce(e){return Object.entries(e)}function Ge(e){console.error(e)}function Ne(e,_){let t,r;try{t=e,r=_,console.error(d(e,_))}finally{n.__wbindgen_free(t,r,1)}}function Be(e){return fetch(e)}function Ue(e,_){return e.fetch(_)}function Le(e,_,t,n){return e.getDirectoryHandle(d(_,t),n)}function $e(e,_,t,n){return e.getFileHandle(d(_,t),n)}function Pe(e){return e.getFile()}function Qe(){return l((function(e,_){e.getRandomValues(_)}),arguments)}function Te(){return l((function(e,_){return Reflect.get(e,_)}),arguments)}function Ye(){return l((function(e,_,t,r){const o=_[d(t,r)];var s=p(o)?0:c(o,n.__wbindgen_malloc,n.__wbindgen_realloc),a=i;w().setInt32(e+4,a,!0),w().setInt32(e+0,s,!0)}),arguments)}function Ke(e,_){return e[_>>>0]}function Ve(e,_){return e[_]}function Xe(){return l((function(e,_){return Reflect.has(e,_)}),arguments)}function Ze(e){return e.headers}function e_(e){console.info(e)}function __(e){let _;try{_=e instanceof ArrayBuffer}catch(e){_=!1}return _}function t_(e){let _;try{_=e instanceof Error}catch(e){_=!1}return _}function n_(e){let _;try{_=e instanceof FileSystemDirectoryHandle}catch(e){_=!1}return _}function r_(e){let _;try{_=e instanceof FileSystemFileHandle}catch(e){_=!1}return _}function i_(e){let _;try{_=e instanceof File}catch(e){_=!1}return _}function o_(e){let _;try{_=e instanceof Response}catch(e){_=!1}return _}function s_(e){let _;try{_=e instanceof Uint8Array}catch(e){_=!1}return _}function a_(e){let _;try{_=e instanceof Window}catch(e){_=!1}return _}function g_(e){return Array.isArray(e)}function c_(e){return Number.isSafeInteger(e)}function b_(){return Symbol.iterator}function w_(e){return e.lastModified}function u_(e){return e.length}function d_(e){return e.length}function f_(){return l((function(e){const _=e.localStorage;return p(_)?0:f(_)}),arguments)}function l_(e){console.log(e)}function p_(e){return e.message}function y_(e){return L.__wrap(e)}function h_(e){return e.msCrypto}function m_(e,_){const t=c(_.name,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(e+4,r,!0),w().setInt32(e+0,t,!0)}function v_(){return l((function(){return new Headers}),arguments)}function R_(e,_){try{var t={a:e,b:_};const r=new Promise(((e,_)=>{const r=t.a;t.a=0;try{return function(e,_,t,r){n.closure72_externref_shim(e,_,t,r)}(r,t.b,e,_)}finally{t.a=r}}));return r}finally{t.a=t.b=0}}function F_(){return new Object}function z_(){return new Map}function x_(){return new Array}function j_(){return new Error}function k_(){return l((function(){return new FormData}),arguments)}function O_(e){return new Uint8Array(e)}function S_(e,_){return new Error(d(e,_))}function A_(){return l((function(){return new AbortController}),arguments)}function D_(e,_){return new Function(d(e,_))}function I_(e,_,t){return new Uint8Array(e,_>>>0,t>>>0)}function q_(e){return new Uint8Array(e>>>0)}function E_(){return l((function(e,_,t){return new Request(d(e,_),t)}),arguments)}function H_(){return l((function(e,_){return new Blob(e,_)}),arguments)}function J_(e){return e.next}function M_(){return l((function(e){return e.next()}),arguments)}function W_(){return l((function(e){return e.next()}),arguments)}function C_(e){return e.node}function G_(e){return P.__wrap(e)}function N_(e){return P.__unwrap(e)}function B_(e){return T.__wrap(e)}function U_(e){return T.__unwrap(e)}function L_(){return l((function(e,_){e.postMessage(_)}),arguments)}function $_(e){return e.process}function P_(e,_){return e.push(_)}function Q_(e){queueMicrotask(e)}function T_(e){return e.queueMicrotask}function Y_(){return l((function(e,_){e.randomFillSync(_)}),arguments)}function K_(e){return X.__wrap(e)}function V_(e){return X.__unwrap(e)}function X_(e,_,t){return e.removeEntry(d(_,t))}function Z_(e,_,t,n){return e.removeEntry(d(_,t),n)}function et(){return l((function(){return e.require}),arguments)}function _t(e){return Promise.resolve(e)}function tt(){return l((function(e,_){e.respond(_>>>0)}),arguments)}function nt(){return l((function(e,_){return e.seek(_)}),arguments)}function rt(e,_,t){e[_]=t}function it(e,_,t){e[_>>>0]=t}function ot(e,_,t){e.set(_,t>>>0)}function st(e,_,t){return e.set(_,t)}function at(){return l((function(e,_,t,n,r){e[d(_,t)]=d(n,r)}),arguments)}function gt(e,_){e.body=_}function ct(e,_){e.create=0!==_}function bt(e,_){e.create=0!==_}function wt(e,_){e.credentials=S[_]}function ut(e,_){e.headers=_}function dt(e,_){e.keepExistingData=0!==_}function ft(e,_,t){e.method=d(_,t)}function lt(e,_){e.mode=A[_]}function pt(e,_){e.recursive=0!==_}function yt(e,_){e.signal=_}function ht(e,_,t){e.type=d(_,t)}function mt(e){return ee.__wrap(e)}function vt(e){return ee.__unwrap(e)}function Rt(e){return e.signal}function Ft(e){return e.size}function zt(e){return re.__wrap(e)}function xt(e){return re.__unwrap(e)}function jt(e,_){const t=c(_.stack,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(e+4,r,!0),w().setInt32(e+0,t,!0)}function kt(){const e="undefined"==typeof global?null:global;return p(e)?0:f(e)}function Ot(){const e="undefined"==typeof globalThis?null:globalThis;return p(e)?0:f(e)}function St(){const e="undefined"==typeof self?null:self;return p(e)?0:f(e)}function At(){const e="undefined"==typeof window?null:window;return p(e)?0:f(e)}function Dt(e){return e.status}function It(){return l((function(e){return JSON.stringify(e)}),arguments)}function qt(e,_,t){return e.subarray(_>>>0,t>>>0)}function Et(e){return e.text()}function Ht(e,_){return e.then(_)}function Jt(e,_,t){return e.then(_,t)}function Mt(e,_){const t=c(_.url,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(e+4,r,!0),w().setInt32(e+0,t,!0)}function Wt(e){return e.value}function Ct(e){return e.versions}function Gt(e){const _=e.view;return p(_)?0:f(_)}function Nt(e){console.warn(e)}function Bt(){return l((function(e,_){return e.write(_)}),arguments)}function Ut(e){return+e}function Lt(e){return BigInt.asUintN(64,e)}function $t(e,_){const t="bigint"==typeof _?_:void 0;w().setBigInt64(e+8,p(t)?BigInt(0):t,!0),w().setInt32(e+0,!p(t),!0)}function Pt(e){return"boolean"==typeof e?e?1:0:2}function Qt(e){const _=e.original;return 1==_.cnt--&&(_.a=0,!0)}function Tt(e,_,t){const r=function(e,_,t,r){const i={a:e,b:_,cnt:1,dtor:147},o=(...e)=>{i.cnt++;const _=i.a;i.a=0;try{return r(_,i.b,...e)}finally{0==--i.cnt?(n.__wbindgen_export_6.get(i.dtor)(_,i.b),y.unregister(i)):i.a=_}};return o.original=i,y.register(o,i,i),o}(e,_,0,O);return r}function Yt(e,_){const t=c(h(_),n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(e+4,r,!0),w().setInt32(e+0,t,!0)}function Kt(e,_){return new Error(d(e,_))}function Vt(e,_){return e in _}function Xt(){const e=n.__wbindgen_export_4,_=e.grow(4);e.set(0,void 0),e.set(_+0,void 0),e.set(_+1,null),e.set(_+2,!0),e.set(_+3,!1)}function Zt(e){return"bigint"==typeof e}function en(e){return"function"==typeof e}function _n(e){return"object"==typeof e&&null!==e}function tn(e){return"string"==typeof e}function nn(e){return void 0===e}function rn(e,_){return e===_}function on(e,_){return e==_}function sn(){return n.memory}function an(e,_){const t="number"==typeof _?_:void 0;w().setFloat64(e+8,p(t)?0:t,!0),w().setInt32(e+0,!p(t),!0)}function gn(e){return e}function cn(e,_){const t="string"==typeof _?_:void 0;var r=p(t)?0:c(t,n.__wbindgen_malloc,n.__wbindgen_realloc),o=i;w().setInt32(e+4,o,!0),w().setInt32(e+0,r,!0)}function bn(e,_){return d(e,_)}function wn(e,_){throw new Error(d(e,_))}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_themessettings_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_usersettings_free(e>>>0,1)))},507:(e,_,t)=>{t.a(e,(async(e,n)=>{try{t.d(_,{Ay:()=>g,RC:()=>a,Y$:()=>o,wS:()=>s});var r=t(519),i=e([r]);async function o(e,_){if(_){const t="https://keadex.dev/api/download-gh-raw-file",n={headers:{"Keadex-Gh-Url":e}};return _&&(n.headers["Keadex-Gh-Authorization"]=_),await fetch(t,n)}return await fetch(e)}async function s(e,_,t){let n,i,s;try{n=(0,r._Cc)(e),i=(0,r.Llp)(e,_),s=(0,r.JD7)(e,_)}catch(e){throw console.error(e),new Error("Invalid URL: the provided URL is an invalid Mina project or diagram.")}if(n&&i&&s){let e,_,r;try{const a=await o(n,t),g=await o(i,t),c=await o(s,t);if(a.ok&&g.ok&&c.ok)return e=await a.text(),_=await g.text(),r=await c.text(),{projectSettingsJson:e,plantuml:_,spec:r};throw new Error}catch(e){throw console.error(e),new Error("Diagram or project settings not found. Please verify the URLs provided, or, if linking to a private repository, ensure the GitHub token is configured.")}}}async function a(e,_,t){try{const i=await s(e,_,t);var n;if(i)return{diagram:await(0,r.Oxg)(e,_,i.plantuml,i.spec),diagramsThemeSettings:null==(n=JSON.parse(i.projectSettingsJson).themes_settings)?void 0:n.diagrams_theme_settings}}catch(e){console.error(e)}}r=(i.then?(await i)():i)[0];const g={fetchGhRawFile:o,downloadDiagramData:s,openRemoteProjectDiagram:a};n()}catch(c){n(c)}}))},519:(e,_,t)=>{t.a(e,(async(e,n)=>{try{t.d(_,{JD7:()=>i.JD7,Llp:()=>i.Llp,Oxg:()=>i.Oxg,_Cc:()=>i._Cc});var r=t(196),i=t(457),o=e([r]);r=(o.then?(await o)():o)[0],(0,i.lIU)(r),r.__wbindgen_start(),n()}catch(e){n(e)}}))}},i={};function o(e){var _=i[e];if(void 0!==_)return _.exports;var t=i[e]={id:e,loaded:!1,exports:{}};return r[e](t,t.exports,o),t.loaded=!0,t.exports}e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",_="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",t="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",n=e=>{e&&e.d<1&&(e.d=1,e.forEach((e=>e.r--)),e.forEach((e=>e.r--?e.r++:e())))},o.a=(r,i,o)=>{var s;o&&((s=[]).d=-1);var a,g,c,b=new Set,w=r.exports,u=new Promise(((e,_)=>{c=_,g=e}));u[_]=w,u[e]=e=>(s&&e(s),b.forEach(e),u.catch((e=>{}))),r.exports=u,i((r=>{var i;a=(r=>r.map((r=>{if(null!==r&&"object"==typeof r){if(r[e])return r;if(r.then){var i=[];i.d=0,r.then((e=>{o[_]=e,n(i)}),(e=>{o[t]=e,n(i)}));var o={};return o[e]=e=>e(i),o}}var s={};return s[e]=e=>{},s[_]=r,s})))(r);var o=()=>a.map((e=>{if(e[t])throw e[t];return e[_]})),g=new Promise((_=>{(i=()=>_(o)).r=0;var t=e=>e!==s&&!b.has(e)&&(b.add(e),e&&!e.d&&(i.r++,e.push(i)));a.map((_=>_[e](t)))}));return i.r?g:o()}),(e=>(e?c(u[t]=e):g(w),n(s)))),s&&s.d<0&&(s.d=0)},o.d=(e,_)=>{for(var t in _)o.o(_,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:_[t]})},o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),o.v=(e,_,t,n)=>Promise.all([import("fs"),import("url")]).then((([{readFile:e},{URL:_}])=>new Promise(((n,r)=>{e(new _(t+".module.wasm",import.meta.url),((e,_)=>{if(e)return r(e);n({arrayBuffer:()=>_})}))})))).then((e=>e.arrayBuffer())).then((e=>WebAssembly.instantiate(e,n))).then((_=>Object.assign(e,_.instance.exports)));var s=o(507),a=(s=await s).Ay,g=s.wS,c=s.Y$,b=s.RC;export{a as default,g as downloadDiagramData,c as fetchGhRawFile,b as openRemoteProjectDiagram};
|