draught/10.bootstrap.js
2022-09-17 21:52:27 +00:00

2 lines
18 KiB
JavaScript

"use strict";(self.webpackChunkdraught=self.webpackChunkdraught||[]).push([[10],{171:(t,e,r)=>{r.a(t,(async(n,_)=>{try{r.d(e,{$L:()=>yt,AX:()=>Y,Ck:()=>R,HM:()=>it,J:()=>nt,Ji:()=>rt,KM:()=>L,LW:()=>Z,Ni:()=>ft,Nl:()=>G,Or:()=>St,Pc:()=>et,Rv:()=>K,SZ:()=>B,Sn:()=>mt,Tc:()=>lt,Tt:()=>S,VY:()=>V,Vf:()=>ut,XP:()=>P,YL:()=>pt,Z_:()=>Q,a2:()=>C,bB:()=>gt,bD:()=>st,bj:()=>xt,cE:()=>X,fP:()=>It,fY:()=>Nt,gW:()=>ht,h4:()=>W,i0:()=>N,iX:()=>J,ib:()=>Et,jp:()=>Tt,kH:()=>jt,l3:()=>ct,lA:()=>A,lB:()=>kt,m_:()=>Bt,o0:()=>F,oH:()=>Ot,oY:()=>$,qh:()=>bt,qz:()=>z,rh:()=>U,ri:()=>at,so:()=>ot,tI:()=>dt,ug:()=>H,v8:()=>tt,vc:()=>_t,wJ:()=>vt,wc:()=>E,wg:()=>D,yB:()=>wt});var a=r(657);t=r.hmd(t);var c=n([a]);a=(c.then?(await c)():c)[0];const o=new Array(32).fill(void 0);function i(t){return o[t]}o.push(void 0,null,!0,!1);let s=o.length;function u(t){t<36||(o[t]=s,s=t)}function l(t){const e=i(t);return u(t),e}let p=new("undefined"==typeof TextDecoder?(0,t.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});p.decode();let d=new Uint8Array;function g(){return 0===d.byteLength&&(d=new Uint8Array(a.memory.buffer)),d}function b(t,e){return p.decode(g().subarray(t,t+e))}function h(t){s===o.length&&o.push(o.length+1);const e=s;return s=o[e],o[e]=t,e}function f(t){const e=typeof t;if("number"==e||"boolean"==e||null==t)return`${t}`;if("string"==e)return`"${t}"`;if("symbol"==e){const e=t.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==e){const e=t.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(t)){const e=t.length;let r="[";e>0&&(r+=f(t[0]));for(let n=1;n<e;n++)r+=", "+f(t[n]);return r+="]",r}const r=/\[object ([^\]]+)\]/.exec(toString.call(t));let n;if(!(r.length>1))return toString.call(t);if(n=r[1],"Object"==n)try{return"Object("+JSON.stringify(t)+")"}catch(t){return"Object"}return t instanceof Error?`${t.name}: ${t.message}\n${t.stack}`:n}let w=0,m=new("undefined"==typeof TextEncoder?(0,t.require)("util").TextEncoder:TextEncoder)("utf-8");const y="function"==typeof m.encodeInto?function(t,e){return m.encodeInto(t,e)}:function(t,e){const r=m.encode(t);return e.set(r),{read:t.length,written:r.length}};function v(t,e,r){if(void 0===r){const r=m.encode(t),n=e(r.length);return g().subarray(n,n+r.length).set(r),w=r.length,n}let n=t.length,_=e(n);const a=g();let c=0;for(;c<n;c++){const e=t.charCodeAt(c);if(e>127)break;a[_+c]=e}if(c!==n){0!==c&&(t=t.slice(c)),_=r(_,n,n=c+3*t.length);const e=g().subarray(_+c,_+n);c+=y(t,e).written}return w=c,_}let T=new Int32Array;function k(){return 0===T.byteLength&&(T=new Int32Array(a.memory.buffer)),T}function I(t){return null==t}function x(t,e){if(!(t instanceof e))throw new Error(`expected instance of ${e.name}`);return t.ptr}function E(){a.init_wasm()}function j(t,e){try{return t.apply(this,e)}catch(t){a.__wbindgen_exn_store(h(t))}}Object.freeze({Move:0,0:"Move",Jump:1,1:"Jump"});const B=Object.freeze({Black:0,0:"Black",White:1,1:"White"}),N=(Object.freeze({Man:0,0:"Man",King:1,1:"King"}),Object.freeze({Empty:0,0:"Empty",Occupied:1,1:"Occupied",Unplayable:2,2:"Unplayable"})),S=Object.freeze({Allowed:0,0:"Allowed",UnoccupiedSrc:1,1:"UnoccupiedSrc",OccupiedDest:2,2:"OccupiedDest",OutOfBounds:3,3:"OutOfBounds",Unplayable:4,4:"Unplayable",WrongTeamSrc:5,5:"WrongTeamSrc",IllegalTrajectory:6,6:"IllegalTrajectory",NoJumpablePiece:7,7:"NoJumpablePiece",JumpingSameTeam:8,8:"JumpingSameTeam"});class O{static __wrap(t){const e=Object.create(O.prototype);return e.ptr=t,e}__destroy_into_raw(){const t=this.ptr;return this.ptr=0,t}free(){const t=this.__destroy_into_raw();a.__wbg_board_free(t)}get width(){return a.__wbg_get_board_width(this.ptr)>>>0}set width(t){a.__wbg_set_board_width(this.ptr,t)}get height(){return a.__wbg_get_board_height(this.ptr)>>>0}set height(t){a.__wbg_set_board_height(this.ptr,t)}get current_turn(){return a.__wbg_get_board_current_turn(this.ptr)>>>0}set current_turn(t){a.__wbg_set_board_current_turn(this.ptr,t)}cell(t){const e=a.board_cell(this.ptr,t);return M.__wrap(e)}set_cell(t,e){x(e,M);var r=e.ptr;e.ptr=0,a.board_set_cell(this.ptr,t,r)}grid_cell(t){x(t,U);var e=t.ptr;t.ptr=0;const r=a.board_grid_cell(this.ptr,e);return M.__wrap(r)}cell_index(t,e){return a.board_cell_index(this.ptr,t,e)>>>0}cell_idx(t){x(t,U);var e=t.ptr;return t.ptr=0,a.board_cell_idx(this.ptr,e)>>>0}board_index(t){const e=a.board_board_index(this.ptr,t);return U.__wrap(e)}can_move(t,e){x(t,U);var r=t.ptr;t.ptr=0,x(e,U);var n=e.ptr;return e.ptr=0,a.board_can_move(this.ptr,r,n)>>>0}validate_man_move(t,e,r){x(t,U);var n=t.ptr;t.ptr=0,x(e,U);var _=e.ptr;e.ptr=0,x(r,q);var c=r.ptr;return r.ptr=0,a.board_validate_man_move(this.ptr,n,_,c)>>>0}validate_king_move(t,e,r){x(t,U);var n=t.ptr;t.ptr=0,x(e,U);var _=e.ptr;e.ptr=0,x(r,q);var c=r.ptr;return r.ptr=0,a.board_validate_king_move(this.ptr,n,_,c)>>>0}jumpee_idx(t,e){x(t,U);var r=t.ptr;t.ptr=0,x(e,U);var n=e.ptr;return e.ptr=0,a.board_jumpee_idx(this.ptr,r,n)>>>0}cells(){return a.board_cells(this.ptr)}num_cells(){return a.board_num_cells(this.ptr)>>>0}num_pieces(){return a.board_num_pieces(this.ptr)>>>0}num_player(t){return a.board_num_player(this.ptr,t)>>>0}score(){return a.board_score(this.ptr)}cell_state(t){return a.board_cell_state(this.ptr,t)>>>0}apply_move(t,e){x(t,U);var r=t.ptr;t.ptr=0,x(e,U);var n=e.ptr;e.ptr=0;const _=a.board_apply_move(this.ptr,r,n);return O.__wrap(_)}apply_jump(t,e){x(t,U);var r=t.ptr;t.ptr=0,x(e,U);var n=e.ptr;e.ptr=0;const _=a.board_apply_jump(this.ptr,r,n);return O.__wrap(_)}king_row_idx(){return a.board_king_row_idx(this.ptr)>>>0}static validate_jumpee(t,e){x(t,M);var r=t.ptr;t.ptr=0,x(e,q);var n=e.ptr;return e.ptr=0,a.board_validate_jumpee(r,n)>>>0}static check_jumpee_team(t,e){x(t,q);var r=t.ptr;t.ptr=0,x(e,q);var n=e.ptr;return e.ptr=0,0!==a.board_check_jumpee_team(r,n)}constructor(t,e,r){const n=a.board_new(t,e,r);return O.__wrap(n)}static init_game(t,e){x(t,O);var r=t.ptr;t.ptr=0;const n=a.board_init_game(r,e);return O.__wrap(n)}}class U{static __wrap(t){const e=Object.create(U.prototype);return e.ptr=t,e}__destroy_into_raw(){const t=this.ptr;return this.ptr=0,t}free(){const t=this.__destroy_into_raw();a.__wbg_brdidx_free(t)}get row(){return a.__wbg_get_brdidx_row(this.ptr)>>>0}set row(t){a.__wbg_set_brdidx_row(this.ptr,t)}get col(){return a.__wbg_get_brdidx_col(this.ptr)>>>0}set col(t){a.__wbg_set_brdidx_col(this.ptr,t)}constructor(t,e){const r=a.brdidx_from(t,e);return U.__wrap(r)}eq(t){return x(t,U),0!==a.brdidx_eq(this.ptr,t.ptr)}}class A{static __wrap(t){const e=Object.create(A.prototype);return e.ptr=t,e}__destroy_into_raw(){const t=this.ptr;return this.ptr=0,t}free(){const t=this.__destroy_into_raw();a.__wbg_game_free(t)}get last_node_count(){return a.__wbg_get_game_last_node_count(this.ptr)>>>0}set last_node_count(t){a.__wbg_set_game_last_node_count(this.ptr,t)}get perfect_chance(){return a.__wbg_get_game_perfect_chance(this.ptr)}set perfect_chance(t){a.__wbg_set_game_perfect_chance(this.ptr,t)}current_board_cells(){return a.game_current_board_cells(this.ptr)}current_board_len(){return a.game_current_board_len(this.ptr)>>>0}current_turn(){return a.game_current_turn(this.ptr)>>>0}score(){return a.game_score(this.ptr)}winning(){const t=a.game_winning(this.ptr);return 2===t?void 0:t}has_won(){const t=a.game_has_won(this.ptr);return 2===t?void 0:t}current_cell_state(t){x(t,U);const e=a.game_current_cell_state(this.ptr,t.ptr);return M.__wrap(e)}set_search_depth(t){a.game_set_search_depth(this.ptr,t)}set_selected(t){x(t,U),a.game_set_selected(this.ptr,t.ptr)}set_perfect_chance(t){a.game_set_perfect_chance(this.ptr,t)}clear_selected(){a.game_clear_selected(this.ptr)}make_move(t,e){x(t,U);var r=t.ptr;t.ptr=0,x(e,U);var n=e.ptr;return e.ptr=0,a.game_make_move(this.ptr,r,n)>>>0}execute_move(t,e){x(t,U);var r=t.ptr;t.ptr=0,x(e,U);var n=e.ptr;e.ptr=0,a.game_execute_move(this.ptr,r,n)}execute_jump(t,e){x(t,U);var r=t.ptr;t.ptr=0,x(e,U);var n=e.ptr;e.ptr=0,a.game_execute_jump(this.ptr,r,n)}push_new_board(t){x(t,O);var e=t.ptr;t.ptr=0,a.game_push_new_board(this.ptr,e)}set_current(t){x(t,O);var e=t.ptr;t.ptr=0,a.game_set_current(this.ptr,e)}constructor(t,e,r,n,_){const c=a.game_new(t,e,r,n,_);return A.__wrap(c)}static new_with_canvas(t,e,r,n,_,c,o,i){const s=v(c,a.__wbindgen_malloc,a.__wbindgen_realloc),u=w,l=a.game_new_with_canvas(t,e,r,n,_,s,u,o,i);return A.__wrap(l)}set_painter(t){x(t,R);var e=t.ptr;t.ptr=0,a.game_set_painter(this.ptr,e)}draw(){a.game_draw(this.ptr)}ai_move(){a.game_ai_move(this.ptr)}}class R{static __wrap(t){const e=Object.create(R.prototype);return e.ptr=t,e}__destroy_into_raw(){const t=this.ptr;return this.ptr=0,t}free(){const t=this.__destroy_into_raw();a.__wbg_painter_free(t)}constructor(t,e,r){const n=v(r,a.__wbindgen_malloc,a.__wbindgen_realloc),_=w,c=a.painter_new(t,e,n,_);return R.__wrap(c)}static new_with_canvas(t,e,r){const n=a.painter_new_with_canvas(t,e,h(r));return R.__wrap(n)}set_square_outline(t){a.painter_set_square_outline(this.ptr,h(t))}set_outline_width(t){a.painter_set_outline_width(this.ptr,t)}set_draw_outline(t){a.painter_set_draw_outline(this.ptr,t)}reset_dimensions(){a.painter_reset_dimensions(this.ptr)}validate_board_dim(t){return x(t,O),0!==a.painter_validate_board_dim(this.ptr,t.ptr)}draw(t){x(t,O),a.painter_draw(this.ptr,t.ptr)}}class q{static __wrap(t){const e=Object.create(q.prototype);return e.ptr=t,e}__destroy_into_raw(){const t=this.ptr;return this.ptr=0,t}free(){const t=this.__destroy_into_raw();a.__wbg_piece_free(t)}get team(){return a.__wbg_get_piece_team(this.ptr)>>>0}set team(t){a.__wbg_set_piece_team(this.ptr,t)}get strength(){return a.__wbg_get_piece_strength(this.ptr)>>>0}set strength(t){a.__wbg_set_piece_strength(this.ptr,t)}constructor(t,e){const r=a.piece_new(t,e);return q.__wrap(r)}}class M{static __wrap(t){const e=Object.create(M.prototype);return e.ptr=t,e}__destroy_into_raw(){const t=this.ptr;return this.ptr=0,t}free(){const t=this.__destroy_into_raw();a.__wbg_square_free(t)}get occupant(){const t=a.__wbg_get_square_occupant(this.ptr);return 0===t?void 0:q.__wrap(t)}set occupant(t){let e=0;I(t)||(x(t,q),e=t.ptr,t.ptr=0),a.__wbg_set_square_occupant(this.ptr,e)}get state(){return a.__wbg_get_square_state(this.ptr)>>>0}set state(t){a.__wbg_set_square_state(this.ptr,t)}constructor(t,e){let r=0;I(e)||(x(e,q),r=e.ptr,e.ptr=0);const n=a.square_new(t,r);return M.__wrap(n)}static pc(t,e){const r=a.square_pc(t,e);return M.__wrap(r)}static empty(){const t=a.square_empty();return M.__wrap(t)}static unplay(){const t=a.square_unplay();return M.__wrap(t)}}function H(t){l(t)}function W(t,e){return h(b(t,e))}function C(){return h(new Error)}function L(t,e){const r=v(i(e).stack,a.__wbindgen_malloc,a.__wbindgen_realloc),n=w;k()[t/4+1]=n,k()[t/4+0]=r}function J(t,e){try{console.error(b(t,e))}finally{a.__wbindgen_free(t,e)}}function $(){return j((function(){return h(self.self)}),arguments)}function D(t){return h(i(t).crypto)}function Y(t){return h(i(t).msCrypto)}function P(t){return void 0===i(t)}function Z(t,e,r){return h(i(t).require(b(e,r)))}function K(t){return h(i(t).getRandomValues)}function F(t,e){i(t).getRandomValues(i(e))}function V(t,e,r){var n,_;i(t).randomFillSync((n=e,_=r,g().subarray(n/1,n/1+_)))}function z(){return h(t)}function X(t){let e;try{e=i(t)instanceof Window}catch{e=!1}return e}function G(t){const e=i(t).document;return I(e)?0:h(e)}function Q(t,e,r){const n=i(t).getElementById(b(e,r));return I(n)?0:h(n)}function tt(t){console.error(i(t))}function et(t){console.log(i(t))}function rt(t){let e;try{e=i(t)instanceof CanvasRenderingContext2D}catch{e=!1}return e}function nt(t,e){i(t).strokeStyle=i(e)}function _t(t,e){i(t).fillStyle=i(e)}function at(t,e){i(t).lineWidth=e}function ct(t){i(t).beginPath()}function ot(t){i(t).fill()}function it(t){i(t).stroke()}function st(){return j((function(t,e,r,n,_,a){i(t).arc(e,r,n,_,a)}),arguments)}function ut(t,e,r,n,_){i(t).fillRect(e,r,n,_)}function lt(t,e,r,n,_){i(t).strokeRect(e,r,n,_)}function pt(t){let e;try{e=i(t)instanceof HTMLCanvasElement}catch{e=!1}return e}function dt(t,e){i(t).width=e>>>0}function gt(t,e){i(t).height=e>>>0}function bt(){return j((function(t,e,r){const n=i(t).getContext(b(e,r));return I(n)?0:h(n)}),arguments)}function ht(t,e){return h(new Function(b(t,e)))}function ft(){return j((function(t,e){return h(i(t).call(i(e)))}),arguments)}function wt(){return j((function(){return h(self.self)}),arguments)}function mt(){return j((function(){return h(window.window)}),arguments)}function yt(){return j((function(){return h(globalThis.globalThis)}),arguments)}function vt(){return j((function(){return h(r.g.global)}),arguments)}function Tt(t){return h(i(t).buffer)}function kt(t){return h(new Uint8Array(i(t)))}function It(t,e,r){i(t).set(i(e),r>>>0)}function xt(t){return i(t).length}function Et(t){return h(new Uint8Array(t>>>0))}function jt(t,e,r){return h(i(t).subarray(e>>>0,r>>>0))}function Bt(t){return h(i(t))}function Nt(t,e){const r=v(f(i(e)),a.__wbindgen_malloc,a.__wbindgen_realloc),n=w;k()[t/4+1]=n,k()[t/4+0]=r}function St(t,e){throw new Error(b(t,e))}function Ot(){return h(a.memory)}_()}catch(Ut){_(Ut)}}))},10:(t,e,r)=>{r.a(t,(async(t,n)=>{try{r.r(e);var _=r(171),a=t([_]);_=(a.then?(await a)():a)[0];const l=720,p=720;var c=8,o=8,i=3,s=4,u=.5;const d=3e3,g=3e3,b={HUMAN_TURN:{THINKING:"human_turn.thinking",FROM_SELECTED:"human_turn.from_selected"},AI_TURN:"ai_turn"};(0,_.wc)(),document.getElementById("status-p");const h=document.getElementById("status-d"),f=document.getElementById("team-p"),w=document.getElementById("node-count"),m=document.getElementById("winning-p");document.getElementById("startBtn").onclick=B;let y=null,v=null,T=O,k=b.HUMAN_TURN.THINKING,I=null,x=null,E=[];B();const j=document.getElementById("game-canvas");function B(){I=new _.lA(c,o,i,_.SZ.Black,s),x=new _.Ck(l,p,"game-canvas"),I.set_painter(x),I.draw(),clearInterval(y),U(),A(),E=[],k=b.HUMAN_TURN.THINKING}function N(t){switch(k){case b.HUMAN_TURN.THINKING:if(I.current_cell_state(t).state!=_.i0.Occupied)return;if(I.current_cell_state(t).occupant.team!=I.current_turn())return;E.push(t),k=b.HUMAN_TURN.FROM_SELECTED,I.set_selected(t),I.draw();break;case b.HUMAN_TURN.FROM_SELECTED:if(!E[0].eq(t)){if(I.current_cell_state(t).state!=_.i0.Empty)return;if(E.push(t),2!=E.length)return T(`Error: wrong number of clicks to process ${E.length}`),void console.error(`Error: wrong number of clicks to process ${E.length}`);switch(I.make_move(E[0],E[1])){case _.Tt.Allowed:if(D.checked&&void 0===I.has_won()){let t=performance.now();I.ai_move();let e=performance.now();w.innerText=`searched ${I.last_node_count.toLocaleString("en-GB")} possible moves in ${(e-t).toLocaleString()}ms`}break;case _.Tt.IllegalTrajectory:T("You can't move like that!");break;case _.Tt.JumpingSameTeam:T("You can't jump your own piece!");break;case _.Tt.NoJumpablePiece:T("There's nothing to jump!");break;case _.Tt.OccupiedDest:T("There's a piece there!");break;case _.Tt.OutOfBounds:T("That square's not on the board! (how have you managed that?)");break;case _.Tt.UnoccupiedSrc:T("There's no piece to move!");break;case _.Tt.Unplayable:T("That's not a playable square!");break;case _.Tt.WrongTeamSrc:T("That's not your piece!")}}I.clear_selected(),I.draw(),E=[],k=b.HUMAN_TURN.THINKING;break;case b.AI_TURN:console.log("It's the AI's turn!")}U(),A(),R()}function S(t,e){var r=t.getBoundingClientRect();return{x:e.clientX-r.left,y:e.clientY-r.top}}function O(t,e="danger",r=!0){null!=v&&clearInterval(v),h.className=`alert alert-${e}`,h.innerText=t,h.hidden=!1,r&&(v=setTimeout((()=>{h.hidden=!0}),d))}function U(){switch(I.current_turn()){case _.SZ.White:f.innerText="⚪ White ⚪";break;case _.SZ.Black:f.innerText="🔴 Black 🔴"}}function A(){switch(I.winning()){case void 0:m.innerText="";break;case _.SZ.White:m.innerText="👑 White 👑";break;case _.SZ.Black:m.innerText="👑 Black 👑"}}function R(){switch(I.has_won()){case void 0:break;case _.SZ.White:T("You Lost!"),y=setInterval((()=>{B()}),g);break;case _.SZ.Black:T("You Won!","success"),y=setInterval((()=>{B()}),g)}}j.addEventListener("click",(t=>{var e=S(j,t);N(new _.rh(Math.floor(e.y/j.clientHeight*o),Math.floor(e.x/j.clientWidth*c)))}));const q=document.getElementById("width"),M=()=>{c=parseInt(q.value),B()};q.onchange=M,q.value=8;const H=document.getElementById("height"),W=()=>{o=parseInt(H.value),C.max=o/2-1,B()};H.onchange=W,H.value=8;const C=document.getElementById("play_rows"),L=()=>{i=parseInt(C.value),B()};C.onchange=L,C.value=3;const J=document.getElementById("ai_search_depth"),$=()=>{s=parseInt(J.value),I.set_search_depth(s),s>4&&T("This increases thinking time exponentially, be careful (probably don't go past 6)","warning")};J.onchange=$,J.value=4;const D=document.getElementById("ai-checkbox"),Y=()=>{};D.onchange=Y;const P=document.getElementById("ai_difficulty"),Z=()=>{u=parseInt(P.value)/100,I.set_perfect_chance(u)};P.onchange=Z,P.value=50,n()}catch(K){n(K)}}))},657:(t,e,r)=>{r.a(t,(async(n,_)=>{try{var a,c=n([a=r(171)]),[a]=c.then?(await c)():c;await r.v(e,t.id,"8a5d34b545c8f059a042",{"./draught_bg.js":{__wbindgen_object_drop_ref:a.ug,__wbindgen_string_new:a.h4,__wbg_new_abda76e883ba8a5f:a.a2,__wbg_stack_658279fe44541cf6:a.KM,__wbg_error_f851667af71bcfc6:a.iX,__wbg_self_7eede1f4488bf346:a.oY,__wbg_crypto_c909fb428dcbddb6:a.wg,__wbg_msCrypto_511eefefbfc70ae4:a.AX,__wbindgen_is_undefined:a.XP,__wbg_require_900d5c3984fe7703:a.LW,__wbg_getRandomValues_307049345d0bd88c:a.Rv,__wbg_getRandomValues_cd175915511f705e:a.o0,__wbg_randomFillSync_85b3f4c52c56c313:a.VY,__wbg_static_accessor_MODULE_ef3aa2eb251158a5:a.qz,__wbg_instanceof_Window_acc97ff9f5d2c7b4:a.cE,__wbg_document_3ead31dbcad65886:a.Nl,__wbg_getElementById_3a708b83e4f034d7:a.Z_,__wbg_error_ef9a0be47931175f:a.v8,__wbg_log_4b5638ad60bdc54a:a.Pc,__wbg_instanceof_CanvasRenderingContext2d_ff80c06d296e3622:a.Ji,__wbg_setstrokeStyle_899ea3720dae323b:a.J,__wbg_setfillStyle_53ccf2a9886c1c4d:a.vc,__wbg_setlineWidth_64004648773fed7a:a.ri,__wbg_beginPath_4e91b7092d0d33d9:a.l3,__wbg_fill_8ec436f419a0d161:a.so,__wbg_stroke_85dee7d87c4a6ead:a.HM,__wbg_arc_30e550c408f151ac:a.bD,__wbg_fillRect_c7a19e13c5242507:a.Vf,__wbg_strokeRect_972fbfb664182aea:a.Tc,__wbg_instanceof_HtmlCanvasElement_97761617af6ea089:a.YL,__wbg_setwidth_afb418d3fbf71ba7:a.tI,__wbg_setheight_3eb8729b59493242:a.bB,__wbg_getContext_4d5e97892c1b206a:a.qh,__wbg_newnoargs_b5b063fc6c2f0376:a.gW,__wbg_call_97ae9d8645dc388b:a.Ni,__wbg_self_6d479506f72c6a71:a.yB,__wbg_window_f2557cc78490aceb:a.Sn,__wbg_globalThis_7f206bda628d5286:a.$L,__wbg_global_ba75c50d1cf384f4:a.wJ,__wbg_buffer_3f3d764d4747d564:a.jp,__wbg_new_8c3f0052272a457a:a.lB,__wbg_set_83db9690f9353e79:a.fP,__wbg_length_9e1ae1900cb0fbd5:a.bj,__wbg_newwithlength_f5933855e4f48a19:a.ib,__wbg_subarray_58ad4efbb5bcb886:a.kH,__wbindgen_object_clone_ref:a.m_,__wbindgen_debug_string:a.fY,__wbindgen_throw:a.Or,__wbindgen_memory:a.oH}}),_()}catch(t){_(t)}}),1)}}]);
//# sourceMappingURL=10.bootstrap.js.map