From 0f271f9ef16030072b94524e2fbc27635f17bf38 Mon Sep 17 00:00:00 2001 From: Hyun Ahn Date: Sun, 7 Apr 2024 01:48:02 +0900 Subject: [PATCH] publish --- data.json | 2 +- offline.json | 2 +- scripts/c3runtime.js | 2660 +++++++++++++++++++++--------------------- scripts/main.js | 309 ++--- texts2.json | 4 +- 5 files changed, 1494 insertions(+), 1483 deletions(-) diff --git a/data.json b/data.json index 2cc9c05..3024f01 100644 --- a/data.json +++ b/data.json @@ -1 +1 @@ -{"project":["Farming Lines Template",null,[[0,false,true,true,true,true,true,true,true,false,false,false,false,true,false,true,true,false],[1,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],[2,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],[3,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],[4,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],[5,false,true,true,true,true,true,true,true,false,false,false,false,true,true,true,true,false],[8,false,true,true,true,true,true,true,true,true,false,false,false,true,false,false,true,false],[9,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],[10,false,true,true,true,true,true,true,true,false,false,false,false,true,true,false,true,false],[11,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false]],[["Island",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,557882809020619,[["images/shared-0-sheet1.webp",19546,1025,1,176,144,false,1,0,0,[],[],""],["images/shared-0-sheet1.webp",19546,1537,1,176,144,false,1,0,0,[],[],""],["images/shared-0-sheet2.webp",1498,1,97,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,65,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,33,176,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,1,176,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,964134068847972,[],null,0,null],["Island2",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,908180175385051,[["images/shared-0-sheet1.webp",19546,1025,1,176,144,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet1.webp",19546,1793,1,176,144,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,97,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,65,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,33,176,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,1,176,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,100369535833111,[],null,1,null],["Island3",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,493492294052652,[["images/shared-0-sheet1.webp",19546,1025,1,176,144,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet1.webp",19546,1281,1,176,144,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,97,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,65,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,33,176,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,1,176,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,123883325081124,[],null,2,null],["3DCamera",1,false,[],0,0,null,null,[],false,false,247380233419721,[],null,3,null,[]],["Touch",2,false,[],0,0,null,null,[],false,false,441828606714620,[],null,4,null,[true]],["statesAJAX",3,false,[],0,0,null,null,[],false,false,683355186508377,[],null,5,null,[]],["Audio",4,false,[],0,0,null,null,[],false,false,659060189613091,[],null,6,null,[0,0,false,0,true,1,1,600,600,10000,1]],["CrateCollision",5,false,[[214271091625922,1,"TrailCount",7],[315603109903680,2,"SeedType",8]],0,0,null,[["Default",0,false,1,0,false,397996735341592,[["images/shared-0-sheet3.webp",1934,19,33,16,16,false,1,0.5,0.5,[],[-0.4375,-0.4375,0.4375,-0.4375,0.4375,0.4375,-0.4375,0.4375],""]]]],[],false,false,577895773443963,[],null,9,null],["SeedCollision",5,false,[[700805567619893,1,"Index",10],[608974426241659,1,"ParentUID",11]],0,0,null,[["Default",0,false,1,0,false,165363505374552,[["images/shared-0-sheet3.webp",1934,1,19,16,16,false,1,0.5,0.5,[],[-0.4375,-0.4375,0.4375,-0.4375,0.4375,0.4375,-0.4375,0.4375],""]]]],[],false,false,391732687367248,[],null,12,null],["GroundTile",5,false,[[259654309271924,0,"Busy",13]],0,0,null,[["Default",0,false,1,0,false,107544641251644,[["images/shared-0-sheet3.webp",1934,19,97,16,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,892116232891052,[],null,14,null],["SeedShape",0,false,[],1,1,null,[["Animation 1",0,false,1,0,false,258310481176635,[["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""]]]],[["Tween",6,269104987701921,15]],false,false,140903235082848,[["hsladjust","AdjustHSL"]],null,16,null],["Camera",5,false,[],0,0,null,[["Default",0,false,1,0,false,600647929264255,[["images/shared-0-sheet3.webp",1934,1,65,16,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,267851285737702,[],null,17,null],["CrateShape",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,165782753144070,[["images/shared-0-sheet3.webp",1934,37,113,14,14,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,97,14,14,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,113,14,14,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,113,14,14,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,113,14,14,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,113,14,14,false,1,0.5,0.5,[],[],""]]]],[],false,false,647118710131389,[],null,18,null],["CrateTexture",5,false,[],0,0,null,[["Carrot",0,false,1,0,false,639520022132792,[["images/shared-0-sheet3.webp",1934,55,49,14,8,true,1,0.5,0.5,[],[],""]]],["Tomato",0,false,1,0,false,791623858248640,[["images/shared-0-sheet3.webp",1934,55,33,14,8,true,1,0.5,0.5,[],[],""]]],["Corn",0,false,1,0,false,685245463542431,[["images/shared-0-sheet3.webp",1934,55,17,14,8,true,1,0.5,0.5,[],[],""]]]],[],false,false,305374470563616,[],null,19,null],["SeedTexture",5,false,[],0,0,null,[["Carrot",0,false,1,0,false,525542551653181,[["images/shared-0-sheet3.webp",1934,37,1,16,16,false,1,0.5,0.5,[],[-0.125,-0.4375,0.125,-0.4375,0.25,-0.3125,0.375,0.125,0.375,0.3125,0.25,0.4375,-0.25,0.4375,-0.375,0.3125,-0.375,0.125,-0.25,-0.3125],""]]],["Tomato",0,false,1,0,false,757585560049873,[["images/shared-0-sheet3.webp",1934,19,1,16,16,false,1,0.5,0.5,[],[-0.3125,-0.4375,-0.1875,-0.4375,0.25,-0.3125,0.4375,0.0625,0.4375,0.375,0.375,0.4375,0.125,0.4375,-0.0625,0.375,-0.3125,0.25,-0.4375,-0.1875,-0.4375,-0.3125],""]]],["Corn",0,false,1,0,false,188335076876027,[["images/shared-0-sheet3.webp",1934,1,1,16,16,false,1,0.5,0.5,[],[-0.0625,-0.4375,0.125,-0.4375,0.25,-0.375,0.375,-0.0625,0.375,0.125,0.3125,0.25,0.125,0.4375,-0.0625,0.4375,-0.25,0.25,-0.3125,0.125,-0.3125,-0.0625,-0.1875,-0.375],""]]]],[],false,false,709651825556336,[],null,20,null],["Sky",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,465404292376954,[["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,254584703574838,[],null,21,null],["FenceBody",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,101580910925311,[["images/shared-0-sheet3.webp",1934,17,121,6,6,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,9,121,6,6,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,9,97,6,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,53,97,6,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,9,97,6,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,57,65,6,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,804038915637547,[],null,22,null],["FenceConnection",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,966252043860595,[["images/shared-0-sheet3.webp",1934,61,113,2,10,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,61,97,2,10,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,25,125,10,2,false,1,0.5,0.5,[],[0.5,-0.5,0.5,0.5,-0.5,0.5,-0.5,-0.5],""],["images/shared-0-sheet3.webp",1934,25,121,10,2,false,1,0.5,0.5,[],[0.5,-0.5,0.5,0.5,-0.5,0.5,-0.5,-0.5],""],["images/shared-0-sheet4.webp",518,0,0,2,2,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet4.webp",518,0,0,2,2,false,1,0.5,0.5,[],[],""]]]],[],false,false,141227585369198,[],null,23,null],["Flower",0,false,[],1,0,null,[["Animation 1",0,false,1,0,false,122207618303034,[["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,1,37,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""]]]],[["Sine",7,158424743512236,24]],false,false,204653745807781,[],null,25,null],["Grass",0,false,[],1,0,null,[["Animation 1",0,false,1,0,false,742031904630116,[["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,33,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""]]]],[["Sine",7,777246365470826,24]],false,false,122819164809232,[],null,26,null],["Text",8,false,[],1,0,["images/shared-0-sheet1.webp",19546,1,193,1024,32,false],null,[["Tween",6,321952572242312,15]],false,false,754753508655732,[],null,27,null],["Array",9,false,[],0,0,null,null,[],true,false,294890587648958,[],null,28,null],["textSpeak",10,false,[],0,0,null,null,[],false,false,107843654532152,[],null,29,null],["Keyboard",11,false,[],0,0,null,null,[],false,false,410512421449534,[],null,30,null,[]],["Sprite",5,false,[],0,0,null,[["Animation 1",5,false,1,0,false,299440638996383,[["images/shared-0-sheet0.webp",205690,0,0,432,821,false,1,0.5,0.5,[],[0.15046296296296302,-0.4658952496954933,0.48842592592592593,-0.028623629719853827,0.4189814814814815,0.16869671132764918,0.1875,0.49390986601705233,0.11111111111111116,0.49878197320341044,-0.13657407407407407,0.4598051157125457,-0.32638888888888884,0.1991473812423873,-0.5,-0.2624847746650426,-0.0532407407407407,-0.4939098660170524,0.04629629629629628,-0.5],""]]]],[],false,false,757714282487009,[],null,31,null]],[],[["World1",640,384,false,false,0.5,0.5,"Code",296372450475719,[["Background",0,758847700178835,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[304,224,-16,480,480,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],15,74,[],[],[0,64,true,true,false,true,false,true,false,8,-1,-1,-1,-1,-1,-1]]],[],0,true,false,false,[]],["World",1,341539217003711,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[224,112,-8,176,144,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],0,75,[],[],[0,8,true,false,true,true,true,true,true,8,-1,-1,-1,-1,-1,-1]],[[312,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,120,[0],[],[false,"Default",0,true]],[[296,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,130,[0],[],[false,"Default",0,true]],[[328,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,131,[0],[],[false,"Default",0,true]],[[328,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,132,[0],[],[false,"Default",0,true]],[[312,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,133,[0],[],[false,"Default",0,true]],[[312,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,154,[0,"Carrot"],[],[false,"Default",0,true]],[[328,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],11,155,[],[],[false,"Default",0,false]],[[232,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,156,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[248,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,157,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[264,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,158,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[280,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,159,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[296,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,160,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[312,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,161,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[328,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,162,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[344,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,163,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[360,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,164,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[376,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,165,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[392,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,166,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,136,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,167,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,168,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,168,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,184,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,169,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,200,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,170,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,216,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,171,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,232,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,172,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,248,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,173,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[265,169,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,174,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[266,156,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,175,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[247,132,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,176,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[328,145,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,177,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[299,230,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,178,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[242,238,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,179,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[243,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,180,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[254,233,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,181,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,182,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[301,247,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,183,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[311,226,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,184,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[297,168,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,185,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[354,195,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,186,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[359,164,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,187,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[346,136,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,188,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[327,158,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,189,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[383,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,190,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[381,128,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,191,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[391,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,192,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[294,133,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,193,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[392,195,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,194,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,220,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,121,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[264,194,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,122,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[332,235,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,123,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[296,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,289,[0],[],[false,"Default",0,true]],[[232,240,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,196,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,197,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,198,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,199,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,200,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,201,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,202,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,203,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,204,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,205,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,206,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,207,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,208,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,209,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,210,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,211,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,240,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,212,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,213,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,214,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,215,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,216,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,217,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,218,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,219,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,220,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,221,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,222,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,223,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,224,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,225,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,226,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,227,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]]],[],0,true,true,false,[]],["chat",2,747180467921480,true,[94,94,94],true,0,0,1,false,false,1,0,true,[[[101,126,0,178.118997046558,52.017849556983705,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],22,293,[],[],["Text",true,"Arial",8,0,false,false,[1,1,1],0,0,0,0,-1,true,0,false]],[[67,134,0,46.115259534005716,87.64034277180257,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],24,295,[],[],[true,"Animation 1",0,true]]],[],0,false,false,false,[]]],[[null,21,292,[],[],[10,1,1]]],[]],["World2",640,384,false,false,0.5,0.5,"Code",193252942886379,[["Background",0,336685148427646,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[320,180,-16,480,480,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],15,4,[],[],[0,64,true,true,false,true,false,true,false,8,-1,-1,-1,-1,-1,-1]],[[312,184,-8,176,144,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],1,124,[],[],[0,8,true,false,true,true,true,true,true,8,-1,-1,-1,-1,-1,-1]],[[248,136,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,129,[0],[],[false,"Default",0,true]],[[248,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,287,[0],[],[false,"Default",0,true]],[[248,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,288,[0],[],[false,"Default",0,true]],[[248,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,296,[0],[],[false,"Default",0,true]],[[248,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,297,[0],[],[false,"Default",0,true]],[[248,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,298,[0],[],[false,"Default",0,true]],[[280,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,299,[0],[],[false,"Default",0,true]],[[280,136,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,300,[0],[],[false,"Default",0,true]],[[296,136,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,301,[0],[],[false,"Default",0,true]],[[312,136,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,302,[0],[],[false,"Default",0,true]],[[296,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,303,[0],[],[false,"Default",0,true]],[[264,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,304,[0],[],[false,"Default",0,true]],[[280,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,305,[0],[],[false,"Default",0,true]],[[280,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,306,[0],[],[false,"Default",0,true]],[[280,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,127,[0],[],[false,"Default",0,true]],[[312,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,307,[0],[],[false,"Default",0,true]],[[280,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,308,[0],[],[false,"Default",0,true]],[[312,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,309,[0],[],[false,"Default",0,true]],[[280,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,310,[0],[],[false,"Default",0,true]],[[296,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,311,[0],[],[false,"Default",0,true]],[[312,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,312,[0],[],[false,"Default",0,true]],[[312,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,313,[0],[],[false,"Default",0,true]],[[344,167,0,16,16,0,0.00024117940387635706,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,314,[0,"Tomato"],[],[false,"Default",0,true]],[[376,231,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,315,[0],[],[false,"Default",0,true]],[[360,231,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,316,[0],[],[false,"Default",0,true]],[[344,231,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,317,[0],[],[false,"Default",0,true]],[[344,199,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,318,[0],[],[false,"Default",0,true]],[[344,215,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,319,[0],[],[false,"Default",0,true]],[[344,151,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,320,[0],[],[false,"Default",0,true]],[[360,135,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,321,[0],[],[false,"Default",0,true]],[[376,135,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,322,[0],[],[false,"Default",0,true]],[[344,135,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,323,[0],[],[false,"Default",0,true]],[[360,151,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,324,[0],[],[false,"Default",0,true]],[[376,151,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,325,[0],[],[false,"Default",0,true]],[[360,167,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,326,[0],[],[false,"Default",0,true]],[[376,167,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,327,[0],[],[false,"Default",0,true]],[[376,183,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,328,[0],[],[false,"Default",0,true]],[[376,199,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,329,[0],[],[false,"Default",0,true]],[[360,199,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,330,[0],[],[false,"Default",0,true]],[[360,215,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,331,[0],[],[false,"Default",0,true]],[[376,215,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,332,[0],[],[false,"Default",0,true]]],[],0,true,false,false,[]],["World",1,147511635072862,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[312,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,125,[0],[],[false,"Default",0,true]],[[248,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,126,[0],[],[false,"Default",0,true]],[[344,183,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,128,[0],[],[false,"Default",0,true]],[[344,167,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,134,[0],[],[false,"Default",0,true]],[[312,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,135,[0],[],[false,"Default",0,true]],[[296,216,0,16,16,0,0.00024117940387635706,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,136,[0,"Corn"],[],[false,"Default",0,true]],[[328,199,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],11,137,[],[],[false,"Default",0,false]],[[232,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,138,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[248,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,139,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[264,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,140,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[280,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,141,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[296,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,142,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[312,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,143,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[328,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,144,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[344,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,145,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[360,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,146,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[376,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,147,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[392,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,148,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,136,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,149,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,168,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,150,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,184,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,151,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,200,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,152,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,216,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,153,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,232,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,195,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,248,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,228,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[265,169,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,229,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[266,156,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,230,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[247,132,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,231,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[328,145,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,232,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[299,230,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,233,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[242,238,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,234,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[243,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,235,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[254,233,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,236,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,237,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[301,247,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,238,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[311,226,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,239,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[297,168,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,240,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[354,195,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,241,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[359,164,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,242,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[346,136,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,243,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[327,158,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,244,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[383,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,245,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[381,128,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,246,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[391,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,249,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[294,133,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,250,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[392,195,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,251,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,220,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,252,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[264,194,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,253,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[332,235,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,254,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,240,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,255,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,256,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,257,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,258,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,259,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,260,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,261,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,262,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,263,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,264,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,265,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,266,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,267,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,268,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,269,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,270,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,240,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,271,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,272,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,273,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,274,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,275,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,276,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,277,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,278,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,279,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,280,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,281,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,282,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,283,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,284,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,285,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,286,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]]],[],0,true,true,false,[]]],[],[]],["World3",640,384,false,false,0.5,0.5,"Code",729102041195951,[["Background",0,514374864735423,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[320,180,-16,480,480,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],15,40,[],[],[0,64,true,true,false,true,false,true,false,8,-1,-1,-1,-1,-1,-1]],[[312,184,-8,176,144,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],2,47,[],[],[0,8,true,false,true,true,true,true,true,8,-1,-1,-1,-1,-1,-1]]],[],0,true,false,false,[]],["World",1,871636894656167,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[312,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,6,[0],[],[false,"Default",0,true]],[[312,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,7,[0],[],[false,"Default",0,true]],[[312,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,8,[0],[],[false,"Default",0,true]],[[344,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,9,[0],[],[false,"Default",0,true]],[[344,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,10,[0],[],[false,"Default",0,true]],[[344,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,11,[0],[],[false,"Default",0,true]],[[280,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,12,[0],[],[false,"Default",0,true]],[[280,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,13,[0],[],[false,"Default",0,true]],[[280,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,14,[0],[],[false,"Default",0,true]],[[296,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,15,[0],[],[false,"Default",0,true]],[[296,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,16,[0],[],[false,"Default",0,true]],[[328,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,17,[0],[],[false,"Default",0,true]],[[328,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,18,[0],[],[false,"Default",0,true]],[[280,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,19,[0],[],[false,"Default",0,true]],[[280,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,20,[0],[],[false,"Default",0,true]],[[264,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,21,[0],[],[false,"Default",0,true]],[[264,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,22,[0],[],[false,"Default",0,true]],[[264,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,23,[0],[],[false,"Default",0,true]],[[248,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,24,[0],[],[false,"Default",0,true]],[[248,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,25,[0],[],[false,"Default",0,true]],[[248,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,26,[0],[],[false,"Default",0,true]],[[376,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,27,[0],[],[false,"Default",0,true]],[[376,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,28,[0],[],[false,"Default",0,true]],[[376,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,29,[0],[],[false,"Default",0,true]],[[360,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,30,[0],[],[false,"Default",0,true]],[[360,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,31,[0],[],[false,"Default",0,true]],[[360,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,32,[0],[],[false,"Default",0,true]],[[344,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,34,[0],[],[false,"Default",0,true]],[[344,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,35,[0],[],[false,"Default",0,true]],[[344,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,3,[0],[],[false,"Default",0,true]],[[280,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,38,[0],[],[false,"Default",0,true]],[[312,136,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,39,[0],[],[false,"Default",0,true]],[[344,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,33,[0,"Corn"],[],[false,"Default",0,true]],[[280,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,36,[0,"Tomato"],[],[false,"Default",0,true]],[[264,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,37,[0,"Carrot"],[],[false,"Default",0,true]],[[328,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],11,41,[],[],[false,"Default",0,false]],[[232,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,45,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[248,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,46,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[264,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,48,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[280,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,49,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[296,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,50,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[312,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,51,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[328,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,52,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[344,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,53,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[360,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,54,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[376,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,55,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[392,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,56,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,136,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,57,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,168,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,59,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,184,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,60,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,200,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,61,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,216,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,62,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,232,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,63,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,248,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,64,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[265,169,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,78,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[266,156,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,79,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[247,132,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,101,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[328,145,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,102,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[299,230,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,103,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[242,238,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,104,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[243,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,105,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[254,233,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,106,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,107,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[301,247,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,108,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[311,226,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,109,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[309,198,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,110,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[360,229,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,111,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[359,164,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,112,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[346,136,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,113,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[327,158,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,114,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[383,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,115,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[381,128,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,116,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[391,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,117,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[294,133,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,118,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[392,195,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,119,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,240,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,65,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,67,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,69,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,70,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,73,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,76,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,81,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,83,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,85,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,86,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,89,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,90,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,91,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,92,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,97,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,98,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,240,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,66,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,68,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,71,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,72,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,77,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,80,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,82,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,84,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,87,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,88,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,93,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,94,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,95,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,96,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,99,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,100,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]]],[],0,true,true,false,[]]],[],[]],["World4",640,384,false,false,0.5,0.5,"world4",194289334560843,[["Background",0,168859797310278,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[340,222,-16,480,480,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],15,333,[],[],[0,64,true,true,false,true,false,true,false,8,-1,-1,-1,-1,-1,-1]],[[312,184,-8,176,144,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],2,334,[],[],[0,8,true,false,true,true,true,true,true,8,-1,-1,-1,-1,-1,-1]]],[],0,true,false,false,[]],["World",1,439460132047803,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[328,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],11,370,[],[],[false,"Default",0,false]]],[],0,true,true,false,[]],["chat",2,692983681525457,true,[94,94,94],true,0,0,1,false,false,1,0,true,[[[101,126,0,178.118997046558,52.017849556983705,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],22,293,[],[],["Text",true,"Arial",8,0,false,false,[1,1,1],0,0,0,0,-1,true,0,false]],[[67,134,0,46.115259534005716,87.64034277180257,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],24,295,[],[],[true,"Animation 1",0,true]]],[],0,false,false,false,[]]],[],[]],["ObjectRepository",640,384,false,false,0.5,0.5,null,499363607307537,[["ObjectRepository",0,692105155271239,true,[94,94,94],false,1,1,1,false,false,1,0,true,[[[8,8,0,16,16,0,0,[1,1,1,0.5],0.5,0.5,0,0,[],null,null,null,["",""]],8,5,[0,0],[],[false,"Default",0,true]],[[24,8,0,16,16,0,0,[1,1,1,1],0.5,0.5,0,0,[[true,0,1,1]],null,null,null,["",""]],10,247,[],[[true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[88,8,0,14,14,0,0.0023681812834369896,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],12,42,[],[],[0,4,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[104,8,0,14,8,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],13,43,[],[],[false,"Carrot",0,false]],[[40,8,0,16,16,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],14,44,[],[],[false,"Carrot",0,false]],[[72,8,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,58,[0,"Corn"],[],[false,"Default",0,true]]],[],0,true,false,false,[]]],[],[]],["Layout 1",640,360,false,false,0.5,0.5,"Event sheet 1",923855451557613,[["chat",0,772020298693219,true,[94,94,94],true,0,0,1,false,false,1,0,true,[[[101,126,0,178.118997046558,52.017849556983705,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],22,293,[],[],["Text",true,"Arial",8,0,false,false,[1,1,1],0,0,0,0,-1,true,0,false]],[[67,134,0,46.115259534005716,87.64034277180257,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],24,295,[],[],[true,"Animation 1",0,true]]],[],0,false,false,false,[]]],[],[]]],[["Code",[[2,"Event sheet 1",false],[1,"Mode",1,"Inspecting",false,false,364018215549210,false,32],[1,"SelectedUID",0,0,false,false,922476166568855,false,33],[1,"TILESIZE",0,16,false,true,144864952335150,false,34],[1,"level",0,1,false,false,282648249631039,false,35],[3,[true,"Setup"],false,null,961734721120380,1,[[-1,12,null,0,false,false,false,0,false,[[1,[0]]]]],[],[[0,0,false,null,611422181536543,2,[[-1,13,null,1,false,false,false,733235754681572,null]],[[-2,"RefreshGroundTiles",null,526948587597126,0,null],[3,14,null,487974037404951,0,null,[[0,[1,[1,11,15,false]]],[0,[1,[1,11,16,false]]],[0,[2]],[0,[3,[1,11,15,false]]],[0,[3,[1,11,16,false]]],[0,[4]],[0,[5]],[0,[5]],[0,[6]]]],[-1,17,null,391694819269974,0,null,[[3,1]]],[-1,18,null,152790306227056,0,null,[[11,364018215549210],[7,[7]]]]],[[0,0,false,null,886223247770019,3,[[-1,19,null,0,true,false,false,508151823597890,null,[[4,7]]]],[[-1,20,null,849303016097943,256,null,[[4,12],[5,[8]],[0,[3,[1,7,15,false]]],[0,[3,[1,7,16,false]]],[16,false],[20,[9]]]],[7,21,null,988023274118313,0,null,[[4,12],[16,true],[16,true],[16,false],[16,false],[16,false],[16,false],[16,false],[16,false],[16,true]]],[-1,20,null,276558962546769,256,null,[[4,13],[5,[8]],[0,[3,[1,12,22,false]]],[0,[3,[1,12,23,false]]],[16,false],[20,[9]]]],[13,24,null,315002747913629,0,null,[[1,[10,[2,7,true,1]]],[3,1]]],[13,25,null,371296598933470,0,null,[[0,[11,[1,12,26,false]]]]],[12,27,null,167813537250520,0,null,[[4,13],[16,true],[16,true],[16,false],[16,false],[16,false],[16,false],[16,false],[16,false],[16,true]]],[12,28,null,747062574091058,0,null,[[3,5],[4,13]]],[12,28,null,491187015309375,0,null,[[3,3],[4,13]]]]],[0,0,false,null,783536972607162,4,[],[[-1,29,null,157965780112412,2,null,[[0,[12]]]],[20,30,"Tween",790763601445605,1,null,[[1,[13]],[3,1],[0,[14,[1,20,31,false]]],[0,[15]],[18,2],[3,1],[3,0],[3,0],[0,[6]]]]]]]]]],[3,[true,"Controls"],false,null,947711430602246,5,[[-1,12,null,0,false,false,false,0,false,[[1,[16]]]]],[],[[0,0,false,null,331348369623442,6,[[4,32,null,1,false,false,false,433492338592514,null,[[4,7]]]],[],[[0,0,false,null,817244140151087,7,[[-1,33,null,0,false,false,false,280157538108139,null,[[7,[17,[3,364018215549210]]],[8,0],[7,[7]]]]],[[-1,18,null,274289653885523,0,null,[[11,364018215549210],[7,[18]]]],[-1,18,null,585334471951653,0,null,[[11,922476166568855],[7,[3,[1,7,34,false]]]]]]]]],[0,0,false,null,934100629038295,8,[[-1,33,null,0,false,false,false,851784270528868,null,[[7,[17,[3,364018215549210]]],[8,0],[7,[18]]]],[7,35,null,0,false,false,true,545235392116163,null,[[0,[17,[3,922476166568855]]]]],[4,36,null,0,false,false,false,280405293030718,null,[[4,9]]],[-1,37,null,0,false,false,false,755021038546406,null,[[7,[19,[1,7,15,false],[1,7,16,false],[1,9,15,false],[1,9,16,false]]]]]],[],[[0,0,false,null,855982571245015,9,[[9,38,null,0,false,false,false,277771269982986,null,[[4,8]]]],[],[[0,0,false,null,163254323671663,10,[[-1,37,null,0,false,false,false,874150325560364,null,[[7,[20,[2,8,false,1],[1,7,34,false]]]]]],[],[[0,0,false,null,762286539329871,11,[[-1,39,null,0,true,false,false,154466753026039,null,[[1,[21]],[0,[10,[2,8,false,0]]],[0,[22,[2,7,false,0]]]]]],[],[[0,0,false,null,182012827884538,12,[[-1,40,null,0,false,false,false,260563007578153,null,[[4,8]]],[-1,41,null,0,false,false,false,574378997892344,null,[[4,8],[7,[10,[2,8,false,1]]],[8,0],[7,[3,[1,7,34,false]]]]],[-1,41,null,0,false,false,false,367973009636166,null,[[4,8],[7,[10,[2,8,false,0]]],[8,0],[7,[23,[4,42]]]]]],[[8,43,null,461141799113791,0,null],[7,44,null,646238013310995,0,null,[[10,0],[7,[22,[2,7,false,0]]]]]]]]],[0,0,false,null,344968078875950,13,[],[[7,45,null,512924436540965,0,null,[[0,[3,[1,9,15,false]]],[0,[3,[1,9,16,false]]]]],[-2,"RefreshGroundTiles",null,116256733582708,0,null]]]]]]],[0,0,false,null,989378842714473,14,[[-1,46,null,0,false,false,false,478171210439433,null],[9,38,null,0,false,true,false,580788219165049,null,[[4,8]]],[9,47,null,0,false,true,false,831585231439657,null,[[10,0]]]],[[-1,20,null,863472919134926,256,null,[[4,8],[5,[8]],[0,[3,[1,7,15,false]]],[0,[3,[1,7,16,false]]],[16,false],[20,[9]]]],[7,45,null,846852611208028,0,null,[[0,[3,[1,9,15,false]]],[0,[3,[1,9,16,false]]]]],[8,44,null,255835944137851,0,null,[[10,1],[7,[3,[1,7,34,false]]]]],[8,44,null,561514421030712,0,null,[[10,0],[7,[10,[2,7,false,0]]]]],[7,44,null,435719086490055,0,null,[[10,0],[7,[24,[2,7,false,0]]]]],[-1,20,null,211922372050523,256,null,[[4,10],[5,[8]],[0,[3,[1,8,15,false]]],[0,[3,[1,8,16,false]]],[16,false],[20,[9]]]],[8,21,null,172210863334705,0,null,[[4,10],[16,true],[16,true],[16,false],[16,false],[16,false],[16,false],[16,false],[16,false],[16,true]]],[10,48,null,357462011306485,0,null,[[0,[25]]]],[10,49,null,969545912593937,0,null,[[0,[4]],[0,[5]]]],[10,50,"Tween",834185425084339,1,null,[[1,[26]],[3,1],[0,[3,[1,10,51,false]]],[0,[27]],[0,[28]],[18,9],[3,0],[3,0],[3,0],[0,[6]]]],[-1,20,null,536400068161496,256,null,[[4,14],[5,[8]],[0,[3,[1,10,22,false]]],[0,[3,[1,10,23,false]]],[16,false],[20,[9]]]],[14,24,null,754785341213627,0,null,[[1,[10,[2,7,true,1]]],[3,1]]],[14,25,null,783636658285094,0,null,[[0,[11,[1,10,26,false]]]]],[10,27,null,234878703882317,0,null,[[4,14],[16,true],[16,true],[16,false],[16,false],[16,false],[16,false],[16,false],[16,false],[16,true]]],[10,28,null,702048049634341,0,null,[[3,3],[4,14]]],[-2,"RefreshGroundTiles",null,202810491169380,0,null],[-2,"CheckProgress",null,281781574040718,0,null]]]]],[0,0,false,null,442030239668204,15,[[4,52,null,1,false,false,false,650493129253642,null]],[],[[0,0,false,null,594083256543403,16,[[-1,33,null,0,false,false,false,942467579662661,null,[[7,[17,[3,364018215549210]]],[8,0],[7,[18]]]]],[[-1,18,null,869521777045680,0,null,[[11,364018215549210],[7,[7]]]],[-1,18,null,899352114689109,0,null,[[11,922476166568855],[7,[29]]]]]]]]]],[3,[true,"Utilities"],false,null,644148229148166,17,[[-1,12,null,0,false,false,false,0,false,[[1,[30]]]]],[],[[4,["RoundValue",1,[[1,"Value",0,0,false,false,438869219067643,false,36]],true,false,false],false,null,644419647395917,18,[],[[-1,53,null,905684673078068,0,null,[[7,[31,[3,438869219067643]]]]]]],[4,["RefreshGroundTiles",0,[],true,false,false],false,null,564089428165479,19,[],[],[[0,0,false,null,346952007182399,20,[[-1,19,null,0,true,false,false,234810980187925,null,[[4,9]]]],[],[[0,0,false,null,400657367273346,21,[[9,38,null,0,false,false,false,578517957196138,null,[[4,7]]]],[[9,54,null,258270377996296,0,null,[[10,0],[3,1]]]]],[0,0,false,null,607232724579334,22,[[-1,46,null,0,false,false,false,985424662413614,null],[9,38,null,0,false,true,false,472378391821133,null,[[4,7]]]],[[9,54,null,805696728856334,0,null,[[10,0],[3,0]]]]]]]]],[4,["CheckProgress",0,[],true,false,false],false,null,650321374449596,23,[],[],[[1,"Total",0,0,false,false,801264090700823,false,37],[0,0,false,null,986779958363606,24,[[-1,19,null,0,true,false,false,661273022181708,null,[[4,7]]]],[[-1,18,null,828190123089301,0,null,[[11,801264090700823],[7,[32,[3,801264090700823],[2,7,false,0]]]]]]],[0,0,false,null,551728270892034,25,[[-1,37,null,0,false,false,false,683327579485372,null,[[7,[33,[3,801264090700823],[1,9,55,false]]]]]],[[-1,18,null,352610005065932,0,null,[[11,364018215549210],[7,[34]]]],[-1,18,null,461335919095061,0,null,[[11,922476166568855],[7,[29]]]],[-1,29,null,344796426303141,2,null,[[0,[5]]]]],[[1,"PositionX",0,0,false,false,430552462443817,false,38],[1,"WaitTime",0,0,false,false,296601142894853,false,39],[0,0,false,null,709068314491572,26,[[-1,39,null,0,true,false,false,604656742318416,null,[[1,[35]],[0,[5]],[0,[36,[4,56]]]]]],[[-1,18,null,724466807345426,0,null,[[11,430552462443817],[7,[37,[4,42]]]]]],[[0,0,false,null,503567926274604,27,[[-1,41,null,0,false,false,false,657850111574690,null,[[4,10],[7,[3,[1,10,22,false]]],[8,0],[7,[17,[3,430552462443817]]]]]],[],[[0,0,false,null,804695021122425,28,[[-1,33,null,0,false,false,false,536654615876904,null,[[7,[3,[1,10,57,false]]],[8,5],[7,[6]]]]],[[-1,18,null,294898273319137,0,null,[[11,296601142894853],[7,[38,[3,296601142894853]]]]],[-1,29,null,275325795586899,2,null,[[0,[17,[3,296601142894853]]]]],[10,30,"Tween",752137158562144,1,null,[[1,[39]],[3,7],[0,[15]],[0,[40]],[18,3],[3,0],[3,0],[3,1],[0,[6]]]],[10,58,"Tween",397228877700456,1,null,[[1,[41]],[0,[42]],[0,[43]],[0,[44]],[18,0],[3,0],[3,0],[3,0],[0,[6]]]]]]]]]]]]]],[0,0,false,null,923040952132037,29,[[10,59,"Tween",0,false,false,false,998000678942194,null,[[1,[41]]]]],[[10,60,null,952533258544927,0,null,[[1,[45]],[0,[5]],[0,[46,[0,10,"Tween",61,false]]]]],[-1,29,null,649799302467039,2,null,[[0,[47]]]],[-1,62,null,726958242019260,0,null,[[11,282648249631039],[7,[6]]]],[-1,63,null,990319608609427,0,null,[[1,[48,[3,282648249631039]]]]]]]]]]],["Event sheet 1",[[1,"textspeed",0,30,false,false,653145542361738,false,40],[1,"chatState",0,0,false,false,691597249625570,false,41],[0,0,false,null,241007115310039,1,[[-1,13,null,1,false,false,false,204907880083392,null]],[[5,64,null,988316145920606,1,null,[[1,[49]],[12,"texts.json"]]]]],[0,0,false,null,643242220810032,2,[[5,65,null,1,false,false,false,847338203663242,null,[[1,[49]]]]],[[21,66,null,438926737555262,0,null,[[1,[50,[1,5,67,true]]]]],[-2,"updateChat",null,272065817578650,0,null,[[0,[5]]]]]],[4,["updateChat",0,[[1,"state",0,0,false,false,869979588862452,false,42]],true,false,false],false,null,753619814235354,3,[],[[22,68,null,671241873776714,0,null,[[7,[51,[1,21,69,false],[3,691597249625570]]],[0,[52,[4,70],[1,21,69,false],[3,691597249625570],[3,653145542361738]]]]]]],[0,0,false,null,977917161858566,4,[[23,71,null,1,false,false,false,537753260805824,null,[[9,32]]]],[],[[0,0,false,null,559331561517303,5,[[22,72,null,0,false,false,false,767184294983476,null]],[[22,73,null,627773082035896,0,null]]],[0,0,false,null,582348546778596,6,[[-1,46,null,0,false,false,false,601362181171063,null]],[[-1,18,null,933133527725251,0,null,[[11,691597249625570],[7,[53,[3,691597249625570]]]]],[-2,"updateChat",null,586798388401173,0,null,[[0,[17,[3,691597249625570]]]]]]]]]]],["world4",[[2,"Code",false],[1,"textspeed2",0,30,false,false,483180549716453,false,43],[1,"chatState2",0,0,false,false,389183150398062,false,44],[0,0,false,null,541722811017953,1,[[-1,13,null,1,false,false,false,528950591198694,null]],[[5,64,null,752242333809685,1,null,[[1,[49]],[12,"texts2.json"]]]]],[0,0,false,null,743369505479609,2,[[5,65,null,1,false,false,false,728672081374302,null,[[1,[49]]]]],[[21,66,null,597981806320295,0,null,[[1,[50,[1,5,67,true]]]]],[-2,"updateChat",null,550788278370546,0,null,[[0,[5]]]]]],[4,["updateChat2",0,[[1,"state",0,0,false,false,989862345751434,false,42]],true,false,false],false,null,571893288024602,3,[],[[22,68,null,812450864852065,0,null,[[7,[51,[1,21,69,false],[3,691597249625570]]],[0,[52,[4,70],[1,21,69,false],[3,691597249625570],[3,653145542361738]]]]]]],[0,0,false,null,379387285195206,4,[[23,71,null,1,false,false,false,536554571601722,null,[[9,32]]]],[],[[0,0,false,null,515470277308103,5,[[22,72,null,0,false,false,false,630636709158315,null]],[[22,73,null,746622296348426,0,null]]],[0,0,false,null,244726364751302,6,[[-1,46,null,0,false,false,false,726248553301144,null]],[[-1,18,null,691976612427709,0,null,[[11,691597249625570],[7,[53,[3,691597249625570]]]]],[-2,"updateChat",null,674426506526134,0,null,[[0,[17,[3,691597249625570]]]]]]]]]]]],[],"media/",false,320,180,5,false,"nearest",false,"1.0.0.0",false,false,4,0,371,false,true,1,true,0.7853981633974483,[],"icons/",[],"normalized","0ht9dh5xjab","fonts/",[],"high-performance",[],"standard","vsync","","icons/loading-logo.png",true,4,false,null,[],"folders",1,10000,false,[]]} \ No newline at end of file +{"project":["Farming Lines Template",null,[[0,false,true,true,true,true,true,true,true,false,false,false,false,true,false,true,true,false],[1,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],[2,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],[3,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],[4,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],[5,false,true,true,true,true,true,true,true,false,false,false,false,true,true,true,true,false],[8,false,true,true,true,true,true,true,true,true,false,false,false,true,false,false,true,false],[9,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],[10,false,true,true,true,true,true,true,true,false,false,false,false,true,true,false,true,false],[11,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false],[12,false,true,true,true,false,false,true,false,false,true,true,true,true,false,false,true,true]],[["Island",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,557882809020619,[["images/shared-0-sheet1.webp",19546,1025,1,176,144,false,1,0,0,[],[],""],["images/shared-0-sheet1.webp",19546,1537,1,176,144,false,1,0,0,[],[],""],["images/shared-0-sheet2.webp",1498,1,97,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,65,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,33,176,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,1,176,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,964134068847972,[],null,0,null],["Island2",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,908180175385051,[["images/shared-0-sheet1.webp",19546,1025,1,176,144,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet1.webp",19546,1793,1,176,144,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,97,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,65,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,33,176,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,1,176,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,100369535833111,[],null,1,null],["Island3",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,493492294052652,[["images/shared-0-sheet1.webp",19546,1025,1,176,144,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet1.webp",19546,1281,1,176,144,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,97,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,65,144,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,33,176,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet2.webp",1498,1,1,176,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,123883325081124,[],null,2,null],["3DCamera",1,false,[],0,0,null,null,[],false,false,247380233419721,[],null,3,null,[]],["Touch",2,false,[],0,0,null,null,[],false,false,441828606714620,[],null,4,null,[true]],["statesAJAX",3,false,[],0,0,null,null,[],false,false,683355186508377,[],null,5,null,[]],["Audio",4,false,[],0,0,null,null,[],false,false,659060189613091,[],null,6,null,[0,0,false,0,true,1,1,600,600,10000,1]],["CrateCollision",5,false,[[214271091625922,1,"TrailCount",7],[315603109903680,2,"SeedType",8]],0,0,null,[["Default",0,false,1,0,false,397996735341592,[["images/shared-0-sheet3.webp",1934,19,33,16,16,false,1,0.5,0.5,[],[-0.4375,-0.4375,0.4375,-0.4375,0.4375,0.4375,-0.4375,0.4375],""]]]],[],false,false,577895773443963,[],null,9,null],["SeedCollision",5,false,[[700805567619893,1,"Index",10],[608974426241659,1,"ParentUID",11]],0,0,null,[["Default",0,false,1,0,false,165363505374552,[["images/shared-0-sheet3.webp",1934,1,19,16,16,false,1,0.5,0.5,[],[-0.4375,-0.4375,0.4375,-0.4375,0.4375,0.4375,-0.4375,0.4375],""]]]],[],false,false,391732687367248,[],null,12,null],["GroundTile",5,false,[[259654309271924,0,"Busy",13]],0,0,null,[["Default",0,false,1,0,false,107544641251644,[["images/shared-0-sheet3.webp",1934,19,97,16,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,892116232891052,[],null,14,null],["SeedShape",0,false,[],1,1,null,[["Animation 1",0,false,1,0,false,258310481176635,[["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""]]]],[["Tween",6,269104987701921,15]],false,false,140903235082848,[["hsladjust","AdjustHSL"]],null,16,null],["Camera",5,false,[],0,0,null,[["Default",0,false,1,0,false,600647929264255,[["images/shared-0-sheet3.webp",1934,1,65,16,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,267851285737702,[],null,17,null],["CrateShape",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,165782753144070,[["images/shared-0-sheet3.webp",1934,37,113,14,14,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,97,14,14,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,113,14,14,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,113,14,14,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,113,14,14,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,113,14,14,false,1,0.5,0.5,[],[],""]]]],[],false,false,647118710131389,[],null,18,null],["CrateTexture",5,false,[],0,0,null,[["Carrot",0,false,1,0,false,639520022132792,[["images/shared-0-sheet3.webp",1934,55,49,14,8,true,1,0.5,0.5,[],[],""]]],["Tomato",0,false,1,0,false,791623858248640,[["images/shared-0-sheet3.webp",1934,55,33,14,8,true,1,0.5,0.5,[],[],""]]],["Corn",0,false,1,0,false,685245463542431,[["images/shared-0-sheet3.webp",1934,55,17,14,8,true,1,0.5,0.5,[],[],""]]]],[],false,false,305374470563616,[],null,19,null],["SeedTexture",5,false,[],0,0,null,[["Carrot",0,false,1,0,false,525542551653181,[["images/shared-0-sheet3.webp",1934,37,1,16,16,false,1,0.5,0.5,[],[-0.125,-0.4375,0.125,-0.4375,0.25,-0.3125,0.375,0.125,0.375,0.3125,0.25,0.4375,-0.25,0.4375,-0.375,0.3125,-0.375,0.125,-0.25,-0.3125],""]]],["Tomato",0,false,1,0,false,757585560049873,[["images/shared-0-sheet3.webp",1934,19,1,16,16,false,1,0.5,0.5,[],[-0.3125,-0.4375,-0.1875,-0.4375,0.25,-0.3125,0.4375,0.0625,0.4375,0.375,0.375,0.4375,0.125,0.4375,-0.0625,0.375,-0.3125,0.25,-0.4375,-0.1875,-0.4375,-0.3125],""]]],["Corn",0,false,1,0,false,188335076876027,[["images/shared-0-sheet3.webp",1934,1,1,16,16,false,1,0.5,0.5,[],[-0.0625,-0.4375,0.125,-0.4375,0.25,-0.375,0.375,-0.0625,0.375,0.125,0.3125,0.25,0.125,0.4375,-0.0625,0.4375,-0.25,0.25,-0.3125,0.125,-0.3125,-0.0625,-0.1875,-0.375],""]]]],[],false,false,709651825556336,[],null,20,null],["Sky",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,465404292376954,[["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,65,16,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,254584703574838,[],null,21,null],["FenceBody",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,101580910925311,[["images/shared-0-sheet3.webp",1934,17,121,6,6,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,9,121,6,6,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,9,97,6,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,53,97,6,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,9,97,6,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,57,65,6,16,false,1,0.5,0.5,[],[],""]]]],[],false,false,804038915637547,[],null,22,null],["FenceConnection",0,false,[],0,0,null,[["Animation 1",0,false,1,0,false,966252043860595,[["images/shared-0-sheet3.webp",1934,61,113,2,10,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,61,97,2,10,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,25,125,10,2,false,1,0.5,0.5,[],[0.5,-0.5,0.5,0.5,-0.5,0.5,-0.5,-0.5],""],["images/shared-0-sheet3.webp",1934,25,121,10,2,false,1,0.5,0.5,[],[0.5,-0.5,0.5,0.5,-0.5,0.5,-0.5,-0.5],""],["images/shared-0-sheet4.webp",518,0,0,2,2,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet4.webp",518,0,0,2,2,false,1,0.5,0.5,[],[],""]]]],[],false,false,141227585369198,[],null,23,null],["Flower",0,false,[],1,0,null,[["Animation 1",0,false,1,0,false,122207618303034,[["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,1,37,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""]]]],[["Sine",7,158424743512236,24]],false,false,204653745807781,[],null,25,null],["Grass",0,false,[],1,0,null,[["Animation 1",0,false,1,0,false,742031904630116,[["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,37,33,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""],["images/shared-0-sheet3.webp",1934,19,65,16,16,false,1,0.5,0.5,[],[],""]]]],[["Sine",7,777246365470826,24]],false,false,122819164809232,[],null,26,null],["Text",8,false,[],1,0,["images/shared-0-sheet1.webp",19546,1,193,1024,32,false],null,[["Tween",6,321952572242312,15]],false,false,754753508655732,[],null,27,null],["Array",9,false,[],0,0,null,null,[],true,false,294890587648958,[],null,28,null],["textSpeak",10,false,[],0,0,null,null,[],false,false,107843654532152,[],null,29,null],["Keyboard",11,false,[],0,0,null,null,[],false,false,410512421449534,[],null,30,null,[]],["Sprite",5,false,[],0,0,null,[["Animation 1",5,false,1,0,false,299440638996383,[["images/shared-0-sheet0.webp",205690,0,0,432,821,false,1,0.5,0.5,[],[0.15046296296296302,-0.4658952496954933,0.48842592592592593,-0.028623629719853827,0.4189814814814815,0.16869671132764918,0.1875,0.49390986601705233,0.11111111111111116,0.49878197320341044,-0.13657407407407407,0.4598051157125457,-0.32638888888888884,0.1991473812423873,-0.5,-0.2624847746650426,-0.0532407407407407,-0.4939098660170524,0.04629629629629628,-0.5],""]]]],[],false,false,757714282487009,[],null,31,null],["debugger2Button",12,false,[],0,0,null,null,[],false,false,886166958767841,[],null,32,null],["pre",12,false,[],0,0,null,null,[],false,false,414466544913692,[],null,33,null]],[],[["World1",640,384,false,false,0.5,0.5,"Code",296372450475719,[["Background",0,758847700178835,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[304,224,-16,480,480,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],15,74,[],[],[0,64,true,true,false,true,false,true,false,8,-1,-1,-1,-1,-1,-1]]],[],0,true,false,false,[]],["World",1,341539217003711,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[224,112,-8,176,144,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],0,75,[],[],[0,8,true,false,true,true,true,true,true,8,-1,-1,-1,-1,-1,-1]],[[312,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,120,[0],[],[false,"Default",0,true]],[[296,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,130,[0],[],[false,"Default",0,true]],[[328,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,131,[0],[],[false,"Default",0,true]],[[328,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,132,[0],[],[false,"Default",0,true]],[[312,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,133,[0],[],[false,"Default",0,true]],[[312,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,154,[0,"Carrot"],[],[false,"Default",0,true]],[[328,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],11,155,[],[],[false,"Default",0,false]],[[232,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,156,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[248,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,157,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[264,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,158,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[280,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,159,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[296,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,160,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[312,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,161,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[328,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,162,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[344,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,163,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[360,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,164,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[376,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,165,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[392,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,166,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,136,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,167,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,168,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,168,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,184,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,169,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,200,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,170,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,216,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,171,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,232,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,172,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,248,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,173,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[265,169,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,174,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[266,156,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,175,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[247,132,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,176,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[328,145,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,177,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[299,230,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,178,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[242,238,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,179,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[243,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,180,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[254,233,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,181,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,182,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[301,247,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,183,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[311,226,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,184,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[297,168,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,185,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[354,195,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,186,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[359,164,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,187,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[346,136,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,188,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[327,158,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,189,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[383,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,190,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[381,128,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,191,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[391,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,192,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[294,133,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,193,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[392,195,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,194,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,220,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,121,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[264,194,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,122,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[332,235,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,123,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[296,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,289,[0],[],[false,"Default",0,true]],[[232,240,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,196,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,197,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,198,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,199,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,200,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,201,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,202,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,203,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,204,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,205,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,206,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,207,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,208,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,209,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,210,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,211,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,240,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,212,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,213,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,214,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,215,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,216,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,217,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,218,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,219,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,220,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,221,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,222,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,223,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,224,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,225,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,226,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,227,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]]],[],0,true,true,false,[]],["chat",2,747180467921480,true,[94,94,94],true,0,0,1,false,false,1,0,true,[[[101,126,0,178.118997046558,52.017849556983705,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],22,293,[],[],["Text",true,"Arial",8,0,false,false,[1,1,1],0,0,0,0,-1,true,0,false]],[[67,134,0,46.115259534005716,87.64034277180257,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],24,295,[],[],[true,"Animation 1",0,true]]],[],0,false,false,false,[]],["debugger",3,942652468710573,true,[94,94,94],true,0,0,1,false,false,1,0,true,[[[200,4,0,35,15,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],26,336,[],[],[0,"pre","",true,true,true,false,"",""]],[[250,4,0,35,15,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],25,335,[],[],[0,"next","",true,true,true,false,"",""]]],[],0,false,false,false,[]]],[[null,21,292,[],[],[10,1,1]]],[]],["World2",640,384,false,false,0.5,0.5,"Code",193252942886379,[["Background",0,336685148427646,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[320,180,-16,480,480,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],15,4,[],[],[0,64,true,true,false,true,false,true,false,8,-1,-1,-1,-1,-1,-1]],[[312,184,-8,176,144,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],1,124,[],[],[0,8,true,false,true,true,true,true,true,8,-1,-1,-1,-1,-1,-1]],[[248,136,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,129,[0],[],[false,"Default",0,true]],[[248,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,287,[0],[],[false,"Default",0,true]],[[248,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,288,[0],[],[false,"Default",0,true]],[[248,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,296,[0],[],[false,"Default",0,true]],[[248,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,297,[0],[],[false,"Default",0,true]],[[248,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,298,[0],[],[false,"Default",0,true]],[[280,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,299,[0],[],[false,"Default",0,true]],[[280,136,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,300,[0],[],[false,"Default",0,true]],[[296,136,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,301,[0],[],[false,"Default",0,true]],[[312,136,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,302,[0],[],[false,"Default",0,true]],[[296,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,303,[0],[],[false,"Default",0,true]],[[264,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,304,[0],[],[false,"Default",0,true]],[[280,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,305,[0],[],[false,"Default",0,true]],[[280,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,306,[0],[],[false,"Default",0,true]],[[280,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,127,[0],[],[false,"Default",0,true]],[[312,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,307,[0],[],[false,"Default",0,true]],[[280,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,308,[0],[],[false,"Default",0,true]],[[312,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,309,[0],[],[false,"Default",0,true]],[[280,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,310,[0],[],[false,"Default",0,true]],[[296,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,311,[0],[],[false,"Default",0,true]],[[312,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,312,[0],[],[false,"Default",0,true]],[[312,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,313,[0],[],[false,"Default",0,true]],[[344,167,0,16,16,0,0.00024117940387635706,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,314,[0,"Tomato"],[],[false,"Default",0,true]],[[376,231,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,315,[0],[],[false,"Default",0,true]],[[360,231,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,316,[0],[],[false,"Default",0,true]],[[344,231,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,317,[0],[],[false,"Default",0,true]],[[344,199,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,318,[0],[],[false,"Default",0,true]],[[344,215,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,319,[0],[],[false,"Default",0,true]],[[344,151,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,320,[0],[],[false,"Default",0,true]],[[360,135,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,321,[0],[],[false,"Default",0,true]],[[376,135,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,322,[0],[],[false,"Default",0,true]],[[344,135,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,323,[0],[],[false,"Default",0,true]],[[360,151,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,324,[0],[],[false,"Default",0,true]],[[376,151,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,325,[0],[],[false,"Default",0,true]],[[360,167,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,326,[0],[],[false,"Default",0,true]],[[376,167,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,327,[0],[],[false,"Default",0,true]],[[376,183,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,328,[0],[],[false,"Default",0,true]],[[376,199,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,329,[0],[],[false,"Default",0,true]],[[360,199,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,330,[0],[],[false,"Default",0,true]],[[360,215,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,331,[0],[],[false,"Default",0,true]],[[376,215,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,332,[0],[],[false,"Default",0,true]]],[],0,true,false,false,[]],["World",1,147511635072862,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[312,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,125,[0],[],[false,"Default",0,true]],[[248,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,126,[0],[],[false,"Default",0,true]],[[344,183,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,128,[0],[],[false,"Default",0,true]],[[344,167,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,134,[0],[],[false,"Default",0,true]],[[312,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,135,[0],[],[false,"Default",0,true]],[[296,216,0,16,16,0,0.00024117940387635706,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,136,[0,"Corn"],[],[false,"Default",0,true]],[[328,199,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],11,137,[],[],[false,"Default",0,false]],[[232,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,138,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[248,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,139,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[264,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,140,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[280,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,141,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[296,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,142,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[312,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,143,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[328,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,144,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[344,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,145,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[360,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,146,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[376,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,147,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[392,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,148,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,136,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,149,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,168,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,150,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,184,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,151,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,200,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,152,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,216,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,153,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,232,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,195,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,248,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,228,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[265,169,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,229,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[266,156,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,230,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[247,132,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,231,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[328,145,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,232,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[299,230,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,233,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[242,238,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,234,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[243,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,235,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[254,233,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,236,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,237,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[301,247,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,238,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[311,226,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,239,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[297,168,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,240,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[354,195,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,241,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[359,164,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,242,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[346,136,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,243,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[327,158,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,244,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[383,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,245,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[381,128,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,246,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[391,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,249,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[294,133,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,250,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[392,195,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,251,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,220,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,252,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[264,194,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,253,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[332,235,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,254,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,240,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,255,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,256,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,257,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,258,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,259,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,260,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,261,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,262,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,263,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,264,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,265,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,266,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,267,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,268,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,269,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,270,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,240,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,271,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,272,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,273,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,274,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,275,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,276,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,277,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,278,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,279,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,280,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,281,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,282,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,283,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,284,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,285,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,286,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]]],[],0,true,true,false,[]],["debugger",2,239116688106605,true,[94,94,94],true,0,0,1,false,false,1,0,true,[[[200,4,0,35,15,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],26,336,[],[],[0,"pre","",true,true,true,false,"",""]],[[250,4,0,35,15,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],25,335,[],[],[0,"next","",true,true,true,false,"",""]]],[],0,false,false,false,[]]],[],[]],["World3",640,384,false,false,0.5,0.5,"Code",729102041195951,[["Background",0,514374864735423,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[320,180,-16,480,480,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],15,40,[],[],[0,64,true,true,false,true,false,true,false,8,-1,-1,-1,-1,-1,-1]],[[312,184,-8,176,144,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],2,47,[],[],[0,8,true,false,true,true,true,true,true,8,-1,-1,-1,-1,-1,-1]]],[],0,true,false,false,[]],["World",1,871636894656167,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[312,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,6,[0],[],[false,"Default",0,true]],[[312,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,7,[0],[],[false,"Default",0,true]],[[312,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,8,[0],[],[false,"Default",0,true]],[[344,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,9,[0],[],[false,"Default",0,true]],[[344,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,10,[0],[],[false,"Default",0,true]],[[344,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,11,[0],[],[false,"Default",0,true]],[[280,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,12,[0],[],[false,"Default",0,true]],[[280,168,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,13,[0],[],[false,"Default",0,true]],[[280,152,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,14,[0],[],[false,"Default",0,true]],[[296,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,15,[0],[],[false,"Default",0,true]],[[296,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,16,[0],[],[false,"Default",0,true]],[[328,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,17,[0],[],[false,"Default",0,true]],[[328,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,18,[0],[],[false,"Default",0,true]],[[280,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,19,[0],[],[false,"Default",0,true]],[[280,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,20,[0],[],[false,"Default",0,true]],[[264,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,21,[0],[],[false,"Default",0,true]],[[264,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,22,[0],[],[false,"Default",0,true]],[[264,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,23,[0],[],[false,"Default",0,true]],[[248,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,24,[0],[],[false,"Default",0,true]],[[248,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,25,[0],[],[false,"Default",0,true]],[[248,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,26,[0],[],[false,"Default",0,true]],[[376,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,27,[0],[],[false,"Default",0,true]],[[376,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,28,[0],[],[false,"Default",0,true]],[[376,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,29,[0],[],[false,"Default",0,true]],[[360,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,30,[0],[],[false,"Default",0,true]],[[360,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,31,[0],[],[false,"Default",0,true]],[[360,184,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,32,[0],[],[false,"Default",0,true]],[[344,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,34,[0],[],[false,"Default",0,true]],[[344,216,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,35,[0],[],[false,"Default",0,true]],[[344,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,3,[0],[],[false,"Default",0,true]],[[280,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,38,[0],[],[false,"Default",0,true]],[[312,136,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],9,39,[0],[],[false,"Default",0,true]],[[344,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,33,[0,"Corn"],[],[false,"Default",0,true]],[[280,232,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,36,[0,"Tomato"],[],[false,"Default",0,true]],[[264,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,37,[0,"Carrot"],[],[false,"Default",0,true]],[[328,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],11,41,[],[],[false,"Default",0,false]],[[232,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,45,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[248,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,46,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[264,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,48,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[280,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,49,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[296,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,50,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[312,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,51,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[328,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,52,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[344,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,53,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[360,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,54,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[376,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,55,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[392,120,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,56,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,136,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,57,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,168,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,59,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,184,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,60,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,200,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,61,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,216,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,62,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,232,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,63,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[232,248,0,6,6,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],16,64,[],[],[0,8,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[265,169,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,78,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[266,156,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,79,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[247,132,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,101,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[328,145,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,102,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[299,230,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,103,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[242,238,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,104,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[243,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,105,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[254,233,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,106,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,107,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[301,247,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,108,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[311,226,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,109,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[309,198,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,110,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[360,229,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,111,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[359,164,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,112,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[346,136,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,113,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[327,158,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,114,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[383,143,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,115,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[381,128,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,116,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[391,250,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,117,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[294,133,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],19,118,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[392,195,0,2,16,0,0.7853981633974483,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],18,119,[],[[6,0,2,0,0,2,5,0,true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,240,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,65,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,67,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,69,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,70,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,73,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,2,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,76,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,81,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,83,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,85,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,86,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,89,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,90,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,91,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,92,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,97,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,2,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,98,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,240,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,66,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,224,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,68,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,208,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,71,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,192,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,72,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,176,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,77,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[232,128,5,2,10,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,80,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[240,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,82,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[256,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,84,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[272,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,87,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[288,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,88,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[304,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,93,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[320,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,94,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[336,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,95,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[352,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,96,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[368,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,99,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[384,120,5,2,10,0,1.5707963267948966,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],17,100,[],[],[0,1,true,false,true,false,true,false,false,8,-1,-1,-1,-1,-1,-1]]],[],0,true,true,false,[]],["debugger",2,296641555518429,true,[94,94,94],true,0,0,1,false,false,1,0,true,[[[200,4,0,35,15,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],26,336,[],[],[0,"pre","",true,true,true,false,"",""]],[[250,4,0,35,15,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],25,335,[],[],[0,"next","",true,true,true,false,"",""]]],[],0,false,false,false,[]]],[],[]],["World4",640,384,false,false,0.5,0.5,"world4",194289334560843,[["Background",0,168859797310278,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[340,222,-16,480,480,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],15,333,[],[],[0,64,true,true,false,true,false,true,false,8,-1,-1,-1,-1,-1,-1]],[[312,184,-8,176,144,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],2,334,[],[],[0,8,true,false,true,true,true,true,true,8,-1,-1,-1,-1,-1,-1]]],[],0,true,false,false,[]],["World",1,439460132047803,true,[94,94,94],true,1,1,1,false,false,1,0,true,[[[328,200,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],11,370,[],[],[false,"Default",0,false]]],[],0,true,true,false,[]],["chat",2,692983681525457,true,[94,94,94],true,0,0,1,false,false,1,0,true,[[[101,126,0,178.118997046558,52.017849556983705,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],22,293,[],[],["Text",true,"Arial",8,0,false,false,[1,1,1],0,0,0,0,-1,true,0,false]],[[67,134,0,46.115259534005716,87.64034277180257,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],24,295,[],[],[true,"Animation 1",0,true]]],[],0,false,false,false,[]],["debugger",3,605499400859369,true,[94,94,94],true,0,0,1,false,false,1,0,true,[[[200,4,0,35,15,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],26,336,[],[],[0,"pre","",true,true,true,false,"",""]],[[250,4,0,35,15,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],25,335,[],[],[0,"next","",true,true,true,false,"",""]]],[],0,false,false,false,[]]],[],[]],["ObjectRepository",640,384,false,false,0.5,0.5,null,499363607307537,[["ObjectRepository",0,692105155271239,true,[94,94,94],false,1,1,1,false,false,1,0,true,[[[8,8,0,16,16,0,0,[1,1,1,0.5],0.5,0.5,0,0,[],null,null,null,["",""]],8,5,[0,0],[],[false,"Default",0,true]],[[24,8,0,16,16,0,0,[1,1,1,1],0.5,0.5,0,0,[[true,0,1,1]],null,null,null,["",""]],10,247,[],[[true]],[0,8,true,false,false,false,true,false,false,8,-1,-1,-1,-1,-1,-1]],[[88,8,0,14,14,0,0.0023681812834369896,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],12,42,[],[],[0,4,true,false,true,false,true,false,true,8,-1,-1,-1,-1,-1,-1]],[[104,8,0,14,8,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],13,43,[],[],[false,"Carrot",0,false]],[[40,8,0,16,16,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],14,44,[],[],[false,"Carrot",0,false]],[[72,8,0,16,16,0,0,[1,1,1,0.75],0.5,0.5,0,0,[],null,null,null,["",""]],7,58,[0,"Corn"],[],[false,"Default",0,true]]],[],0,true,false,false,[]]],[],[]],["Layout 1",640,360,false,false,0.5,0.5,"Event sheet 1",923855451557613,[["debugger",0,360678150255519,true,[94,94,94],true,0,0,1,false,false,1,0,true,[[[200,4,0,35,15,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],26,336,[],[],[0,"pre","",true,true,true,false,"",""]],[[250,4,0,35,15,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],25,335,[],[],[0,"next","",true,true,true,false,"",""]]],[],0,false,false,false,[]],["chat",1,772020298693219,true,[94,94,94],true,0,0,1,false,false,1,0,true,[[[101,126,0,178.118997046558,52.017849556983705,0,0,[1,1,1,1],0,0,0,0,[],null,null,null,["",""]],22,293,[],[],["Text",true,"Arial",8,0,false,false,[1,1,1],0,0,0,0,-1,true,0,false]],[[67,134,0,46.115259534005716,87.64034277180257,0,0,[1,1,1,1],0.5,0.5,0,0,[],null,null,null,["",""]],24,295,[],[],[true,"Animation 1",0,true]]],[],0,false,false,false,[]]],[],[]]],[["Code",[[2,"Event sheet 1",false],[1,"Mode",1,"Inspecting",false,false,364018215549210,false,34],[1,"SelectedUID",0,0,false,false,922476166568855,false,35],[1,"TILESIZE",0,16,false,true,144864952335150,false,36],[1,"level",0,1,false,false,282648249631039,false,37],[3,[true,"Setup"],false,null,961734721120380,1,[[-1,13,null,0,false,false,false,0,false,[[1,[0]]]]],[],[[0,0,false,null,611422181536543,2,[[-1,14,null,1,false,false,false,733235754681572,null]],[[-2,"RefreshGroundTiles",null,526948587597126,0,null],[3,15,null,487974037404951,0,null,[[0,[1,[1,11,16,false]]],[0,[1,[1,11,17,false]]],[0,[2]],[0,[3,[1,11,16,false]]],[0,[3,[1,11,17,false]]],[0,[4]],[0,[5]],[0,[5]],[0,[6]]]],[-1,18,null,391694819269974,0,null,[[3,1]]],[-1,19,null,152790306227056,0,null,[[11,364018215549210],[7,[7]]]]],[[0,0,false,null,886223247770019,3,[[-1,20,null,0,true,false,false,508151823597890,null,[[4,7]]]],[[-1,21,null,849303016097943,256,null,[[4,12],[5,[8]],[0,[3,[1,7,16,false]]],[0,[3,[1,7,17,false]]],[16,false],[20,[9]]]],[7,22,null,988023274118313,0,null,[[4,12],[16,true],[16,true],[16,false],[16,false],[16,false],[16,false],[16,false],[16,false],[16,true]]],[-1,21,null,276558962546769,256,null,[[4,13],[5,[8]],[0,[3,[1,12,23,false]]],[0,[3,[1,12,24,false]]],[16,false],[20,[9]]]],[13,25,null,315002747913629,0,null,[[1,[10,[2,7,true,1]]],[3,1]]],[13,26,null,371296598933470,0,null,[[0,[11,[1,12,27,false]]]]],[12,28,null,167813537250520,0,null,[[4,13],[16,true],[16,true],[16,false],[16,false],[16,false],[16,false],[16,false],[16,false],[16,true]]],[12,29,null,747062574091058,0,null,[[3,5],[4,13]]],[12,29,null,491187015309375,0,null,[[3,3],[4,13]]]]],[0,0,false,null,783536972607162,4,[],[[-1,30,null,157965780112412,2,null,[[0,[12]]]],[20,31,"Tween",790763601445605,1,null,[[1,[13]],[3,1],[0,[14,[1,20,32,false]]],[0,[15]],[18,2],[3,1],[3,0],[3,0],[0,[6]]]]]]]]]],[3,[true,"Controls"],false,null,947711430602246,5,[[-1,13,null,0,false,false,false,0,false,[[1,[16]]]]],[],[[0,0,false,null,331348369623442,6,[[4,33,null,1,false,false,false,433492338592514,null,[[4,7]]]],[],[[0,0,false,null,817244140151087,7,[[-1,34,null,0,false,false,false,280157538108139,null,[[7,[17,[3,364018215549210]]],[8,0],[7,[7]]]]],[[-1,19,null,274289653885523,0,null,[[11,364018215549210],[7,[18]]]],[-1,19,null,585334471951653,0,null,[[11,922476166568855],[7,[3,[1,7,35,false]]]]]]]]],[0,0,false,null,934100629038295,8,[[-1,34,null,0,false,false,false,851784270528868,null,[[7,[17,[3,364018215549210]]],[8,0],[7,[18]]]],[7,36,null,0,false,false,true,545235392116163,null,[[0,[17,[3,922476166568855]]]]],[4,37,null,0,false,false,false,280405293030718,null,[[4,9]]],[-1,38,null,0,false,false,false,755021038546406,null,[[7,[19,[1,7,16,false],[1,7,17,false],[1,9,16,false],[1,9,17,false]]]]]],[],[[0,0,false,null,855982571245015,9,[[9,39,null,0,false,false,false,277771269982986,null,[[4,8]]]],[],[[0,0,false,null,163254323671663,10,[[-1,38,null,0,false,false,false,874150325560364,null,[[7,[20,[2,8,false,1],[1,7,35,false]]]]]],[],[[0,0,false,null,762286539329871,11,[[-1,40,null,0,true,false,false,154466753026039,null,[[1,[21]],[0,[10,[2,8,false,0]]],[0,[22,[2,7,false,0]]]]]],[],[[0,0,false,null,182012827884538,12,[[-1,41,null,0,false,false,false,260563007578153,null,[[4,8]]],[-1,42,null,0,false,false,false,574378997892344,null,[[4,8],[7,[10,[2,8,false,1]]],[8,0],[7,[3,[1,7,35,false]]]]],[-1,42,null,0,false,false,false,367973009636166,null,[[4,8],[7,[10,[2,8,false,0]]],[8,0],[7,[23,[4,43]]]]]],[[8,44,null,461141799113791,0,null],[7,45,null,646238013310995,0,null,[[10,0],[7,[22,[2,7,false,0]]]]]]]]],[0,0,false,null,344968078875950,13,[],[[7,46,null,512924436540965,0,null,[[0,[3,[1,9,16,false]]],[0,[3,[1,9,17,false]]]]],[-2,"RefreshGroundTiles",null,116256733582708,0,null]]]]]]],[0,0,false,null,989378842714473,14,[[-1,47,null,0,false,false,false,478171210439433,null],[9,39,null,0,false,true,false,580788219165049,null,[[4,8]]],[9,48,null,0,false,true,false,831585231439657,null,[[10,0]]]],[[-1,21,null,863472919134926,256,null,[[4,8],[5,[8]],[0,[3,[1,7,16,false]]],[0,[3,[1,7,17,false]]],[16,false],[20,[9]]]],[7,46,null,846852611208028,0,null,[[0,[3,[1,9,16,false]]],[0,[3,[1,9,17,false]]]]],[8,45,null,255835944137851,0,null,[[10,1],[7,[3,[1,7,35,false]]]]],[8,45,null,561514421030712,0,null,[[10,0],[7,[10,[2,7,false,0]]]]],[7,45,null,435719086490055,0,null,[[10,0],[7,[24,[2,7,false,0]]]]],[-1,21,null,211922372050523,256,null,[[4,10],[5,[8]],[0,[3,[1,8,16,false]]],[0,[3,[1,8,17,false]]],[16,false],[20,[9]]]],[8,22,null,172210863334705,0,null,[[4,10],[16,true],[16,true],[16,false],[16,false],[16,false],[16,false],[16,false],[16,false],[16,true]]],[10,49,null,357462011306485,0,null,[[0,[25]]]],[10,50,null,969545912593937,0,null,[[0,[4]],[0,[5]]]],[10,51,"Tween",834185425084339,1,null,[[1,[26]],[3,1],[0,[3,[1,10,52,false]]],[0,[27]],[0,[28]],[18,9],[3,0],[3,0],[3,0],[0,[6]]]],[-1,21,null,536400068161496,256,null,[[4,14],[5,[8]],[0,[3,[1,10,23,false]]],[0,[3,[1,10,24,false]]],[16,false],[20,[9]]]],[14,25,null,754785341213627,0,null,[[1,[10,[2,7,true,1]]],[3,1]]],[14,26,null,783636658285094,0,null,[[0,[11,[1,10,27,false]]]]],[10,28,null,234878703882317,0,null,[[4,14],[16,true],[16,true],[16,false],[16,false],[16,false],[16,false],[16,false],[16,false],[16,true]]],[10,29,null,702048049634341,0,null,[[3,3],[4,14]]],[-2,"RefreshGroundTiles",null,202810491169380,0,null],[-2,"CheckProgress",null,281781574040718,0,null]]]]],[0,0,false,null,442030239668204,15,[[4,53,null,1,false,false,false,650493129253642,null]],[],[[0,0,false,null,594083256543403,16,[[-1,34,null,0,false,false,false,942467579662661,null,[[7,[17,[3,364018215549210]]],[8,0],[7,[18]]]]],[[-1,19,null,869521777045680,0,null,[[11,364018215549210],[7,[7]]]],[-1,19,null,899352114689109,0,null,[[11,922476166568855],[7,[29]]]]]]]]]],[3,[true,"Utilities"],false,null,644148229148166,17,[[-1,13,null,0,false,false,false,0,false,[[1,[30]]]]],[],[[4,["RoundValue",1,[[1,"Value",0,0,false,false,438869219067643,false,38]],true,false,false],false,null,644419647395917,18,[],[[-1,54,null,905684673078068,0,null,[[7,[31,[3,438869219067643]]]]]]],[4,["RefreshGroundTiles",0,[],true,false,false],false,null,564089428165479,19,[],[],[[0,0,false,null,346952007182399,20,[[-1,20,null,0,true,false,false,234810980187925,null,[[4,9]]]],[],[[0,0,false,null,400657367273346,21,[[9,39,null,0,false,false,false,578517957196138,null,[[4,7]]]],[[9,55,null,258270377996296,0,null,[[10,0],[3,1]]]]],[0,0,false,null,607232724579334,22,[[-1,47,null,0,false,false,false,985424662413614,null],[9,39,null,0,false,true,false,472378391821133,null,[[4,7]]]],[[9,55,null,805696728856334,0,null,[[10,0],[3,0]]]]]]]]],[4,["CheckProgress",0,[],true,false,false],false,null,650321374449596,23,[],[],[[1,"Total",0,0,false,false,801264090700823,false,39],[0,0,false,null,986779958363606,24,[[-1,20,null,0,true,false,false,661273022181708,null,[[4,7]]]],[[-1,19,null,828190123089301,0,null,[[11,801264090700823],[7,[32,[3,801264090700823],[2,7,false,0]]]]]]],[0,0,false,null,551728270892034,25,[[-1,38,null,0,false,false,false,683327579485372,null,[[7,[33,[3,801264090700823],[1,9,56,false]]]]]],[[-1,19,null,352610005065932,0,null,[[11,364018215549210],[7,[34]]]],[-1,19,null,461335919095061,0,null,[[11,922476166568855],[7,[29]]]],[-1,30,null,344796426303141,2,null,[[0,[5]]]]],[[1,"PositionX",0,0,false,false,430552462443817,false,40],[1,"WaitTime",0,0,false,false,296601142894853,false,41],[0,0,false,null,709068314491572,26,[[-1,40,null,0,true,false,false,604656742318416,null,[[1,[35]],[0,[5]],[0,[36,[4,57]]]]]],[[-1,19,null,724466807345426,0,null,[[11,430552462443817],[7,[37,[4,43]]]]]],[[0,0,false,null,503567926274604,27,[[-1,42,null,0,false,false,false,657850111574690,null,[[4,10],[7,[3,[1,10,23,false]]],[8,0],[7,[17,[3,430552462443817]]]]]],[],[[0,0,false,null,804695021122425,28,[[-1,34,null,0,false,false,false,536654615876904,null,[[7,[3,[1,10,58,false]]],[8,5],[7,[6]]]]],[[-1,19,null,294898273319137,0,null,[[11,296601142894853],[7,[38,[3,296601142894853]]]]],[-1,30,null,275325795586899,2,null,[[0,[17,[3,296601142894853]]]]],[10,31,"Tween",752137158562144,1,null,[[1,[39]],[3,7],[0,[15]],[0,[40]],[18,3],[3,0],[3,0],[3,1],[0,[6]]]],[10,59,"Tween",397228877700456,1,null,[[1,[41]],[0,[42]],[0,[43]],[0,[44]],[18,0],[3,0],[3,0],[3,0],[0,[6]]]]]]]]]]]]]],[0,0,false,null,923040952132037,29,[[10,60,"Tween",0,false,false,false,998000678942194,null,[[1,[41]]]]],[[10,61,null,952533258544927,0,null,[[1,[45]],[0,[5]],[0,[46,[0,10,"Tween",62,false]]]]],[-1,30,null,649799302467039,2,null,[[0,[47]]]],[-1,63,null,726958242019260,0,null,[[11,282648249631039],[7,[6]]]],[-1,64,null,990319608609427,0,null,[[1,[48,[3,282648249631039]]]]]]]]],[0,0,false,null,596970280023179,30,[[25,65,null,1,false,false,false,137063338552546,null]],[[-1,63,null,414133284450372,0,null,[[11,282648249631039],[7,[6]]]],[-1,64,null,360115260732572,0,null,[[1,[48,[3,282648249631039]]]]]]],[0,0,false,null,552204872589883,31,[[26,65,null,1,false,false,false,536523835471337,null]],[[-1,66,null,858531356507370,0,null,[[11,282648249631039],[7,[6]]]],[-1,64,null,855114931163133,0,null,[[1,[48,[3,282648249631039]]]]]]]]],["Event sheet 1",[[1,"textspeed",0,30,false,false,653145542361738,false,42],[1,"chatState",0,0,false,false,691597249625570,false,43],[0,0,false,null,241007115310039,1,[[-1,14,null,1,false,false,false,204907880083392,null]],[[5,67,null,988316145920606,1,null,[[1,[49]],[12,"texts.json"]]]]],[0,0,false,null,643242220810032,2,[[5,68,null,1,false,false,false,847338203663242,null,[[1,[49]]]]],[[21,69,null,438926737555262,0,null,[[1,[50,[1,5,70,true]]]]],[-2,"updateChat",null,272065817578650,0,null,[[0,[5]]]]]],[4,["updateChat",0,[[1,"state",0,0,false,false,869979588862452,false,44]],true,false,false],false,null,753619814235354,3,[],[[22,71,null,671241873776714,0,null,[[7,[51,[1,21,72,false],[3,691597249625570]]],[0,[52,[4,73],[1,21,72,false],[3,691597249625570],[3,653145542361738]]]]]]],[0,0,false,null,977917161858566,4,[[23,74,null,1,false,false,false,537753260805824,null,[[9,32]]]],[],[[0,0,false,null,559331561517303,5,[[22,75,null,0,false,false,false,767184294983476,null]],[[22,76,null,627773082035896,0,null]]],[0,0,false,null,582348546778596,6,[[-1,47,null,0,false,false,false,601362181171063,null]],[[-1,19,null,933133527725251,0,null,[[11,691597249625570],[7,[53,[3,691597249625570]]]]],[-2,"updateChat",null,586798388401173,0,null,[[0,[17,[3,691597249625570]]]]]]]]]]],["world4",[[2,"Code",false],[1,"textspeed2",0,30,false,false,483180549716453,false,45],[1,"chatState2",0,0,false,false,389183150398062,false,46],[0,0,false,null,541722811017953,1,[[-1,14,null,1,false,false,false,528950591198694,null]],[[5,67,null,761359529783438,1,null,[[1,[54]],[12,"texts2.json"]]]]],[0,0,false,null,743369505479609,2,[[5,68,null,1,false,false,false,638310443511834,null,[[1,[54]]]]],[[21,69,null,597981806320295,0,null,[[1,[50,[1,5,70,true]]]]],[-2,"updateChat2",null,445699535849530,0,null,[[0,[5]]]]]],[4,["updateChat2",0,[[1,"state",0,0,false,false,989862345751434,false,44]],true,false,false],false,null,571893288024602,3,[],[[22,71,null,383889048705058,0,null,[[7,[51,[1,21,72,false],[3,389183150398062]]],[0,[52,[4,73],[1,21,72,false],[3,389183150398062],[3,653145542361738]]]]]]],[0,0,false,null,379387285195206,4,[[23,74,null,1,false,false,false,536554571601722,null,[[9,32]]]],[],[[0,0,false,null,515470277308103,5,[[22,75,null,0,false,false,false,630636709158315,null]],[[22,76,null,746622296348426,0,null]]],[0,0,false,null,244726364751302,6,[[-1,47,null,0,false,false,false,726248553301144,null]],[[-1,19,null,509422309689130,0,null,[[11,389183150398062],[7,[53,[3,389183150398062]]]]],[-2,"updateChat2",null,229851003482585,0,null,[[0,[17,[3,389183150398062]]]]]]]]]]]],[],"media/",false,320,180,5,false,"nearest",false,"1.0.0.0",false,false,4,0,371,false,true,1,true,0.7853981633974483,[],"icons/",[],"normalized","0ht9dh5xjab","fonts/",[],"high-performance",[],"standard","vsync","","icons/loading-logo.png",true,4,false,null,[],"folders",1,10000,false,[]]} \ No newline at end of file diff --git a/offline.json b/offline.json index 460f762..99aeeb7 100644 --- a/offline.json +++ b/offline.json @@ -1 +1 @@ -{"version":1712419141170,"fileList":["scripts/c3runtime.js","data.json","style.css","scripts/offlineclient.js","images/shared-0-sheet0.webp","images/shared-0-sheet4.webp","images/shared-0-sheet3.webp","images/shared-0-sheet2.webp","images/shared-0-sheet1.webp","scripts/main.js","workermain.js","scripts/dispatchworker.js","scripts/jobworker.js","scripts/supportcheck.js","texts.json","texts2.json","icons/icon-16.png","icons/icon-32.png","icons/icon-64.png","icons/loading-logo.png","icons/icon-128.png","icons/icon-256.png","icons/icon-512.png","scripts/register-sw.js"]} \ No newline at end of file +{"version":1712422053292,"fileList":["scripts/c3runtime.js","data.json","style.css","scripts/offlineclient.js","images/shared-0-sheet0.webp","images/shared-0-sheet4.webp","images/shared-0-sheet3.webp","images/shared-0-sheet2.webp","images/shared-0-sheet1.webp","scripts/main.js","workermain.js","scripts/dispatchworker.js","scripts/jobworker.js","scripts/supportcheck.js","texts.json","texts2.json","icons/icon-16.png","icons/icon-64.png","icons/loading-logo.png","icons/icon-32.png","icons/icon-128.png","icons/icon-256.png","icons/icon-512.png","scripts/register-sw.js"]} \ No newline at end of file diff --git a/scripts/c3runtime.js b/scripts/c3runtime.js index f9b3f00..1722c0c 100644 --- a/scripts/c3runtime.js +++ b/scripts/c3runtime.js @@ -1,106 +1,106 @@ // Generated by Construct, the game and app creator :: https://www.construct.net var aa;"use strict";var ba=this; -function ea(a){function b(f,h,m){var q=h[0],t=h[1],u=h[2];h=h[3];var w=m[0],z=m[1],A=m[2];m=m[3];f[0]=q*w+u*z;f[1]=t*w+h*z;f[2]=q*A+u*m;f[3]=t*A+h*m;return f}function d(f,h,m){f[0]=h[0]-m[0];f[1]=h[1]-m[1];f[2]=h[2]-m[2];f[3]=h[3]-m[3];return f}function c(f,h,m){var q=h[0],t=h[1],u=h[2],w=h[3],z=h[4];h=h[5];var A=m[0],D=m[1],G=m[2],I=m[3],O=m[4];m=m[5];f[0]=q*A+u*D;f[1]=t*A+w*D;f[2]=q*G+u*I;f[3]=t*G+w*I;f[4]=q*O+u*m+z;f[5]=t*O+w*m+h;return f}function e(f,h,m){f[0]=h[0]-m[0];f[1]=h[1]-m[1];f[2]=h[2]- -m[2];f[3]=h[3]-m[3];f[4]=h[4]-m[4];f[5]=h[5]-m[5];return f}function g(){var f=new qa(9);qa!=Float32Array&&(f[1]=0,f[2]=0,f[3]=0,f[5]=0,f[6]=0,f[7]=0);f[0]=1;f[4]=1;f[8]=1;return f}function k(f,h,m){var q=h[0],t=h[1],u=h[2],w=h[3],z=h[4],A=h[5],D=h[6],G=h[7];h=h[8];var I=m[0],O=m[1],M=m[2],W=m[3],X=m[4],Q=m[5],ja=m[6],fa=m[7];m=m[8];f[0]=I*q+O*w+M*D;f[1]=I*t+O*z+M*G;f[2]=I*u+O*A+M*h;f[3]=W*q+X*w+Q*D;f[4]=W*t+X*z+Q*G;f[5]=W*u+X*A+Q*h;f[6]=ja*q+fa*w+m*D;f[7]=ja*t+fa*z+m*G;f[8]=ja*u+fa*A+m*h;return f} -function l(f,h,m){f[0]=h[0]-m[0];f[1]=h[1]-m[1];f[2]=h[2]-m[2];f[3]=h[3]-m[3];f[4]=h[4]-m[4];f[5]=h[5]-m[5];f[6]=h[6]-m[6];f[7]=h[7]-m[7];f[8]=h[8]-m[8];return f}function n(f){f[0]=1;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=1;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=1;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f}function p(f,h,m){var q=h[0],t=h[1],u=h[2],w=h[3],z=h[4],A=h[5],D=h[6],G=h[7],I=h[8],O=h[9],M=h[10],W=h[11],X=h[12],Q=h[13],ja=h[14];h=h[15];var fa=m[0],oa=m[1],pa=m[2],ka=m[3];f[0]=fa*q+oa*z+pa*I+ka* -X;f[1]=fa*t+oa*A+pa*O+ka*Q;f[2]=fa*u+oa*D+pa*M+ka*ja;f[3]=fa*w+oa*G+pa*W+ka*h;fa=m[4];oa=m[5];pa=m[6];ka=m[7];f[4]=fa*q+oa*z+pa*I+ka*X;f[5]=fa*t+oa*A+pa*O+ka*Q;f[6]=fa*u+oa*D+pa*M+ka*ja;f[7]=fa*w+oa*G+pa*W+ka*h;fa=m[8];oa=m[9];pa=m[10];ka=m[11];f[8]=fa*q+oa*z+pa*I+ka*X;f[9]=fa*t+oa*A+pa*O+ka*Q;f[10]=fa*u+oa*D+pa*M+ka*ja;f[11]=fa*w+oa*G+pa*W+ka*h;fa=m[12];oa=m[13];pa=m[14];ka=m[15];f[12]=fa*q+oa*z+pa*I+ka*X;f[13]=fa*t+oa*A+pa*O+ka*Q;f[14]=fa*u+oa*D+pa*M+ka*ja;f[15]=fa*w+oa*G+pa*W+ka*h;return f}function r(f, -h,m){var q=h[0],t=h[1],u=h[2],w=h[3],z=q+q,A=t+t,D=u+u;h=q*z;var G=q*A;q*=D;var I=t*A;t*=D;u*=D;z*=w;A*=w;w*=D;f[0]=1-(I+u);f[1]=G+w;f[2]=q-A;f[3]=0;f[4]=G-w;f[5]=1-(h+u);f[6]=t+z;f[7]=0;f[8]=q+A;f[9]=t-z;f[10]=1-(h+I);f[11]=0;f[12]=m[0];f[13]=m[1];f[14]=m[2];f[15]=1;return f}function x(f,h){f[0]=h[12];f[1]=h[13];f[2]=h[14];return f}function v(f,h){var m=h[4],q=h[5],t=h[6],u=h[8],w=h[9],z=h[10];f[0]=Math.hypot(h[0],h[1],h[2]);f[1]=Math.hypot(m,q,t);f[2]=Math.hypot(u,w,z);return f}function y(f,h){var m= -new qa(3);v(m,h);var q=1/m[0],t=1/m[1],u=1/m[2],w=h[0]*q;m=h[1]*t;var z=h[2]*u,A=h[4]*q,D=h[5]*t,G=h[6]*u;q*=h[8];t*=h[9];h=h[10]*u;u=w+D+h;0D&&w>h?(w=2*Math.sqrt(1+w-D-h),f[3]=(G-t)/w,f[0]=.25*w,f[1]=(m+A)/w,f[2]=(q+z)/w):D>h?(w=2*Math.sqrt(1+D-w-h),f[3]=(q-z)/w,f[0]=(m+A)/w,f[1]=.25*w,f[2]=(G+t)/w):(w=2*Math.sqrt(1+h-w-D),f[3]=(m-A)/w,f[0]=(q+z)/w,f[1]=(G+t)/w,f[2]=.25*w);return f}function C(f,h,m,q,t){h=1/Math.tan(h/2); -f[0]=h/m;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=h;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[11]=-1;f[12]=0;f[13]=0;f[15]=0;null!=t&&Infinity!==t?(m=1/(q-t),f[10]=(t+q)*m,f[14]=2*t*q*m):(f[10]=-1,f[14]=-2*q);return f}function E(f,h,m,q,t,u,w){var z=1/(h-m),A=1/(q-t),D=1/(u-w);f[0]=-2*z;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=-2*A;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=2*D;f[11]=0;f[12]=(h+m)*z;f[13]=(t+q)*A;f[14]=(w+u)*D;f[15]=1;return f}function F(f,h,m){f[0]=h[0]-m[0];f[1]=h[1]-m[1];f[2]=h[2]-m[2];f[3]=h[3]-m[3];f[4]=h[4]-m[4]; +function ea(a){function b(f,h,m){var q=h[0],t=h[1],u=h[2];h=h[3];var x=m[0],z=m[1],A=m[2];m=m[3];f[0]=q*x+u*z;f[1]=t*x+h*z;f[2]=q*A+u*m;f[3]=t*A+h*m;return f}function d(f,h,m){f[0]=h[0]-m[0];f[1]=h[1]-m[1];f[2]=h[2]-m[2];f[3]=h[3]-m[3];return f}function c(f,h,m){var q=h[0],t=h[1],u=h[2],x=h[3],z=h[4];h=h[5];var A=m[0],D=m[1],G=m[2],I=m[3],O=m[4];m=m[5];f[0]=q*A+u*D;f[1]=t*A+x*D;f[2]=q*G+u*I;f[3]=t*G+x*I;f[4]=q*O+u*m+z;f[5]=t*O+x*m+h;return f}function e(f,h,m){f[0]=h[0]-m[0];f[1]=h[1]-m[1];f[2]=h[2]- +m[2];f[3]=h[3]-m[3];f[4]=h[4]-m[4];f[5]=h[5]-m[5];return f}function g(){var f=new qa(9);qa!=Float32Array&&(f[1]=0,f[2]=0,f[3]=0,f[5]=0,f[6]=0,f[7]=0);f[0]=1;f[4]=1;f[8]=1;return f}function k(f,h,m){var q=h[0],t=h[1],u=h[2],x=h[3],z=h[4],A=h[5],D=h[6],G=h[7];h=h[8];var I=m[0],O=m[1],M=m[2],W=m[3],X=m[4],Q=m[5],ja=m[6],fa=m[7];m=m[8];f[0]=I*q+O*x+M*D;f[1]=I*t+O*z+M*G;f[2]=I*u+O*A+M*h;f[3]=W*q+X*x+Q*D;f[4]=W*t+X*z+Q*G;f[5]=W*u+X*A+Q*h;f[6]=ja*q+fa*x+m*D;f[7]=ja*t+fa*z+m*G;f[8]=ja*u+fa*A+m*h;return f} +function l(f,h,m){f[0]=h[0]-m[0];f[1]=h[1]-m[1];f[2]=h[2]-m[2];f[3]=h[3]-m[3];f[4]=h[4]-m[4];f[5]=h[5]-m[5];f[6]=h[6]-m[6];f[7]=h[7]-m[7];f[8]=h[8]-m[8];return f}function n(f){f[0]=1;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=1;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=1;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f}function p(f,h,m){var q=h[0],t=h[1],u=h[2],x=h[3],z=h[4],A=h[5],D=h[6],G=h[7],I=h[8],O=h[9],M=h[10],W=h[11],X=h[12],Q=h[13],ja=h[14];h=h[15];var fa=m[0],oa=m[1],pa=m[2],ka=m[3];f[0]=fa*q+oa*z+pa*I+ka* +X;f[1]=fa*t+oa*A+pa*O+ka*Q;f[2]=fa*u+oa*D+pa*M+ka*ja;f[3]=fa*x+oa*G+pa*W+ka*h;fa=m[4];oa=m[5];pa=m[6];ka=m[7];f[4]=fa*q+oa*z+pa*I+ka*X;f[5]=fa*t+oa*A+pa*O+ka*Q;f[6]=fa*u+oa*D+pa*M+ka*ja;f[7]=fa*x+oa*G+pa*W+ka*h;fa=m[8];oa=m[9];pa=m[10];ka=m[11];f[8]=fa*q+oa*z+pa*I+ka*X;f[9]=fa*t+oa*A+pa*O+ka*Q;f[10]=fa*u+oa*D+pa*M+ka*ja;f[11]=fa*x+oa*G+pa*W+ka*h;fa=m[12];oa=m[13];pa=m[14];ka=m[15];f[12]=fa*q+oa*z+pa*I+ka*X;f[13]=fa*t+oa*A+pa*O+ka*Q;f[14]=fa*u+oa*D+pa*M+ka*ja;f[15]=fa*x+oa*G+pa*W+ka*h;return f}function r(f, +h,m){var q=h[0],t=h[1],u=h[2],x=h[3],z=q+q,A=t+t,D=u+u;h=q*z;var G=q*A;q*=D;var I=t*A;t*=D;u*=D;z*=x;A*=x;x*=D;f[0]=1-(I+u);f[1]=G+x;f[2]=q-A;f[3]=0;f[4]=G-x;f[5]=1-(h+u);f[6]=t+z;f[7]=0;f[8]=q+A;f[9]=t-z;f[10]=1-(h+I);f[11]=0;f[12]=m[0];f[13]=m[1];f[14]=m[2];f[15]=1;return f}function w(f,h){f[0]=h[12];f[1]=h[13];f[2]=h[14];return f}function v(f,h){var m=h[4],q=h[5],t=h[6],u=h[8],x=h[9],z=h[10];f[0]=Math.hypot(h[0],h[1],h[2]);f[1]=Math.hypot(m,q,t);f[2]=Math.hypot(u,x,z);return f}function y(f,h){var m= +new qa(3);v(m,h);var q=1/m[0],t=1/m[1],u=1/m[2],x=h[0]*q;m=h[1]*t;var z=h[2]*u,A=h[4]*q,D=h[5]*t,G=h[6]*u;q*=h[8];t*=h[9];h=h[10]*u;u=x+D+h;0D&&x>h?(x=2*Math.sqrt(1+x-D-h),f[3]=(G-t)/x,f[0]=.25*x,f[1]=(m+A)/x,f[2]=(q+z)/x):D>h?(x=2*Math.sqrt(1+D-x-h),f[3]=(q-z)/x,f[0]=(m+A)/x,f[1]=.25*x,f[2]=(G+t)/x):(x=2*Math.sqrt(1+h-x-D),f[3]=(m-A)/x,f[0]=(q+z)/x,f[1]=(G+t)/x,f[2]=.25*x);return f}function C(f,h,m,q,t){h=1/Math.tan(h/2); +f[0]=h/m;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=h;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[11]=-1;f[12]=0;f[13]=0;f[15]=0;null!=t&&Infinity!==t?(m=1/(q-t),f[10]=(t+q)*m,f[14]=2*t*q*m):(f[10]=-1,f[14]=-2*q);return f}function E(f,h,m,q,t,u,x){var z=1/(h-m),A=1/(q-t),D=1/(u-x);f[0]=-2*z;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=-2*A;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=2*D;f[11]=0;f[12]=(h+m)*z;f[13]=(t+q)*A;f[14]=(x+u)*D;f[15]=1;return f}function F(f,h,m){f[0]=h[0]-m[0];f[1]=h[1]-m[1];f[2]=h[2]-m[2];f[3]=h[3]-m[3];f[4]=h[4]-m[4]; f[5]=h[5]-m[5];f[6]=h[6]-m[6];f[7]=h[7]-m[7];f[8]=h[8]-m[8];f[9]=h[9]-m[9];f[10]=h[10]-m[10];f[11]=h[11]-m[11];f[12]=h[12]-m[12];f[13]=h[13]-m[13];f[14]=h[14]-m[14];f[15]=h[15]-m[15];return f}function K(){var f=new qa(3);qa!=Float32Array&&(f[0]=0,f[1]=0,f[2]=0);return f}function H(f){return Math.hypot(f[0],f[1],f[2])}function N(f,h,m){var q=new qa(3);q[0]=f;q[1]=h;q[2]=m;return q}function ca(f,h,m){f[0]=h[0]-m[0];f[1]=h[1]-m[1];f[2]=h[2]-m[2];return f}function da(f,h,m){f[0]=h[0]*m[0];f[1]=h[1]*m[1]; f[2]=h[2]*m[2];return f}function Ia(f,h,m){f[0]=h[0]/m[0];f[1]=h[1]/m[1];f[2]=h[2]/m[2];return f}function Wa(f,h){return Math.hypot(h[0]-f[0],h[1]-f[1],h[2]-f[2])}function Oa(f,h){var m=h[0]-f[0],q=h[1]-f[1];f=h[2]-f[2];return m*m+q*q+f*f}function Xa(f){var h=f[0],m=f[1];f=f[2];return h*h+m*m+f*f}function pc(f,h){var m=h[0],q=h[1],t=h[2];m=m*m+q*q+t*t;0G&&(G=-G,z=-z,A=-A,D=-D,m=-m);if(1E-6<1-G){var I=Math.acos(G);var O=Math.sin(I);G=Math.sin((1-q)*I)/O;q=Math.sin(q*I)/O}else G=1-q;f[0]=G*t+q*z;f[1]=G*u+q*A;f[2]=G*w+q* -D;f[3]=G*h+q*m;return f}function ps(f,h){var m=h[0]+h[4]+h[8];if(0h[0]&&(q=1);h[8]>h[3*q+q]&&(q=2);var t=(q+1)%3,u=(q+2)%3;m=Math.sqrt(h[3*q+q]-h[3*t+t]-h[3*u+u]+1);f[q]=.5*m;m=.5/m;f[3]=(h[3*t+u]-h[3*u+t])*m;f[t]=(h[3*t+q]+h[3*q+t])*m;f[u]=(h[3*u+q]+h[3*q+u])*m}return f}function qs(f,h,m){var q=.5*m[0],t=.5*m[1];m=.5*m[2];var u=h[0],w=h[1],z=h[2];h=h[3];f[0]=u;f[1]=w;f[2]=z;f[3]=h;f[4]= -q*h+t*z-m*w;f[5]=t*h+m*u-q*z;f[6]=m*h+q*w-t*u;f[7]=-q*u-t*w-m*z;return f}function rs(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[3];f[4]=h[4];f[5]=h[5];f[6]=h[6];f[7]=h[7];return f}function ts(f,h,m){var q=h[0],t=h[1],u=h[2],w=h[3],z=m[4],A=m[5],D=m[6],G=m[7],I=h[4],O=h[5],M=h[6];h=h[7];var W=m[0],X=m[1],Q=m[2];m=m[3];f[0]=q*m+w*W+t*Q-u*X;f[1]=t*m+w*X+u*W-q*Q;f[2]=u*m+w*Q+q*X-t*W;f[3]=w*m-q*W-t*X-u*Q;f[4]=q*G+w*z+t*D-u*A+I*m+h*W+O*Q-M*X;f[5]=t*G+w*A+u*z-q*D+O*m+h*X+M*W-I*Q;f[6]=u*G+w*D+q*A-t*z+M*m+ -h*Q+I*X-O*W;f[7]=w*G-q*z-t*A-u*D+h*m-I*W-O*X-M*Q;return f}function us(){var f=new qa(2);qa!=Float32Array&&(f[0]=0,f[1]=0);return f}function vs(f,h,m){f[0]=h[0]-m[0];f[1]=h[1]-m[1];return f}function ws(f,h,m){f[0]=h[0]*m[0];f[1]=h[1]*m[1];return f}function xs(f,h,m){f[0]=h[0]/m[0];f[1]=h[1]/m[1];return f}function ys(f,h){return Math.hypot(h[0]-f[0],h[1]-f[1])}function zs(f,h){var m=h[0]-f[0];f=h[1]-f[1];return m*m+f*f}function As(f){return Math.hypot(f[0],f[1])}function Bs(f){var h=f[0];f=f[1];return h* -h+f*f}var qa="undefined"!==typeof Float32Array?Float32Array:Array,fd=Math.random,oA=Math.PI/180;Math.hypot||(Math.hypot=function(){for(var f=0,h=arguments.length;h--;)f+=arguments[h]*arguments[h];return Math.sqrt(f)});var pA=Object.freeze({__proto__:null,EPSILON:1E-6,get B0(){return qa},r7:fd,A0:"zyx",lea:function(f){qa=f},xea:function(f){return f*oA},Cd:function(f,h){return Math.abs(f-h)<=1E-6*Math.max(1,Math.abs(f),Math.abs(h))}}),qA=Object.freeze({__proto__:null,create:function(){var f=new qa(4); -qa!=Float32Array&&(f[1]=0,f[2]=0);f[0]=1;f[3]=1;return f},clone:function(f){var h=new qa(4);h[0]=f[0];h[1]=f[1];h[2]=f[2];h[3]=f[3];return h},xa:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[3];return f},az:function(f){f[0]=1;f[1]=0;f[2]=0;f[3]=1;return f},tg:function(f,h,m,q){var t=new qa(4);t[0]=f;t[1]=h;t[2]=m;t[3]=q;return t},set:function(f,h,m,q,t){f[0]=h;f[1]=m;f[2]=q;f[3]=t;return f},cS:function(f,h){if(f===h){var m=h[1];f[1]=h[2];f[2]=m}else f[0]=h[0],f[1]=h[2],f[2]=h[1],f[3]=h[3];return f}, -Ou:function(f,h){var m=h[0],q=h[1],t=h[2];h=h[3];var u=m*h-t*q;if(!u)return null;u=1/u;f[0]=h*u;f[1]=-q*u;f[2]=-t*u;f[3]=m*u;return f},VQ:function(f,h){var m=h[0];f[0]=h[3];f[1]=-h[1];f[2]=-h[2];f[3]=m;return f},uK:function(f){return f[0]*f[3]-f[2]*f[1]},multiply:b,rotate:function(f,h,m){var q=h[0],t=h[1],u=h[2];h=h[3];var w=Math.sin(m);m=Math.cos(m);f[0]=q*m+u*w;f[1]=t*m+h*w;f[2]=q*-w+u*m;f[3]=t*-w+h*m;return f},scale:function(f,h,m){var q=h[1],t=h[2],u=h[3],w=m[0];m=m[1];f[0]=h[0]*w;f[1]=q*w;f[2]= -t*m;f[3]=u*m;return f},OD:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=h;f[1]=m;f[2]=-m;f[3]=h;return f},yK:function(f,h){f[0]=h[0];f[1]=0;f[2]=0;f[3]=h[1];return f},Un:function(f){return"mat2("+f[0]+", "+f[1]+", "+f[2]+", "+f[3]+")"},xK:function(f){return Math.hypot(f[0],f[1],f[2],f[3])},d5:function(f,h,m,q){f[2]=q[2]/q[0];m[0]=q[0];m[1]=q[1];m[3]=q[3]-f[2]*m[1];return[f,h,m]},add:function(f,h,m){f[0]=h[0]+m[0];f[1]=h[1]+m[1];f[2]=h[2]+m[2];f[3]=h[3]+m[3];return f},Vn:d,ml:function(f,h){return f[0]=== -h[0]&&f[1]===h[1]&&f[2]===h[2]&&f[3]===h[3]},Cd:function(f,h){var m=f[0],q=f[1],t=f[2];f=f[3];var u=h[0],w=h[1],z=h[2];h=h[3];return Math.abs(m-u)<=1E-6*Math.max(1,Math.abs(m),Math.abs(u))&&Math.abs(q-w)<=1E-6*Math.max(1,Math.abs(q),Math.abs(w))&&Math.abs(t-z)<=1E-6*Math.max(1,Math.abs(t),Math.abs(z))&&Math.abs(f-h)<=1E-6*Math.max(1,Math.abs(f),Math.abs(h))},PK:function(f,h,m){f[0]=h[0]*m;f[1]=h[1]*m;f[2]=h[2]*m;f[3]=h[3]*m;return f},QK:function(f,h,m,q){f[0]=h[0]+m[0]*q;f[1]=h[1]+m[1]*q;f[2]=h[2]+ -m[2]*q;f[3]=h[3]+m[3]*q;return f},Pp:b,sub:d}),rA=Object.freeze({__proto__:null,create:function(){var f=new qa(6);qa!=Float32Array&&(f[1]=0,f[2]=0,f[4]=0,f[5]=0);f[0]=1;f[3]=1;return f},clone:function(f){var h=new qa(6);h[0]=f[0];h[1]=f[1];h[2]=f[2];h[3]=f[3];h[4]=f[4];h[5]=f[5];return h},xa:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[3];f[4]=h[4];f[5]=h[5];return f},az:function(f){f[0]=1;f[1]=0;f[2]=0;f[3]=1;f[4]=0;f[5]=0;return f},tg:function(f,h,m,q,t,u){var w=new qa(6);w[0]=f;w[1]=h;w[2]= -m;w[3]=q;w[4]=t;w[5]=u;return w},set:function(f,h,m,q,t,u,w){f[0]=h;f[1]=m;f[2]=q;f[3]=t;f[4]=u;f[5]=w;return f},Ou:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3],w=h[4];h=h[5];var z=m*u-q*t;if(!z)return null;z=1/z;f[0]=u*z;f[1]=-q*z;f[2]=-t*z;f[3]=m*z;f[4]=(t*h-u*w)*z;f[5]=(q*w-m*h)*z;return f},uK:function(f){return f[0]*f[3]-f[1]*f[2]},multiply:c,rotate:function(f,h,m){var q=h[0],t=h[1],u=h[2],w=h[3],z=h[4];h=h[5];var A=Math.sin(m);m=Math.cos(m);f[0]=q*m+u*A;f[1]=t*m+w*A;f[2]=q*-A+u*m;f[3]=t*-A+ -w*m;f[4]=z;f[5]=h;return f},scale:function(f,h,m){var q=h[1],t=h[2],u=h[3],w=h[4],z=h[5],A=m[0];m=m[1];f[0]=h[0]*A;f[1]=q*A;f[2]=t*m;f[3]=u*m;f[4]=w;f[5]=z;return f},translate:function(f,h,m){var q=h[0],t=h[1],u=h[2],w=h[3],z=h[4];h=h[5];var A=m[0];m=m[1];f[0]=q;f[1]=t;f[2]=u;f[3]=w;f[4]=q*A+u*m+z;f[5]=t*A+w*m+h;return f},OD:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=h;f[1]=m;f[2]=-m;f[3]=h;f[4]=0;f[5]=0;return f},yK:function(f,h){f[0]=h[0];f[1]=0;f[2]=0;f[3]=h[1];f[4]=0;f[5]=0;return f}, -zK:function(f,h){f[0]=1;f[1]=0;f[2]=0;f[3]=1;f[4]=h[0];f[5]=h[1];return f},Un:function(f){return"mat2d("+f[0]+", "+f[1]+", "+f[2]+", "+f[3]+", "+f[4]+", "+f[5]+")"},xK:function(f){return Math.hypot(f[0],f[1],f[2],f[3],f[4],f[5],1)},add:function(f,h,m){f[0]=h[0]+m[0];f[1]=h[1]+m[1];f[2]=h[2]+m[2];f[3]=h[3]+m[3];f[4]=h[4]+m[4];f[5]=h[5]+m[5];return f},Vn:e,PK:function(f,h,m){f[0]=h[0]*m;f[1]=h[1]*m;f[2]=h[2]*m;f[3]=h[3]*m;f[4]=h[4]*m;f[5]=h[5]*m;return f},QK:function(f,h,m,q){f[0]=h[0]+m[0]*q;f[1]= -h[1]+m[1]*q;f[2]=h[2]+m[2]*q;f[3]=h[3]+m[3]*q;f[4]=h[4]+m[4]*q;f[5]=h[5]+m[5]*q;return f},ml:function(f,h){return f[0]===h[0]&&f[1]===h[1]&&f[2]===h[2]&&f[3]===h[3]&&f[4]===h[4]&&f[5]===h[5]},Cd:function(f,h){var m=f[0],q=f[1],t=f[2],u=f[3],w=f[4];f=f[5];var z=h[0],A=h[1],D=h[2],G=h[3],I=h[4];h=h[5];return Math.abs(m-z)<=1E-6*Math.max(1,Math.abs(m),Math.abs(z))&&Math.abs(q-A)<=1E-6*Math.max(1,Math.abs(q),Math.abs(A))&&Math.abs(t-D)<=1E-6*Math.max(1,Math.abs(t),Math.abs(D))&&Math.abs(u-G)<=1E-6*Math.max(1, -Math.abs(u),Math.abs(G))&&Math.abs(w-I)<=1E-6*Math.max(1,Math.abs(w),Math.abs(I))&&Math.abs(f-h)<=1E-6*Math.max(1,Math.abs(f),Math.abs(h))},Pp:c,sub:e}),sA=Object.freeze({__proto__:null,create:g,s_:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[4];f[4]=h[5];f[5]=h[6];f[6]=h[8];f[7]=h[9];f[8]=h[10];return f},clone:function(f){var h=new qa(9);h[0]=f[0];h[1]=f[1];h[2]=f[2];h[3]=f[3];h[4]=f[4];h[5]=f[5];h[6]=f[6];h[7]=f[7];h[8]=f[8];return h},xa:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[3]; -f[4]=h[4];f[5]=h[5];f[6]=h[6];f[7]=h[7];f[8]=h[8];return f},tg:function(f,h,m,q,t,u,w,z,A){var D=new qa(9);D[0]=f;D[1]=h;D[2]=m;D[3]=q;D[4]=t;D[5]=u;D[6]=w;D[7]=z;D[8]=A;return D},set:function(f,h,m,q,t,u,w,z,A,D){f[0]=h;f[1]=m;f[2]=q;f[3]=t;f[4]=u;f[5]=w;f[6]=z;f[7]=A;f[8]=D;return f},az:function(f){f[0]=1;f[1]=0;f[2]=0;f[3]=0;f[4]=1;f[5]=0;f[6]=0;f[7]=0;f[8]=1;return f},cS:function(f,h){if(f===h){var m=h[1],q=h[2],t=h[5];f[1]=h[3];f[2]=h[6];f[3]=m;f[5]=h[7];f[6]=q;f[7]=t}else f[0]=h[0],f[1]=h[3], -f[2]=h[6],f[3]=h[1],f[4]=h[4],f[5]=h[7],f[6]=h[2],f[7]=h[5],f[8]=h[8];return f},Ou:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3],w=h[4],z=h[5],A=h[6],D=h[7];h=h[8];var G=h*w-z*D,I=-h*u+z*A,O=D*u-w*A,M=m*G+q*I+t*O;if(!M)return null;M=1/M;f[0]=G*M;f[1]=(-h*q+t*D)*M;f[2]=(z*q-t*w)*M;f[3]=I*M;f[4]=(h*m-t*A)*M;f[5]=(-z*m+t*u)*M;f[6]=O*M;f[7]=(-D*m+q*A)*M;f[8]=(w*m-q*u)*M;return f},VQ:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3],w=h[4],z=h[5],A=h[6],D=h[7];h=h[8];f[0]=w*h-z*D;f[1]=t*D-q*h;f[2]=q*z-t*w; -f[3]=z*A-u*h;f[4]=m*h-t*A;f[5]=t*u-m*z;f[6]=u*D-w*A;f[7]=q*A-m*D;f[8]=m*w-q*u;return f},uK:function(f){var h=f[3],m=f[4],q=f[5],t=f[6],u=f[7],w=f[8];return f[0]*(w*m-q*u)+f[1]*(-w*h+q*t)+f[2]*(u*h-m*t)},multiply:k,translate:function(f,h,m){var q=h[0],t=h[1],u=h[2],w=h[3],z=h[4],A=h[5],D=h[6],G=h[7];h=h[8];var I=m[0];m=m[1];f[0]=q;f[1]=t;f[2]=u;f[3]=w;f[4]=z;f[5]=A;f[6]=I*q+m*w+D;f[7]=I*t+m*z+G;f[8]=I*u+m*A+h;return f},rotate:function(f,h,m){var q=h[0],t=h[1],u=h[2],w=h[3],z=h[4],A=h[5],D=h[6],G=h[7]; -h=h[8];var I=Math.sin(m);m=Math.cos(m);f[0]=m*q+I*w;f[1]=m*t+I*z;f[2]=m*u+I*A;f[3]=m*w-I*q;f[4]=m*z-I*t;f[5]=m*A-I*u;f[6]=D;f[7]=G;f[8]=h;return f},scale:function(f,h,m){var q=m[0];m=m[1];f[0]=q*h[0];f[1]=q*h[1];f[2]=q*h[2];f[3]=m*h[3];f[4]=m*h[4];f[5]=m*h[5];f[6]=h[6];f[7]=h[7];f[8]=h[8];return f},zK:function(f,h){f[0]=1;f[1]=0;f[2]=0;f[3]=0;f[4]=1;f[5]=0;f[6]=h[0];f[7]=h[1];f[8]=1;return f},OD:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=h;f[1]=m;f[2]=0;f[3]=-m;f[4]=h;f[5]=0;f[6]=0;f[7]=0; -f[8]=1;return f},yK:function(f,h){f[0]=h[0];f[1]=0;f[2]=0;f[3]=0;f[4]=h[1];f[5]=0;f[6]=0;f[7]=0;f[8]=1;return f},hca:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=0;f[3]=h[2];f[4]=h[3];f[5]=0;f[6]=h[4];f[7]=h[5];f[8]=1;return f},t_:function(f,h){var m=h[0],q=h[1],t=h[2];h=h[3];var u=m+m,w=q+q,z=t+t;m*=u;var A=q*u;q*=w;var D=t*u,G=t*w;t*=z;u*=h;w*=h;h*=z;f[0]=1-q-t;f[3]=A-h;f[6]=D+w;f[1]=A+h;f[4]=1-m-t;f[7]=G-u;f[2]=D-w;f[5]=G+u;f[8]=1-m-q;return f},qda:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3],w=h[4], -z=h[5],A=h[6],D=h[7],G=h[8],I=h[9],O=h[10],M=h[11],W=h[12],X=h[13],Q=h[14];h=h[15];var ja=m*z-q*w,fa=m*A-t*w,oa=m*D-u*w,pa=q*A-t*z,ka=q*D-u*z,fb=t*D-u*A,gb=G*X-I*W,hb=G*Q-O*W;G=G*h-M*W;var ib=I*Q-O*X;I=I*h-M*X;O=O*h-M*Q;M=ja*O-fa*I+oa*ib+pa*G-ka*hb+fb*gb;if(!M)return null;M=1/M;f[0]=(z*O-A*I+D*ib)*M;f[1]=(A*G-w*O-D*hb)*M;f[2]=(w*I-z*G+D*gb)*M;f[3]=(t*I-q*O-u*ib)*M;f[4]=(m*O-t*G+u*hb)*M;f[5]=(q*G-m*I-u*gb)*M;f[6]=(X*fb-Q*ka+h*pa)*M;f[7]=(Q*oa-W*fb-h*fa)*M;f[8]=(W*ka-X*oa+h*ja)*M;return f},LR:function(f, -h,m){f[0]=2/h;f[1]=0;f[2]=0;f[3]=0;f[4]=-2/m;f[5]=0;f[6]=-1;f[7]=1;f[8]=1;return f},Un:function(f){return"mat3("+f[0]+", "+f[1]+", "+f[2]+", "+f[3]+", "+f[4]+", "+f[5]+", "+f[6]+", "+f[7]+", "+f[8]+")"},xK:function(f){return Math.hypot(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8])},add:function(f,h,m){f[0]=h[0]+m[0];f[1]=h[1]+m[1];f[2]=h[2]+m[2];f[3]=h[3]+m[3];f[4]=h[4]+m[4];f[5]=h[5]+m[5];f[6]=h[6]+m[6];f[7]=h[7]+m[7];f[8]=h[8]+m[8];return f},Vn:l,PK:function(f,h,m){f[0]=h[0]*m;f[1]=h[1]*m;f[2]= -h[2]*m;f[3]=h[3]*m;f[4]=h[4]*m;f[5]=h[5]*m;f[6]=h[6]*m;f[7]=h[7]*m;f[8]=h[8]*m;return f},QK:function(f,h,m,q){f[0]=h[0]+m[0]*q;f[1]=h[1]+m[1]*q;f[2]=h[2]+m[2]*q;f[3]=h[3]+m[3]*q;f[4]=h[4]+m[4]*q;f[5]=h[5]+m[5]*q;f[6]=h[6]+m[6]*q;f[7]=h[7]+m[7]*q;f[8]=h[8]+m[8]*q;return f},ml:function(f,h){return f[0]===h[0]&&f[1]===h[1]&&f[2]===h[2]&&f[3]===h[3]&&f[4]===h[4]&&f[5]===h[5]&&f[6]===h[6]&&f[7]===h[7]&&f[8]===h[8]},Cd:function(f,h){var m=f[0],q=f[1],t=f[2],u=f[3],w=f[4],z=f[5],A=f[6],D=f[7];f=f[8];var G= -h[0],I=h[1],O=h[2],M=h[3],W=h[4],X=h[5],Q=h[6],ja=h[7];h=h[8];return Math.abs(m-G)<=1E-6*Math.max(1,Math.abs(m),Math.abs(G))&&Math.abs(q-I)<=1E-6*Math.max(1,Math.abs(q),Math.abs(I))&&Math.abs(t-O)<=1E-6*Math.max(1,Math.abs(t),Math.abs(O))&&Math.abs(u-M)<=1E-6*Math.max(1,Math.abs(u),Math.abs(M))&&Math.abs(w-W)<=1E-6*Math.max(1,Math.abs(w),Math.abs(W))&&Math.abs(z-X)<=1E-6*Math.max(1,Math.abs(z),Math.abs(X))&&Math.abs(A-Q)<=1E-6*Math.max(1,Math.abs(A),Math.abs(Q))&&Math.abs(D-ja)<=1E-6*Math.max(1,Math.abs(D), -Math.abs(ja))&&Math.abs(f-h)<=1E-6*Math.max(1,Math.abs(f),Math.abs(h))},Pp:k,sub:l}),tA=Object.freeze({__proto__:null,create:function(){var f=new qa(16);qa!=Float32Array&&(f[1]=0,f[2]=0,f[3]=0,f[4]=0,f[6]=0,f[7]=0,f[8]=0,f[9]=0,f[11]=0,f[12]=0,f[13]=0,f[14]=0);f[0]=1;f[5]=1;f[10]=1;f[15]=1;return f},clone:function(f){var h=new qa(16);h[0]=f[0];h[1]=f[1];h[2]=f[2];h[3]=f[3];h[4]=f[4];h[5]=f[5];h[6]=f[6];h[7]=f[7];h[8]=f[8];h[9]=f[9];h[10]=f[10];h[11]=f[11];h[12]=f[12];h[13]=f[13];h[14]=f[14];h[15]= -f[15];return h},xa:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[3];f[4]=h[4];f[5]=h[5];f[6]=h[6];f[7]=h[7];f[8]=h[8];f[9]=h[9];f[10]=h[10];f[11]=h[11];f[12]=h[12];f[13]=h[13];f[14]=h[14];f[15]=h[15];return f},tg:function(f,h,m,q,t,u,w,z,A,D,G,I,O,M,W,X){var Q=new qa(16);Q[0]=f;Q[1]=h;Q[2]=m;Q[3]=q;Q[4]=t;Q[5]=u;Q[6]=w;Q[7]=z;Q[8]=A;Q[9]=D;Q[10]=G;Q[11]=I;Q[12]=O;Q[13]=M;Q[14]=W;Q[15]=X;return Q},set:function(f,h,m,q,t,u,w,z,A,D,G,I,O,M,W,X,Q){f[0]=h;f[1]=m;f[2]=q;f[3]=t;f[4]=u;f[5]=w;f[6]=z; -f[7]=A;f[8]=D;f[9]=G;f[10]=I;f[11]=O;f[12]=M;f[13]=W;f[14]=X;f[15]=Q;return f},az:n,cS:function(f,h){if(f===h){var m=h[1],q=h[2],t=h[3],u=h[6],w=h[7],z=h[11];f[1]=h[4];f[2]=h[8];f[3]=h[12];f[4]=m;f[6]=h[9];f[7]=h[13];f[8]=q;f[9]=u;f[11]=h[14];f[12]=t;f[13]=w;f[14]=z}else f[0]=h[0],f[1]=h[4],f[2]=h[8],f[3]=h[12],f[4]=h[1],f[5]=h[5],f[6]=h[9],f[7]=h[13],f[8]=h[2],f[9]=h[6],f[10]=h[10],f[11]=h[14],f[12]=h[3],f[13]=h[7],f[14]=h[11],f[15]=h[15];return f},Ou:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3], -w=h[4],z=h[5],A=h[6],D=h[7],G=h[8],I=h[9],O=h[10],M=h[11],W=h[12],X=h[13],Q=h[14];h=h[15];var ja=m*z-q*w,fa=m*A-t*w,oa=m*D-u*w,pa=q*A-t*z,ka=q*D-u*z,fb=t*D-u*A,gb=G*X-I*W,hb=G*Q-O*W,ib=G*h-M*W,Eb=I*Q-O*X,qc=I*h-M*X,rc=O*h-M*Q,jb=ja*rc-fa*qc+oa*Eb+pa*ib-ka*hb+fb*gb;if(!jb)return null;jb=1/jb;f[0]=(z*rc-A*qc+D*Eb)*jb;f[1]=(t*qc-q*rc-u*Eb)*jb;f[2]=(X*fb-Q*ka+h*pa)*jb;f[3]=(O*ka-I*fb-M*pa)*jb;f[4]=(A*ib-w*rc-D*hb)*jb;f[5]=(m*rc-t*ib+u*hb)*jb;f[6]=(Q*oa-W*fb-h*fa)*jb;f[7]=(G*fb-O*oa+M*fa)*jb;f[8]=(w*qc- -z*ib+D*gb)*jb;f[9]=(q*ib-m*qc-u*gb)*jb;f[10]=(W*ka-X*oa+h*ja)*jb;f[11]=(I*oa-G*ka-M*ja)*jb;f[12]=(z*hb-w*Eb-A*gb)*jb;f[13]=(m*Eb-q*hb+t*gb)*jb;f[14]=(X*fa-W*pa-Q*ja)*jb;f[15]=(G*pa-I*fa+O*ja)*jb;return f},VQ:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3],w=h[4],z=h[5],A=h[6],D=h[7],G=h[8],I=h[9],O=h[10],M=h[11],W=h[12],X=h[13],Q=h[14];h=h[15];var ja=m*z-q*w,fa=m*A-t*w,oa=m*D-u*w,pa=q*A-t*z,ka=q*D-u*z,fb=t*D-u*A,gb=G*X-I*W,hb=G*Q-O*W,ib=G*h-M*W,Eb=I*Q-O*X,qc=I*h-M*X,rc=O*h-M*Q;f[0]=z*rc-A*qc+D*Eb;f[1]= -t*qc-q*rc-u*Eb;f[2]=X*fb-Q*ka+h*pa;f[3]=O*ka-I*fb-M*pa;f[4]=A*ib-w*rc-D*hb;f[5]=m*rc-t*ib+u*hb;f[6]=Q*oa-W*fb-h*fa;f[7]=G*fb-O*oa+M*fa;f[8]=w*qc-z*ib+D*gb;f[9]=q*ib-m*qc-u*gb;f[10]=W*ka-X*oa+h*ja;f[11]=I*oa-G*ka-M*ja;f[12]=z*hb-w*Eb-A*gb;f[13]=m*Eb-q*hb+t*gb;f[14]=X*fa-W*pa-Q*ja;f[15]=G*pa-I*fa+O*ja;return f},uK:function(f){var h=f[0],m=f[1],q=f[2],t=f[4],u=f[5],w=f[6],z=f[8],A=f[9],D=f[10],G=f[12],I=f[13],O=f[14],M=h*u-m*t,W=h*w-q*t,X=m*w-q*u,Q=z*I-A*G,ja=z*O-D*G,fa=A*O-D*I;return f[7]*(h*fa-m*ja+ -q*Q)-f[3]*(t*fa-u*ja+w*Q)+f[15]*(z*X-A*W+D*M)-f[11]*(G*X-I*W+O*M)},multiply:p,translate:function(f,h,m){var q=m[0],t=m[1];m=m[2];if(h===f)f[12]=h[0]*q+h[4]*t+h[8]*m+h[12],f[13]=h[1]*q+h[5]*t+h[9]*m+h[13],f[14]=h[2]*q+h[6]*t+h[10]*m+h[14],f[15]=h[3]*q+h[7]*t+h[11]*m+h[15];else{var u=h[0];var w=h[1];var z=h[2];var A=h[3];var D=h[4];var G=h[5];var I=h[6];var O=h[7];var M=h[8];var W=h[9];var X=h[10];var Q=h[11];f[0]=u;f[1]=w;f[2]=z;f[3]=A;f[4]=D;f[5]=G;f[6]=I;f[7]=O;f[8]=M;f[9]=W;f[10]=X;f[11]=Q;f[12]= -u*q+D*t+M*m+h[12];f[13]=w*q+G*t+W*m+h[13];f[14]=z*q+I*t+X*m+h[14];f[15]=A*q+O*t+Q*m+h[15]}return f},scale:function(f,h,m){var q=m[0],t=m[1];m=m[2];f[0]=h[0]*q;f[1]=h[1]*q;f[2]=h[2]*q;f[3]=h[3]*q;f[4]=h[4]*t;f[5]=h[5]*t;f[6]=h[6]*t;f[7]=h[7]*t;f[8]=h[8]*m;f[9]=h[9]*m;f[10]=h[10]*m;f[11]=h[11]*m;f[12]=h[12];f[13]=h[13];f[14]=h[14];f[15]=h[15];return f},rotate:function(f,h,m,q){var t=q[0],u=q[1];q=q[2];var w=Math.hypot(t,u,q);if(1E-6>w)return null;w=1/w;t*=w;u*=w;q*=w;var z=Math.sin(m);var A=Math.cos(m); -var D=1-A;m=h[0];w=h[1];var G=h[2];var I=h[3];var O=h[4];var M=h[5];var W=h[6];var X=h[7];var Q=h[8];var ja=h[9];var fa=h[10];var oa=h[11];var pa=t*t*D+A;var ka=u*t*D+q*z;var fb=q*t*D-u*z;var gb=t*u*D-q*z;var hb=u*u*D+A;var ib=q*u*D+t*z;var Eb=t*q*D+u*z;t=u*q*D-t*z;u=q*q*D+A;f[0]=m*pa+O*ka+Q*fb;f[1]=w*pa+M*ka+ja*fb;f[2]=G*pa+W*ka+fa*fb;f[3]=I*pa+X*ka+oa*fb;f[4]=m*gb+O*hb+Q*ib;f[5]=w*gb+M*hb+ja*ib;f[6]=G*gb+W*hb+fa*ib;f[7]=I*gb+X*hb+oa*ib;f[8]=m*Eb+O*t+Q*u;f[9]=w*Eb+M*t+ja*u;f[10]=G*Eb+W*t+fa*u;f[11]= -I*Eb+X*t+oa*u;h!==f&&(f[12]=h[12],f[13]=h[13],f[14]=h[14],f[15]=h[15]);return f},cL:function(f,h,m){var q=Math.sin(m);m=Math.cos(m);var t=h[4],u=h[5],w=h[6],z=h[7],A=h[8],D=h[9],G=h[10],I=h[11];h!==f&&(f[0]=h[0],f[1]=h[1],f[2]=h[2],f[3]=h[3],f[12]=h[12],f[13]=h[13],f[14]=h[14],f[15]=h[15]);f[4]=t*m+A*q;f[5]=u*m+D*q;f[6]=w*m+G*q;f[7]=z*m+I*q;f[8]=A*m-t*q;f[9]=D*m-u*q;f[10]=G*m-w*q;f[11]=I*m-z*q;return f},dL:function(f,h,m){var q=Math.sin(m);m=Math.cos(m);var t=h[0],u=h[1],w=h[2],z=h[3],A=h[8],D=h[9], -G=h[10],I=h[11];h!==f&&(f[4]=h[4],f[5]=h[5],f[6]=h[6],f[7]=h[7],f[12]=h[12],f[13]=h[13],f[14]=h[14],f[15]=h[15]);f[0]=t*m-A*q;f[1]=u*m-D*q;f[2]=w*m-G*q;f[3]=z*m-I*q;f[8]=t*q+A*m;f[9]=u*q+D*m;f[10]=w*q+G*m;f[11]=z*q+I*m;return f},eL:function(f,h,m){var q=Math.sin(m);m=Math.cos(m);var t=h[0],u=h[1],w=h[2],z=h[3],A=h[4],D=h[5],G=h[6],I=h[7];h!==f&&(f[8]=h[8],f[9]=h[9],f[10]=h[10],f[11]=h[11],f[12]=h[12],f[13]=h[13],f[14]=h[14],f[15]=h[15]);f[0]=t*m+A*q;f[1]=u*m+D*q;f[2]=w*m+G*q;f[3]=z*m+I*q;f[4]=A*m- -t*q;f[5]=D*m-u*q;f[6]=G*m-w*q;f[7]=I*m-z*q;return f},zK:function(f,h){f[0]=1;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=1;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=1;f[11]=0;f[12]=h[0];f[13]=h[1];f[14]=h[2];f[15]=1;return f},yK:function(f,h){f[0]=h[0];f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=h[1];f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=h[2];f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},OD:function(f,h,m){var q=m[0],t=m[1];m=m[2];var u=Math.hypot(q,t,m);if(1E-6>u)return null;u=1/u;q*=u;t*=u;m*=u;u=Math.sin(h);h=Math.cos(h);var w= -1-h;f[0]=q*q*w+h;f[1]=t*q*w+m*u;f[2]=m*q*w-t*u;f[3]=0;f[4]=q*t*w-m*u;f[5]=t*t*w+h;f[6]=m*t*w+q*u;f[7]=0;f[8]=q*m*w+t*u;f[9]=t*m*w-q*u;f[10]=m*m*w+h;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},nca:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=1;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=h;f[6]=m;f[7]=0;f[8]=0;f[9]=-m;f[10]=h;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},oca:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=h;f[1]=0;f[2]=-m;f[3]=0;f[4]=0;f[5]=1;f[6]=0;f[7]=0;f[8]=m;f[9]=0;f[10]= -h;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},pca:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=h;f[1]=m;f[2]=0;f[3]=0;f[4]=-m;f[5]=h;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=1;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},u_:r,jca:function(f,h){var m=new qa(3),q=-h[0],t=-h[1],u=-h[2],w=h[3],z=h[4],A=h[5],D=h[6],G=h[7],I=q*q+t*t+u*u+w*w;0A&&m>q?(q=2*Math.sqrt(1+m-A-q),f[3]=(D-h)/q,f[0]=.25*q,f[1]=(u+z)/q,f[2]=(G+w)/q):A>q?(q=2*Math.sqrt(1+ -A-m-q),f[3]=(G-w)/q,f[0]=(u+z)/q,f[1]=.25*q,f[2]=(D+h)/q):(q=2*Math.sqrt(1+q-m-A),f[3]=(u-z)/q,f[0]=(G+w)/q,f[1]=(D+h)/q,f[2]=.25*q);return f},kca:function(f,h,m,q){var t=h[0],u=h[1],w=h[2],z=h[3],A=t+t,D=u+u,G=w+w;h=t*A;var I=t*D;t*=G;var O=u*D;u*=G;w*=G;A*=z;D*=z;z*=G;G=q[0];var M=q[1];q=q[2];f[0]=(1-(O+w))*G;f[1]=(I+z)*G;f[2]=(t-D)*G;f[3]=0;f[4]=(I-z)*M;f[5]=(1-(h+w))*M;f[6]=(u+A)*M;f[7]=0;f[8]=(t+D)*q;f[9]=(u-A)*q;f[10]=(1-(h+O))*q;f[11]=0;f[12]=m[0];f[13]=m[1];f[14]=m[2];f[15]=1;return f},lca:function(f, -h,m,q,t){var u=h[0],w=h[1],z=h[2],A=h[3],D=u+u,G=w+w,I=z+z;h=u*D;var O=u*G,M=u*I;u=w*G;w*=I;var W=z*I;z=A*D;G*=A;var X=A*I,Q=q[0],ja=q[1];I=q[2];q=t[0];A=t[1];t=t[2];D=(1-(u+W))*Q;var fa=(O+X)*Q;Q*=M-G;O=(O-X)*ja;W=(1-(h+W))*ja;ja*=w+z;M=(M+G)*I;w=(w-z)*I;h=(1-(h+u))*I;f[0]=D;f[1]=fa;f[2]=Q;f[3]=0;f[4]=O;f[5]=W;f[6]=ja;f[7]=0;f[8]=M;f[9]=w;f[10]=h;f[11]=0;f[12]=m[0]+q-(D*q+O*A+M*t);f[13]=m[1]+A-(fa*q+W*A+w*t);f[14]=m[2]+t-(Q*q+ja*A+h*t);f[15]=1;return f},t_:function(f,h){var m=h[0],q=h[1],t=h[2]; -h=h[3];var u=m+m,w=q+q,z=t+t;m*=u;var A=q*u;q*=w;var D=t*u,G=t*w;t*=z;u*=h;w*=h;h*=z;f[0]=1-q-t;f[1]=A+h;f[2]=D-w;f[3]=0;f[4]=A-h;f[5]=1-m-t;f[6]=G+u;f[7]=0;f[8]=D+w;f[9]=G-u;f[10]=1-m-q;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},v_:function(f,h,m,q,t,u,w){var z=1/(m-h),A=1/(t-q),D=1/(u-w);f[0]=2*u*z;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=2*u*A;f[6]=0;f[7]=0;f[8]=(m+h)*z;f[9]=(t+q)*A;f[10]=(w+u)*D;f[11]=-1;f[12]=0;f[13]=0;f[14]=w*u*2*D;f[15]=0;return f},Cda:C,perspective:C,Dda:function(f,h,m,q,t){h= -1/Math.tan(h/2);f[0]=h/m;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=h;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[11]=-1;f[12]=0;f[13]=0;f[15]=0;null!=t&&Infinity!==t?(m=1/(q-t),f[10]=t*m,f[14]=t*q*m):(f[10]=-1,f[14]=-q);return f},Bda:function(f,h,m,q){var t=Math.tan(h.Fea*Math.PI/180),u=Math.tan(h.Yba*Math.PI/180),w=Math.tan(h.fda*Math.PI/180);h=Math.tan(h.Xda*Math.PI/180);var z=2/(w+h),A=2/(t+u);f[0]=z;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=A;f[6]=0;f[7]=0;f[8]=-((w-h)*z*.5);f[9]=(t-u)*A*.5;f[10]=q/(m-q);f[11]=-1;f[12]=0;f[13]= -0;f[14]=q*m/(m-q);f[15]=0;return f},zda:E,c0:E,Ada:function(f,h,m,q,t,u,w){var z=1/(h-m),A=1/(q-t);w=1/(u-w);f[0]=-2*z;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=-2*A;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=w;f[11]=0;f[12]=(h+m)*z;f[13]=(t+q)*A;f[14]=u*w;f[15]=1;return f},T_:function(f,h,m,q){var t=h[0],u=h[1];h=h[2];var w=q[0];var z=q[1];var A=q[2];var D=m[0];q=m[1];var G=m[2];if(1E-6>Math.abs(t-D)&&1E-6>Math.abs(u-q)&&1E-6>Math.abs(h-G))return n(f);m=t-D;q=u-q;D=h-G;var I=1/Math.hypot(m,q,D);m*=I;q*=I;D*=I;G=z* -D-A*q;A=A*m-w*D;w=w*q-z*m;(I=Math.hypot(G,A,w))?(I=1/I,G*=I,A*=I,w*=I):w=A=G=0;z=q*w-D*A;var O=D*G-m*w;var M=m*A-q*G;(I=Math.hypot(z,O,M))?(I=1/I,z*=I,O*=I,M*=I):M=O=z=0;f[0]=G;f[1]=z;f[2]=m;f[3]=0;f[4]=A;f[5]=O;f[6]=q;f[7]=0;f[8]=w;f[9]=M;f[10]=D;f[11]=0;f[12]=-(G*t+A*u+w*h);f[13]=-(z*t+O*u+M*h);f[14]=-(m*t+q*u+D*h);f[15]=1;return f},rea:function(f,h,m,q){var t=h[0],u=h[1];h=h[2];var w=q[0],z=q[1],A=q[2];q=t-m[0];var D=u-m[1];m=h-m[2];var G=q*q+D*D+m*m;0w)return Yd(f,h,t),1E-6>H(f)&&Yd(f,m,t),pc(f,f),is(q,f,Math.PI),q;if(.999999Math.abs(q))return rs(f, -h);var t=Math.hypot(m[0],m[1],m[2]);q*=.5;var u=Math.sin(q),w=u*m[0]/t,z=u*m[1]/t;m=u*m[2]/t;q=Math.cos(q);t=h[0];u=h[1];var A=h[2],D=h[3];f[0]=t*q+D*w+u*m-A*z;f[1]=u*q+D*z+A*w-t*m;f[2]=A*q+D*m+t*z-u*w;f[3]=D*q-t*w-u*z-A*m;t=h[4];u=h[5];A=h[6];h=h[7];f[4]=t*q+h*w+u*m-A*z;f[5]=u*q+h*z+A*w-t*m;f[6]=A*q+h*m+t*z-u*w;f[7]=h*q-t*w-u*z-A*m;return f},add:function(f,h,m){f[0]=h[0]+m[0];f[1]=h[1]+m[1];f[2]=h[2]+m[2];f[3]=h[3]+m[3];f[4]=h[4]+m[4];f[5]=h[5]+m[5];f[6]=h[6]+m[6];f[7]=h[7]+m[7];return f},multiply:ts, -Pp:ts,scale:function(f,h,m){f[0]=h[0]*m;f[1]=h[1]*m;f[2]=h[2]*m;f[3]=h[3]*m;f[4]=h[4]*m;f[5]=h[5]*m;f[6]=h[6]*m;f[7]=h[7]*m;return f},Rn:rg,Nc:function(f,h,m,q){var t=1-q;0>rg(h,m)&&(q=-q);f[0]=h[0]*t+m[0]*q;f[1]=h[1]*t+m[1]*q;f[2]=h[2]*t+m[2]*q;f[3]=h[3]*t+m[3]*q;f[4]=h[4]*t+m[4]*q;f[5]=h[5]*t+m[5]*q;f[6]=h[6]*t+m[6]*q;f[7]=h[7]*t+m[7]*q;return f},Ou:function(f,h){var m=Fe(h);f[0]=-h[0]/m;f[1]=-h[1]/m;f[2]=-h[2]/m;f[3]=h[3]/m;f[4]=-h[4]/m;f[5]=-h[5]/m;f[6]=-h[6]/m;f[7]=h[7]/m;return f},e_:function(f, -h){f[0]=-h[0];f[1]=-h[1];f[2]=-h[2];f[3]=h[3];f[4]=-h[4];f[5]=-h[5];f[6]=-h[6];f[7]=h[7];return f},length:qg,Pu:qg,bE:Fe,aE:Fe,normalize:function(f,h){var m=Fe(h);if(0=g&&e=c?1024*(k-55296)+(c-56320)+65536:k}return 56320<=g&&57343>=g&&1<=e?(k=c.charCodeAt(e-1),c=g,55296<=k&&56319>=k?1024*(k-55296)+(c-56320)+65536:c):g}function b(c,e,g){var k=[c].concat(e).concat([g]),l=k[k.length-2],n=k.lastIndexOf(14);if(1G&&(G=-G,z=-z,A=-A,D=-D,m=-m);if(1E-6<1-G){var I=Math.acos(G);var O=Math.sin(I);G=Math.sin((1-q)*I)/O;q=Math.sin(q*I)/O}else G=1-q;f[0]=G*t+q*z;f[1]=G*u+q*A;f[2]=G*x+q* +D;f[3]=G*h+q*m;return f}function us(f,h){var m=h[0]+h[4]+h[8];if(0h[0]&&(q=1);h[8]>h[3*q+q]&&(q=2);var t=(q+1)%3,u=(q+2)%3;m=Math.sqrt(h[3*q+q]-h[3*t+t]-h[3*u+u]+1);f[q]=.5*m;m=.5/m;f[3]=(h[3*t+u]-h[3*u+t])*m;f[t]=(h[3*t+q]+h[3*q+t])*m;f[u]=(h[3*u+q]+h[3*q+u])*m}return f}function vs(f,h,m){var q=.5*m[0],t=.5*m[1];m=.5*m[2];var u=h[0],x=h[1],z=h[2];h=h[3];f[0]=u;f[1]=x;f[2]=z;f[3]=h;f[4]= +q*h+t*z-m*x;f[5]=t*h+m*u-q*z;f[6]=m*h+q*x-t*u;f[7]=-q*u-t*x-m*z;return f}function xs(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[3];f[4]=h[4];f[5]=h[5];f[6]=h[6];f[7]=h[7];return f}function ys(f,h,m){var q=h[0],t=h[1],u=h[2],x=h[3],z=m[4],A=m[5],D=m[6],G=m[7],I=h[4],O=h[5],M=h[6];h=h[7];var W=m[0],X=m[1],Q=m[2];m=m[3];f[0]=q*m+x*W+t*Q-u*X;f[1]=t*m+x*X+u*W-q*Q;f[2]=u*m+x*Q+q*X-t*W;f[3]=x*m-q*W-t*X-u*Q;f[4]=q*G+x*z+t*D-u*A+I*m+h*W+O*Q-M*X;f[5]=t*G+x*A+u*z-q*D+O*m+h*X+M*W-I*Q;f[6]=u*G+x*D+q*A-t*z+M*m+ +h*Q+I*X-O*W;f[7]=x*G-q*z-t*A-u*D+h*m-I*W-O*X-M*Q;return f}function zs(){var f=new qa(2);qa!=Float32Array&&(f[0]=0,f[1]=0);return f}function As(f,h,m){f[0]=h[0]-m[0];f[1]=h[1]-m[1];return f}function Bs(f,h,m){f[0]=h[0]*m[0];f[1]=h[1]*m[1];return f}function Cs(f,h,m){f[0]=h[0]/m[0];f[1]=h[1]/m[1];return f}function Ds(f,h){return Math.hypot(h[0]-f[0],h[1]-f[1])}function Es(f,h){var m=h[0]-f[0];f=h[1]-f[1];return m*m+f*f}function Fs(f){return Math.hypot(f[0],f[1])}function Gs(f){var h=f[0];f=f[1];return h* +h+f*f}var qa="undefined"!==typeof Float32Array?Float32Array:Array,fd=Math.random,wA=Math.PI/180;Math.hypot||(Math.hypot=function(){for(var f=0,h=arguments.length;h--;)f+=arguments[h]*arguments[h];return Math.sqrt(f)});var xA=Object.freeze({__proto__:null,EPSILON:1E-6,get S0(){return qa},I7:fd,R0:"zyx",Cea:function(f){qa=f},Oea:function(f){return f*wA},Fd:function(f,h){return Math.abs(f-h)<=1E-6*Math.max(1,Math.abs(f),Math.abs(h))}}),yA=Object.freeze({__proto__:null,create:function(){var f=new qa(4); +qa!=Float32Array&&(f[1]=0,f[2]=0);f[0]=1;f[3]=1;return f},clone:function(f){var h=new qa(4);h[0]=f[0];h[1]=f[1];h[2]=f[2];h[3]=f[3];return h},xa:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[3];return f},hz:function(f){f[0]=1;f[1]=0;f[2]=0;f[3]=1;return f},vg:function(f,h,m,q){var t=new qa(4);t[0]=f;t[1]=h;t[2]=m;t[3]=q;return t},set:function(f,h,m,q,t){f[0]=h;f[1]=m;f[2]=q;f[3]=t;return f},oS:function(f,h){if(f===h){var m=h[1];f[1]=h[2];f[2]=m}else f[0]=h[0],f[1]=h[2],f[2]=h[1],f[3]=h[3];return f}, +Tu:function(f,h){var m=h[0],q=h[1],t=h[2];h=h[3];var u=m*h-t*q;if(!u)return null;u=1/u;f[0]=h*u;f[1]=-q*u;f[2]=-t*u;f[3]=m*u;return f},gR:function(f,h){var m=h[0];f[0]=h[3];f[1]=-h[1];f[2]=-h[2];f[3]=m;return f},EK:function(f){return f[0]*f[3]-f[2]*f[1]},multiply:b,rotate:function(f,h,m){var q=h[0],t=h[1],u=h[2];h=h[3];var x=Math.sin(m);m=Math.cos(m);f[0]=q*m+u*x;f[1]=t*m+h*x;f[2]=q*-x+u*m;f[3]=t*-x+h*m;return f},scale:function(f,h,m){var q=h[1],t=h[2],u=h[3],x=m[0];m=m[1];f[0]=h[0]*x;f[1]=q*x;f[2]= +t*m;f[3]=u*m;return f},UD:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=h;f[1]=m;f[2]=-m;f[3]=h;return f},IK:function(f,h){f[0]=h[0];f[1]=0;f[2]=0;f[3]=h[1];return f},Wn:function(f){return"mat2("+f[0]+", "+f[1]+", "+f[2]+", "+f[3]+")"},HK:function(f){return Math.hypot(f[0],f[1],f[2],f[3])},u5:function(f,h,m,q){f[2]=q[2]/q[0];m[0]=q[0];m[1]=q[1];m[3]=q[3]-f[2]*m[1];return[f,h,m]},add:function(f,h,m){f[0]=h[0]+m[0];f[1]=h[1]+m[1];f[2]=h[2]+m[2];f[3]=h[3]+m[3];return f},Xn:d,pl:function(f,h){return f[0]=== +h[0]&&f[1]===h[1]&&f[2]===h[2]&&f[3]===h[3]},Fd:function(f,h){var m=f[0],q=f[1],t=f[2];f=f[3];var u=h[0],x=h[1],z=h[2];h=h[3];return Math.abs(m-u)<=1E-6*Math.max(1,Math.abs(m),Math.abs(u))&&Math.abs(q-x)<=1E-6*Math.max(1,Math.abs(q),Math.abs(x))&&Math.abs(t-z)<=1E-6*Math.max(1,Math.abs(t),Math.abs(z))&&Math.abs(f-h)<=1E-6*Math.max(1,Math.abs(f),Math.abs(h))},ZK:function(f,h,m){f[0]=h[0]*m;f[1]=h[1]*m;f[2]=h[2]*m;f[3]=h[3]*m;return f},$K:function(f,h,m,q){f[0]=h[0]+m[0]*q;f[1]=h[1]+m[1]*q;f[2]=h[2]+ +m[2]*q;f[3]=h[3]+m[3]*q;return f},Sp:b,sub:d}),zA=Object.freeze({__proto__:null,create:function(){var f=new qa(6);qa!=Float32Array&&(f[1]=0,f[2]=0,f[4]=0,f[5]=0);f[0]=1;f[3]=1;return f},clone:function(f){var h=new qa(6);h[0]=f[0];h[1]=f[1];h[2]=f[2];h[3]=f[3];h[4]=f[4];h[5]=f[5];return h},xa:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[3];f[4]=h[4];f[5]=h[5];return f},hz:function(f){f[0]=1;f[1]=0;f[2]=0;f[3]=1;f[4]=0;f[5]=0;return f},vg:function(f,h,m,q,t,u){var x=new qa(6);x[0]=f;x[1]=h;x[2]= +m;x[3]=q;x[4]=t;x[5]=u;return x},set:function(f,h,m,q,t,u,x){f[0]=h;f[1]=m;f[2]=q;f[3]=t;f[4]=u;f[5]=x;return f},Tu:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3],x=h[4];h=h[5];var z=m*u-q*t;if(!z)return null;z=1/z;f[0]=u*z;f[1]=-q*z;f[2]=-t*z;f[3]=m*z;f[4]=(t*h-u*x)*z;f[5]=(q*x-m*h)*z;return f},EK:function(f){return f[0]*f[3]-f[1]*f[2]},multiply:c,rotate:function(f,h,m){var q=h[0],t=h[1],u=h[2],x=h[3],z=h[4];h=h[5];var A=Math.sin(m);m=Math.cos(m);f[0]=q*m+u*A;f[1]=t*m+x*A;f[2]=q*-A+u*m;f[3]=t*-A+ +x*m;f[4]=z;f[5]=h;return f},scale:function(f,h,m){var q=h[1],t=h[2],u=h[3],x=h[4],z=h[5],A=m[0];m=m[1];f[0]=h[0]*A;f[1]=q*A;f[2]=t*m;f[3]=u*m;f[4]=x;f[5]=z;return f},translate:function(f,h,m){var q=h[0],t=h[1],u=h[2],x=h[3],z=h[4];h=h[5];var A=m[0];m=m[1];f[0]=q;f[1]=t;f[2]=u;f[3]=x;f[4]=q*A+u*m+z;f[5]=t*A+x*m+h;return f},UD:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=h;f[1]=m;f[2]=-m;f[3]=h;f[4]=0;f[5]=0;return f},IK:function(f,h){f[0]=h[0];f[1]=0;f[2]=0;f[3]=h[1];f[4]=0;f[5]=0;return f}, +JK:function(f,h){f[0]=1;f[1]=0;f[2]=0;f[3]=1;f[4]=h[0];f[5]=h[1];return f},Wn:function(f){return"mat2d("+f[0]+", "+f[1]+", "+f[2]+", "+f[3]+", "+f[4]+", "+f[5]+")"},HK:function(f){return Math.hypot(f[0],f[1],f[2],f[3],f[4],f[5],1)},add:function(f,h,m){f[0]=h[0]+m[0];f[1]=h[1]+m[1];f[2]=h[2]+m[2];f[3]=h[3]+m[3];f[4]=h[4]+m[4];f[5]=h[5]+m[5];return f},Xn:e,ZK:function(f,h,m){f[0]=h[0]*m;f[1]=h[1]*m;f[2]=h[2]*m;f[3]=h[3]*m;f[4]=h[4]*m;f[5]=h[5]*m;return f},$K:function(f,h,m,q){f[0]=h[0]+m[0]*q;f[1]= +h[1]+m[1]*q;f[2]=h[2]+m[2]*q;f[3]=h[3]+m[3]*q;f[4]=h[4]+m[4]*q;f[5]=h[5]+m[5]*q;return f},pl:function(f,h){return f[0]===h[0]&&f[1]===h[1]&&f[2]===h[2]&&f[3]===h[3]&&f[4]===h[4]&&f[5]===h[5]},Fd:function(f,h){var m=f[0],q=f[1],t=f[2],u=f[3],x=f[4];f=f[5];var z=h[0],A=h[1],D=h[2],G=h[3],I=h[4];h=h[5];return Math.abs(m-z)<=1E-6*Math.max(1,Math.abs(m),Math.abs(z))&&Math.abs(q-A)<=1E-6*Math.max(1,Math.abs(q),Math.abs(A))&&Math.abs(t-D)<=1E-6*Math.max(1,Math.abs(t),Math.abs(D))&&Math.abs(u-G)<=1E-6*Math.max(1, +Math.abs(u),Math.abs(G))&&Math.abs(x-I)<=1E-6*Math.max(1,Math.abs(x),Math.abs(I))&&Math.abs(f-h)<=1E-6*Math.max(1,Math.abs(f),Math.abs(h))},Sp:c,sub:e}),AA=Object.freeze({__proto__:null,create:g,H_:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[4];f[4]=h[5];f[5]=h[6];f[6]=h[8];f[7]=h[9];f[8]=h[10];return f},clone:function(f){var h=new qa(9);h[0]=f[0];h[1]=f[1];h[2]=f[2];h[3]=f[3];h[4]=f[4];h[5]=f[5];h[6]=f[6];h[7]=f[7];h[8]=f[8];return h},xa:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[3]; +f[4]=h[4];f[5]=h[5];f[6]=h[6];f[7]=h[7];f[8]=h[8];return f},vg:function(f,h,m,q,t,u,x,z,A){var D=new qa(9);D[0]=f;D[1]=h;D[2]=m;D[3]=q;D[4]=t;D[5]=u;D[6]=x;D[7]=z;D[8]=A;return D},set:function(f,h,m,q,t,u,x,z,A,D){f[0]=h;f[1]=m;f[2]=q;f[3]=t;f[4]=u;f[5]=x;f[6]=z;f[7]=A;f[8]=D;return f},hz:function(f){f[0]=1;f[1]=0;f[2]=0;f[3]=0;f[4]=1;f[5]=0;f[6]=0;f[7]=0;f[8]=1;return f},oS:function(f,h){if(f===h){var m=h[1],q=h[2],t=h[5];f[1]=h[3];f[2]=h[6];f[3]=m;f[5]=h[7];f[6]=q;f[7]=t}else f[0]=h[0],f[1]=h[3], +f[2]=h[6],f[3]=h[1],f[4]=h[4],f[5]=h[7],f[6]=h[2],f[7]=h[5],f[8]=h[8];return f},Tu:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3],x=h[4],z=h[5],A=h[6],D=h[7];h=h[8];var G=h*x-z*D,I=-h*u+z*A,O=D*u-x*A,M=m*G+q*I+t*O;if(!M)return null;M=1/M;f[0]=G*M;f[1]=(-h*q+t*D)*M;f[2]=(z*q-t*x)*M;f[3]=I*M;f[4]=(h*m-t*A)*M;f[5]=(-z*m+t*u)*M;f[6]=O*M;f[7]=(-D*m+q*A)*M;f[8]=(x*m-q*u)*M;return f},gR:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3],x=h[4],z=h[5],A=h[6],D=h[7];h=h[8];f[0]=x*h-z*D;f[1]=t*D-q*h;f[2]=q*z-t*x; +f[3]=z*A-u*h;f[4]=m*h-t*A;f[5]=t*u-m*z;f[6]=u*D-x*A;f[7]=q*A-m*D;f[8]=m*x-q*u;return f},EK:function(f){var h=f[3],m=f[4],q=f[5],t=f[6],u=f[7],x=f[8];return f[0]*(x*m-q*u)+f[1]*(-x*h+q*t)+f[2]*(u*h-m*t)},multiply:k,translate:function(f,h,m){var q=h[0],t=h[1],u=h[2],x=h[3],z=h[4],A=h[5],D=h[6],G=h[7];h=h[8];var I=m[0];m=m[1];f[0]=q;f[1]=t;f[2]=u;f[3]=x;f[4]=z;f[5]=A;f[6]=I*q+m*x+D;f[7]=I*t+m*z+G;f[8]=I*u+m*A+h;return f},rotate:function(f,h,m){var q=h[0],t=h[1],u=h[2],x=h[3],z=h[4],A=h[5],D=h[6],G=h[7]; +h=h[8];var I=Math.sin(m);m=Math.cos(m);f[0]=m*q+I*x;f[1]=m*t+I*z;f[2]=m*u+I*A;f[3]=m*x-I*q;f[4]=m*z-I*t;f[5]=m*A-I*u;f[6]=D;f[7]=G;f[8]=h;return f},scale:function(f,h,m){var q=m[0];m=m[1];f[0]=q*h[0];f[1]=q*h[1];f[2]=q*h[2];f[3]=m*h[3];f[4]=m*h[4];f[5]=m*h[5];f[6]=h[6];f[7]=h[7];f[8]=h[8];return f},JK:function(f,h){f[0]=1;f[1]=0;f[2]=0;f[3]=0;f[4]=1;f[5]=0;f[6]=h[0];f[7]=h[1];f[8]=1;return f},UD:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=h;f[1]=m;f[2]=0;f[3]=-m;f[4]=h;f[5]=0;f[6]=0;f[7]=0; +f[8]=1;return f},IK:function(f,h){f[0]=h[0];f[1]=0;f[2]=0;f[3]=0;f[4]=h[1];f[5]=0;f[6]=0;f[7]=0;f[8]=1;return f},yca:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=0;f[3]=h[2];f[4]=h[3];f[5]=0;f[6]=h[4];f[7]=h[5];f[8]=1;return f},I_:function(f,h){var m=h[0],q=h[1],t=h[2];h=h[3];var u=m+m,x=q+q,z=t+t;m*=u;var A=q*u;q*=x;var D=t*u,G=t*x;t*=z;u*=h;x*=h;h*=z;f[0]=1-q-t;f[3]=A-h;f[6]=D+x;f[1]=A+h;f[4]=1-m-t;f[7]=G-u;f[2]=D-x;f[5]=G+u;f[8]=1-m-q;return f},Hda:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3],x=h[4], +z=h[5],A=h[6],D=h[7],G=h[8],I=h[9],O=h[10],M=h[11],W=h[12],X=h[13],Q=h[14];h=h[15];var ja=m*z-q*x,fa=m*A-t*x,oa=m*D-u*x,pa=q*A-t*z,ka=q*D-u*z,fb=t*D-u*A,gb=G*X-I*W,hb=G*Q-O*W;G=G*h-M*W;var ib=I*Q-O*X;I=I*h-M*X;O=O*h-M*Q;M=ja*O-fa*I+oa*ib+pa*G-ka*hb+fb*gb;if(!M)return null;M=1/M;f[0]=(z*O-A*I+D*ib)*M;f[1]=(A*G-x*O-D*hb)*M;f[2]=(x*I-z*G+D*gb)*M;f[3]=(t*I-q*O-u*ib)*M;f[4]=(m*O-t*G+u*hb)*M;f[5]=(q*G-m*I-u*gb)*M;f[6]=(X*fb-Q*ka+h*pa)*M;f[7]=(Q*oa-W*fb-h*fa)*M;f[8]=(W*ka-X*oa+h*ja)*M;return f},XR:function(f, +h,m){f[0]=2/h;f[1]=0;f[2]=0;f[3]=0;f[4]=-2/m;f[5]=0;f[6]=-1;f[7]=1;f[8]=1;return f},Wn:function(f){return"mat3("+f[0]+", "+f[1]+", "+f[2]+", "+f[3]+", "+f[4]+", "+f[5]+", "+f[6]+", "+f[7]+", "+f[8]+")"},HK:function(f){return Math.hypot(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8])},add:function(f,h,m){f[0]=h[0]+m[0];f[1]=h[1]+m[1];f[2]=h[2]+m[2];f[3]=h[3]+m[3];f[4]=h[4]+m[4];f[5]=h[5]+m[5];f[6]=h[6]+m[6];f[7]=h[7]+m[7];f[8]=h[8]+m[8];return f},Xn:l,ZK:function(f,h,m){f[0]=h[0]*m;f[1]=h[1]*m;f[2]= +h[2]*m;f[3]=h[3]*m;f[4]=h[4]*m;f[5]=h[5]*m;f[6]=h[6]*m;f[7]=h[7]*m;f[8]=h[8]*m;return f},$K:function(f,h,m,q){f[0]=h[0]+m[0]*q;f[1]=h[1]+m[1]*q;f[2]=h[2]+m[2]*q;f[3]=h[3]+m[3]*q;f[4]=h[4]+m[4]*q;f[5]=h[5]+m[5]*q;f[6]=h[6]+m[6]*q;f[7]=h[7]+m[7]*q;f[8]=h[8]+m[8]*q;return f},pl:function(f,h){return f[0]===h[0]&&f[1]===h[1]&&f[2]===h[2]&&f[3]===h[3]&&f[4]===h[4]&&f[5]===h[5]&&f[6]===h[6]&&f[7]===h[7]&&f[8]===h[8]},Fd:function(f,h){var m=f[0],q=f[1],t=f[2],u=f[3],x=f[4],z=f[5],A=f[6],D=f[7];f=f[8];var G= +h[0],I=h[1],O=h[2],M=h[3],W=h[4],X=h[5],Q=h[6],ja=h[7];h=h[8];return Math.abs(m-G)<=1E-6*Math.max(1,Math.abs(m),Math.abs(G))&&Math.abs(q-I)<=1E-6*Math.max(1,Math.abs(q),Math.abs(I))&&Math.abs(t-O)<=1E-6*Math.max(1,Math.abs(t),Math.abs(O))&&Math.abs(u-M)<=1E-6*Math.max(1,Math.abs(u),Math.abs(M))&&Math.abs(x-W)<=1E-6*Math.max(1,Math.abs(x),Math.abs(W))&&Math.abs(z-X)<=1E-6*Math.max(1,Math.abs(z),Math.abs(X))&&Math.abs(A-Q)<=1E-6*Math.max(1,Math.abs(A),Math.abs(Q))&&Math.abs(D-ja)<=1E-6*Math.max(1,Math.abs(D), +Math.abs(ja))&&Math.abs(f-h)<=1E-6*Math.max(1,Math.abs(f),Math.abs(h))},Sp:k,sub:l}),BA=Object.freeze({__proto__:null,create:function(){var f=new qa(16);qa!=Float32Array&&(f[1]=0,f[2]=0,f[3]=0,f[4]=0,f[6]=0,f[7]=0,f[8]=0,f[9]=0,f[11]=0,f[12]=0,f[13]=0,f[14]=0);f[0]=1;f[5]=1;f[10]=1;f[15]=1;return f},clone:function(f){var h=new qa(16);h[0]=f[0];h[1]=f[1];h[2]=f[2];h[3]=f[3];h[4]=f[4];h[5]=f[5];h[6]=f[6];h[7]=f[7];h[8]=f[8];h[9]=f[9];h[10]=f[10];h[11]=f[11];h[12]=f[12];h[13]=f[13];h[14]=f[14];h[15]= +f[15];return h},xa:function(f,h){f[0]=h[0];f[1]=h[1];f[2]=h[2];f[3]=h[3];f[4]=h[4];f[5]=h[5];f[6]=h[6];f[7]=h[7];f[8]=h[8];f[9]=h[9];f[10]=h[10];f[11]=h[11];f[12]=h[12];f[13]=h[13];f[14]=h[14];f[15]=h[15];return f},vg:function(f,h,m,q,t,u,x,z,A,D,G,I,O,M,W,X){var Q=new qa(16);Q[0]=f;Q[1]=h;Q[2]=m;Q[3]=q;Q[4]=t;Q[5]=u;Q[6]=x;Q[7]=z;Q[8]=A;Q[9]=D;Q[10]=G;Q[11]=I;Q[12]=O;Q[13]=M;Q[14]=W;Q[15]=X;return Q},set:function(f,h,m,q,t,u,x,z,A,D,G,I,O,M,W,X,Q){f[0]=h;f[1]=m;f[2]=q;f[3]=t;f[4]=u;f[5]=x;f[6]=z; +f[7]=A;f[8]=D;f[9]=G;f[10]=I;f[11]=O;f[12]=M;f[13]=W;f[14]=X;f[15]=Q;return f},hz:n,oS:function(f,h){if(f===h){var m=h[1],q=h[2],t=h[3],u=h[6],x=h[7],z=h[11];f[1]=h[4];f[2]=h[8];f[3]=h[12];f[4]=m;f[6]=h[9];f[7]=h[13];f[8]=q;f[9]=u;f[11]=h[14];f[12]=t;f[13]=x;f[14]=z}else f[0]=h[0],f[1]=h[4],f[2]=h[8],f[3]=h[12],f[4]=h[1],f[5]=h[5],f[6]=h[9],f[7]=h[13],f[8]=h[2],f[9]=h[6],f[10]=h[10],f[11]=h[14],f[12]=h[3],f[13]=h[7],f[14]=h[11],f[15]=h[15];return f},Tu:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3], +x=h[4],z=h[5],A=h[6],D=h[7],G=h[8],I=h[9],O=h[10],M=h[11],W=h[12],X=h[13],Q=h[14];h=h[15];var ja=m*z-q*x,fa=m*A-t*x,oa=m*D-u*x,pa=q*A-t*z,ka=q*D-u*z,fb=t*D-u*A,gb=G*X-I*W,hb=G*Q-O*W,ib=G*h-M*W,Eb=I*Q-O*X,qc=I*h-M*X,rc=O*h-M*Q,jb=ja*rc-fa*qc+oa*Eb+pa*ib-ka*hb+fb*gb;if(!jb)return null;jb=1/jb;f[0]=(z*rc-A*qc+D*Eb)*jb;f[1]=(t*qc-q*rc-u*Eb)*jb;f[2]=(X*fb-Q*ka+h*pa)*jb;f[3]=(O*ka-I*fb-M*pa)*jb;f[4]=(A*ib-x*rc-D*hb)*jb;f[5]=(m*rc-t*ib+u*hb)*jb;f[6]=(Q*oa-W*fb-h*fa)*jb;f[7]=(G*fb-O*oa+M*fa)*jb;f[8]=(x*qc- +z*ib+D*gb)*jb;f[9]=(q*ib-m*qc-u*gb)*jb;f[10]=(W*ka-X*oa+h*ja)*jb;f[11]=(I*oa-G*ka-M*ja)*jb;f[12]=(z*hb-x*Eb-A*gb)*jb;f[13]=(m*Eb-q*hb+t*gb)*jb;f[14]=(X*fa-W*pa-Q*ja)*jb;f[15]=(G*pa-I*fa+O*ja)*jb;return f},gR:function(f,h){var m=h[0],q=h[1],t=h[2],u=h[3],x=h[4],z=h[5],A=h[6],D=h[7],G=h[8],I=h[9],O=h[10],M=h[11],W=h[12],X=h[13],Q=h[14];h=h[15];var ja=m*z-q*x,fa=m*A-t*x,oa=m*D-u*x,pa=q*A-t*z,ka=q*D-u*z,fb=t*D-u*A,gb=G*X-I*W,hb=G*Q-O*W,ib=G*h-M*W,Eb=I*Q-O*X,qc=I*h-M*X,rc=O*h-M*Q;f[0]=z*rc-A*qc+D*Eb;f[1]= +t*qc-q*rc-u*Eb;f[2]=X*fb-Q*ka+h*pa;f[3]=O*ka-I*fb-M*pa;f[4]=A*ib-x*rc-D*hb;f[5]=m*rc-t*ib+u*hb;f[6]=Q*oa-W*fb-h*fa;f[7]=G*fb-O*oa+M*fa;f[8]=x*qc-z*ib+D*gb;f[9]=q*ib-m*qc-u*gb;f[10]=W*ka-X*oa+h*ja;f[11]=I*oa-G*ka-M*ja;f[12]=z*hb-x*Eb-A*gb;f[13]=m*Eb-q*hb+t*gb;f[14]=X*fa-W*pa-Q*ja;f[15]=G*pa-I*fa+O*ja;return f},EK:function(f){var h=f[0],m=f[1],q=f[2],t=f[4],u=f[5],x=f[6],z=f[8],A=f[9],D=f[10],G=f[12],I=f[13],O=f[14],M=h*u-m*t,W=h*x-q*t,X=m*x-q*u,Q=z*I-A*G,ja=z*O-D*G,fa=A*O-D*I;return f[7]*(h*fa-m*ja+ +q*Q)-f[3]*(t*fa-u*ja+x*Q)+f[15]*(z*X-A*W+D*M)-f[11]*(G*X-I*W+O*M)},multiply:p,translate:function(f,h,m){var q=m[0],t=m[1];m=m[2];if(h===f)f[12]=h[0]*q+h[4]*t+h[8]*m+h[12],f[13]=h[1]*q+h[5]*t+h[9]*m+h[13],f[14]=h[2]*q+h[6]*t+h[10]*m+h[14],f[15]=h[3]*q+h[7]*t+h[11]*m+h[15];else{var u=h[0];var x=h[1];var z=h[2];var A=h[3];var D=h[4];var G=h[5];var I=h[6];var O=h[7];var M=h[8];var W=h[9];var X=h[10];var Q=h[11];f[0]=u;f[1]=x;f[2]=z;f[3]=A;f[4]=D;f[5]=G;f[6]=I;f[7]=O;f[8]=M;f[9]=W;f[10]=X;f[11]=Q;f[12]= +u*q+D*t+M*m+h[12];f[13]=x*q+G*t+W*m+h[13];f[14]=z*q+I*t+X*m+h[14];f[15]=A*q+O*t+Q*m+h[15]}return f},scale:function(f,h,m){var q=m[0],t=m[1];m=m[2];f[0]=h[0]*q;f[1]=h[1]*q;f[2]=h[2]*q;f[3]=h[3]*q;f[4]=h[4]*t;f[5]=h[5]*t;f[6]=h[6]*t;f[7]=h[7]*t;f[8]=h[8]*m;f[9]=h[9]*m;f[10]=h[10]*m;f[11]=h[11]*m;f[12]=h[12];f[13]=h[13];f[14]=h[14];f[15]=h[15];return f},rotate:function(f,h,m,q){var t=q[0],u=q[1];q=q[2];var x=Math.hypot(t,u,q);if(1E-6>x)return null;x=1/x;t*=x;u*=x;q*=x;var z=Math.sin(m);var A=Math.cos(m); +var D=1-A;m=h[0];x=h[1];var G=h[2];var I=h[3];var O=h[4];var M=h[5];var W=h[6];var X=h[7];var Q=h[8];var ja=h[9];var fa=h[10];var oa=h[11];var pa=t*t*D+A;var ka=u*t*D+q*z;var fb=q*t*D-u*z;var gb=t*u*D-q*z;var hb=u*u*D+A;var ib=q*u*D+t*z;var Eb=t*q*D+u*z;t=u*q*D-t*z;u=q*q*D+A;f[0]=m*pa+O*ka+Q*fb;f[1]=x*pa+M*ka+ja*fb;f[2]=G*pa+W*ka+fa*fb;f[3]=I*pa+X*ka+oa*fb;f[4]=m*gb+O*hb+Q*ib;f[5]=x*gb+M*hb+ja*ib;f[6]=G*gb+W*hb+fa*ib;f[7]=I*gb+X*hb+oa*ib;f[8]=m*Eb+O*t+Q*u;f[9]=x*Eb+M*t+ja*u;f[10]=G*Eb+W*t+fa*u;f[11]= +I*Eb+X*t+oa*u;h!==f&&(f[12]=h[12],f[13]=h[13],f[14]=h[14],f[15]=h[15]);return f},mL:function(f,h,m){var q=Math.sin(m);m=Math.cos(m);var t=h[4],u=h[5],x=h[6],z=h[7],A=h[8],D=h[9],G=h[10],I=h[11];h!==f&&(f[0]=h[0],f[1]=h[1],f[2]=h[2],f[3]=h[3],f[12]=h[12],f[13]=h[13],f[14]=h[14],f[15]=h[15]);f[4]=t*m+A*q;f[5]=u*m+D*q;f[6]=x*m+G*q;f[7]=z*m+I*q;f[8]=A*m-t*q;f[9]=D*m-u*q;f[10]=G*m-x*q;f[11]=I*m-z*q;return f},nL:function(f,h,m){var q=Math.sin(m);m=Math.cos(m);var t=h[0],u=h[1],x=h[2],z=h[3],A=h[8],D=h[9], +G=h[10],I=h[11];h!==f&&(f[4]=h[4],f[5]=h[5],f[6]=h[6],f[7]=h[7],f[12]=h[12],f[13]=h[13],f[14]=h[14],f[15]=h[15]);f[0]=t*m-A*q;f[1]=u*m-D*q;f[2]=x*m-G*q;f[3]=z*m-I*q;f[8]=t*q+A*m;f[9]=u*q+D*m;f[10]=x*q+G*m;f[11]=z*q+I*m;return f},oL:function(f,h,m){var q=Math.sin(m);m=Math.cos(m);var t=h[0],u=h[1],x=h[2],z=h[3],A=h[4],D=h[5],G=h[6],I=h[7];h!==f&&(f[8]=h[8],f[9]=h[9],f[10]=h[10],f[11]=h[11],f[12]=h[12],f[13]=h[13],f[14]=h[14],f[15]=h[15]);f[0]=t*m+A*q;f[1]=u*m+D*q;f[2]=x*m+G*q;f[3]=z*m+I*q;f[4]=A*m- +t*q;f[5]=D*m-u*q;f[6]=G*m-x*q;f[7]=I*m-z*q;return f},JK:function(f,h){f[0]=1;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=1;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=1;f[11]=0;f[12]=h[0];f[13]=h[1];f[14]=h[2];f[15]=1;return f},IK:function(f,h){f[0]=h[0];f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=h[1];f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=h[2];f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},UD:function(f,h,m){var q=m[0],t=m[1];m=m[2];var u=Math.hypot(q,t,m);if(1E-6>u)return null;u=1/u;q*=u;t*=u;m*=u;u=Math.sin(h);h=Math.cos(h);var x= +1-h;f[0]=q*q*x+h;f[1]=t*q*x+m*u;f[2]=m*q*x-t*u;f[3]=0;f[4]=q*t*x-m*u;f[5]=t*t*x+h;f[6]=m*t*x+q*u;f[7]=0;f[8]=q*m*x+t*u;f[9]=t*m*x-q*u;f[10]=m*m*x+h;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},Eca:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=1;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=h;f[6]=m;f[7]=0;f[8]=0;f[9]=-m;f[10]=h;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},Fca:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=h;f[1]=0;f[2]=-m;f[3]=0;f[4]=0;f[5]=1;f[6]=0;f[7]=0;f[8]=m;f[9]=0;f[10]= +h;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},Gca:function(f,h){var m=Math.sin(h);h=Math.cos(h);f[0]=h;f[1]=m;f[2]=0;f[3]=0;f[4]=-m;f[5]=h;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=1;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},J_:r,Aca:function(f,h){var m=new qa(3),q=-h[0],t=-h[1],u=-h[2],x=h[3],z=h[4],A=h[5],D=h[6],G=h[7],I=q*q+t*t+u*u+x*x;0A&&m>q?(q=2*Math.sqrt(1+m-A-q),f[3]=(D-h)/q,f[0]=.25*q,f[1]=(u+z)/q,f[2]=(G+x)/q):A>q?(q=2*Math.sqrt(1+ +A-m-q),f[3]=(G-x)/q,f[0]=(u+z)/q,f[1]=.25*q,f[2]=(D+h)/q):(q=2*Math.sqrt(1+q-m-A),f[3]=(u-z)/q,f[0]=(G+x)/q,f[1]=(D+h)/q,f[2]=.25*q);return f},Bca:function(f,h,m,q){var t=h[0],u=h[1],x=h[2],z=h[3],A=t+t,D=u+u,G=x+x;h=t*A;var I=t*D;t*=G;var O=u*D;u*=G;x*=G;A*=z;D*=z;z*=G;G=q[0];var M=q[1];q=q[2];f[0]=(1-(O+x))*G;f[1]=(I+z)*G;f[2]=(t-D)*G;f[3]=0;f[4]=(I-z)*M;f[5]=(1-(h+x))*M;f[6]=(u+A)*M;f[7]=0;f[8]=(t+D)*q;f[9]=(u-A)*q;f[10]=(1-(h+O))*q;f[11]=0;f[12]=m[0];f[13]=m[1];f[14]=m[2];f[15]=1;return f},Cca:function(f, +h,m,q,t){var u=h[0],x=h[1],z=h[2],A=h[3],D=u+u,G=x+x,I=z+z;h=u*D;var O=u*G,M=u*I;u=x*G;x*=I;var W=z*I;z=A*D;G*=A;var X=A*I,Q=q[0],ja=q[1];I=q[2];q=t[0];A=t[1];t=t[2];D=(1-(u+W))*Q;var fa=(O+X)*Q;Q*=M-G;O=(O-X)*ja;W=(1-(h+W))*ja;ja*=x+z;M=(M+G)*I;x=(x-z)*I;h=(1-(h+u))*I;f[0]=D;f[1]=fa;f[2]=Q;f[3]=0;f[4]=O;f[5]=W;f[6]=ja;f[7]=0;f[8]=M;f[9]=x;f[10]=h;f[11]=0;f[12]=m[0]+q-(D*q+O*A+M*t);f[13]=m[1]+A-(fa*q+W*A+x*t);f[14]=m[2]+t-(Q*q+ja*A+h*t);f[15]=1;return f},I_:function(f,h){var m=h[0],q=h[1],t=h[2]; +h=h[3];var u=m+m,x=q+q,z=t+t;m*=u;var A=q*u;q*=x;var D=t*u,G=t*x;t*=z;u*=h;x*=h;h*=z;f[0]=1-q-t;f[1]=A+h;f[2]=D-x;f[3]=0;f[4]=A-h;f[5]=1-m-t;f[6]=G+u;f[7]=0;f[8]=D+x;f[9]=G-u;f[10]=1-m-q;f[11]=0;f[12]=0;f[13]=0;f[14]=0;f[15]=1;return f},K_:function(f,h,m,q,t,u,x){var z=1/(m-h),A=1/(t-q),D=1/(u-x);f[0]=2*u*z;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=2*u*A;f[6]=0;f[7]=0;f[8]=(m+h)*z;f[9]=(t+q)*A;f[10]=(x+u)*D;f[11]=-1;f[12]=0;f[13]=0;f[14]=x*u*2*D;f[15]=0;return f},Tda:C,perspective:C,Uda:function(f,h,m,q,t){h= +1/Math.tan(h/2);f[0]=h/m;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=h;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[11]=-1;f[12]=0;f[13]=0;f[15]=0;null!=t&&Infinity!==t?(m=1/(q-t),f[10]=t*m,f[14]=t*q*m):(f[10]=-1,f[14]=-q);return f},Sda:function(f,h,m,q){var t=Math.tan(h.Wea*Math.PI/180),u=Math.tan(h.oca*Math.PI/180),x=Math.tan(h.wda*Math.PI/180);h=Math.tan(h.nea*Math.PI/180);var z=2/(x+h),A=2/(t+u);f[0]=z;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=A;f[6]=0;f[7]=0;f[8]=-((x-h)*z*.5);f[9]=(t-u)*A*.5;f[10]=q/(m-q);f[11]=-1;f[12]=0;f[13]= +0;f[14]=q*m/(m-q);f[15]=0;return f},Qda:E,s0:E,Rda:function(f,h,m,q,t,u,x){var z=1/(h-m),A=1/(q-t);x=1/(u-x);f[0]=-2*z;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=-2*A;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=x;f[11]=0;f[12]=(h+m)*z;f[13]=(t+q)*A;f[14]=u*x;f[15]=1;return f},i0:function(f,h,m,q){var t=h[0],u=h[1];h=h[2];var x=q[0];var z=q[1];var A=q[2];var D=m[0];q=m[1];var G=m[2];if(1E-6>Math.abs(t-D)&&1E-6>Math.abs(u-q)&&1E-6>Math.abs(h-G))return n(f);m=t-D;q=u-q;D=h-G;var I=1/Math.hypot(m,q,D);m*=I;q*=I;D*=I;G=z* +D-A*q;A=A*m-x*D;x=x*q-z*m;(I=Math.hypot(G,A,x))?(I=1/I,G*=I,A*=I,x*=I):x=A=G=0;z=q*x-D*A;var O=D*G-m*x;var M=m*A-q*G;(I=Math.hypot(z,O,M))?(I=1/I,z*=I,O*=I,M*=I):M=O=z=0;f[0]=G;f[1]=z;f[2]=m;f[3]=0;f[4]=A;f[5]=O;f[6]=q;f[7]=0;f[8]=x;f[9]=M;f[10]=D;f[11]=0;f[12]=-(G*t+A*u+x*h);f[13]=-(z*t+O*u+M*h);f[14]=-(m*t+q*u+D*h);f[15]=1;return f},Iea:function(f,h,m,q){var t=h[0],u=h[1];h=h[2];var x=q[0],z=q[1],A=q[2];q=t-m[0];var D=u-m[1];m=h-m[2];var G=q*q+D*D+m*m;0x)return Yd(f,h,t),1E-6>H(f)&&Yd(f,m,t),pc(f,f),ns(q,f,Math.PI),q;if(.999999Math.abs(q))return xs(f, +h);var t=Math.hypot(m[0],m[1],m[2]);q*=.5;var u=Math.sin(q),x=u*m[0]/t,z=u*m[1]/t;m=u*m[2]/t;q=Math.cos(q);t=h[0];u=h[1];var A=h[2],D=h[3];f[0]=t*q+D*x+u*m-A*z;f[1]=u*q+D*z+A*x-t*m;f[2]=A*q+D*m+t*z-u*x;f[3]=D*q-t*x-u*z-A*m;t=h[4];u=h[5];A=h[6];h=h[7];f[4]=t*q+h*x+u*m-A*z;f[5]=u*q+h*z+A*x-t*m;f[6]=A*q+h*m+t*z-u*x;f[7]=h*q-t*x-u*z-A*m;return f},add:function(f,h,m){f[0]=h[0]+m[0];f[1]=h[1]+m[1];f[2]=h[2]+m[2];f[3]=h[3]+m[3];f[4]=h[4]+m[4];f[5]=h[5]+m[5];f[6]=h[6]+m[6];f[7]=h[7]+m[7];return f},multiply:ys, +Sp:ys,scale:function(f,h,m){f[0]=h[0]*m;f[1]=h[1]*m;f[2]=h[2]*m;f[3]=h[3]*m;f[4]=h[4]*m;f[5]=h[5]*m;f[6]=h[6]*m;f[7]=h[7]*m;return f},Tn:ug,Pc:function(f,h,m,q){var t=1-q;0>ug(h,m)&&(q=-q);f[0]=h[0]*t+m[0]*q;f[1]=h[1]*t+m[1]*q;f[2]=h[2]*t+m[2]*q;f[3]=h[3]*t+m[3]*q;f[4]=h[4]*t+m[4]*q;f[5]=h[5]*t+m[5]*q;f[6]=h[6]*t+m[6]*q;f[7]=h[7]*t+m[7]*q;return f},Tu:function(f,h){var m=Fe(h);f[0]=-h[0]/m;f[1]=-h[1]/m;f[2]=-h[2]/m;f[3]=h[3]/m;f[4]=-h[4]/m;f[5]=-h[5]/m;f[6]=-h[6]/m;f[7]=h[7]/m;return f},s_:function(f, +h){f[0]=-h[0];f[1]=-h[1];f[2]=-h[2];f[3]=h[3];f[4]=-h[4];f[5]=-h[5];f[6]=-h[6];f[7]=h[7];return f},length:tg,Uu:tg,hE:Fe,gE:Fe,normalize:function(f,h){var m=Fe(h);if(0=g&&e=c?1024*(k-55296)+(c-56320)+65536:k}return 56320<=g&&57343>=g&&1<=e?(k=c.charCodeAt(e-1),c=g,55296<=k&&56319>=k?1024*(k-55296)+(c-56320)+65536:c):g}function b(c,e,g){var k=[c].concat(e).concat([g]),l=k[k.length-2],n=k.lastIndexOf(14);if(1=c||1757==c||1807==c||2274==c||3406==c||69821==c||70082<=c&&70083>=c||72250==c||72326<=c&&72329>=c||73030==c?12:13==c?0:10==c?1:0<=c&&9>=c||11<=c&&12>=c||14<=c&&31>=c||127<=c&&159>=c||173==c||1564==c||6158==c||8203==c||8206<=c&&8207>=c||8232==c||8233==c||8234<=c&&8238>=c||8288<=c&&8292>=c||8293==c||8294<=c&&8303>=c||55296<=c&&57343>=c||65279==c||65520<= c&&65528>=c||65529<=c&&65531>=c||113824<=c&&113827>=c||119155<=c&&119162>=c||917504==c||917505==c||917506<=c&&917535>=c||917632<=c&&917759>=c||918E3<=c&&921599>=c?2:768<=c&&879>=c||1155<=c&&1159>=c||1160<=c&&1161>=c||1425<=c&&1469>=c||1471==c||1473<=c&&1474>=c||1476<=c&&1477>=c||1479==c||1552<=c&&1562>=c||1611<=c&&1631>=c||1648==c||1750<=c&&1756>=c||1759<=c&&1764>=c||1767<=c&&1768>=c||1770<=c&&1773>=c||1809==c||1840<=c&&1866>=c||1958<=c&&1968>=c||2027<=c&&2035>=c||2070<=c&&2073>=c||2075<=c&&2083>= @@ -143,137 +143,137 @@ c||53105<=c&&53131>=c||53133<=c&&53159>=c||53161<=c&&53187>=c||53189<=c&&53215>= 53805<=c&&53831>=c||53833<=c&&53859>=c||53861<=c&&53887>=c||53889<=c&&53915>=c||53917<=c&&53943>=c||53945<=c&&53971>=c||53973<=c&&53999>=c||54001<=c&&54027>=c||54029<=c&&54055>=c||54057<=c&&54083>=c||54085<=c&&54111>=c||54113<=c&&54139>=c||54141<=c&&54167>=c||54169<=c&&54195>=c||54197<=c&&54223>=c||54225<=c&&54251>=c||54253<=c&&54279>=c||54281<=c&&54307>=c||54309<=c&&54335>=c||54337<=c&&54363>=c||54365<=c&&54391>=c||54393<=c&&54419>=c||54421<=c&&54447>=c||54449<=c&&54475>=c||54477<=c&&54503>=c||54505<= c&&54531>=c||54533<=c&&54559>=c||54561<=c&&54587>=c||54589<=c&&54615>=c||54617<=c&&54643>=c||54645<=c&&54671>=c||54673<=c&&54699>=c||54701<=c&&54727>=c||54729<=c&&54755>=c||54757<=c&&54783>=c||54785<=c&&54811>=c||54813<=c&&54839>=c||54841<=c&&54867>=c||54869<=c&&54895>=c||54897<=c&&54923>=c||54925<=c&&54951>=c||54953<=c&&54979>=c||54981<=c&&55007>=c||55009<=c&&55035>=c||55037<=c&&55063>=c||55065<=c&&55091>=c||55093<=c&&55119>=c||55121<=c&&55147>=c||55149<=c&&55175>=c||55177<=c&&55203>=c?10:9757== c||9977==c||9994<=c&&9997>=c||127877==c||127938<=c&&127940>=c||127943==c||127946<=c&&127948>=c||128066<=c&&128067>=c||128070<=c&&128080>=c||128110==c||128112<=c&&128120>=c||128124==c||128129<=c&&128131>=c||128133<=c&&128135>=c||128170==c||128372<=c&&128373>=c||128378==c||128400==c||128405<=c&&128406>=c||128581<=c&&128583>=c||128587<=c&&128591>=c||128675==c||128692<=c&&128694>=c||128704==c||128716==c||129304<=c&&129308>=c||129310<=c&&129311>=c||129318==c||129328<=c&&129337>=c||129341<=c&&129342>=c|| -129489<=c&&129501>=c?13:127995<=c&&127999>=c?14:8205==c?15:9792==c||9794==c||9877<=c&&9878>=c||9992==c||10084==c||127752==c||127806==c||127859==c||127891==c||127908==c||127912==c||127979==c||127981==c||128139==c||128187<=c&&128188>=c||128295==c||128300==c||128488==c||128640==c||128658==c?16:128102<=c&&128105>=c?17:11}this.SK=function(c,e){void 0===e&&(e=0);if(0>e)return 0;if(e>=c.length-1)return c.length;var g=d(a(c,e)),k=[];for(e+=1;e= -l.charCodeAt(n)&&56320<=l.charCodeAt(n+1)&&57343>=l.charCodeAt(n+1))){l=d(a(c,e));if(b(g,k,l))return e;k.push(l)}}return c.length};this.n0=function(c){for(var e=[],g=0,k;(k=this.SK(c,g))=c&&0<=a&&1>=a}function ia(a,b,d){return(b[0]-a[0])*(d[1]-a[1])-(d[0]-a[0])*(b[1]-a[1])} +129489<=c&&129501>=c?13:127995<=c&&127999>=c?14:8205==c?15:9792==c||9794==c||9877<=c&&9878>=c||9992==c||10084==c||127752==c||127806==c||127859==c||127891==c||127908==c||127912==c||127979==c||127981==c||128139==c||128187<=c&&128188>=c||128295==c||128300==c||128488==c||128640==c||128658==c?16:128102<=c&&128105>=c?17:11}this.bL=function(c,e){void 0===e&&(e=0);if(0>e)return 0;if(e>=c.length-1)return c.length;var g=d(a(c,e)),k=[];for(e+=1;e= +l.charCodeAt(n)&&56320<=l.charCodeAt(n+1)&&57343>=l.charCodeAt(n+1))){l=d(a(c,e));if(b(g,k,l))return e;k.push(l)}}return c.length};this.E0=function(c){for(var e=[],g=0,k;(k=this.bL(c,g))=c&&0<=a&&1>=a}function ia(a,b,d){return(b[0]-a[0])*(d[1]-a[1])-(d[0]-a[0])*(b[1]-a[1])} var la=[],ma=[];function na(a,b){var d=b[0]-a[0];a=b[1]-a[1];return d*d+a*a}function J(a,b){var d=a.length;return a[0>b?b%d+d:b%d]}function ra(a,b,d,c){for(;dia(J(a,k-1),J(a,k),J(a,k+1)))for(var l=0;l=ia(J(c,n-1),J(c,n),J(c,p)))d=!1;else{d=na(J(c,n),J(c,p));for(var r=0;r!==c.length;++r)if((r+1)%c.length!==n&&r!==n&&0<=ia(J(c,n),J(c,p),J(c,r+1))&&0>=ia(J(c,n),J(c,p),J(c,r))){sa[0]=J(c,n);sa[1]=J(c,p);ta[0]=J(c,r);ta[1]=J(c,r+1);var x=sa;var v=ta;var y=[0,0];var C=x[1][1]-x[0][1];var E=x[0][0]-x[1][0];var F= -C*x[0][0]+E*x[0][1];var K=v[1][1]-v[0][1];x=v[0][0]-v[1][0];var H=K*v[0][0]+x*v[0][1];v=C*x-K*E;0>=Math.abs(v-0)||(y[0]=(x*F-E*H)/v,y[1]=(C*H-K*F)/v);E=y;if(na(J(c,n),E)ia(J(a,k-1),J(a,k),J(a,k+1)))for(var l=0;l=ia(J(c,n-1),J(c,n),J(c,p)))d=!1;else{d=na(J(c,n),J(c,p));for(var r=0;r!==c.length;++r)if((r+1)%c.length!==n&&r!==n&&0<=ia(J(c,n),J(c,p),J(c,r+1))&&0>=ia(J(c,n),J(c,p),J(c,r))){sa[0]=J(c,n);sa[1]=J(c,p);ta[0]=J(c,r);ta[1]=J(c,r+1);var w=sa;var v=ta;var y=[0,0];var C=w[1][1]-w[0][1];var E=w[0][0]-w[1][0];var F= +C*w[0][0]+E*w[0][1];var K=v[1][1]-v[0][1];w=v[0][0]-v[1][0];var H=K*v[0][0]+w*v[0][1];v=C*w-K*E;0>=Math.abs(v-0)||(y[0]=(w*F-E*H)/v,y[1]=(C*H-K*F)/v);E=y;if(na(J(c,n),E)=Math.abs(k-0)?[0,0]:[(c*a-b*d)/k,(e*d-g*a)/k]} -function ya(a,b,d,c,e,g,k){g=g||100;k=k||0;e=e||25;b="undefined"!==typeof b?b:[];d=d||[];c=c||[];var l=[0,0],n=[0,0],p=[0,0],r,x=0,v=0,y=0,C=[],E=[];if(3>a.length)return b;k++;if(k>g)return console.warn("quickDecomp: max level ("+g+") reached."),b;for(var F=0;Fia(J(a,F-1),J(a,F),J(a,F+1))){d.push(a[F]);var K=r=Number.MAX_VALUE;for(var H=0;H=ia(J(a,F-1),J(a,F),J(a,H-1))&&(p=xa(J(a,F-1),J(a,F),J(a,H),J(a,H-1)),0>ia(J(a,F+1),J(a,F), -p))){var N=na(a[F],p);N=ia(J(a,F+1),J(a,F),J(a,H))&&(p=xa(J(a,F+1),J(a,F),J(a,H),J(a,H+1)),0x&&(x+=a.length);l=Number.MAX_VALUE;if(xa.length)return b;k++;if(k>g)return console.warn("quickDecomp: max level ("+g+") reached."),b;for(var F=0;Fia(J(a,F-1),J(a,F),J(a,F+1))){d.push(a[F]);var K=r=Number.MAX_VALUE;for(var H=0;H=ia(J(a,F-1),J(a,F),J(a,H-1))&&(p=xa(J(a,F-1),J(a,F),J(a,H),J(a,H-1)),0>ia(J(a,F+1),J(a,F), +p))){var N=na(a[F],p);N=ia(J(a,F+1),J(a,F),J(a,H))&&(p=xa(J(a,F+1),J(a,F),J(a,H),J(a,H+1)),0w&&(w+=a.length);l=Number.MAX_VALUE;if(w=ia(J(a,F+1),J(a,F),J(a,H))){N=na(J(a,F),J(a,H));if(v=Na[b][0])b=d;if(0{}};const Ba=new Map([[5,"2000"],[5.1,"XP"],[5.2,"XP"],[6,"Vista"],[6.1,"7"],[6.2,"8"],[6.3,"8.1"],[10,"10"]]);function Ca(a){const b=parseFloat(a),d=Ba.get(b);return d?d:13<=b?"11":"NT "+a}const Da=navigator.userAgent,Ea=navigator.userAgentData; -if(Ea&&0{if(!c)try{const e=await navigator.userAgentData.getHighEntropyValues(["platformVersion","fullVersionList"]);d(e.fullVersionList);L.V.ws="Windows"===L.V.Jd?Ca(e.platformVersion):e.platformVersion;c=!0}catch(e){console.warn("Failed to get detailed user agent information: ",e)}}}else{function a(p,r){p=Array.isArray(p)?p:[p];for(const x of p)if(p=x.exec(Da)){r(p);break}}a(/windows\s+nt\s+([\d\.]+)/i, -p=>{L.V.Jd="Windows";L.V.ws=Ca(p[1])});a(/mac\s+os\s+x\s+([\d\._]+)/i,p=>{L.V.Jd="macOS";L.V.ws=p[1].replace(/_/g,".")});a(/CrOS/,()=>{L.V.Jd="Chrome OS"});a(/linux|openbsd|freebsd|netbsd/i,()=>{L.V.Jd="Linux"});a(/android/i,()=>{L.V.Jd="Android"});a(/android\s+([\d\.]+)/i,p=>{L.V.Jd="Android";L.V.ws=p[1]});"(unknown)"===L.V.Jd&&(a(/(iphone|ipod|ipad)/i,()=>{L.V.Jd="iOS"}),a([/iphone\s+os\s+([\d\._]+)/i,/ipad[^)]*os\s+([\d\._]+)/i],p=>{L.V.Jd="iOS";L.V.ws=p[1].replace(/_/g,".")}));const b=/chrome\//i.test(Da), -d=/chromium\//i.test(Da),c=/edg\//i.test(Da),e=/OPR\//.test(Da),g=/nwjs/i.test(Da),k=/safari\//i.test(Da),l=/webkit/i.test(Da);c||e||a(/chrome\/([\d\.]+)/i,p=>{L.V.Ne="Chrome";L.V.mh=p[1];L.V.kh="Chromium"});a(/edg\/([\d\.]+)/i,p=>{L.V.Ne="Edge";L.V.mh=p[1];L.V.kh="Chromium"});a(/OPR\/([\d\.]+)/,p=>{L.V.Ne="Opera";L.V.mh=p[1];L.V.kh="Chromium"});a(/chromium\/([\d\.]+)/i,p=>{L.V.Ne="Chromium";L.V.mh=p[1];L.V.kh="Chromium"});a(/nwjs\/[0-9.]+/i,p=>{L.V.Ne="NW.js";L.V.mh=p[1];L.V.kh="Chromium";L.V.tm= -"nwjs"});a(/firefox\/([\d\.]+)/i,p=>{L.V.Ne="Firefox";L.V.mh=p[1];L.V.kh="Gecko"});!k||b||d||c||e||g||(L.V.Ne="Safari",L.V.kh="WebKit",a(/version\/([\d\.]+)/i,p=>{L.V.mh=p[1]}),a(/crios\/([\d\.]+)/i,p=>{L.V.Ne="Chrome for iOS";L.V.mh=p[1]}),a(/fxios\/([\d\.]+)/i,p=>{L.V.Ne="Firefox for iOS";L.V.mh=p[1]}),a(/edgios\/([\d\.]+)/i,p=>{L.V.Ne="Edge for iOS";L.V.mh=p[1]}));"(unknown)"===L.V.kh&&l&&(L.V.kh="WebKit");"Android"===L.V.Jd&&"Safari"===L.V.Ne&&(L.V.Ne="Stock");const n=(new Set(["Windows","macOS", -"Linux","Chrome OS"])).has(L.V.Jd)||"nwjs"===L.V.tm;L.V.WE=n;L.V.hq=!n}"Chrome"===L.V.Ne&&"browser"===L.V.tm&&/wv\)/.test(Da)&&(L.V.tm="webview");"nwjs"!==L.V.tm&&"undefined"!==typeof window&&(window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches||navigator.standalone)&&(L.V.tm="webapp");L.V.zz=parseFloat(L.V.mh);"macOS"===L.V.Jd&&navigator.maxTouchPoints&&2a[b][0])b=d;if(0{}};const Ba=new Map([[5,"2000"],[5.1,"XP"],[5.2,"XP"],[6,"Vista"],[6.1,"7"],[6.2,"8"],[6.3,"8.1"],[10,"10"]]);function Ca(a){const b=parseFloat(a),d=Ba.get(b);return d?d:13<=b?"11":"NT "+a}const Da=navigator.userAgent,Ea=navigator.userAgentData; +if(Ea&&0{if(!c)try{const e=await navigator.userAgentData.getHighEntropyValues(["platformVersion","fullVersionList"]);d(e.fullVersionList);L.V.As="Windows"===L.V.Ld?Ca(e.platformVersion):e.platformVersion;c=!0}catch(e){console.warn("Failed to get detailed user agent information: ",e)}}}else{function a(p,r){p=Array.isArray(p)?p:[p];for(const w of p)if(p=w.exec(Da)){r(p);break}}a(/windows\s+nt\s+([\d\.]+)/i, +p=>{L.V.Ld="Windows";L.V.As=Ca(p[1])});a(/mac\s+os\s+x\s+([\d\._]+)/i,p=>{L.V.Ld="macOS";L.V.As=p[1].replace(/_/g,".")});a(/CrOS/,()=>{L.V.Ld="Chrome OS"});a(/linux|openbsd|freebsd|netbsd/i,()=>{L.V.Ld="Linux"});a(/android/i,()=>{L.V.Ld="Android"});a(/android\s+([\d\.]+)/i,p=>{L.V.Ld="Android";L.V.As=p[1]});"(unknown)"===L.V.Ld&&(a(/(iphone|ipod|ipad)/i,()=>{L.V.Ld="iOS"}),a([/iphone\s+os\s+([\d\._]+)/i,/ipad[^)]*os\s+([\d\._]+)/i],p=>{L.V.Ld="iOS";L.V.As=p[1].replace(/_/g,".")}));const b=/chrome\//i.test(Da), +d=/chromium\//i.test(Da),c=/edg\//i.test(Da),e=/OPR\//.test(Da),g=/nwjs/i.test(Da),k=/safari\//i.test(Da),l=/webkit/i.test(Da);c||e||a(/chrome\/([\d\.]+)/i,p=>{L.V.Oe="Chrome";L.V.ph=p[1];L.V.oh="Chromium"});a(/edg\/([\d\.]+)/i,p=>{L.V.Oe="Edge";L.V.ph=p[1];L.V.oh="Chromium"});a(/OPR\/([\d\.]+)/,p=>{L.V.Oe="Opera";L.V.ph=p[1];L.V.oh="Chromium"});a(/chromium\/([\d\.]+)/i,p=>{L.V.Oe="Chromium";L.V.ph=p[1];L.V.oh="Chromium"});a(/nwjs\/[0-9.]+/i,p=>{L.V.Oe="NW.js";L.V.ph=p[1];L.V.oh="Chromium";L.V.um= +"nwjs"});a(/firefox\/([\d\.]+)/i,p=>{L.V.Oe="Firefox";L.V.ph=p[1];L.V.oh="Gecko"});!k||b||d||c||e||g||(L.V.Oe="Safari",L.V.oh="WebKit",a(/version\/([\d\.]+)/i,p=>{L.V.ph=p[1]}),a(/crios\/([\d\.]+)/i,p=>{L.V.Oe="Chrome for iOS";L.V.ph=p[1]}),a(/fxios\/([\d\.]+)/i,p=>{L.V.Oe="Firefox for iOS";L.V.ph=p[1]}),a(/edgios\/([\d\.]+)/i,p=>{L.V.Oe="Edge for iOS";L.V.ph=p[1]}));"(unknown)"===L.V.oh&&l&&(L.V.oh="WebKit");"Android"===L.V.Ld&&"Safari"===L.V.Oe&&(L.V.Oe="Stock");const n=(new Set(["Windows","macOS", +"Linux","Chrome OS"])).has(L.V.Ld)||"nwjs"===L.V.um;L.V.dF=n;L.V.kq=!n}"Chrome"===L.V.Oe&&"browser"===L.V.um&&/wv\)/.test(Da)&&(L.V.um="webview");"nwjs"!==L.V.um&&"undefined"!==typeof window&&(window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches||navigator.standalone)&&(L.V.um="webapp");L.V.Gz=parseFloat(L.V.ph);"macOS"===L.V.Ld&&navigator.maxTouchPoints&&2{a.onsuccess=()=>b(a.result);a.onerror=()=>d(a.error)})}function Ka(a){return new Promise((b,d)=>{a.oncomplete=()=>b();a.onerror=()=>d(a.error);a.onabort=()=>d(a.error)})}function La(a,b){return Ma(a,b)}function Na(a,b){return Ma(a,b,!0)} async function Ma(a,b,d=!1,c=!0){const e=await Pa(a);try{const g=e.transaction(["keyvaluepairs"],d?"readwrite":"readonly");return b(g)}catch(g){if(c&&"InvalidStateError"===g.name)return Fa.delete(a),Ma(a,b,d,!1);throw g;}}function Pa(a){Qa(a);let b=Fa.get(a);b instanceof Promise||(b=Ra(a),Fa.set(a,b),b.catch(()=>Fa.delete(a)));return b} async function Ra(a){Qa(a);const b=indexedDB.open(a,2);b.addEventListener("upgradeneeded",d=>{try{d.target.result.createObjectStore("keyvaluepairs")}catch(c){console.error(`Failed to create objectstore for database ${a}`,c)}});return Ja(b)}function Qa(a){if("string"!==typeof a)throw new TypeError("expected string");} function Sa(a,b){const d=a.objectStore("keyvaluepairs").openCursor();return new Promise(c=>{const e=[];d.onsuccess=g=>{if(g=g.target.result){switch(b){case "entries":e.push([g.key,g.value]);break;case "keys":e.push(g.key);break;case "values":e.push(g.value)}g.continue()}else c(e)}})} class Ta{constructor(a){Qa(a);this.name=a}async ready(){await Pa(this.name)}set(a,b){Qa(a);return Na(this.name,async d=>{var c=d.objectStore("keyvaluepairs").put(b,a);c=Ja(c);d=Ka(d);await Promise.all([d,c])})}get(a){Qa(a);return La(this.name,async b=>{var d=b.objectStore("keyvaluepairs").get(a);d=Ja(d);b=Ka(b);[,b]=await Promise.all([b,d]);return b})}delete(a){Qa(a);return Na(this.name,async b=>{var d=b.objectStore("keyvaluepairs").delete(a);d=Ja(d);b=Ka(b);await Promise.all([b,d])})}clear(){return Na(this.name, async a=>{var b=a.objectStore("keyvaluepairs").clear();b=Ja(b);a=Ka(a);await Promise.all([a,b])})}keys(){return La(this.name,async a=>{if(Ha){var b=a.objectStore("keyvaluepairs").getAllKeys();b=Ja(b)}else b=Sa(a,"keys");a=Ka(a);[,a]=await Promise.all([a,b]);return a})}values(){return La(this.name,async a=>{if(Ga){var b=a.objectStore("keyvaluepairs").getAll();b=Ja(b)}else b=Sa(a,"values");a=Ka(a);[,a]=await Promise.all([a,b]);return a})}entries(){return La(this.name,async a=>{var b=Sa(a,"entries"); -a=Ka(a);[,b]=await Promise.all([a,b]);return b})}}self.PU=Ta;"use strict";const Ua=self.PU,Va=[/no available storage method found/i,/an attempt was made to break through the security policy of the user agent/i,/the user denied permission to access the database/i,/a mutation operation was attempted on a database that did not allow mutations/i,/idbfactory\.open\(\) called in an invalid security context/i],Ya=new WeakMap;let Za=!1;"undefined"===typeof indexedDB&&(Za=!0,console.warn("Unable to use local storage because indexedDB is not defined")); +a=Ka(a);[,b]=await Promise.all([a,b]);return b})}}self.aV=Ta;"use strict";const Ua=self.aV,Va=[/no available storage method found/i,/an attempt was made to break through the security policy of the user agent/i,/the user denied permission to access the database/i,/a mutation operation was attempted on a database that did not allow mutations/i,/idbfactory\.open\(\) called in an invalid security context/i],Ya=new WeakMap;let Za=!1;"undefined"===typeof indexedDB&&(Za=!0,console.warn("Unable to use local storage because indexedDB is not defined")); function $a(a){throw Error(`"${a}" is not implemented`);}function ab(a){if("function"===typeof a)throw Error("localforage callback API is not implemented; please use the promise API instead");}function bb(a){return"object"===typeof a?new Promise(b=>{const {port1:d,port2:c}=new MessageChannel;c.onmessage=e=>b(e.data);d.postMessage(a)}):Promise.resolve(a)} function cb(a){if(!Za)for(const b of Va)if(a&&b.test(a.message)){console.error("Unable to use local storage, reverting to in-memory store: ",a,a.message);Za=!0;break}}async function db(a,b){a=Ya.get(a).get(b);a=await bb(a);return"undefined"===typeof a?null:a}async function eb(a,b,d){d=await bb(d);Ya.get(a).set(b,d)} class kb{constructor(a){this.T=a;Ya.set(this,new Map)}async getItem(a,b){ab(b);if(Za)return await db(this,a);let d;try{d=await this.T.get(a)}catch(c){cb(c);if(Za)return await db(this,a);console.error(`Error reading '${a}' from storage, returning null: `,c);return null}return"undefined"===typeof d?null:d}async setItem(a,b,d){ab(d);"undefined"===typeof b&&(b=null);if(Za)await eb(this,a,b);else try{await this.T.set(a,b)}catch(c){if(cb(c),Za)await eb(this,a,b);else throw c;}}async removeItem(a,b){ab(b); if(Za)Ya.get(this).delete(a);else try{await this.T.delete(a)}catch(d){cb(d),Za?Ya.get(this).delete(a):console.error(`Error removing '${a}' from storage: `,d)}}async clear(a){ab(a);if(Za)Ya.get(this).clear();else try{await this.T.clear()}catch(b){cb(b),Za?Ya.get(this).clear():console.error("Error clearing storage: ",b)}}async keys(a){ab(a);if(Za)return Array.from(Ya.get(this).keys());a=[];try{a=await this.T.keys()}catch(b){cb(b);if(Za)return Array.from(Ya.get(this).keys());console.error("Error getting storage keys: ", -b)}return a}ready(a){ab(a);return Za?Promise.resolve(!0):this.T.ready()}tK(a){if("object"!==typeof a)throw new TypeError("invalid options object");a=a.name;if("string"!==typeof a)throw new TypeError("invalid store name");a=new Ua(a);return new kb(a)}length(){$a("localforage.length()")}key(){$a("localforage.key()")}iterate(){$a("localforage.iterate()")}supports(){$a("localforage.supports()")}dropInstance(){$a("localforage.dropInstance()")}}self.localforage=new kb(new Ua("localforage"));"use strict"; -const lb=self.B;lb.qb={};lb.qb.Zaa=(()=>{try{if("undefined"===typeof document)return!1;const a=document.createElement("div");return"undefined"===typeof a.animate?!1:"undefined"!==typeof a.animate([{opacity:"0"},{opacity:"1"}],1E3).reverse}catch(a){return!1}})();lb.qb.m3="undefined"!==typeof HTMLDialogElement;lb.qb.A7=!!self.requestIdleCallback;lb.qb.ImageBitmap=!!self.createImageBitmap;lb.qb.ImageBitmapOptions=!1;lb.qb.eA=!1; -if(lb.qb.ImageBitmap){try{self.createImageBitmap(new ImageData(32,32),{premultiplyAlpha:"none"}).then(()=>{lb.qb.ImageBitmapOptions=!0}).catch(()=>{lb.qb.ImageBitmapOptions=!1})}catch(a){lb.qb.ImageBitmapOptions=!1}try{self.createImageBitmap(new ImageData(32,32),{resizeWidth:10,resizeHeight:10}).then(a=>{lb.qb.eA=10===a.width&&10===a.height}).catch(()=>{lb.qb.eA=!1})}catch(a){lb.qb.eA=!1}}lb.qb.m2=!(!navigator.clipboard||!navigator.clipboard.readText||"Firefox"===lb.V.Ne); -lb.qb.SV=!(!navigator.permissions||!navigator.permissions.query);lb.qb.CL=!1;lb.qb.SV&&navigator.permissions.query({name:"clipboard-read"}).then(()=>{lb.qb.CL=!0}).catch(()=>{lb.qb.CL=!1});lb.qb.E1=!!(navigator.permissions&&navigator.clipboard&&self.ClipboardItem);lb.qb.RM="undefined"!==typeof Proxy;lb.qb.n3="undefined"===typeof document?!1:"undefined"!==typeof document.createElement("a").download;lb.qb.E3="function"===typeof fetch; -lb.qb.K6=!!(self.isSecureContext&&"Opera"!==lb.V.Ne&&navigator.storage&&navigator.storage.persist);lb.qb.W$=!!(self.isSecureContext&&navigator.storage&&navigator.storage.estimate);var mb;if("undefined"===typeof document||"iOS"===lb.V.Jd)mb=!1;else{var nb=document.documentElement;mb=!!(nb.requestFullscreen||nb.msRequestFullscreen||nb.mozRequestFullScreen||nb.webkitRequestFullscreen)}lb.qb.P3=mb;lb.qb.g4="undefined"!==typeof self.ImageDecoder;lb.qb.$aa=!!self.VideoEncoder;lb.qb.X5=!!self.showOpenFilePicker; -lb.qb.q7=!!self.queryLocalFonts;lb.qb.UserActivation=!!navigator.userActivation;lb.qb.BL=!1;(async()=>{let a;"undefined"===typeof document?a=new OffscreenCanvas(32,32):(a=document.createElement("canvas"),a.width=32,a.height=32);var b=a.getContext("2d");b.fillStyle="blue";b.fillRect(0,0,32,32);b=null;try{a.convertToBlob?b=await a.convertToBlob({type:"image/webp",quality:1}):a.toBlob&&(b=await new Promise(d=>a.toBlob(d,"image/webp",1))),lb.qb.BL=b&&"image/webp"===b.type}catch(d){lb.qb.BL=!1}})();"use strict"; +b)}return a}ready(a){ab(a);return Za?Promise.resolve(!0):this.T.ready()}DK(a){if("object"!==typeof a)throw new TypeError("invalid options object");a=a.name;if("string"!==typeof a)throw new TypeError("invalid store name");a=new Ua(a);return new kb(a)}length(){$a("localforage.length()")}key(){$a("localforage.key()")}iterate(){$a("localforage.iterate()")}supports(){$a("localforage.supports()")}dropInstance(){$a("localforage.dropInstance()")}}self.localforage=new kb(new Ua("localforage"));"use strict"; +const lb=self.B;lb.qb={};lb.qb.pba=(()=>{try{if("undefined"===typeof document)return!1;const a=document.createElement("div");return"undefined"===typeof a.animate?!1:"undefined"!==typeof a.animate([{opacity:"0"},{opacity:"1"}],1E3).reverse}catch(a){return!1}})();lb.qb.E3="undefined"!==typeof HTMLDialogElement;lb.qb.R7=!!self.requestIdleCallback;lb.qb.ImageBitmap=!!self.createImageBitmap;lb.qb.ImageBitmapOptions=!1;lb.qb.kA=!1; +if(lb.qb.ImageBitmap){try{self.createImageBitmap(new ImageData(32,32),{premultiplyAlpha:"none"}).then(()=>{lb.qb.ImageBitmapOptions=!0}).catch(()=>{lb.qb.ImageBitmapOptions=!1})}catch(a){lb.qb.ImageBitmapOptions=!1}try{self.createImageBitmap(new ImageData(32,32),{resizeWidth:10,resizeHeight:10}).then(a=>{lb.qb.kA=10===a.width&&10===a.height}).catch(()=>{lb.qb.kA=!1})}catch(a){lb.qb.kA=!1}}lb.qb.H2=!(!navigator.clipboard||!navigator.clipboard.readText||"Firefox"===lb.V.Oe); +lb.qb.dW=!(!navigator.permissions||!navigator.permissions.query);lb.qb.ML=!1;lb.qb.dW&&navigator.permissions.query({name:"clipboard-read"}).then(()=>{lb.qb.ML=!0}).catch(()=>{lb.qb.ML=!1});lb.qb.V1=!!(navigator.permissions&&navigator.clipboard&&self.ClipboardItem);lb.qb.cN="undefined"!==typeof Proxy;lb.qb.F3="undefined"===typeof document?!1:"undefined"!==typeof document.createElement("a").download;lb.qb.V3="function"===typeof fetch; +lb.qb.b7=!!(self.isSecureContext&&"Opera"!==lb.V.Oe&&navigator.storage&&navigator.storage.persist);lb.qb.maa=!!(self.isSecureContext&&navigator.storage&&navigator.storage.estimate);var mb;if("undefined"===typeof document||"iOS"===lb.V.Ld)mb=!1;else{var nb=document.documentElement;mb=!!(nb.requestFullscreen||nb.msRequestFullscreen||nb.mozRequestFullScreen||nb.webkitRequestFullscreen)}lb.qb.g4=mb;lb.qb.y4="undefined"!==typeof self.ImageDecoder;lb.qb.qba=!!self.VideoEncoder;lb.qb.o6=!!self.showOpenFilePicker; +lb.qb.H7=!!self.queryLocalFonts;lb.qb.UserActivation=!!navigator.userActivation;lb.qb.LL=!1;(async()=>{let a;"undefined"===typeof document?a=new OffscreenCanvas(32,32):(a=document.createElement("canvas"),a.width=32,a.height=32);var b=a.getContext("2d");b.fillStyle="blue";b.fillRect(0,0,32,32);b=null;try{a.convertToBlob?b=await a.convertToBlob({type:"image/webp",quality:1}):a.toBlob&&(b=await new Promise(d=>a.toBlob(d,"image/webp",1))),lb.qb.LL=b&&"image/webp"===b.type}catch(d){lb.qb.LL=!1}})();"use strict"; const ob=self.B;if(!String.prototype.trimStart){const a=/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*/;String.prototype.trimStart=function(){return this.replace(a,"")}} -if(!String.prototype.trimEnd){const a=/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*$/;String.prototype.trimEnd=function(){return this.replace(a,"")}}String.prototype.replaceAll||(String.prototype.replaceAll=function(a,b){return this.replace(new RegExp(ob.Xu(a),"g"),b)});Array.prototype.values||(Array.prototype.values=function*(){for(const a of this)yield a}); +if(!String.prototype.trimEnd){const a=/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*$/;String.prototype.trimEnd=function(){return this.replace(a,"")}}String.prototype.replaceAll||(String.prototype.replaceAll=function(a,b){return this.replace(new RegExp(ob.cv(a),"g"),b)});Array.prototype.values||(Array.prototype.values=function*(){for(const a of this)yield a}); if(!Array.prototype.flat){function a(b,d){return b.reduce((c,e)=>{0a&&(a+=this.length);if(!(0>a||a>=this.length))return this[a]});String.prototype.at||(String.prototype.at=function(a){a=Math.trunc(a)||0;0>a&&(a+=this.length);if(!(0>a||a>=this.length))return this[a]}); RegExp.escape||(RegExp.escape=function(a){return String(a).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")});navigator.storage&&!navigator.storage.estimate&&navigator.webkitTemporaryStorage&&navigator.webkitTemporaryStorage.queryUsageAndQuota&&(navigator.storage.estimate=function(){return new Promise((a,b)=>navigator.webkitTemporaryStorage.queryUsageAndQuota((d,c)=>a({usage:d,quota:c}),b))});"undefined"===typeof self.isSecureContext&&(self.isSecureContext="https:"===location.protocol); -"undefined"===typeof self.globalThis&&(self.globalThis=self);"use strict";const pb=self.B;self.assert=function(a,b){a||console.error("Assertion failure: "+b+"\n\nStack trace:\n"+pb.Mz())};"use strict";const P=self.B,qb=self.Tf;P.jo=function(a){return"number"===typeof a};P.Dc=function(a){return P.jo(a)&&isFinite(a)};P.Bh=function(a){if(!P.jo(a))throw new TypeError("expected number");};P.ZM=function(){}; -P.W7=function(a,b,d){if(!P.jo(a)||isNaN(a)||b>a||d{console.log(`%c${a}`,"font-weight: bold",...b);tb.set(a,-1)}))};let ub;sb.P$=function(a){performance.mark(a);ub||(ub=new Map);ub.has(a)||ub.set(a,{current:0,total:0,ZQ:0,nK:1,toString:function(){return`${a} :: current => ${this.current.toPrecision(3)} :: average => ${this.ZQ.toPrecision(3)} :: calls => ${this.nK}`}})}; -sb.s3=function(a){performance.measure(`measure-${a}`,a);const b=performance.getEntriesByName(`measure-${a}`)[0],d=ub.get(a);d.current=b.duration;d.total+=d.current;d.ZQ=d.total/d.nK;console.log(d.toString());d.nK++;performance.clearMarks(a);performance.clearMeasures(`measure-${a}`)};sb.Mz=function(){return Error().stack};sb.i3=function(){debugger};sb.Fba=function(a,b){return a&&a instanceof b?a:null}; -sb.qm=function(a){return"undefined"===typeof a?"undefined":null===a?"null":"boolean"===typeof a?"":sb.jo(a)?"":sb.oi(a)?"":sb.ik(a)?"":"symbol"===typeof a?"<"+a.toString()+">":sb.YE(a)?a.name&&"Function"!==a.name?a.name:"":"object"===typeof a?a.constructor&&a.constructor.name&&"Object"!==a.constructor.name?a.constructor.name:"":""};sb.getType=function(a){return null===a?"null":Array.isArray(a)?"array":typeof a}; -sb.range=function*(a,b){if(!isFinite(Math.abs(a-b)))throw Error("Invalid parameters");if(a>b)for(--a;a>=b;a--)yield a;else for(;asb.qm(b))))].join();console.warn(`An object derived from DefendedBase was not protected with debugDefend(). This will disable some checks. See the coding guidelines! Possible affected class names: ${a}`);vb.clear();wb.clear()}} -sb.ua=class{constructor(){if(sb.EK&&sb.qb.RM){var a=new.target;a=Object.create(a.prototype);var b=new Proxy(a,sb.ds);vb.set(a,b);wb.set(b,a);xb.set(b,a);-1===Bb&&(Bb=requestAnimationFrame(Cb));return b}}};sb.i_=function(a){if(sb.EK&&sb.qb.RM&&a instanceof sb.ua){if(!wb.has(a))return a;let b=wb.get(a);wb.delete(a);vb.delete(b);return a}return sb.dz?Object.seal(a):a}; -sb.A=function(a,...b){let d;try{d=new a(...b)}catch(g){throw wb.clear(),vb.clear(),g;}if(sb.EK){b=d;var c=new Set;for(e in b)c.add(e);var e=c;if(b=Db.get(a)){c=[];for(let g of b.values())e.has(g)?e.delete(g):c.push(g);sb.nm(c,[...e]);c.length&&console.warn(`[Defence] '${sb.qm(a)}' constructor creates inconsistent properties: ${c.join(", ")}`)}else Db.set(a,e)}return sb.i_(d)};sb.j=function(a){(a=xb.get(a))&&yb.set(a,sb.Mz())};sb.vo=function(){let a=xb.get(void 0);return a?!!yb.get(a):!1};let Db=new Map; -sb.H6=class{constructor(a){this.Ia="";a&&this.start(a)}start(a){sb.GK&&(this.Ia=a,performance.mark(this.Ia+"-Start"))}end(){sb.GK&&(performance.mark(this.Ia+"-End"),performance.measure(this.Ia,this.Ia+"-Start",this.Ia+"-End"))}next(a){sb.GK&&(this.end(),this.Ia=a,performance.mark(this.Ia+"-Start"))}};"use strict";const R=self.B,Fb=2*Math.PI,Gb=Math.PI/180,Hb=180/Math.PI; -R.wrap=function(a,b,d){a=Math.floor(a);b=Math.floor(b);d=Math.floor(d);const c=d-b;return 0===c?d:ad?d:a};R.Bd=function(a){a%=Fb;0>a&&(a+=Fb);return a};R.Oa=function(a){return a*Gb};R.kf=function(a){return a*Hb};R.Qn=function(a,b,d,c){return Math.hypot(d-a,c-b)};R.iR=function(a,b,d,c){a=d-a;b=c-b;return a*a+b*b}; -R.zD=function(a,b,d,c){return Math.atan2(c-b,d-a)};R.Mr=function(a,b){if(a===b)return 0;a=Math.sin(a)*Math.sin(b)+Math.cos(a)*Math.cos(b);return 1<=a?0:-1>=a?Math.PI:Math.acos(a)};R.lK=function(a,b,d){let c=Math.sin(a),e=Math.cos(a),g=Math.sin(b),k=Math.cos(b);return Math.acos(c*g+e*k)>d?0=Math.cos(a)*Math.sin(b)-Math.sin(a)*Math.cos(b)};R.kK=function(a,b,d,c=0){let e=R.Mr(a,b);c*=Fb;return R.rg(b,a)?R.Bd(a+(e+c)*d):R.Bd(a-(e+c)*d)}; -R.TZ=function(a,b,d,c=0){const e=R.Mr(a,b);c*=Fb;return R.rg(b,a)?R.Bd(a+(e+c)*d):R.Bd(a+(Fb-e+c)*d)};R.SZ=function(a,b,d,c=0){const e=R.Mr(a,b);c*=Fb;return R.rg(b,a)?R.Bd(a-(-Fb+e-c)*d):R.Bd(a-(e+c)*d)};R.WQ=function(a,b){const d=R.Mr(a,b);return R.rg(a,b)?R.Bd(b-d):R.Bd(b+d)};R.Nc=function(a,b,d){return a+d*(b-a)};R.jE=function(a,b,d){return a===b?0:(d-a)/(b-a)};R.PR=function(a,b,d,c){return R.Nc(0,c,R.jE(a,b,d))};R.YD=function(a,b,d,c){return R.Nc(R.Nc(a,b,c),R.Nc(b,d,c),c)}; -R.gR=function(a,b,d,c,e){return R.Nc(R.YD(a,b,d,e),R.YD(b,d,c,e),e)};R.dR=function(a,b,d){return(a+b+(a-b)*Math.cos(d*Math.PI))/2};R.Xj=function(a){return 0b;b<<=1)a|=a>>b;return a+1};R.aea=function(a,b){return Math.round(a*b)/b};R.fca=function(a,b){return Math.floor(a*b)/b};R.SR=function(a){var b=Math.max(Math.floor(6),0);b=Math.pow(10,b);return Math.round(a*b)/b}; -R.Lba=function(a){return Math.floor(a)!==a?a.toString().split(".")[1].length||0:0};R.toFixed=function(a,b){a=a.toFixed(b);for(b=a.length-1;0<=b&&"0"===a.charAt(b);--b);0<=b&&"."===a.charAt(b)&&--b;return 0>b?a:a.substr(0,b+1)};R.RV=function(a,b,d){return R.X(a,0,255)|R.X(b,0,255)<<8|R.X(d,0,255)<<16}; -R.qA=function(a,b,d,c){a=R.X(Math.floor(1024*a),-8192,8191);b=R.X(Math.floor(1024*b),-8192,8191);d=R.X(Math.floor(1024*d),-8192,8191);c=R.X(Math.floor(1023*c),0,1023);0>a&&(a+=16384);0>b&&(b+=16384);0>d&&(d+=16384);return-(274877906944*a+16777216*b+1024*d+c)};R.MM=function(a,b,d){return R.qA(a,b,d,1)};R.$z=function(a){if(0<=a)return(a&255)/255;a=Math.floor(-a/274877906944);8191>8)/255;a=Math.floor(-a%274877906944/16777216);8191>16)/255;a=Math.floor(-a%16777216/1024);81911/a?0:0<=a?1:Math.floor(-a%1024)/1023};R.B_=function(a,b){a=Math.floor(a);for(b=Math.floor(b);0!==b;){let d=b;b=a%b;a=d}return a};const Ib=[[3,2],[4,3],[5,4],[5,3],[6,5],[14,9],[16,9],[16,10],[21,9]]; -R.tca=function(a,b){a=Math.floor(a);b=Math.floor(b);if(a===b)return[1,1];for(var d of Ib){let c=a/d[0]*d[1];if(1>Math.abs(b-c))return d.slice(0);c=a/d[1]*d[0];if(1>Math.abs(b-c))return[d[1],d[0]]}d=R.B_(a,b);return[a/d,b/d]}; -R.hea=function(a,b,d,c,e,g,k,l){var n=Math.min(a,d),p=Math.max(e,k);if(Math.max(a,d)p)return!1;n=Math.min(b,c);p=Math.max(g,l);if(Math.max(b,c)p)return!1;n=e-a+k-d;p=g-b+l-c;a=d-a;b=c-b;e=k-e;g=l-g;l=Math.abs(b*e-g*a);return Math.abs(e*p-g*n)>l?!1:Math.abs(a*p-b*n)<=l}; -R.Tn=function(a,b,d,c,e,g,k,l,n,p,r,x){const v=Math.max(n,r);if(gv)return!1;e=Math.max(p,x);if(le)return!1;k=n-a+r-d;l=p-b+x-c;a=d-a;b=c-b;n=r-n;p=x-p;x=Math.abs(b*n-p*a);return Math.abs(n*l-p*k)>x?!1:Math.abs(a*l-b*k)<=x}; -R.$D=function(a,b,d,c,e){const g=Math.min(a,d),k=Math.max(a,d),l=Math.min(b,c),n=Math.max(b,c),p=e.yb,r=e.wb,x=e.cc,v=e.mc,y=e.wc,C=e.xc,E=e.uc;e=e.vc;return R.Tn(a,b,d,c,g,k,l,n,p,r,x,v)||R.Tn(a,b,d,c,g,k,l,n,x,v,y,C)||R.Tn(a,b,d,c,g,k,l,n,y,C,E,e)||R.Tn(a,b,d,c,g,k,l,n,E,e,p,r)}; -R.gea=function(a,b,d,c,e){const g=Math.min(a,d),k=Math.max(a,d),l=Math.min(b,c),n=Math.max(b,c);let p=0;for(let r=e.length-4;p<=r;p+=2)if(R.Tn(a,b,d,c,g,k,l,n,e[p],e[p+1],e[p+2],e[p+3]))return!0;return R.Tn(a,b,d,c,g,k,l,n,e[p],e[p+1],e[0],e[1])};R.g0=function(a,b,d,c,e,g,k,l){d-=a;g=l-g;const n=d*g-(c-b)*(k-e);if(0===n)return 2;c=((b-c)*(k-a)+d*(l-b))/n;return 0c?(g*(k-a)+(e-k)*(l-b))/n:2};R.nz=function(a,b,d,c,e,g,k,l,n){const p=(k-e)*n;n*=l-g;return R.g0(a,b,d,c,e-p,g-n,k+p,l+n)}; -R.L_=function(a,b,d,c,e,g,k,l){e-=d;g-=c;k-=d;l-=c;a-=d;d=b-c;b=e*e+g*g;c=e*k+g*l;e=e*a+g*d;g=k*k+l*l;k=k*a+l*d;l=1/(b*g-c*c);g=(g*e-c*k)*l;e=(b*k-c*e)*l;return 0<=g&&0<=e&&1>=g+e};R.v0=function(a,b,d,c,e,g,k,l){e-=d;g-=c;k-=d;l-=c;a-=d;const n=b-c;b=e*e+g*g;c=e*k+g*l;d=k*k+l*l;e=a*e+n*g;g=a*k+n*l;k=b*d-c*c;l=(d*e-c*g)/k;e=(b*g-c*e)/k;return[1-l-e,l,e]};R.u0=function(a,b,d,c,e,g,k,l,n,p,r,x){return[a*c+b*k+d*p,a*e+b*l+d*r,a*g+b*n+d*x]};"use strict";const S=self.B;let Jb=null,Kb=""; -if("undefined"!==typeof document){Jb=document;const a=document.querySelector("base");if(Kb=a&&a.hasAttribute("href")?a.getAttribute("href"):"")Kb.startsWith("/")&&(Kb=Kb.substr(1)),Kb.endsWith("/")||(Kb+="/")}S.S3=function(){return Kb};S.T3=function(){if(!Jb)return"";const a=Jb.location;return S.OT(a.origin+a.pathname)+Kb};S.OT=function(a){if(!a.length||a.endsWith("/")||a.endsWith("\\"))return a;const b=Math.max(a.lastIndexOf("/"),a.lastIndexOf("\\"));return-1===b?"":a.substr(0,b+1)}; -S.X3=function(a){if(!a.length)return a;if(a.endsWith("/")||a.endsWith("\\"))return"";const b=Math.max(a.lastIndexOf("/"),a.lastIndexOf("\\"));return-1===b?a:a.substr(b+1)};S.KT=function(a){let b=a.lastIndexOf(".");return 1>b?"":a.substr(b)};S.l9=function(a,b){const d=a.lastIndexOf(".");return-1===d?a+"."+b:a.substr(0,d+1)+b};S.Tz=function(a){let b=a.lastIndexOf(".");return 1>b?a:a.substr(0,b)};S.cV=function(a){return a.replace(/\\/g,"/")};S.F4=function(a,b){return b===(a?S.KT(a).slice(1):"")}; -S.F3=function(a,b){let d,c;S.XE(a)&&(d=S.Tz(a.name));S.oi(a)&&(d=S.Tz(a));S.XE(b)&&(c=S.Tz(b.name));S.oi(b)&&(c=S.Tz(b));return d===c}; -S.E6=function(a){a=S.cV(a);let b=/^\w:\//.exec(a);b?(b=b[0],a=a.slice(3),"/"!==a[0]&&(a="/"+a)):b="";a=a.replace(/\/{2,}/g,"/");1{self.setTimeout(d,a,b)})}; -S.qea=function(a){try{a()}catch(b){S.dz&&console.warn("Swallowed exception: ",b)}};S.pda=function(){};S.ve=function(a,b){return"string"!==typeof a||"string"!==typeof b?!1:a===b||a.normalize().toLowerCase()===b.normalize().toLowerCase()};S.bca=function(a,b){return"string"!==typeof a||"string"!==typeof b?!1:a===b?!0:a.normalize()===b.normalize()}; -S.w0=function(a,b){var d=0;a[d++]=b[0];a[d++]=b[1];a[d++]=b[2];a[d++]=b[3];a[d++]=b[4];a[d++]=b[5];a[d++]=b[6];a[d++]=b[7];a[d++]=b[8];a[d++]=b[9];a[d++]=b[10];a[d++]=b[11];a[d++]=b[12];a[d++]=b[13];a[d++]=b[14];a[d]=b[15]};S.Sf=function(a,b){a.length=b};S.D=function(a){a&&0!==a.length&&S.Sf(a,0)};S.a_=function(a){if(a){for(let b=0;bd&&S.ND(a,b,"0")};S.Dd=function(a,b){S.D(a);S.nm(a,b)};S.nm=function(a,b){if(1E4>b.length)a.push(...b);else for(let d=0,c=b.length;db||b>=a.length)){for(var d=a.length-1;bd;case 5:return a>=d;default:return!1}};S.Bca=function(a){for(let b in a)if(a.hasOwnProperty(b))return!0;return!1};S.fW=function(a,b){return a.length?new Promise((d,c)=>{const e=[];let g=0,k=!1;for(let l=0,n=a.length;l{k||(e[l]=p,++g,g===a.length?d(e):b(g,a.length))}).catch(p=>{k=!0;c(p)})}):Promise.resolve([])};let Lb=[];S.Z0=function(a){Lb.push(a)}; -S.V3=function(){let a=0;for(let b of Lb){let d=b();a+=d}return Math.floor(a)};let Mb=1;const Nb=new Map,Ob=new MessageChannel;Ob.port2.onmessage=function(a){a=a.data;const b=Nb.get(a);Nb.delete(a);b&&b(performance.now())};S.oF=function(a){const b=Mb++;Nb.set(b,a);Ob.port1.postMessage(b);return b};S.PS=function(a){Nb.delete(a)};S.cW=S.oF;S.sX=function(){return new Promise(a=>S.cW(a))};const Pb=new Set; -S.C7=function(a){const b=self.requestAnimationFrame(async d=>{await S.sX();Pb.has(b)&&(Pb.delete(b),a(d))});Pb.add(b);return b};S.c2=function(a){Pb.has(a)&&(self.cancelAnimationFrame(a),Pb.delete(a))};"use strict";const Qb=self.B;Qb.iA=function(a){return/^(?:[a-z\-]+:)?\/\//.test(a)||"data:"===a.substr(0,5)||"blob:"===a.substr(0,5)};Qb.us=function(a){return!Qb.iA(a)};Qb.aX=function(a){if(!a.ok)throw Error(`fetch '${a.url}' response returned ${a.status} ${a.statusText}`);}; -Qb.Jz=function(a){return fetch(a,void 0).then(b=>{Qb.aX(b);return b})};Qb.$u=function(a){return Qb.Jz(a).then(b=>b.text())};Qb.NL=function(a){return Qb.Jz(a).then(b=>b.json())};Qb.wm=function(a){return Qb.Jz(a).then(b=>b.blob())};Qb.Zu=function(a){return Qb.Jz(a).then(b=>b.arrayBuffer())};Qb.pT=function(a){return new Promise((b,d)=>{const c=new Image;c.onload=()=>b(c);c.onerror=e=>d(e);c.src=a})}; -Qb.IS=function(a){return"function"===typeof a.arrayBuffer?a.arrayBuffer():new Promise((b,d)=>{const c=new FileReader;c.onload=()=>b(c.result);c.onerror=()=>d(c.error);c.readAsArrayBuffer(a)})};Qb.zL=function(a){return"function"===typeof a.text?a.text():new Promise((b,d)=>{const c=new FileReader;c.onload=()=>b(c.result);c.onerror=()=>d(c.error);c.readAsText(a)})};Qb.O1=function(a){return Qb.zL(a).then(b=>JSON.parse(b))}; -Qb.yL=async function(a){a=URL.createObjectURL(a);try{const b=await Qb.pT(a);URL.revokeObjectURL(a);a="";return b}finally{a&&URL.revokeObjectURL(a)}};Qb.ii=function(a,b){if("undefined"!==typeof document&&"function"===typeof document.createElement){const d=document.createElement("canvas");d.width=a;d.height=b;return d}return new OffscreenCanvas(a,b)}; -Qb.Az=function(a,b,d){"number"!==typeof d&&(d=1);b=b||"image/png";d=Qb.X(d,0,1);if(a.convertToBlob)return a.convertToBlob({type:b,quality:d});if(a.toBlob)return new Promise(c=>a.toBlob(c,b,d));throw Error("could not convert canvas to blob");};Qb.GL=function(a,b,d){const c=Qb.ii(a.width,a.height);c.getContext("2d").drawImage(a,0,0);return Qb.Az(c,b,d)}; -Qb.f4=function(a,b,d){if(Qb.qb.ImageBitmapOptions)return createImageBitmap(a,{premultiplyAlpha:"none"}).then(e=>Qb.GL(e,b,d));if(Qb.qb.ImageBitmap)return createImageBitmap(a).then(e=>Qb.GL(e,b,d));const c=Qb.ii(a.width,a.height);c.getContext("2d").putImageData(a,0,0);return Qb.Az(c,b,d)};Qb.YS=function(a,b){a.clear();for(const d of b)a.add(d)};Qb.K5=function(a){const b=Object.create(null);for(const [d,c]of a.entries())b[d]=c;return b}; -Qb.a6=function(a,b){b.clear();for(const [d,c]of Object.entries(a))b.set(d,c)};Qb.QF=function Rb(a){if("object"===typeof a&&null!==a){if(a instanceof Set)return{_c3type_:"set",data:[...a].map(c=>Rb(c))};if(a instanceof Map)return{_c3type_:"map",data:[...a].map(c=>[c[0],Rb(c[1])])};const d=Object.create(null);for(const [c,e]of Object.entries(a))d[c]=Rb(e);return d}return a}; -Qb.DE=function Sb(a){if("object"===typeof a&null!==a){if("set"===a._c3type_)return new Set(a.data.map(c=>Sb(c)));if("map"===a._c3type_)return new Map(a.data.map(c=>[c[0],Sb(c[1])]));const d=Object.create(null);for(const [c,e]of Object.entries(a))d[c]=Sb(e);return d}return a};Qb.NS=function(a){if(a.startsWith("--"))return a;let b="",d=!1;for(const c of a)"-"===c?d=!0:d?(b+=c.toUpperCase(),d=!1):b+=c;return b};Qb.io=function(a){return"object"===typeof a&&"function"===typeof a.next}; -Qb.ri=function(a,b){const d=[];if("function"===typeof b)for(var c=0;cd&&(d+=1);1d?b:d<2/3?a+(b-a)*(2/3-d)*6:a}function Xb(a,b,d,c,e){a.ib=+b;a.mb=+d;a.gb=+c;a.Wa=+e;a.X()}function Yb(a,b,d,c){a.ib=+b;a.mb=+d;a.gb=+c;a.X()} +"undefined"===typeof self.globalThis&&(self.globalThis=self);"use strict";const pb=self.B;self.assert=function(a,b){a||console.error("Assertion failure: "+b+"\n\nStack trace:\n"+pb.Sz())};"use strict";const P=self.B,qb=self.nf;P.mo=function(a){return"number"===typeof a};P.Fc=function(a){return P.mo(a)&&isFinite(a)};P.Eh=function(a){if(!P.mo(a))throw new TypeError("expected number");};P.kN=function(){}; +P.n8=function(a,b,d){if(!P.mo(a)||isNaN(a)||b>a||d{console.log(`%c${a}`,"font-weight: bold",...b);tb.set(a,-1)}))};let ub;sb.faa=function(a){performance.mark(a);ub||(ub=new Map);ub.has(a)||ub.set(a,{current:0,total:0,kR:0,xK:1,toString:function(){return`${a} :: current => ${this.current.toPrecision(3)} :: average => ${this.kR.toPrecision(3)} :: calls => ${this.xK}`}})}; +sb.J3=function(a){performance.measure(`measure-${a}`,a);const b=performance.getEntriesByName(`measure-${a}`)[0],d=ub.get(a);d.current=b.duration;d.total+=d.current;d.kR=d.total/d.xK;console.log(d.toString());d.xK++;performance.clearMarks(a);performance.clearMeasures(`measure-${a}`)};sb.Sz=function(){return Error().stack};sb.B3=function(){debugger};sb.Wba=function(a,b){return a&&a instanceof b?a:null}; +sb.rm=function(a){return"undefined"===typeof a?"undefined":null===a?"null":"boolean"===typeof a?"":sb.mo(a)?"":sb.pi(a)?"":sb.lk(a)?"":"symbol"===typeof a?"<"+a.toString()+">":sb.fF(a)?a.name&&"Function"!==a.name?a.name:"":"object"===typeof a?a.constructor&&a.constructor.name&&"Object"!==a.constructor.name?a.constructor.name:"":""};sb.getType=function(a){return null===a?"null":Array.isArray(a)?"array":typeof a}; +sb.range=function*(a,b){if(!isFinite(Math.abs(a-b)))throw Error("Invalid parameters");if(a>b)for(--a;a>=b;a--)yield a;else for(;asb.rm(b))))].join();console.warn(`An object derived from DefendedBase was not protected with debugDefend(). This will disable some checks. See the coding guidelines! Possible affected class names: ${a}`);vb.clear();wb.clear()}} +sb.ua=class{constructor(){if(sb.OK&&sb.qb.cN){var a=new.target;a=Object.create(a.prototype);var b=new Proxy(a,sb.js);vb.set(a,b);wb.set(b,a);xb.set(b,a);-1===Bb&&(Bb=requestAnimationFrame(Cb));return b}}};sb.w_=function(a){if(sb.OK&&sb.qb.cN&&a instanceof sb.ua){if(!wb.has(a))return a;let b=wb.get(a);wb.delete(a);vb.delete(b);return a}return sb.kz?Object.seal(a):a}; +sb.A=function(a,...b){let d;try{d=new a(...b)}catch(g){throw wb.clear(),vb.clear(),g;}if(sb.OK){b=d;var c=new Set;for(e in b)c.add(e);var e=c;if(b=Db.get(a)){c=[];for(let g of b.values())e.has(g)?e.delete(g):c.push(g);sb.om(c,[...e]);c.length&&console.warn(`[Defence] '${sb.rm(a)}' constructor creates inconsistent properties: ${c.join(", ")}`)}else Db.set(a,e)}return sb.w_(d)};sb.j=function(a){(a=xb.get(a))&&yb.set(a,sb.Sz())};sb.yo=function(){let a=xb.get(void 0);return a?!!yb.get(a):!1};let Db=new Map; +sb.Y6=class{constructor(a){this.Ja="";a&&this.start(a)}start(a){sb.QK&&(this.Ja=a,performance.mark(this.Ja+"-Start"))}end(){sb.QK&&(performance.mark(this.Ja+"-End"),performance.measure(this.Ja,this.Ja+"-Start",this.Ja+"-End"))}next(a){sb.QK&&(this.end(),this.Ja=a,performance.mark(this.Ja+"-Start"))}};"use strict";const R=self.B,Fb=2*Math.PI,Gb=Math.PI/180,Hb=180/Math.PI; +R.wrap=function(a,b,d){a=Math.floor(a);b=Math.floor(b);d=Math.floor(d);const c=d-b;return 0===c?d:ad?d:a};R.Ed=function(a){a%=Fb;0>a&&(a+=Fb);return a};R.Pa=function(a){return a*Gb};R.lf=function(a){return a*Hb};R.Sn=function(a,b,d,c){return Math.hypot(d-a,c-b)};R.uR=function(a,b,d,c){a=d-a;b=c-b;return a*a+b*b}; +R.FD=function(a,b,d,c){return Math.atan2(c-b,d-a)};R.Qr=function(a,b){if(a===b)return 0;a=Math.sin(a)*Math.sin(b)+Math.cos(a)*Math.cos(b);return 1<=a?0:-1>=a?Math.PI:Math.acos(a)};R.vK=function(a,b,d){let c=Math.sin(a),e=Math.cos(a),g=Math.sin(b),k=Math.cos(b);return Math.acos(c*g+e*k)>d?0=Math.cos(a)*Math.sin(b)-Math.sin(a)*Math.cos(b)};R.uK=function(a,b,d,c=0){let e=R.Qr(a,b);c*=Fb;return R.tg(b,a)?R.Ed(a+(e+c)*d):R.Ed(a-(e+c)*d)}; +R.g_=function(a,b,d,c=0){const e=R.Qr(a,b);c*=Fb;return R.tg(b,a)?R.Ed(a+(e+c)*d):R.Ed(a+(Fb-e+c)*d)};R.f_=function(a,b,d,c=0){const e=R.Qr(a,b);c*=Fb;return R.tg(b,a)?R.Ed(a-(-Fb+e-c)*d):R.Ed(a-(e+c)*d)};R.hR=function(a,b){const d=R.Qr(a,b);return R.tg(a,b)?R.Ed(b-d):R.Ed(b+d)};R.Pc=function(a,b,d){return a+d*(b-a)};R.pE=function(a,b,d){return a===b?0:(d-a)/(b-a)};R.aS=function(a,b,d,c){return R.Pc(0,c,R.pE(a,b,d))};R.dE=function(a,b,d,c){return R.Pc(R.Pc(a,b,c),R.Pc(b,d,c),c)}; +R.sR=function(a,b,d,c,e){return R.Pc(R.dE(a,b,d,e),R.dE(b,d,c,e),e)};R.pR=function(a,b,d){return(a+b+(a-b)*Math.cos(d*Math.PI))/2};R.$j=function(a){return 0b;b<<=1)a|=a>>b;return a+1};R.rea=function(a,b){return Math.round(a*b)/b};R.wca=function(a,b){return Math.floor(a*b)/b};R.dS=function(a){var b=Math.max(Math.floor(6),0);b=Math.pow(10,b);return Math.round(a*b)/b}; +R.bca=function(a){return Math.floor(a)!==a?a.toString().split(".")[1].length||0:0};R.toFixed=function(a,b){a=a.toFixed(b);for(b=a.length-1;0<=b&&"0"===a.charAt(b);--b);0<=b&&"."===a.charAt(b)&&--b;return 0>b?a:a.substr(0,b+1)};R.cW=function(a,b,d){return R.X(a,0,255)|R.X(b,0,255)<<8|R.X(d,0,255)<<16}; +R.wA=function(a,b,d,c){a=R.X(Math.floor(1024*a),-8192,8191);b=R.X(Math.floor(1024*b),-8192,8191);d=R.X(Math.floor(1024*d),-8192,8191);c=R.X(Math.floor(1023*c),0,1023);0>a&&(a+=16384);0>b&&(b+=16384);0>d&&(d+=16384);return-(274877906944*a+16777216*b+1024*d+c)};R.YM=function(a,b,d){return R.wA(a,b,d,1)};R.fA=function(a){if(0<=a)return(a&255)/255;a=Math.floor(-a/274877906944);8191>8)/255;a=Math.floor(-a%274877906944/16777216);8191>16)/255;a=Math.floor(-a%16777216/1024);81911/a?0:0<=a?1:Math.floor(-a%1024)/1023};R.Q_=function(a,b){a=Math.floor(a);for(b=Math.floor(b);0!==b;){let d=b;b=a%b;a=d}return a};const Ib=[[3,2],[4,3],[5,4],[5,3],[6,5],[14,9],[16,9],[16,10],[21,9]]; +R.Kca=function(a,b){a=Math.floor(a);b=Math.floor(b);if(a===b)return[1,1];for(var d of Ib){let c=a/d[0]*d[1];if(1>Math.abs(b-c))return d.slice(0);c=a/d[1]*d[0];if(1>Math.abs(b-c))return[d[1],d[0]]}d=R.Q_(a,b);return[a/d,b/d]}; +R.yea=function(a,b,d,c,e,g,k,l){var n=Math.min(a,d),p=Math.max(e,k);if(Math.max(a,d)p)return!1;n=Math.min(b,c);p=Math.max(g,l);if(Math.max(b,c)p)return!1;n=e-a+k-d;p=g-b+l-c;a=d-a;b=c-b;e=k-e;g=l-g;l=Math.abs(b*e-g*a);return Math.abs(e*p-g*n)>l?!1:Math.abs(a*p-b*n)<=l}; +R.Vn=function(a,b,d,c,e,g,k,l,n,p,r,w){const v=Math.max(n,r);if(gv)return!1;e=Math.max(p,w);if(le)return!1;k=n-a+r-d;l=p-b+w-c;a=d-a;b=c-b;n=r-n;p=w-p;w=Math.abs(b*n-p*a);return Math.abs(n*l-p*k)>w?!1:Math.abs(a*l-b*k)<=w}; +R.fE=function(a,b,d,c,e){const g=Math.min(a,d),k=Math.max(a,d),l=Math.min(b,c),n=Math.max(b,c),p=e.yb,r=e.wb,w=e.dc,v=e.mc,y=e.xc,C=e.yc,E=e.vc;e=e.wc;return R.Vn(a,b,d,c,g,k,l,n,p,r,w,v)||R.Vn(a,b,d,c,g,k,l,n,w,v,y,C)||R.Vn(a,b,d,c,g,k,l,n,y,C,E,e)||R.Vn(a,b,d,c,g,k,l,n,E,e,p,r)}; +R.xea=function(a,b,d,c,e){const g=Math.min(a,d),k=Math.max(a,d),l=Math.min(b,c),n=Math.max(b,c);let p=0;for(let r=e.length-4;p<=r;p+=2)if(R.Vn(a,b,d,c,g,k,l,n,e[p],e[p+1],e[p+2],e[p+3]))return!0;return R.Vn(a,b,d,c,g,k,l,n,e[p],e[p+1],e[0],e[1])};R.x0=function(a,b,d,c,e,g,k,l){d-=a;g=l-g;const n=d*g-(c-b)*(k-e);if(0===n)return 2;c=((b-c)*(k-a)+d*(l-b))/n;return 0c?(g*(k-a)+(e-k)*(l-b))/n:2};R.vz=function(a,b,d,c,e,g,k,l,n){const p=(k-e)*n;n*=l-g;return R.x0(a,b,d,c,e-p,g-n,k+p,l+n)}; +R.a0=function(a,b,d,c,e,g,k,l){e-=d;g-=c;k-=d;l-=c;a-=d;d=b-c;b=e*e+g*g;c=e*k+g*l;e=e*a+g*d;g=k*k+l*l;k=k*a+l*d;l=1/(b*g-c*c);g=(g*e-c*k)*l;e=(b*k-c*e)*l;return 0<=g&&0<=e&&1>=g+e};R.M0=function(a,b,d,c,e,g,k,l){e-=d;g-=c;k-=d;l-=c;a-=d;const n=b-c;b=e*e+g*g;c=e*k+g*l;d=k*k+l*l;e=a*e+n*g;g=a*k+n*l;k=b*d-c*c;l=(d*e-c*g)/k;e=(b*g-c*e)/k;return[1-l-e,l,e]};R.L0=function(a,b,d,c,e,g,k,l,n,p,r,w){return[a*c+b*k+d*p,a*e+b*l+d*r,a*g+b*n+d*w]};"use strict";const S=self.B;let Jb=null,Kb=""; +if("undefined"!==typeof document){Jb=document;const a=document.querySelector("base");if(Kb=a&&a.hasAttribute("href")?a.getAttribute("href"):"")Kb.startsWith("/")&&(Kb=Kb.substr(1)),Kb.endsWith("/")||(Kb+="/")}S.j4=function(){return Kb};S.l4=function(){if(!Jb)return"";const a=Jb.location;return S.ZT(a.origin+a.pathname)+Kb};S.ZT=function(a){if(!a.length||a.endsWith("/")||a.endsWith("\\"))return a;const b=Math.max(a.lastIndexOf("/"),a.lastIndexOf("\\"));return-1===b?"":a.substr(0,b+1)}; +S.q4=function(a){if(!a.length)return a;if(a.endsWith("/")||a.endsWith("\\"))return"";const b=Math.max(a.lastIndexOf("/"),a.lastIndexOf("\\"));return-1===b?a:a.substr(b+1)};S.VT=function(a){let b=a.lastIndexOf(".");return 1>b?"":a.substr(b)};S.B9=function(a,b){const d=a.lastIndexOf(".");return-1===d?a+"."+b:a.substr(0,d+1)+b};S.Zz=function(a){let b=a.lastIndexOf(".");return 1>b?a:a.substr(0,b)};S.oV=function(a){return a.replace(/\\/g,"/")};S.W4=function(a,b){return b===(a?S.VT(a).slice(1):"")}; +S.W3=function(a,b){let d,c;S.eF(a)&&(d=S.Zz(a.name));S.pi(a)&&(d=S.Zz(a));S.eF(b)&&(c=S.Zz(b.name));S.pi(b)&&(c=S.Zz(b));return d===c}; +S.V6=function(a){a=S.oV(a);let b=/^\w:\//.exec(a);b?(b=b[0],a=a.slice(3),"/"!==a[0]&&(a="/"+a)):b="";a=a.replace(/\/{2,}/g,"/");1{self.setTimeout(d,a,b)})}; +S.Hea=function(a){try{a()}catch(b){S.kz&&console.warn("Swallowed exception: ",b)}};S.Gda=function(){};S.ke=function(a,b){return"string"!==typeof a||"string"!==typeof b?!1:a===b||a.normalize().toLowerCase()===b.normalize().toLowerCase()};S.sca=function(a,b){return"string"!==typeof a||"string"!==typeof b?!1:a===b?!0:a.normalize()===b.normalize()}; +S.N0=function(a,b){var d=0;a[d++]=b[0];a[d++]=b[1];a[d++]=b[2];a[d++]=b[3];a[d++]=b[4];a[d++]=b[5];a[d++]=b[6];a[d++]=b[7];a[d++]=b[8];a[d++]=b[9];a[d++]=b[10];a[d++]=b[11];a[d++]=b[12];a[d++]=b[13];a[d++]=b[14];a[d]=b[15]};S.Vf=function(a,b){a.length=b};S.D=function(a){a&&0!==a.length&&S.Vf(a,0)};S.o_=function(a){if(a){for(let b=0;bd&&S.TD(a,b,"0")};S.Gd=function(a,b){S.D(a);S.om(a,b)};S.om=function(a,b){if(1E4>b.length)a.push(...b);else for(let d=0,c=b.length;db||b>=a.length)){for(var d=a.length-1;bd;case 5:return a>=d;default:return!1}};S.Sca=function(a){for(let b in a)if(a.hasOwnProperty(b))return!0;return!1};S.rW=function(a,b){return a.length?new Promise((d,c)=>{const e=[];let g=0,k=!1;for(let l=0,n=a.length;l{k||(e[l]=p,++g,g===a.length?d(e):b(g,a.length))}).catch(p=>{k=!0;c(p)})}):Promise.resolve([])};let Lb=[];S.s1=function(a){Lb.push(a)}; +S.n4=function(){let a=0;for(let b of Lb){let d=b();a+=d}return Math.floor(a)};let Mb=1;const Nb=new Map,Ob=new MessageChannel;Ob.port2.onmessage=function(a){a=a.data;const b=Nb.get(a);Nb.delete(a);b&&b(performance.now())};S.wF=function(a){const b=Mb++;Nb.set(b,a);Ob.port1.postMessage(b);return b};S.aT=function(a){Nb.delete(a)};S.oW=S.wF;S.HX=function(){return new Promise(a=>S.oW(a))};const Pb=new Set; +S.T7=function(a){const b=self.requestAnimationFrame(async d=>{await S.HX();Pb.has(b)&&(Pb.delete(b),a(d))});Pb.add(b);return b};S.w2=function(a){Pb.has(a)&&(self.cancelAnimationFrame(a),Pb.delete(a))};"use strict";const Qb=self.B;Qb.oA=function(a){return/^(?:[a-z\-]+:)?\/\//.test(a)||"data:"===a.substr(0,5)||"blob:"===a.substr(0,5)};Qb.ys=function(a){return!Qb.oA(a)};Qb.qX=function(a){if(!a.ok)throw Error(`fetch '${a.url}' response returned ${a.status} ${a.statusText}`);}; +Qb.Pz=function(a){return fetch(a,void 0).then(b=>{Qb.qX(b);return b})};Qb.hv=function(a){return Qb.Pz(a).then(b=>b.text())};Qb.YL=function(a){return Qb.Pz(a).then(b=>b.json())};Qb.xm=function(a){return Qb.Pz(a).then(b=>b.blob())};Qb.gv=function(a){return Qb.Pz(a).then(b=>b.arrayBuffer())};Qb.AT=function(a){return new Promise((b,d)=>{const c=new Image;c.onload=()=>b(c);c.onerror=e=>d(e);c.src=a})}; +Qb.US=function(a){return"function"===typeof a.arrayBuffer?a.arrayBuffer():new Promise((b,d)=>{const c=new FileReader;c.onload=()=>b(c.result);c.onerror=()=>d(c.error);c.readAsArrayBuffer(a)})};Qb.JL=function(a){return"function"===typeof a.text?a.text():new Promise((b,d)=>{const c=new FileReader;c.onload=()=>b(c.result);c.onerror=()=>d(c.error);c.readAsText(a)})};Qb.f2=function(a){return Qb.JL(a).then(b=>JSON.parse(b))}; +Qb.IL=async function(a){a=URL.createObjectURL(a);try{const b=await Qb.AT(a);URL.revokeObjectURL(a);a="";return b}finally{a&&URL.revokeObjectURL(a)}};Qb.ki=function(a,b){if("undefined"!==typeof document&&"function"===typeof document.createElement){const d=document.createElement("canvas");d.width=a;d.height=b;return d}return new OffscreenCanvas(a,b)}; +Qb.Hz=function(a,b,d){"number"!==typeof d&&(d=1);b=b||"image/png";d=Qb.X(d,0,1);if(a.convertToBlob)return a.convertToBlob({type:b,quality:d});if(a.toBlob)return new Promise(c=>a.toBlob(c,b,d));throw Error("could not convert canvas to blob");};Qb.RL=function(a,b,d){const c=Qb.ki(a.width,a.height);c.getContext("2d").drawImage(a,0,0);return Qb.Hz(c,b,d)}; +Qb.x4=function(a,b,d){if(Qb.qb.ImageBitmapOptions)return createImageBitmap(a,{premultiplyAlpha:"none"}).then(e=>Qb.RL(e,b,d));if(Qb.qb.ImageBitmap)return createImageBitmap(a).then(e=>Qb.RL(e,b,d));const c=Qb.ki(a.width,a.height);c.getContext("2d").putImageData(a,0,0);return Qb.Hz(c,b,d)};Qb.iT=function(a,b){a.clear();for(const d of b)a.add(d)};Qb.b6=function(a){const b=Object.create(null);for(const [d,c]of a.entries())b[d]=c;return b}; +Qb.r6=function(a,b){b.clear();for(const [d,c]of Object.entries(a))b.set(d,c)};Qb.YF=function Rb(a){if("object"===typeof a&&null!==a){if(a instanceof Set)return{_c3type_:"set",data:[...a].map(c=>Rb(c))};if(a instanceof Map)return{_c3type_:"map",data:[...a].map(c=>[c[0],Rb(c[1])])};const d=Object.create(null);for(const [c,e]of Object.entries(a))d[c]=Rb(e);return d}return a}; +Qb.JE=function Sb(a){if("object"===typeof a&null!==a){if("set"===a._c3type_)return new Set(a.data.map(c=>Sb(c)));if("map"===a._c3type_)return new Map(a.data.map(c=>[c[0],Sb(c[1])]));const d=Object.create(null);for(const [c,e]of Object.entries(a))d[c]=Sb(e);return d}return a};Qb.ZS=function(a){if(a.startsWith("--"))return a;let b="",d=!1;for(const c of a)"-"===c?d=!0:d?(b+=c.toUpperCase(),d=!1):b+=c;return b};Qb.lo=function(a){return"object"===typeof a&&"function"===typeof a.next}; +Qb.si=function(a,b){const d=[];if("function"===typeof b)for(var c=0;cd&&(d+=1);1d?b:d<2/3?a+(b-a)*(2/3-d)*6:a}function Xb(a,b,d,c,e){a.ib=+b;a.mb=+d;a.gb=+c;a.Wa=+e;a.X()}function Yb(a,b,d,c){a.ib=+b;a.mb=+d;a.gb=+c;a.X()} function Zb(a,b,d,c){a.ib+=+b;a.mb+=+d;a.gb+=+c;a.Wa+=0;a.X()}function $b(a,b){a.ib=b.ib;a.mb=b.mb;a.gb=b.gb}function ac(a,b){a.ib=Tb.X(+b,0,1)}function bc(a,b){a.mb=Tb.X(+b,0,1)}function cc(a,b){a.gb=Tb.X(+b,0,1)}function dc(a,b){a.Wa=Tb.X(+b,0,1)}function ec(a,b){return a.ib===b.ib&&a.mb===b.mb&&a.gb===b.gb}function fc(a,b,d,c,e){return a.ib===b&&a.mb===d&&a.gb===c&&a.Wa===e}function gc(a){a.ib*=a.Wa;a.mb*=a.Wa;a.gb*=a.Wa} -function hc(a,b){a.ib=Tb.$z(b);a.mb=Tb.Wz(b);a.gb=Tb.Lz(b);a.Wa=Tb.BT(b)}function ic(a,b){if("string"===typeof b){b=b.replace(/^rgb\(|\)|%/,"");var d=b.split(",");if(!(3>d.length)){b=parseInt(d[0].trim(),10)/255;var c=parseInt(d[1].trim(),10)/255;d=parseInt(d[2].trim(),10)/255;isFinite(b)&&ac(a,b);isFinite(c)&&bc(a,c);isFinite(d)&&cc(a,d);dc(a,1)}}} +function hc(a,b){a.ib=Tb.fA(b);a.mb=Tb.bA(b);a.gb=Tb.Rz(b);a.Wa=Tb.MT(b)}function ic(a,b){if("string"===typeof b){b=b.replace(/^rgb\(|\)|%/,"");var d=b.split(",");if(!(3>d.length)){b=parseInt(d[0].trim(),10)/255;var c=parseInt(d[1].trim(),10)/255;d=parseInt(d[2].trim(),10)/255;isFinite(b)&&ac(a,b);isFinite(c)&&bc(a,c);isFinite(d)&&cc(a,d);dc(a,1)}}} function jc(a,b){if("string"===typeof b){b=b.replace(/^rgb\(|\)|%/,"");var d=b.split(",");if(!(3>d.length)){b=parseInt(d[0].trim(),10)/100;var c=parseInt(d[1].trim(),10)/100;d=parseInt(d[2].trim(),10)/100;isFinite(b)&&ac(a,b);isFinite(c)&&bc(a,c);isFinite(d)&&cc(a,d);dc(a,1)}}} function kc(a,b){if("string"===typeof b){b=b.replace(/^rgba\(|\)|%/,"");var d=b.split(",");if(!(4>d.length)){b=parseInt(d[0].trim(),10)/255;var c=parseInt(d[1].trim(),10)/255,e=parseInt(d[2].trim(),10)/255;d=parseFloat(d[3].trim());isFinite(b)&&ac(a,b);isFinite(c)&&bc(a,c);isFinite(e)&&cc(a,e);isFinite(d)&&dc(a,d)}}} function lc(a,b){if("string"===typeof b){b=b.replace(/^rgba\(|\)|%/,"");var d=b.split(",");if(!(4>d.length)){b=parseInt(d[0].trim(),10)/100;var c=parseInt(d[1].trim(),10)/100,e=parseInt(d[2].trim(),10)/100;d=parseFloat(d[3].trim());isFinite(b)&&ac(a,b);isFinite(c)&&bc(a,c);isFinite(e)&&cc(a,e);isFinite(d)&&dc(a,d)}}} function mc(a){var b=nc;if("string"===typeof a)if(a=a.replace(/\s+/,""),a.includes(","))if(a.startsWith("rgb("))a.includes("%")?jc(b,a):ic(b,a);else if(a.startsWith("rgba("))a.includes("%")?lc(b,a):kc(b,a);else if(a.startsWith("hsl(")||a.startsWith("hsla(")){var d=a.replace(/ |hsl|hsla|\(|\)|;/gi,"");a=Ub.exec(d);d=Vb.exec(d);a&&4===a.length?oc(b,+a[1],+a[2],+a[3],1):d&&5===d.length&&oc(b,+a[1],+a[2],+a[3],+a[4])}else d=a.split(","),a.includes("%")?3===d.length?jc(b,a):4===d.length&&lc(b,a):3===d.length? ic(b,a):4===d.length&&kc(b,a);else a:{var c=a;if("string"===typeof c){c=c.trim();"#"===c.charAt(0)&&(c=c.substr(1));if(3===c.length)a=parseInt(c[0],16)/15,d=parseInt(c[1],16)/15,c=parseInt(c[2],16)/15;else if(6===c.length)a=parseInt(c.substr(0,2),16)/255,d=parseInt(c.substr(2,2),16)/255,c=parseInt(c.substr(4,2),16)/255;else break a;isFinite(a)&&ac(b,a);isFinite(d)&&bc(b,d);isFinite(c)&&cc(b,c);dc(b,1)}}} function oc(a,b,d,c,e){b%=360;d=Tb.X(d,0,100);c=Tb.X(c,0,100);e=Tb.X(e,0,1);b/=360;d/=100;c/=100;if(0===d)c=d=b=c;else{const g=.5>c?c*(1+d):c+d-c*d,k=2*c-g;c=Wb(k,g,b+1/3);d=Wb(k,g,b);b=Wb(k,g,b-1/3)}ac(a,c);bc(a,d);cc(a,b);dc(a,e)}function sc(a,b){!Array.isArray(b)||3>b.length||(a.ib=b[0],a.mb=b[1],a.gb=b[2],a.Wa=4<=b.length?b[3]:1)}function tc(a,b){return Tb.X(Math.max(a,b)-Math.min(a,b),0,1)} -Tb.lb=class{constructor(a,b,d,c){this.Wa=this.gb=this.mb=this.ib=0;a instanceof Tb.lb?this.set(a):Xb(this,a||0,b||0,d||0,c||0)}set(a){this.ib=a.ib;this.mb=a.mb;this.gb=a.gb;this.Wa=a.Wa;return this}xa(a){return this.set(a)}add(a){this.ib+=a.ib;this.mb+=a.mb;this.gb+=a.gb;this.Wa+=a.Wa;this.X()}clone(){return Tb.A(Tb.lb,this.ib,this.mb,this.gb,this.Wa)}toArray(){return[this.ib,this.mb,this.gb,this.Wa]}ih(a,b){a[b++]=this.ib;a[b++]=this.mb;a[b++]=this.gb;a[b]=this.Wa}Cd(a){return this.ib===a.ib&&this.mb=== -a.mb&&this.gb===a.gb&&this.Wa===a.Wa}multiply(a){this.ib*=a.ib;this.mb*=a.mb;this.gb*=a.gb;this.Wa*=a.Wa}X(){this.ib=Tb.X(this.ib,0,1);this.mb=Tb.X(this.mb,0,1);this.gb=Tb.X(this.gb,0,1);this.Wa=Tb.X(this.Wa,0,1);return this}toJSON(){return[this.ib,this.mb,this.gb,this.Wa]}set r(a){ac(this,a)}get r(){return this.ib}set b(a){cc(this,a)}get b(){return this.gb}set a(a){dc(this,a)}get a(){return this.Wa}};Tb.lb.cba=Object.freeze(Tb.A(Tb.lb,1,1,1,1));Tb.lb.N1=Object.freeze(Tb.A(Tb.lb,0,0,0,1)); -Tb.lb.vaa=Object.freeze(Tb.A(Tb.lb,0,0,0,0));"use strict";const uc=self.B; -uc.uo=class{constructor(a,b){this.S=this.Y=0;a instanceof uc.uo?this.xa(a):this.set(a||0,b||0)}set(a,b){this.Y=+a;this.S=+b}xa(a){this.Y=a.Y;this.S=a.S}Cd(a){return this.Y===a.Y&&this.S===a.S}toArray(){return[this.Y,this.S]}ih(a,b){a[b++]=this.Y;a[b]=this.S}offset(a,b){this.Y+=+a;this.S+=+b}scale(a,b){this.Y*=a;this.S*=b}dj(a,b){this.Y/=a;this.S/=b}round(){this.Y=Math.round(this.Y);this.S=Math.round(this.S)}floor(){this.Y=Math.floor(this.Y);this.S=Math.floor(this.S)}ceil(){this.Y=Math.ceil(this.Y); -this.S=Math.ceil(this.S)}angle(){return uc.zD(0,0,this.Y,this.S)}length(){return Math.hypot(this.Y,this.S)}rotate(a){if(0!==a){var b=Math.sin(a);a=Math.cos(a);const d=this.Y*a-this.S*b;this.S=this.S*a+this.Y*b;this.Y=d}}move(a,b){0!==b&&(this.Y+=Math.cos(a)*b,this.S+=Math.sin(a)*b)}normalize(){const a=this.length();0!==a&&1!==a&&(this.Y/=a,this.S/=a)}X(a,b){this.Y=uc.X(this.Y,a,b);this.S=uc.X(this.S,a,b)}Rn(a){return this.Y*a.Y+this.S*a.S}reverse(){this.Y=-this.Y;this.S=-this.S}};"use strict"; +Tb.lb=class{constructor(a,b,d,c){this.Wa=this.gb=this.mb=this.ib=0;a instanceof Tb.lb?this.set(a):Xb(this,a||0,b||0,d||0,c||0)}set(a){this.ib=a.ib;this.mb=a.mb;this.gb=a.gb;this.Wa=a.Wa;return this}xa(a){return this.set(a)}add(a){this.ib+=a.ib;this.mb+=a.mb;this.gb+=a.gb;this.Wa+=a.Wa;this.X()}clone(){return Tb.A(Tb.lb,this.ib,this.mb,this.gb,this.Wa)}toArray(){return[this.ib,this.mb,this.gb,this.Wa]}mh(a,b){a[b++]=this.ib;a[b++]=this.mb;a[b++]=this.gb;a[b]=this.Wa}Fd(a){return this.ib===a.ib&&this.mb=== +a.mb&&this.gb===a.gb&&this.Wa===a.Wa}multiply(a){this.ib*=a.ib;this.mb*=a.mb;this.gb*=a.gb;this.Wa*=a.Wa}X(){this.ib=Tb.X(this.ib,0,1);this.mb=Tb.X(this.mb,0,1);this.gb=Tb.X(this.gb,0,1);this.Wa=Tb.X(this.Wa,0,1);return this}toJSON(){return[this.ib,this.mb,this.gb,this.Wa]}set r(a){ac(this,a)}get r(){return this.ib}set b(a){cc(this,a)}get b(){return this.gb}set a(a){dc(this,a)}get a(){return this.Wa}};Tb.lb.tba=Object.freeze(Tb.A(Tb.lb,1,1,1,1));Tb.lb.e2=Object.freeze(Tb.A(Tb.lb,0,0,0,1)); +Tb.lb.Maa=Object.freeze(Tb.A(Tb.lb,0,0,0,0));"use strict";const uc=self.B; +uc.xo=class{constructor(a,b){this.S=this.Y=0;a instanceof uc.xo?this.xa(a):this.set(a||0,b||0)}set(a,b){this.Y=+a;this.S=+b}xa(a){this.Y=a.Y;this.S=a.S}Fd(a){return this.Y===a.Y&&this.S===a.S}toArray(){return[this.Y,this.S]}mh(a,b){a[b++]=this.Y;a[b]=this.S}offset(a,b){this.Y+=+a;this.S+=+b}scale(a,b){this.Y*=a;this.S*=b}ej(a,b){this.Y/=a;this.S/=b}round(){this.Y=Math.round(this.Y);this.S=Math.round(this.S)}floor(){this.Y=Math.floor(this.Y);this.S=Math.floor(this.S)}ceil(){this.Y=Math.ceil(this.Y); +this.S=Math.ceil(this.S)}angle(){return uc.FD(0,0,this.Y,this.S)}length(){return Math.hypot(this.Y,this.S)}rotate(a){if(0!==a){var b=Math.sin(a);a=Math.cos(a);const d=this.Y*a-this.S*b;this.S=this.S*a+this.Y*b;this.Y=d}}move(a,b){0!==b&&(this.Y+=Math.cos(a)*b,this.S+=Math.sin(a)*b)}normalize(){const a=this.length();0!==a&&1!==a&&(this.Y/=a,this.S/=a)}X(a,b){this.Y=uc.X(this.Y,a,b);this.S=uc.X(this.S,a,b)}Tn(a){return this.Y*a.Y+this.S*a.S}reverse(){this.Y=-this.Y;this.S=-this.S}};"use strict"; const vc=self.B;function wc(a,b,d,c,e){b=+b;d=+d;a.ba=b;a.$=d;a.ka=b+ +c;a.ia=d+ +e}function xc(a,b,d){b[d++]=a.ba;b[d++]=a.$;b[d++]=a.ka;b[d++]=a.$;b[d++]=a.ka;b[d++]=a.ia;b[d++]=a.ba;b[d]=a.ia}function yc(a,b,d){b=+b;d=+d;a.ba-=b;a.$-=d;a.ka+=b;a.ia+=d}function zc(a){a.$=1-a.$;a.ia=1-a.ia}function Ac(){var a=Bc;a.ba=Math.floor(a.ba);a.$=Math.floor(a.$);a.ka=Math.ceil(a.ka);a.ia=Math.ceil(a.ia)}function Cc(a,b){return!(b.kaa.ka||b.$>a.ia)} -vc.Rect=class{constructor(a,b,d,c){this.ia=this.ka=this.$=this.ba=0;a instanceof vc.Rect?this.xa(a):this.set(a||0,b||0,d||0,c||0)}set(a,b,d,c){this.ba=+a;this.$=+b;this.ka=+d;this.ia=+c}xa(a){this.ba=+a.ba;this.$=+a.$;this.ka=+a.ka;this.ia=+a.ia}clone(){return new vc.Rect(this.ba,this.$,this.ka,this.ia)}Cd(a){return this.ba===a.ba&&this.$===a.$&&this.ka===a.ka&&this.ia===a.ia}toArray(){return[this.ba,this.$,this.ka,this.ia]}ih(a,b){a[b++]=this.ba;a[b++]=this.$;a[b++]=this.ka;a[b]=this.ia}width(){return this.ka- -this.ba}height(){return this.ia-this.$}Or(){return(this.ba+this.ka)/2}Pr(){return(this.$+this.ia)/2}offset(a,b){a=+a;b=+b;this.ba+=a;this.$+=b;this.ka+=a;this.ia+=b}offsetLeft(a){this.ba+=+a}offsetTop(a){this.$+=+a}multiply(a,b){this.ba*=a;this.$*=b;this.ka*=a;this.ia*=b}dj(a,b){this.ba/=a;this.$/=b;this.ka/=a;this.ia/=b}round(){this.ba=Math.round(this.ba);this.$=Math.round(this.$);this.ka=Math.round(this.ka);this.ia=Math.round(this.ia)}floor(){this.ba=Math.floor(this.ba);this.$=Math.floor(this.$); -this.ka=Math.floor(this.ka);this.ia=Math.floor(this.ia)}ceil(){this.ba=Math.ceil(this.ba);this.$=Math.ceil(this.$);this.ka=Math.ceil(this.ka);this.ia=Math.ceil(this.ia)}X(a,b,d,c){this.ba=Math.max(this.ba,+a);this.$=Math.max(this.$,+b);this.ka=Math.min(this.ka,+d);this.ia=Math.min(this.ia,+c)}normalize(){if(this.ba>this.ka){var a=this.ba;this.ba=this.ka;this.ka=a}this.$>this.ia&&(a=this.$,this.$=this.ia,this.ia=a)}gh(a,b){return a>=this.ba&&a<=this.ka&&b>=this.$&&b<=this.ia}};"use strict"; -const Dc=self.B;function Ec(a,b,d,c){const e=b.ba*d,g=b.$*d,k=b.ka*d;d*=b.ia;const l=b.ba*c,n=b.$*c,p=b.ka*c;b=b.ia*c;a.yb=l-g;a.wb=n+e;a.cc=p-g;a.mc=n+k;a.wc=p-d;a.xc=b+k;a.uc=l-d;a.vc=b+e}function Fc(a,b){var d=b.Or(),c=b.Pr();if(a.gh(d,c))return!0;d=a.Or();c=a.Pr();if(b.gh(d,c))return!0;d=a.yb;c=a.wb;const e=a.cc,g=a.mc,k=a.wc,l=a.xc,n=a.uc;a=a.vc;return Dc.$D(d,c,e,g,b)||Dc.$D(e,g,k,l,b)||Dc.$D(k,l,n,a,b)||Dc.$D(n,a,d,c,b)} -Dc.Kd=class{constructor(a,b,d,c,e,g,k,l){this.vc=this.uc=this.xc=this.wc=this.mc=this.cc=this.wb=this.yb=0;a instanceof Dc.Kd?this.xa(a):this.set(a||0,b||0,d||0,c||0,e||0,g||0,k||0,l||0)}set(a,b,d,c,e,g,k,l){this.yb=+a;this.wb=+b;this.cc=+d;this.mc=+c;this.wc=+e;this.xc=+g;this.uc=+k;this.vc=+l}xa(a){this.yb=a.yb;this.wb=a.wb;this.cc=a.cc;this.mc=a.mc;this.wc=a.wc;this.xc=a.xc;this.uc=a.uc;this.vc=a.vc}Cd(a){return this.yb===a.yb&&this.wb===a.wb&&this.cc===a.cc&&this.mc===a.mc&&this.wc===a.wc&&this.xc=== -a.xc&&this.uc===a.uc&&this.vc===a.vc}toArray(){return[this.yb,this.wb,this.cc,this.mc,this.wc,this.xc,this.uc,this.vc]}ih(a,b){a[b++]=this.yb;a[b++]=this.wb;a[b++]=this.cc;a[b++]=this.mc;a[b++]=this.wc;a[b++]=this.xc;a[b++]=this.uc;a[b]=this.vc}offset(a,b){a=+a;b=+b;this.yb+=a;this.wb+=b;this.cc+=a;this.mc+=b;this.wc+=a;this.xc+=b;this.uc+=a;this.vc+=b}round(){this.yb=Math.round(this.yb);this.wb=Math.round(this.wb);this.cc=Math.round(this.cc);this.mc=Math.round(this.mc);this.wc=Math.round(this.wc); -this.xc=Math.round(this.xc);this.uc=Math.round(this.uc);this.vc=Math.round(this.vc)}floor(){this.yb=Math.floor(this.yb);this.wb=Math.floor(this.wb);this.cc=Math.floor(this.cc);this.mc=Math.floor(this.mc);this.wc=Math.floor(this.wc);this.xc=Math.floor(this.xc);this.uc=Math.floor(this.uc);this.vc=Math.floor(this.vc)}ceil(){this.yb=Math.ceil(this.yb);this.wb=Math.ceil(this.wb);this.cc=Math.ceil(this.cc);this.mc=Math.ceil(this.mc);this.wc=Math.ceil(this.wc);this.xc=Math.ceil(this.xc);this.uc=Math.ceil(this.uc); -this.vc=Math.ceil(this.vc)}pl(a){this.yb=a.ba;this.wb=a.$;this.cc=a.ka;this.mc=a.$;this.wc=a.ka;this.xc=a.ia;this.uc=a.ba;this.vc=a.ia}AK(a){a.set(Math.min(this.yb,this.cc,this.wc,this.uc),Math.min(this.wb,this.mc,this.xc,this.vc),Math.max(this.yb,this.cc,this.wc,this.uc),Math.max(this.wb,this.mc,this.xc,this.vc))}gh(a,b){var d=this.cc-this.yb,c=this.mc-this.wb;const e=this.wc-this.yb,g=this.xc-this.wb;a-=this.yb;b-=this.wb;var k=d*d+c*c;let l=d*e+c*g;c=d*a+c*b;const n=e*e+g*g,p=e*a+g*b;let r=1/(k* -n-l*l);d=(n*c-l*p)*r;k=(k*p-l*c)*r;if(0<=d&&0d+k)return!0;d=this.uc-this.yb;c=this.vc-this.wb;k=d*d+c*c;l=d*e+c*g;c=d*a+c*b;r=1/(k*n-l*l);d=(n*c-l*p)*r;k=(k*p-l*c)*r;return 0<=d&&0d+k}Or(){return(this.yb+this.cc+this.wc+this.uc)/4}Pr(){return(this.wb+this.mc+this.xc+this.vc)/4}};"use strict";const Gc=self.B,Hc=[0,0,1,0,1,1,0,1],Ic=Gc.A(Gc.Kd);function Jc(a,b){a.re.length===b.length?a.re.set(b):a.re=Float64Array.from(b);a.nn=!0} -function Kc(a,b,d,c){Ic.xa(b);Ic.offset(d,c);Jc(a,Ic.toArray());a.nn=!0}function Lc(a,b,d,c,e){const g=a.re;for(let k=0,l=g.length;kk&&(k=n);pl&&(l=p)}this.TA.set(e,g,k,l);this.nn=!1}k=this.TA;c=k.ba-110;e=k.$-101;g=k.ka+131;k=k.ia+120;let r,x,v,y,C;c{}),this.Ub("noease",[{x:0,y:0,sax:.336,say:0,eax:0,eay:0,se:!0,ee:!1}, +vc.Rect=class{constructor(a,b,d,c){this.ia=this.ka=this.$=this.ba=0;a instanceof vc.Rect?this.xa(a):this.set(a||0,b||0,d||0,c||0)}set(a,b,d,c){this.ba=+a;this.$=+b;this.ka=+d;this.ia=+c}xa(a){this.ba=+a.ba;this.$=+a.$;this.ka=+a.ka;this.ia=+a.ia}clone(){return new vc.Rect(this.ba,this.$,this.ka,this.ia)}Fd(a){return this.ba===a.ba&&this.$===a.$&&this.ka===a.ka&&this.ia===a.ia}toArray(){return[this.ba,this.$,this.ka,this.ia]}mh(a,b){a[b++]=this.ba;a[b++]=this.$;a[b++]=this.ka;a[b]=this.ia}width(){return this.ka- +this.ba}height(){return this.ia-this.$}Sr(){return(this.ba+this.ka)/2}Tr(){return(this.$+this.ia)/2}offset(a,b){a=+a;b=+b;this.ba+=a;this.$+=b;this.ka+=a;this.ia+=b}offsetLeft(a){this.ba+=+a}offsetTop(a){this.$+=+a}multiply(a,b){this.ba*=a;this.$*=b;this.ka*=a;this.ia*=b}ej(a,b){this.ba/=a;this.$/=b;this.ka/=a;this.ia/=b}round(){this.ba=Math.round(this.ba);this.$=Math.round(this.$);this.ka=Math.round(this.ka);this.ia=Math.round(this.ia)}floor(){this.ba=Math.floor(this.ba);this.$=Math.floor(this.$); +this.ka=Math.floor(this.ka);this.ia=Math.floor(this.ia)}ceil(){this.ba=Math.ceil(this.ba);this.$=Math.ceil(this.$);this.ka=Math.ceil(this.ka);this.ia=Math.ceil(this.ia)}X(a,b,d,c){this.ba=Math.max(this.ba,+a);this.$=Math.max(this.$,+b);this.ka=Math.min(this.ka,+d);this.ia=Math.min(this.ia,+c)}normalize(){if(this.ba>this.ka){var a=this.ba;this.ba=this.ka;this.ka=a}this.$>this.ia&&(a=this.$,this.$=this.ia,this.ia=a)}jh(a,b){return a>=this.ba&&a<=this.ka&&b>=this.$&&b<=this.ia}};"use strict"; +const Dc=self.B;function Ec(a,b,d,c){const e=b.ba*d,g=b.$*d,k=b.ka*d;d*=b.ia;const l=b.ba*c,n=b.$*c,p=b.ka*c;b=b.ia*c;a.yb=l-g;a.wb=n+e;a.dc=p-g;a.mc=n+k;a.xc=p-d;a.yc=b+k;a.vc=l-d;a.wc=b+e}function Fc(a,b){var d=b.Sr(),c=b.Tr();if(a.jh(d,c))return!0;d=a.Sr();c=a.Tr();if(b.jh(d,c))return!0;d=a.yb;c=a.wb;const e=a.dc,g=a.mc,k=a.xc,l=a.yc,n=a.vc;a=a.wc;return Dc.fE(d,c,e,g,b)||Dc.fE(e,g,k,l,b)||Dc.fE(k,l,n,a,b)||Dc.fE(n,a,d,c,b)} +Dc.Md=class{constructor(a,b,d,c,e,g,k,l){this.wc=this.vc=this.yc=this.xc=this.mc=this.dc=this.wb=this.yb=0;a instanceof Dc.Md?this.xa(a):this.set(a||0,b||0,d||0,c||0,e||0,g||0,k||0,l||0)}set(a,b,d,c,e,g,k,l){this.yb=+a;this.wb=+b;this.dc=+d;this.mc=+c;this.xc=+e;this.yc=+g;this.vc=+k;this.wc=+l}xa(a){this.yb=a.yb;this.wb=a.wb;this.dc=a.dc;this.mc=a.mc;this.xc=a.xc;this.yc=a.yc;this.vc=a.vc;this.wc=a.wc}Fd(a){return this.yb===a.yb&&this.wb===a.wb&&this.dc===a.dc&&this.mc===a.mc&&this.xc===a.xc&&this.yc=== +a.yc&&this.vc===a.vc&&this.wc===a.wc}toArray(){return[this.yb,this.wb,this.dc,this.mc,this.xc,this.yc,this.vc,this.wc]}mh(a,b){a[b++]=this.yb;a[b++]=this.wb;a[b++]=this.dc;a[b++]=this.mc;a[b++]=this.xc;a[b++]=this.yc;a[b++]=this.vc;a[b]=this.wc}offset(a,b){a=+a;b=+b;this.yb+=a;this.wb+=b;this.dc+=a;this.mc+=b;this.xc+=a;this.yc+=b;this.vc+=a;this.wc+=b}round(){this.yb=Math.round(this.yb);this.wb=Math.round(this.wb);this.dc=Math.round(this.dc);this.mc=Math.round(this.mc);this.xc=Math.round(this.xc); +this.yc=Math.round(this.yc);this.vc=Math.round(this.vc);this.wc=Math.round(this.wc)}floor(){this.yb=Math.floor(this.yb);this.wb=Math.floor(this.wb);this.dc=Math.floor(this.dc);this.mc=Math.floor(this.mc);this.xc=Math.floor(this.xc);this.yc=Math.floor(this.yc);this.vc=Math.floor(this.vc);this.wc=Math.floor(this.wc)}ceil(){this.yb=Math.ceil(this.yb);this.wb=Math.ceil(this.wb);this.dc=Math.ceil(this.dc);this.mc=Math.ceil(this.mc);this.xc=Math.ceil(this.xc);this.yc=Math.ceil(this.yc);this.vc=Math.ceil(this.vc); +this.wc=Math.ceil(this.wc)}sl(a){this.yb=a.ba;this.wb=a.$;this.dc=a.ka;this.mc=a.$;this.xc=a.ka;this.yc=a.ia;this.vc=a.ba;this.wc=a.ia}KK(a){a.set(Math.min(this.yb,this.dc,this.xc,this.vc),Math.min(this.wb,this.mc,this.yc,this.wc),Math.max(this.yb,this.dc,this.xc,this.vc),Math.max(this.wb,this.mc,this.yc,this.wc))}jh(a,b){var d=this.dc-this.yb,c=this.mc-this.wb;const e=this.xc-this.yb,g=this.yc-this.wb;a-=this.yb;b-=this.wb;var k=d*d+c*c;let l=d*e+c*g;c=d*a+c*b;const n=e*e+g*g,p=e*a+g*b;let r=1/(k* +n-l*l);d=(n*c-l*p)*r;k=(k*p-l*c)*r;if(0<=d&&0d+k)return!0;d=this.vc-this.yb;c=this.wc-this.wb;k=d*d+c*c;l=d*e+c*g;c=d*a+c*b;r=1/(k*n-l*l);d=(n*c-l*p)*r;k=(k*p-l*c)*r;return 0<=d&&0d+k}Sr(){return(this.yb+this.dc+this.xc+this.vc)/4}Tr(){return(this.wb+this.mc+this.yc+this.wc)/4}};"use strict";const Gc=self.B,Hc=[0,0,1,0,1,1,0,1],Ic=Gc.A(Gc.Md);function Jc(a,b){a.ue.length===b.length?a.ue.set(b):a.ue=Float64Array.from(b);a.pn=!0} +function Kc(a,b,d,c){Ic.xa(b);Ic.offset(d,c);Jc(a,Ic.toArray());a.pn=!0}function Lc(a,b,d,c,e){const g=a.ue;for(let k=0,l=g.length;kk&&(k=n);pl&&(l=p)}this.ZA.set(e,g,k,l);this.pn=!1}k=this.ZA;c=k.ba-110;e=k.$-101;g=k.ka+131;k=k.ia+120;let r,w,v,y,C;c{}),this.Ub("noease",[{x:0,y:0,sax:.336,say:0,eax:0,eay:0,se:!0,ee:!1}, {x:1,y:1,sax:0,say:0,eax:-.336,eay:0,se:!1,ee:!0}],!0),this.Ub("easeinsine",[{x:0,y:0,sax:.485,say:0,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.038,eay:0,se:!1,ee:!0}]),this.Ub("easeoutsine",[{x:0,y:0,sax:.038,say:0,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.485,eay:0,se:!1,ee:!0}]),this.Ub("easeinoutsine",[{x:0,y:0,sax:.336,say:0,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.336,eay:0,se:!1,ee:!0}]),this.Ub("easeinelastic",[{x:0,y:0,sax:.018,say:0,eax:0,eay:0,se:!0,ee:!1}, {x:.116,y:.002,sax:.025,say:0,eax:-.025,eay:0,se:!0,ee:!0},{x:.266,y:-.005,sax:.024,say:0,eax:-.021,eay:0,se:!0,ee:!0},{x:.416,y:.016,sax:.024,say:0,eax:-.026,eay:0,se:!0,ee:!0},{x:.566,y:-.045,sax:.061,say:0,eax:-.025,eay:0,se:!0,ee:!0},{x:.716,y:.132,sax:.072,say:-.004,eax:-.045,eay:0,se:!0,ee:!0},{x:.866,y:-.373,sax:.06,say:0,eax:-.049,eay:-.002,se:!0,ee:!0},{x:1,y:1,sax:0,say:0,eax:-.038,eay:-.263,se:!1,ee:!0}]),this.Ub("easeoutelastic",[{x:0,y:0,sax:.038,say:.263,eax:0,eay:0,se:!0,ee:!1},{x:.136, y:1.373,sax:.049,say:.002,eax:-.06,eay:0,se:!0,ee:!0},{x:.286,y:.868,sax:.045,say:0,eax:-.072,eay:.004,se:!0,ee:!0},{x:.436,y:1.045,sax:.025,say:0,eax:-.061,eay:0,se:!0,ee:!0},{x:.586,y:.984,sax:.026,say:0,eax:-.024,eay:0,se:!0,ee:!0},{x:.736,y:1.005,sax:.021,say:0,eax:-.024,eay:0,se:!0,ee:!0},{x:.886,y:.998,sax:.025,say:0,eax:-.025,eay:0,se:!0,ee:!0},{x:1,y:1,sax:0,say:0,eax:-.018,eay:0,se:!1,ee:!0}]),this.Ub("easeinoutelastic",[{x:0,y:0,sax:.025,say:0,eax:0,eay:0,se:!0,ee:!1},{x:.067,y:.001,sax:.025, @@ -286,119 +286,119 @@ ee:!0},{x:1,y:1,sax:0,say:0,eax:-.285,eay:0,se:!1,ee:!0}]),this.Ub("easeinquad", [{x:0,y:0,sax:.25,say:1,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.5,eay:0,se:!1,ee:!0}]),this.Ub("easeoutquart",[{x:0,y:0,sax:.5,say:0,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.25,eay:-1,se:!1,ee:!0}]),this.Ub("easeinoutquart",[{x:0,y:0,sax:.765,say:.03,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.765,eay:-.03,se:!1,ee:!0}]),this.Ub("easeinquint",[{x:0,y:0,sax:.6,say:0,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.2,eay:-1,se:!1,ee:!0}]),this.Ub("easeoutquint",[{x:0, y:0,sax:.2,say:1,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.6,eay:0,se:!1,ee:!0}]),this.Ub("easeinoutquint",[{eax:0,eay:0,ee:!1,sax:.84,say:0,se:!0,x:0,y:0},{eax:-.84,eay:0,ee:!0,sax:0,say:0,se:!1,x:1,y:1}]),this.Ub("easeincirc",[{x:0,y:0,sax:.25,say:0,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.024,eay:-.808,se:!1,ee:!0}]),this.Ub("easeoutcirc",[{x:0,y:0,sax:.024,say:.808,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.25,eay:0,se:!1,ee:!0}]),this.Ub("easeinoutcirc",[{x:0,y:0, sax:.125,say:0,eax:0,eay:0,se:!0,ee:!1},{x:.5,y:.5,sax:.02,say:.428,eax:-.02,eay:-.428,se:!0,ee:!0},{x:1,y:1,sax:0,say:0,eax:-.125,eay:0,se:!1,ee:!0}]),this.Ub("easeinexpo",[{x:0,y:0,sax:.66,say:0,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.14,eay:-1,se:!1,ee:!0}]),this.Ub("easeoutexpo",[{x:0,y:0,sax:.14,say:1,eax:0,eay:0,se:!0,ee:!1},{x:1,y:1,sax:0,say:0,eax:-.66,eay:0,se:!1,ee:!0}]),this.Ub("easeinoutexpo",[{eax:0,eay:0,ee:!1,sax:.345,say:0,se:!0,x:0,y:0},{eax:-.06,eay:-.5,ee:!0,sax:.06, -say:.5,se:!0,x:.5,y:.5},{eax:-.335,eay:0,ee:!0,sax:0,say:0,se:!1,x:1,y:1}]),this.BN("cubicbezier",this.fT),this.BN("spline",this.gT))}static Ub(b,d,c=!1){if("function"===typeof d)a.Pv(b,d,"predefined");else if(Rc.ik(d))if(self.KS){const e=Rc.A(self.KS,b,c);e.q9(d);a.Pv(b,(g,k,l,n)=>e.Ha(g,k,l,n),"predefined");Wc.set(b,e)}else{const e=Rc.A(Rc.RF,[b,d.map(g=>[g.x,g.y,g.sax,g.say,g.eax,g.eay,g.se,g.ee])],!1);e.AP=!!c;a.Pv(b,(g,k,l,n)=>e.Ha(g,k,l,n),"predefined")}else throw Error("unexpected arguments"); -}static BN(b,d){a.Pv(b,d,"private")}static sS(b,d){this.Qv();a.Pv(b,d,"custom")}static Pv(b,d,c){switch(c){case "predefined":Sc.set(b,d);Tc.set(b,d);break;case "custom":Uc.set(b,d);break;case "private":Sc.set(b,d);Vc.set(b,d);break;default:throw Error("unexpected ease mode");}}static bV(b,d,c,e){return c*b/e+d}static fT(b,d,c,e,g){return d+3*b*(c-d)+3*b**2*(d+e-2*c)+b**3*(g-d+3*c-3*e)}static gT(b,d,c,e,g,k,l,n,p,r){if(e===g&&k===l)c=b;else{if(1==b)b=1;else{for(var x=0,v=1,y=r[v];10!=v&&y<=b;)v++, -y=r[v],x+=.1;v--;y=r[v];r=x+(b-y)/(r[v+1]-y)*.1;n=n-3*k+3*e-d;k=3*k-6*e+3*d;d=3*(e-d);e=3*n*r*r+2*k*r+d;if(0!==e)if(.01<=e)for(x=0;4>x;++x)r-=(((n*r+k)*r+d)*r-b)/(3*n*r*r+2*k*r+d);else{e=x;x+=.1;v=0;let C;do r=e+(x-e)/2,y=((n*r+k)*r+d)*r-b,0++v;while(y&&C)}b=r}c=(((p-3*l+3*g-c)*b+(3*l-6*g+3*c))*b+3*(g-c))*b}return c}static CT(b,d,c,e){const g=[];e=e-3*c+3*d-b;c=3*c-6*d+3*b;b=3*(d-b);for(let k=0;11>k;++k)d=.1*k,g.push(((e*d+c)*d+b)*d);return g}};"use strict"; -const Yc=self.B;Yc.n7=class{constructor(a){this.jP=[];this.Ia=a||""}j(){this.Od();this.jP=null}na(){return this.Ia}Od(){Yc.a_(this.jP)}};"use strict";let Zc=0; -self.B.hN=class{constructor(a,b){this.g=a;this.Ua=b;this.Ud=Zc++;$c(this.g,"runtime","screen-reader-text",{type:"create",id:this.Ud,text:this.Ua})}j(){$c(this.g,"runtime","screen-reader-text",{type:"release",id:this.Ud});this.g=null;this.Ua="";this.Ud=-1}qk(a){this.Ua!==a&&(this.Ua=a,$c(this.g,"runtime","screen-reader-text",{type:"update",id:this.Ud,text:this.Ua}))}};"use strict"; -self.B.Event=class{constructor(a,b){this.type=a;this.cancelable=!!b;this.H_=this.aL=this.defaultPrevented=!1}preventDefault(){if(!this.cancelable)throw Error(`event '${this.type}' is not cancelable`);this.defaultPrevented=!0}stopPropagation(){if(!this.cancelable)throw Error(`event '${this.type}' cannot be stopped`);if(this.H_)throw Error(`cannot stop async event '${this.type}' propagation`);this.aL=!0}};"use strict";const ad=self.B; -function bd(a,b,d){0!b.defaultPrevented):!b.defaultPrevented}async function ed(a,b){return await dd(a,b)} -async function gd(a,b){a.Jk++;for(let c=0,e=a.Og.length;ce.Ia(g,k,l,n),"predefined");Wc.set(b,e)}else{const e=Rc.A(Rc.ZF,[b,d.map(g=>[g.x,g.y,g.sax,g.say,g.eax,g.eay,g.se,g.ee])],!1);e.MP=!!c;a.Vv(b,(g,k,l,n)=>e.Ia(g,k,l,n),"predefined")}else throw Error("unexpected arguments"); +}static NN(b,d){a.Vv(b,d,"private")}static ES(b,d){this.Wv();a.Vv(b,d,"custom")}static Vv(b,d,c){switch(c){case "predefined":Sc.set(b,d);Tc.set(b,d);break;case "custom":Uc.set(b,d);break;case "private":Sc.set(b,d);Vc.set(b,d);break;default:throw Error("unexpected ease mode");}}static nV(b,d,c,e){return c*b/e+d}static qT(b,d,c,e,g){return d+3*b*(c-d)+3*b**2*(d+e-2*c)+b**3*(g-d+3*c-3*e)}static rT(b,d,c,e,g,k,l,n,p,r){if(e===g&&k===l)c=b;else{if(1==b)b=1;else{for(var w=0,v=1,y=r[v];10!=v&&y<=b;)v++, +y=r[v],w+=.1;v--;y=r[v];r=w+(b-y)/(r[v+1]-y)*.1;n=n-3*k+3*e-d;k=3*k-6*e+3*d;d=3*(e-d);e=3*n*r*r+2*k*r+d;if(0!==e)if(.01<=e)for(w=0;4>w;++w)r-=(((n*r+k)*r+d)*r-b)/(3*n*r*r+2*k*r+d);else{e=w;w+=.1;v=0;let C;do r=e+(w-e)/2,y=((n*r+k)*r+d)*r-b,0++v;while(y&&C)}b=r}c=(((p-3*l+3*g-c)*b+(3*l-6*g+3*c))*b+3*(g-c))*b}return c}static NT(b,d,c,e){const g=[];e=e-3*c+3*d-b;c=3*c-6*d+3*b;b=3*(d-b);for(let k=0;11>k;++k)d=.1*k,g.push(((e*d+c)*d+b)*d);return g}};"use strict"; +const Yc=self.B;Yc.E7=class{constructor(a){this.vP=[];this.Ja=a||""}j(){this.Rd();this.vP=null}na(){return this.Ja}Rd(){Yc.o_(this.vP)}};"use strict";let Zc=0; +self.B.tN=class{constructor(a,b){this.g=a;this.Fa=b;this.pd=Zc++;$c(this.g,"runtime","screen-reader-text",{type:"create",id:this.pd,text:this.Fa})}j(){$c(this.g,"runtime","screen-reader-text",{type:"release",id:this.pd});this.g=null;this.Fa="";this.pd=-1}mj(a){this.Fa!==a&&(this.Fa=a,$c(this.g,"runtime","screen-reader-text",{type:"update",id:this.pd,text:this.Fa}))}};"use strict"; +self.B.Event=class{constructor(a,b){this.type=a;this.cancelable=!!b;this.W_=this.kL=this.defaultPrevented=!1}preventDefault(){if(!this.cancelable)throw Error(`event '${this.type}' is not cancelable`);this.defaultPrevented=!0}stopPropagation(){if(!this.cancelable)throw Error(`event '${this.type}' cannot be stopped`);if(this.W_)throw Error(`cannot stop async event '${this.type}' propagation`);this.kL=!0}};"use strict";const ad=self.B; +function bd(a,b,d){0!b.defaultPrevented):!b.defaultPrevented}async function ed(a,b){return await dd(a,b)} +async function gd(a,b){a.Mk++;for(let c=0,e=a.Rg.length;cc-b+e));-1===qd&&pd.length&&sd(Math.max(16-(c-b),4))}}function ud(a){let b;try{b=a.Vj()}catch(d){a.reject(d);return}a.resolve(b)}let vd=nd.jF.sv("disable-asyncify");vd&&console.warn("[Asyncify] Asyncify has been disabled due to disable-asyncify in the query string. Some work will now be done synchronously."); -nd.Wu=function(a){let b=null;nd.dz&&(b=nd.Mz());return new Promise((d,c)=>{pd.push({Vj:a,resolve:d,reject:c,stack:b});vd?ud(pd.pop()):-1===qd&&sd(16)})};nd.Wu.kN=function(a){if(a)++rd;else if(--rd,0>rd)throw Error("already turned off high throughput mode");};"use strict";const wd=self.B;let xd=-1;function yd(){xd=-1}wd.Iz=function(){-1===xd&&(xd=Date.now(),self.setTimeout(yd,16));return xd};let zd=-1,Ad=-1,Bd=new Set; -function Cd(){Ad=zd=-1;let a=Date.now();for(let c of Bd){var b=c;var d=a;d>=b.Kq?b.Us()?(b.Kq=d+b.yp,b=!0):b=b.Ib=!1:b=!0;if(b){if(b=c.Kq,-1===Ad||ba+1E3&&(self.clearTimeout(zd),Ad=this.Kq,zd=self.setTimeout(Cd,this.yp+100))}j(){this.Ib&&(Bd.delete(this),this.Ib=!1,0===Bd.size&&-1!==zd&&(self.clearTimeout(zd),Ad=zd=-1));this.Us=null}};"use strict";const Dd=self.B; -Dd.je=class a{constructor(b){this.it=!1;this.oB=b}Gz(){this.it||(this.it=!0,this.oB&&(this.oB(),this.oB=null))}j(){this.Gz()}static j(b){return new a(()=>b.j())}static Wf(b,d,c){if("undefined"===typeof e||null===e)var e=!1;else if("boolean"!==typeof e&&"object"!==typeof e)throw new TypeError("invalid event listener options");if(d.includes(" ")){d=d.split(" ");const g=new Dd.Dz;for(let k of d)b.addEventListener(k,c,e),g.Kb(Dd.A(Dd.je,()=>b.removeEventListener(k,c,e)));return g}b.addEventListener(d, -c,e);return Dd.A(Dd.je,()=>b.removeEventListener(d,c,e))}};function Ed(a,b){a.oB=b}Dd.eaa=class extends Dd.je{};Dd.Dz=class extends Dd.je{constructor(...a){super();this.hg=new Set;for(let b of a)this.Kb(b)}Kb(...a){if(this.it)throw Error("already disposed");for(let b of a)this.hg.add(b)}Ah(a){if(this.it)throw Error("already disposed");this.hg.delete(a)}Gz(){if(this.it)throw Error("already disposed");this.it=!0;for(let a of this.hg)a.Gz();this.hg.clear();this.hg=null}j(){this.Gz()}};"use strict"; -const Fd=self.B;Fd.wv=class extends Fd.ua{constructor(){super();this.up=this.Br=this.S=this.Ss=0}Kb(a){this.S=+a-this.Ss;this.Br=this.up+this.S;this.Ss=this.Br-this.up-this.S;this.up=this.Br}U(){return this.up}Sc(){this.up=this.Br=this.S=this.Ss=0}Set(a){this.Br=this.S=this.Ss=0;this.up=+a}yE(a){this.Ss=a.Ss;this.S=a.S;this.Br=a.Br;this.up=a.up}j(){}};"use strict"; -const Gd=self.B,Hd={kF:function(a){this.dS=a;this.left=this.right=this.dS.Eb;this.parent=null;this.color=!1;this.key=null},lq:function(a){this.size=0;this.Eb=new Hd.kF(this);this.Eb.color=!1;this.root=this.Eb;this.root.parent=this.Eb;this.compare=a||this.k_}};aa=Hd.lq.prototype;aa.k_=function(a,b){return ac-b+e));-1===qd&&pd.length&&sd(Math.max(16-(c-b),4))}}function ud(a){let b;try{b=a.Yj()}catch(d){a.reject(d);return}a.resolve(b)}let vd=nd.rF.yv("disable-asyncify");vd&&console.warn("[Asyncify] Asyncify has been disabled due to disable-asyncify in the query string. Some work will now be done synchronously."); +nd.av=function(a){let b=null;nd.kz&&(b=nd.Sz());return new Promise((d,c)=>{pd.push({Yj:a,resolve:d,reject:c,stack:b});vd?ud(pd.pop()):-1===qd&&sd(16)})};nd.av.wN=function(a){if(a)++rd;else if(--rd,0>rd)throw Error("already turned off high throughput mode");};"use strict";const wd=self.B;let xd=-1;function yd(){xd=-1}wd.Oz=function(){-1===xd&&(xd=Date.now(),self.setTimeout(yd,16));return xd};let zd=-1,Ad=-1,Bd=new Set; +function Cd(){Ad=zd=-1;let a=Date.now();for(let c of Bd){var b=c;var d=a;d>=b.Oq?b.Ys()?(b.Oq=d+b.Bp,b=!0):b=b.Ib=!1:b=!0;if(b){if(b=c.Oq,-1===Ad||ba+1E3&&(self.clearTimeout(zd),Ad=this.Oq,zd=self.setTimeout(Cd,this.Bp+100))}j(){this.Ib&&(Bd.delete(this),this.Ib=!1,0===Bd.size&&-1!==zd&&(self.clearTimeout(zd),Ad=zd=-1));this.Ys=null}};"use strict";const Dd=self.B; +Dd.le=class a{constructor(b){this.mt=!1;this.uB=b}Mz(){this.mt||(this.mt=!0,this.uB&&(this.uB(),this.uB=null))}j(){this.Mz()}static j(b){return new a(()=>b.j())}static Yf(b,d,c){if("undefined"===typeof e||null===e)var e=!1;else if("boolean"!==typeof e&&"object"!==typeof e)throw new TypeError("invalid event listener options");if(d.includes(" ")){d=d.split(" ");const g=new Dd.Kz;for(let k of d)b.addEventListener(k,c,e),g.Kb(Dd.A(Dd.le,()=>b.removeEventListener(k,c,e)));return g}b.addEventListener(d, +c,e);return Dd.A(Dd.le,()=>b.removeEventListener(d,c,e))}};function Ed(a,b){a.uB=b}Dd.vaa=class extends Dd.le{};Dd.Kz=class extends Dd.le{constructor(...a){super();this.kg=new Set;for(let b of a)this.Kb(b)}Kb(...a){if(this.mt)throw Error("already disposed");for(let b of a)this.kg.add(b)}Dh(a){if(this.mt)throw Error("already disposed");this.kg.delete(a)}Mz(){if(this.mt)throw Error("already disposed");this.mt=!0;for(let a of this.kg)a.Mz();this.kg.clear();this.kg=null}j(){this.Mz()}};"use strict"; +const Fd=self.B;Fd.Cv=class extends Fd.ua{constructor(){super();this.xp=this.Fr=this.S=this.Ws=0}Kb(a){this.S=+a-this.Ws;this.Fr=this.xp+this.S;this.Ws=this.Fr-this.xp-this.S;this.xp=this.Fr}U(){return this.xp}Tc(){this.xp=this.Fr=this.S=this.Ws=0}Set(a){this.Fr=this.S=this.Ws=0;this.xp=+a}EE(a){this.Ws=a.Ws;this.S=a.S;this.Fr=a.Fr;this.xp=a.xp}j(){}};"use strict"; +const Gd=self.B,Hd={sF:function(a){this.pS=a;this.left=this.right=this.pS.Eb;this.parent=null;this.color=!1;this.key=null},oq:function(a){this.size=0;this.Eb=new Hd.sF(this);this.Eb.color=!1;this.root=this.Eb;this.root.parent=this.Eb;this.compare=a||this.z_}};aa=Hd.oq.prototype;aa.z_=function(a,b){return athis.compare(b.key,d.key)?d.left:d.right;b.parent=a;a==this.Eb?this.root=b:0>this.compare(b.key,a.key)?a.left=b:a.right=b;b.left=this.Eb;b.right=this.Eb;for(b.color=!0;b!=this.Eb&&b!=this.root&&1==b.parent.color;)b.parent==b.parent.parent.left?(a=b.parent.parent.right,1==a.color?(b.parent.color=!1,a.color=!1,b.parent.parent.color=!0,b=b.parent.parent):(b==b.parent.right&& +aa.Ru=function(a){if(this.contains(a))Kd(this,a).key=a;else{var b=new Hd.sF(this);b.key=a;a=this.Eb;for(var d=this.root;d!=this.Eb;)a=d,d=0>this.compare(b.key,d.key)?d.left:d.right;b.parent=a;a==this.Eb?this.root=b:0>this.compare(b.key,a.key)?a.left=b:a.right=b;b.left=this.Eb;b.right=this.Eb;for(b.color=!0;b!=this.Eb&&b!=this.root&&1==b.parent.color;)b.parent==b.parent.parent.left?(a=b.parent.parent.right,1==a.color?(b.parent.color=!1,a.color=!1,b.parent.parent.color=!0,b=b.parent.parent):(b==b.parent.right&& (b=b.parent,Id(this,b)),b.parent.color=!1,b.parent.parent.color=!0,b.parent.parent!=this.Eb&&Jd(this,b.parent.parent))):(a=b.parent.parent.left,1==a.color?(b.parent.color=!1,a.color=!1,b.parent.parent.color=!0,b=b.parent.parent):(b==b.parent.left&&(b=b.parent,Jd(this,b)),b.parent.color=!1,b.parent.parent.color=!0,b.parent.parent!=this.Eb&&Id(this,b.parent.parent)));this.root.color=!1;this.size++}}; aa.remove=function(a){var b=Kd(this,a);if(b!=this.Eb){a=b.key;var d=b.left==this.Eb||b.right==this.Eb?b:Ld(this,b);var c=d.left!=this.Eb?d.left:d.right;c.parent=d.parent;d.parent==this.Eb?this.root=c:d==d.parent.left?d.parent.left=c:d.parent.right=c;d!=b&&(b.key=d.key);if(0==d.color){for(b=c;b!=this.root&&0==b.color;)b==b.parent.left?(d=b.parent.right,1==d.color&&(d.color=!1,b.parent.color=!0,Id(this,b.parent),d=b.parent.right),0==d.left.color&&0==d.right.color?(d.color=!0,b=b.parent):(0==d.right.color&& (d.left.color=!1,d.color=!0,Jd(this,d),d=b.parent.right),d.color=b.parent.color,b.parent.color=!1,d.right.color=!1,Id(this,b.parent),b=this.root)):(d=b.parent.left,1==d.color&&(d.color=!1,b.parent.color=!0,Jd(this,b.parent),d=b.parent.left),0==d.right.color&&0==d.left.color?(d.color=!0,b=b.parent):(0==d.left.color&&(d.right.color=!1,d.color=!0,Id(this,d),d=b.parent.left),d.color=b.parent.color,b.parent.color=!1,d.left.color=!1,Jd(this,b.parent),b=this.root));b.color=!1}this.size--;return a}return null}; -aa.min=function(a){for(;a.left!=this.Eb;)a=a.left;return a};aa.max=function(a){for(;a.right!=this.Eb;)a=a.right;return a};function Ld(a,b){if(b.right!=a.Eb)return a.min(b.right);for(var d=b.parent;d!=a.Eb&&b==d.right;)b=d,d=d.parent;return d}function Kd(a,b){for(var d=a.root;d!=a.Eb&&0!=a.compare(d.key,b);)d=0>a.compare(b,d.key)?d.left:d.right;return d}aa.contains=function(a){return null!=Kd(this,a).key};aa.BK=function(){var a=[];this.forEach(function(b){a.push(b)});return a}; +aa.min=function(a){for(;a.left!=this.Eb;)a=a.left;return a};aa.max=function(a){for(;a.right!=this.Eb;)a=a.right;return a};function Ld(a,b){if(b.right!=a.Eb)return a.min(b.right);for(var d=b.parent;d!=a.Eb&&b==d.right;)b=d,d=d.parent;return d}function Kd(a,b){for(var d=a.root;d!=a.Eb&&0!=a.compare(d.key,b);)d=0>a.compare(b,d.key)?d.left:d.right;return d}aa.contains=function(a){return null!=Kd(this,a).key};aa.LK=function(){var a=[];this.forEach(function(b){a.push(b)});return a}; aa.range=function(a,b){var d=[];Md(this,function(c){d.push(c)},a,b);return d};function Md(a,b,d,c){if(0!=a.size)for(d=Kd(a,d),c=Kd(a,c);d!=c&&!b.call(void 0,d.key,a);)d=Ld(a,d)}aa.forEach=function(a,b){if(0!=this.size)for(var d=this.min(this.root);d!=this.Eb;d=Ld(this,d))a.call(b,d.key,d.key,this)};aa.some=function(a,b){if(0==this.size)return!1;for(var d=this.min(this.root);d!=this.Eb;d=Ld(this,d))if(a.call(b,d.key,d.key,this))return!0;return!1}; aa.every=function(a,b){if(0==this.size)return!1;for(var d=this.min(this.root);d!=this.Eb;d=Ld(this,d))if(!a.call(b,d.key,d.key,this))return!1;return!0};aa.map=function(a,b){var d=[];if(0==this.size)return d;for(var c=this.min(this.root);c!=this.Eb;c=Ld(this,c))d.push(a.call(b,c.key,c.key,this));return d};aa.filter=function(a,b){var d=[];if(0==this.size)return d;for(var c=this.min(this.root);c!=this.Eb;c=Ld(this,c))a.call(b,c.key,c.key,this)&&d.push(c.key);return d}; -function Nd(a,b){b=!!b;if(a.kt!==b&&(a.kt=b,!b)){for(const d of a.vr)a.Ti.remove(d);a.vr.clear();for(const d of a.ur)a.Ti.Mu(d);a.ur.clear()}} -Gd.lq=class extends Gd.ua{constructor(a){super();this.Ti=new Hd.lq(a);this.kt=!1;this.ur=new Set;this.vr=new Set}Kb(a){this.kt?this.Ti.contains(a)?this.vr.delete(a):this.ur.add(a):this.Ti.Mu(a)}Ah(a){this.kt?this.Ti.contains(a)?this.vr.add(a):this.ur.delete(a):this.Ti.remove(a)}sv(a){return this.kt?this.ur.has(a)?!0:!this.vr.has(a)&&this.Ti.contains(a):this.Ti.contains(a)}Od(){this.Ti.clear();this.ur.clear();this.vr.clear()}toArray(){if(this.kt)throw Error("cannot be used in queueing mode");return this.Ti.BK()}bo(){return this.Ti.size+ -this.ur.size-this.vr.size}jj(){return 0===this.bo()}RL(a){this.Ti.forEach(a)}*values(){if(!this.jj()){var a=this.Ti;for(let b=a.min(a.root);b!=a.Eb;b=Ld(a,b))yield b.key}}[Symbol.iterator](){return this.values()}};"use strict";const Od=self.B;async function Pd(a){if(a.sJ.length&&!(a.FG>=a.nZ)){a.FG++;var b=a.sJ.shift();try{const d=await b.Vj();b.resolve(d)}catch(d){b.reject(d)}a.FG--;Pd(a)}} -Od.Bv=class{constructor(a=Od.hardwareConcurrency){this.nZ=a;this.sJ=[];this.FG=0}Kb(a){return new Promise((b,d)=>{this.sJ.push({Vj:a,resolve:b,reject:d});Pd(this)})}};"use strict";const Qd=self.B;function Rd(a){a.UH=!0;const b=a.pw;a.pw=null;b?a.Us(...b):a.Us();a.UH=!1}function Sd(a){var b=[];if(-1===a.vu){a.pw=b;b=Qd.Iz();var d=b-a.nC;var c="undefined"!==typeof Qd.GS&&Qd.GS.P4()?a.$Y:a.ZY;d>=c&&a.yY?(a.nC=b,Rd(a)):a.vu=self.setTimeout(a.DQ,Math.max(c-d,4))}} -function Td(a){-1!==a.vu&&(self.clearTimeout(a.vu),a.vu=-1)}Qd.gW=class{constructor(a,b,d){this.Us=a;this.ZY=b;this.$Y=d||2*b;this.vu=-1;this.nC=-Infinity;this.DQ=()=>{this.vu=-1;this.nC=Qd.Iz();Rd(this)};this.yY=this.UH=!1;this.pw=null}Sc(){this.UH||(Td(this),this.pw=null,this.nC=Qd.Iz())}j(){Td(this);this.DQ=this.pw=this.Us=null}};"use strict";function Ud(a,b){if(!a.GO)throw Error("no get base size callback set");return a.GO(b)} -self.B.H8=class{constructor(){this.XY=new Map;this.dQ=this.fQ=this.GO=null}tA(){if(!this.dQ)throw Error("no redraw callback set");this.dQ()}};"use strict"; -self.B.G8=class{constructor(a,b){this.qe=a;this.GY=b;this.Ad=0;Ud(this.qe,b).then(()=>{this.qe&&this.qe.tA()}).catch(d=>{console.error("[SVG] Error loading SVG: ",d);this.qe&&this.qe.tA()});this.tJ=null}j(){if(0>=this.Ad)throw Error("already released");this.Ad--;0===this.Ad&&this.Xv()}Xv(){if(this.tJ){var a=this.qe;if(!a.fQ)throw Error("no release result callback set");a.fQ(this.tJ);this.tJ=null}this.qe.XY.delete(this.GY);this.qe=null}};"use strict";const T=self.B;T.zaa="\ufeff";const Vd=new Set([..."0123456789"]); -T.DU=function(a){return Vd.has(a)};const Wd=new Set([..." \t\n\r\u00a0\u0085\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u2028\u2029\u202f\u205f\u3000"]);T.lA=function(a){return Wd.has(a)};T.G3=function(a){return[...a].filter(b=>!T.lA(b)).join("")};T.GU=function(a){for(const b of a)if(!T.lA(b))return!1;return!0};T.UE=function(a){for(const b of a)if(!T.lA(b))return!1;return!0};T.JU=function(a){return 1===a.length&&32>a.charCodeAt(0)}; -T.qT=function(a){return[...a].filter(b=>!T.JU(b)).join("")};const $d=new Set([..."0123456789.+-e"]);T.W4=function(a){a=a.trim();if(!a.length)return!1;let b=a.charAt(0);if("-"!==b&&!Vd.has(b))return!1;for(let d of a)if(!$d.has(d))return!1;return!0};T.hW=function(a){let b=a.length;for(;0",">"],['"',"""],["'","'"]]);function be(a){return ae.get(a)}const ce=/[&<>"']/g;T.JL=function(a){return a.replace(ce,be)};T.t3=function(a){a=T.ti(a,"\\","\\\\");a=T.ti(a,'"','\\"');a=T.ti(a,"\t","\\t");a=T.ti(a,"\r","");return T.ti(a,"\n","\\n")};T.u3=function(a){a=T.ti(a,"&","&");a=T.ti(a,"<","<");a=T.ti(a,">",">");return T.ti(a,'"',""")};const de=/[-[\]{}()*+?.,\\^$|#\s]/g;T.Xu=function(a){return a.replace(de,"\\$&")}; -T.Y2=function(a,b){let d=0;for(const c of a)c===b&&++d;return d};T.H3=function(a,b,d=!1){if(!b)return[];d||(a=a.toLowerCase(),b=b.toLowerCase());d=b.length;var c=0;let e=[];for(;-1<(c=a.indexOf(b,c));)e.push(c),c+=d;return e};T.ti=function(a,b,d){return a.replaceAll(b,()=>d)};T.z7=function(a,b,d){return a.replace(new RegExp(T.Xu(b),"gi"),()=>d)}; -T.i9=function(a,b){if("string"===typeof b)a.textContent=b;else if(b.fP)a.textContent=b.toString();else if(a.innerHTML=ee(b),b instanceof T.Xn&&b.Dx.length)for(let d=0,c=b.Dx.length;db?1:ab?1:aa)return d(b+"bytes",a);if(1048576>a)return a/=1024,a=10>a?Math.round(10*a)/10:Math.round(a),d(b+"kilobytes",a);if(1073741824>a)return a/=1048576,a=10>a?Math.round(10*a)/10:Math.round(a),d(b+"megabytes",a);if(1099511627776>a)return a/=1073741824,a=10>a?Math.round(10*a)/10:Math.round(a),d(b+"gigabytes",a);a/=1099511627776;a=10>a?Math.round(10*a)/10:Math.round(a);return d(b+"terabytes",a)}; -const he={VZ:!1,h_:!0,D_:!0,W_:!0,TR:!0}; -T.K3=function(a,b){b=Object.assign({},he,b);T.QU.o7("common.time");const d=[],c=self.lang,e=self.Mca;if(b.h_){var g=Math.floor(a/86400);0a?"-":"";a=Math.abs(a);a=a.toString();b-=a.length;for(let c=0;cb.toUpperCase())};T.N2=function(a,b){a=a.split(".").map(d=>d.trim());b=b.split(".").map(d=>d.trim());T.RR(a);T.RR(b);a=a.map(d=>parseInt(d,10));b=b.map(d=>parseInt(d,10));for(let d=0;4>d;++d){const c=a[d]-b[d];if(0!==c)return 0>c?-1:1}return 0}; -T.Z2=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{const b=Math.floor(16*Math.random());return("x"===a?b:b&3|8).toString(16)})};T.Y$=function(a,b){if(a.length!==b.length)throw Error("strings must be same length");let d=0;for(let c=0,e=a.length;cb.length){var k=a;a=b;b=k}g=Array(a.length+1);for(k=0;k<=a.length;k++)g[k]=k;for(k=1;k<=b.length;k++){c=k;for(d=1;d<=a.length;d++)e=b[k-1]===a[d-1]?g[d-1]:Math.min(g[d-1]+1,Math.min(c+1,g[d]+1)),g[d-1]=c,c=e;g[a.length]=c}return g[a.length]};"use strict"; +function Nd(a,b){b=!!b;if(a.ot!==b&&(a.ot=b,!b)){for(const d of a.Ar)a.Ui.remove(d);a.Ar.clear();for(const d of a.zr)a.Ui.Ru(d);a.zr.clear()}} +Gd.oq=class extends Gd.ua{constructor(a){super();this.Ui=new Hd.oq(a);this.ot=!1;this.zr=new Set;this.Ar=new Set}Kb(a){this.ot?this.Ui.contains(a)?this.Ar.delete(a):this.zr.add(a):this.Ui.Ru(a)}Dh(a){this.ot?this.Ui.contains(a)?this.Ar.add(a):this.zr.delete(a):this.Ui.remove(a)}yv(a){return this.ot?this.zr.has(a)?!0:!this.Ar.has(a)&&this.Ui.contains(a):this.Ui.contains(a)}Rd(){this.Ui.clear();this.zr.clear();this.Ar.clear()}toArray(){if(this.ot)throw Error("cannot be used in queueing mode");return this.Ui.LK()}ho(){return this.Ui.size+ +this.zr.size-this.Ar.size}kj(){return 0===this.ho()}bM(a){this.Ui.forEach(a)}*values(){if(!this.kj()){var a=this.Ui;for(let b=a.min(a.root);b!=a.Eb;b=Ld(a,b))yield b.key}}[Symbol.iterator](){return this.values()}};"use strict";const Od=self.B;async function Pd(a){if(a.CJ.length&&!(a.NG>=a.BZ)){a.NG++;var b=a.CJ.shift();try{const d=await b.Yj();b.resolve(d)}catch(d){b.reject(d)}a.NG--;Pd(a)}} +Od.Hv=class{constructor(a=Od.hardwareConcurrency){this.BZ=a;this.CJ=[];this.NG=0}Kb(a){return new Promise((b,d)=>{this.CJ.push({Yj:a,resolve:b,reject:d});Pd(this)})}};"use strict";const Qd=self.B;function Rd(a){a.bI=!0;const b=a.yw;a.yw=null;b?a.Ys(...b):a.Ys();a.bI=!1}function Sd(a){var b=[];if(-1===a.Au){a.yw=b;b=Qd.Oz();var d=b-a.tC;var c="undefined"!==typeof Qd.SS&&Qd.SS.g5()?a.nZ:a.mZ;d>=c&&a.MY?(a.tC=b,Rd(a)):a.Au=self.setTimeout(a.PQ,Math.max(c-d,4))}} +function Td(a){-1!==a.Au&&(self.clearTimeout(a.Au),a.Au=-1)}Qd.sW=class{constructor(a,b,d){this.Ys=a;this.mZ=b;this.nZ=d||2*b;this.Au=-1;this.tC=-Infinity;this.PQ=()=>{this.Au=-1;this.tC=Qd.Oz();Rd(this)};this.MY=this.bI=!1;this.yw=null}Tc(){this.bI||(Td(this),this.yw=null,this.tC=Qd.Oz())}j(){Td(this);this.PQ=this.yw=this.Ys=null}};"use strict";function Ud(a,b){if(!a.TO)throw Error("no get base size callback set");return a.TO(b)} +self.B.X8=class{constructor(){this.kZ=new Map;this.pQ=this.rQ=this.TO=null}zA(){if(!this.pQ)throw Error("no redraw callback set");this.pQ()}};"use strict"; +self.B.W8=class{constructor(a,b){this.te=a;this.UY=b;this.Dd=0;Ud(this.te,b).then(()=>{this.te&&this.te.zA()}).catch(d=>{console.error("[SVG] Error loading SVG: ",d);this.te&&this.te.zA()});this.DJ=null}j(){if(0>=this.Dd)throw Error("already released");this.Dd--;0===this.Dd&&this.dw()}dw(){if(this.DJ){var a=this.te;if(!a.rQ)throw Error("no release result callback set");a.rQ(this.DJ);this.DJ=null}this.te.kZ.delete(this.UY);this.te=null}};"use strict";const T=self.B;T.Qaa="\ufeff";const Vd=new Set([..."0123456789"]); +T.PU=function(a){return Vd.has(a)};const Wd=new Set([..." \t\n\r\u00a0\u0085\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u2028\u2029\u202f\u205f\u3000"]);T.rA=function(a){return Wd.has(a)};T.X3=function(a){return[...a].filter(b=>!T.rA(b)).join("")};T.SU=function(a){for(const b of a)if(!T.rA(b))return!1;return!0};T.bF=function(a){for(const b of a)if(!T.rA(b))return!1;return!0};T.VU=function(a){return 1===a.length&&32>a.charCodeAt(0)}; +T.BT=function(a){return[...a].filter(b=>!T.VU(b)).join("")};const $d=new Set([..."0123456789.+-e"]);T.n5=function(a){a=a.trim();if(!a.length)return!1;let b=a.charAt(0);if("-"!==b&&!Vd.has(b))return!1;for(let d of a)if(!$d.has(d))return!1;return!0};T.tW=function(a){let b=a.length;for(;0",">"],['"',"""],["'","'"]]);function be(a){return ae.get(a)}const ce=/[&<>"']/g;T.UL=function(a){return a.replace(ce,be)};T.K3=function(a){a=T.vi(a,"\\","\\\\");a=T.vi(a,'"','\\"');a=T.vi(a,"\t","\\t");a=T.vi(a,"\r","");return T.vi(a,"\n","\\n")};T.L3=function(a){a=T.vi(a,"&","&");a=T.vi(a,"<","<");a=T.vi(a,">",">");return T.vi(a,'"',""")};const de=/[-[\]{}()*+?.,\\^$|#\s]/g;T.cv=function(a){return a.replace(de,"\\$&")}; +T.s3=function(a,b){let d=0;for(const c of a)c===b&&++d;return d};T.Y3=function(a,b,d=!1){if(!b)return[];d||(a=a.toLowerCase(),b=b.toLowerCase());d=b.length;var c=0;let e=[];for(;-1<(c=a.indexOf(b,c));)e.push(c),c+=d;return e};T.vi=function(a,b,d){return a.replaceAll(b,()=>d)};T.Q7=function(a,b,d){return a.replace(new RegExp(T.cv(b),"gi"),()=>d)}; +T.y9=function(a,b){if("string"===typeof b)a.textContent=b;else if(b.rP)a.textContent=b.toString();else if(a.innerHTML=ee(b),b instanceof T.Zn&&b.Kx.length)for(let d=0,c=b.Kx.length;db?1:ab?1:aa)return d(b+"bytes",a);if(1048576>a)return a/=1024,a=10>a?Math.round(10*a)/10:Math.round(a),d(b+"kilobytes",a);if(1073741824>a)return a/=1048576,a=10>a?Math.round(10*a)/10:Math.round(a),d(b+"megabytes",a);if(1099511627776>a)return a/=1073741824,a=10>a?Math.round(10*a)/10:Math.round(a),d(b+"gigabytes",a);a/=1099511627776;a=10>a?Math.round(10*a)/10:Math.round(a);return d(b+"terabytes",a)}; +const he={i_:!1,v_:!0,S_:!0,l0:!0,eS:!0}; +T.b4=function(a,b){b=Object.assign({},he,b);T.bV.F7("common.time");const d=[],c=self.lang,e=self.cda;if(b.v_){var g=Math.floor(a/86400);0a?"-":"";a=Math.abs(a);a=a.toString();b-=a.length;for(let c=0;cb.toUpperCase())};T.f3=function(a,b){a=a.split(".").map(d=>d.trim());b=b.split(".").map(d=>d.trim());T.cS(a);T.cS(b);a=a.map(d=>parseInt(d,10));b=b.map(d=>parseInt(d,10));for(let d=0;4>d;++d){const c=a[d]-b[d];if(0!==c)return 0>c?-1:1}return 0}; +T.t3=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{const b=Math.floor(16*Math.random());return("x"===a?b:b&3|8).toString(16)})};T.oaa=function(a,b){if(a.length!==b.length)throw Error("strings must be same length");let d=0;for(let c=0,e=a.length;cb.length){var k=a;a=b;b=k}g=Array(a.length+1);for(k=0;k<=a.length;k++)g[k]=k;for(k=1;k<=b.length;k++){c=k;for(d=1;d<=a.length;d++)e=b[k-1]===a[d-1]?g[d-1]:Math.min(g[d-1]+1,Math.min(c+1,g[d]+1)),g[d-1]=c,c=e;g[a.length]=c}return g[a.length]};"use strict"; const ie=self.B,je=new Map([["b","strong"],["i","em"],["s","s"],["u","u"],["sub","sub"],["sup","sup"],["small","small"],["mark","mark"],["code","code"],["a1","a"],["a2","a"],["a3","a"],["a4","a"],["a5","a"],["a6","a"],["a7","a"],["a8","a"],["a9","a"],["tip1","abbr"],["tip2","abbr"],["tip3","abbr"],["tip4","abbr"],["tip5","abbr"],["tip6","abbr"],["tip7","abbr"],["tip8","abbr"],["tip9","abbr"],["bad",["span","bbCodeBad"]],["good",["span","bbCodeGood"]],["info",["span","bbCodeInfo"]],["h1",["span","bbCodeH1"]], ["h2",["span","bbCodeH2"]],["h3",["span","bbCodeH3"]],["h4",["span","bbCodeH4"]],["item",["span","bbCodeItem"]]]),ke=new Set(["icon"]),le=/\[(\/?)([a-zA-Z0-9]+)\]/g,me=/\[(\/?)([^\[\n]*?)\]/g;let ne=null,oe=null,pe=0; -function qe(a,b,d){var c=je.get(d);if(c){if("string"===typeof c){if("a"===c&&0===ne.length||"abbr"===c&&0===oe.length)return a;if("a"!==c||b){if("abbr"!==c||b)return"<"+b+c+">";b=parseInt(d.substring(3),10)-1;if(0>b||b>=oe.length)throw Error("invalid bbcode tip substitution");b=oe[b];c="";"string"===typeof b?c=b:"function"===typeof b&&(c=b());if("string"!==typeof c)throw new TypeError("invalid bbcode tip");return``}b=parseInt(d.substring(1),10)-1;if(0>b||b>= +function qe(a,b,d){var c=je.get(d);if(c){if("string"===typeof c){if("a"===c&&0===ne.length||"abbr"===c&&0===oe.length)return a;if("a"!==c||b){if("abbr"!==c||b)return"<"+b+c+">";b=parseInt(d.substring(3),10)-1;if(0>b||b>=oe.length)throw Error("invalid bbcode tip substitution");b=oe[b];c="";"string"===typeof b?c=b:"function"===typeof b&&(c=b());if("string"!==typeof c)throw new TypeError("invalid bbcode tip");return``}b=parseInt(d.substring(1),10)-1;if(0>b||b>= ne.length)throw Error("invalid bbcode link substitution");c=ne[b];if("string"===typeof c)return``;if("function"===typeof c)return``;throw new TypeError("invalid bbcode link action");}if(Array.isArray(c))return a=c[0],c=c[1],b?"":`<${a} class="${c}">`}else return"class"===d?b?"":``:a}const re=/\n/g; -function ee(a){if(a.fP)return a.pj;if(!a.RH&&a.pj){let b=a.pj;a.JO&&(pe=0,ne=a.Dx,oe=a.EQ,b=b.replace(le,qe),oe=ne=null);a.NP&&(b=b.replace(re,"
"));a.RH=b}return a.RH}function se(a){a=ie.ti(a,"\\[","[");return ie.ti(a,"\\\\","\\")} -function te(a){if(a.MO)return a.Tq;const b=[],d=a.pj,c=[];let e=me.lastIndex=0;for(var g=null;null!==(g=me.exec(d));){var k=g.index;if(0p.icon?ie.A(ie.fM,{icon:p.icon,hh:p.hh}):ie.A(ie.Jm,{On:ie.NF(p.text),hh:p.hh}));a.MO=!0;return a.Tq} -ie.Xn=class{constructor(a){var b={$_:!0};this.pj=b&&b.$_?a:ie.JL(a);this.RH="";this.fO=!1;this.Dx=[];this.EQ=[];if(b){this.fO=!!b.Kba;if(b.links){if(9=c?(0b.$F())} -function Ce(a,b){var d=a.length?a.at(-1):null;let c=0;d&&d.bg()&&b[0].bg()&&b[0].em===d.em&&(De.nm(d.Te,b[0].Te),d.P=-1,d.R=-1,d.Rq=-1,d.Rl=-1,d.zp=-1,c=1);for(d=b.length;cMath.max(b,d.J()),0)}function Ge(a){return a.Hf.reduce((b,d)=>b+d.I(),0)} -ue.tq=class{constructor(){this.Hf=[];this.Tl=null}Jv(a){this.Tl=a}tq(a,b,d,c,e){"string"===typeof a&&(a=[ue.A(ue.Jm,{On:ue.NF(a)})]);ue.D(this.Hf);if(!(!a.length||1===a.length&&a[0].bg()&&a[0].jj()||2>d)){if(1===a.length){const g=a[0];if(g.bg()&&100>=g.lv()&&!g.Te.includes("\n")){let {width:k,height:l,nl:n,ol:p,ql:r}=b(g);k+=e;g.ye(k);g.Qe(l);g.Rq=n||0;g.Rl=p||0;g.zp=r||0;if(k<=d){ye(this,[g],k,l,n,p,r);return}}}if("word"===c)c=ze(a);else{c=[];for(const g of a)g.bg()?ue.nm(c,g.Te.map(k=>[ue.A(ue.Jm, -{On:[k],hh:g.em})])):c.push([g])}Ae(this,c,b,d,e)}}Od(){ue.D(this.Hf)}};"use strict";function*He(a){a=a.Tq;for(let b=a.length-1;0<=b;--b)yield a[b]}self.B.tq.pM=class{constructor(a){this.Tq=a.ej||[];this.P=a.width||-1;this.R=a.height||-1;this.Rq=a.nl||-1;this.Rl=a.ol||-1;this.zp=a.ql||-1;this.Si=this.Ri=0}ej(){return this.Tq.values()}zl(a){this.P+=a}J(){return this.P}I(){return this.R}Gm(a){this.Ri=a}Hm(a){this.Si=a}};"use strict"; -function Ie(a,b){a=a.em;for(let d=a.length-1;0<=d;--d){const c=a[d];if(c.tag===b)return c}return null}function Je(a){const b=new Map;for(const d of a.em)b.set(d.tag,d.nc);return b}self.B.SL=class{constructor(a){this.em=a.hh||[];this.P=a.width||-1;this.R=a.height||-1;this.Rq=a.nl||-1;this.Rl=a.ol||-1;this.zp=a.ql||-1;this.Si=this.Ri=0}bg(){return!1}xl(){return!1}zl(a){this.P+=a}ye(a){this.P=a}J(){return this.P}Qe(a){this.R=a}I(){return this.R}Gm(a){this.Ri=a}Hm(a){this.Si=a}};"use strict"; -const De=self.B;De.Jm=class extends De.SL{constructor(a){super(a);this.Te=a.On}bg(){return!0}$F(){return De.A(De.Jm,{On:this.Te.slice(0),hh:this.em,width:this.P,height:this.R,nl:this.Rq,ol:this.Rl,ql:this.zp})}lv(){return this.Te.length}jj(){return 0===this.Te.length}};"use strict";const Ke=self.B;function xe(a,b){if(!b)return null;let d=Number(a.$w);return String(d)===a.$w?(d=Math.floor(d),a=Math.floor(d),0>a||a>=b.Wq.length?null:b.Wq[a]):b.TH.get(a.$w.toLowerCase())||null} -Ke.fM=class extends Ke.SL{constructor(a){super(a);this.$w=a.icon}xl(){return!0}$F(){return Ke.A(Ke.fM,{icon:this.$w,hh:this.em,width:this.P,height:this.R,nl:this.Rq,ol:this.Rl,ql:this.zp})}EE(a){return(a=xe(this,a))?a.EE():null}lv(){return 1}};"use strict";const Le=self.B;function Me(a,b){var d=a.Bt.get(b);if(d)return d;d=a.SY(b);d=Le.A(Le.ZW,a,{source:b,E_:d});a.Bt.set(b,d);return d}function Ne(a,b){const d=a.Bt.get(b);d&&d.j();a.Bt.delete(b)}async function Oe(a,b){return await a.RY(b)} -Le.YW=class{constructor(a){this.Bt=new Map;this.SY=a.x_;this.RY=a.w_}j(){for(const a of this.Bt.values())a.j();this.Bt.clear()}};"use strict";const Pe=self.B;async function Qe(a){if(!a.OH){a.OH=!0;a.Rh=!0;var b=await Oe(a.Gn,a.uy);if(a.Gn){b=b.CK;for(let d=0,c=Math.min(b.length,a.Wq.length);d=r?!0:l*c*x+l*a*y+n*e*v+n*b*C+p*g*k+p*d*E>r}class of{constructor(){this.nS=this.mS=this.lS=this.w=this.z=this.y=this.x=NaN}set(a,b,d,c){this.x=a;this.y=b;this.z=d;this.w=c;this.lS=0b||b>=a.Sl||0>d||d>=a.lm?null:a.mp[d][b]} -function dg(a,b,d,c){const e=c instanceof Zf.Rect;if(b.Sl!==a.Sl||b.lm!==a.lm)throw Error("source mesh wrong size");b=b.mp;a=a.mp;for(let k=0,l=a.length;k{n=Zf.X(Zf.Nc(n,v,C),0,1);p=Zf.X(Zf.Nc(p,y,C),0,1);d.push(n,p)};for(let K=0,H=b.length;K=C)){F();E=0;continue}if(0=C)){F();x--;E=4;continue}if(r=C)){F();r++;E=1;continue}if(0=C)){F();r--;E=3;continue}if(x=C)){F();x++;E=2;continue}break}return Zf.A(Zf.Yp,d)} -function gg(a,b,d){var c=a.Sl-1,e=a.lm-1;const g=1/c,k=1/e;c=Zf.X(Math.floor(b*c),0,c-1);const l=Zf.X(Math.floor(d*e),0,e-1);e=c*g;const n=l*k,p=(c+1)*g,r=(l+1)*k,x=cg(a,c,l),v=cg(a,c+1,l+1),y=Zf.L_(b,d,e,n,p,n,p,r);a=cg(a,c+(y?1:0),l+(y?0:1));const [C,E,F]=Zf.v0(b,d,e,n,y?e+g:e,y?n:n+k,p,r);return Zf.u0(C,E,F,x.fa(),x.ga(),x.Ma(),a.fa(),a.ga(),a.Ma(),v.fa(),v.ga(),v.Ma())} -Zf.ea.rM=class{constructor(a,b,d){if(2>a||2>b)throw Error("invalid mesh size");this.Sl=a;this.lm=b;this.ub=d||null;this.mp=[];this.KP=this.JP=0;this.GP=this.FP=1;this.HP=0;this.Yx=!1;d=a-1;const c=b-1;for(let e=0;ea.map(b=>b.Tc()))}}dc(a){const b=this.Sl,d=this.lm;if(a.cols!==b||a.rows!==d)throw Error("mesh data wrong size");a=a.points;for(let c=0;c"));a.ZH=b}return a.ZH}function se(a){a=ie.vi(a,"\\[","[");return ie.vi(a,"\\\\","\\")} +function te(a){if(a.ZO)return a.Xq;const b=[],d=a.rj,c=[];let e=me.lastIndex=0;for(var g=null;null!==(g=me.exec(d));){var k=g.index;if(0p.icon?ie.A(ie.qM,{icon:p.icon,kh:p.kh}):ie.A(ie.Km,{Qn:ie.VF(p.text),kh:p.kh}));a.ZO=!0;return a.Xq} +ie.Zn=class{constructor(a){var b={p0:!0};this.rj=b&&b.p0?a:ie.UL(a);this.ZH="";this.sO=!1;this.Kx=[];this.QQ=[];if(b){this.sO=!!b.aca;if(b.links){if(9=c?(0b.hG())} +function Ce(a,b){var d=a.length?a.at(-1):null;let c=0;d&&d.dg()&&b[0].dg()&&b[0].fm===d.fm&&(De.om(d.Ue,b[0].Ue),d.P=-1,d.R=-1,d.Vq=-1,d.Sl=-1,d.Cp=-1,c=1);for(d=b.length;cMath.max(b,d.K()),0)}function Ge(a){return a.Kf.reduce((b,d)=>b+d.I(),0)} +ue.wq=class{constructor(){this.Kf=[];this.Ul=null}Pv(a){this.Ul=a}wq(a,b,d,c,e){"string"===typeof a&&(a=[ue.A(ue.Km,{Qn:ue.VF(a)})]);ue.D(this.Kf);if(!(!a.length||1===a.length&&a[0].dg()&&a[0].kj()||2>d)){if(1===a.length){const g=a[0];if(g.dg()&&100>=g.sv()&&!g.Ue.includes("\n")){let {width:k,height:l,ql:n,rl:p,tl:r}=b(g);k+=e;g.Ae(k);g.Re(l);g.Vq=n||0;g.Sl=p||0;g.Cp=r||0;if(k<=d){ye(this,[g],k,l,n,p,r);return}}}if("word"===c)c=ze(a);else{c=[];for(const g of a)g.dg()?ue.om(c,g.Ue.map(k=>[ue.A(ue.Km, +{Qn:[k],kh:g.fm})])):c.push([g])}Ae(this,c,b,d,e)}}Rd(){ue.D(this.Kf)}};"use strict";function*He(a){a=a.Xq;for(let b=a.length-1;0<=b;--b)yield a[b]}self.B.wq.AM=class{constructor(a){this.Xq=a.fj||[];this.P=a.width||-1;this.R=a.height||-1;this.Vq=a.ql||-1;this.Sl=a.rl||-1;this.Cp=a.tl||-1;this.Ti=this.Si=0}fj(){return this.Xq.values()}Cl(a){this.P+=a}K(){return this.P}I(){return this.R}Hm(a){this.Si=a}Im(a){this.Ti=a}};"use strict"; +function Ie(a,b){a=a.fm;for(let d=a.length-1;0<=d;--d){const c=a[d];if(c.tag===b)return c}return null}function Je(a){const b=new Map;for(const d of a.fm)b.set(d.tag,d.nc);return b}self.B.cM=class{constructor(a){this.fm=a.kh||[];this.P=a.width||-1;this.R=a.height||-1;this.Vq=a.ql||-1;this.Sl=a.rl||-1;this.Cp=a.tl||-1;this.Ti=this.Si=0}dg(){return!1}Al(){return!1}Cl(a){this.P+=a}Ae(a){this.P=a}K(){return this.P}Re(a){this.R=a}I(){return this.R}Hm(a){this.Si=a}Im(a){this.Ti=a}};"use strict"; +const De=self.B;De.Km=class extends De.cM{constructor(a){super(a);this.Ue=a.Qn}dg(){return!0}hG(){return De.A(De.Km,{Qn:this.Ue.slice(0),kh:this.fm,width:this.P,height:this.R,ql:this.Vq,rl:this.Sl,tl:this.Cp})}sv(){return this.Ue.length}kj(){return 0===this.Ue.length}};"use strict";const Ke=self.B;function xe(a,b){if(!b)return null;let d=Number(a.kx);return String(d)===a.kx?(d=Math.floor(d),a=Math.floor(d),0>a||a>=b.$q.length?null:b.$q[a]):b.aI.get(a.kx.toLowerCase())||null} +Ke.qM=class extends Ke.cM{constructor(a){super(a);this.kx=a.icon}Al(){return!0}hG(){return Ke.A(Ke.qM,{icon:this.kx,kh:this.fm,width:this.P,height:this.R,ql:this.Vq,rl:this.Sl,tl:this.Cp})}KE(a){return(a=xe(this,a))?a.KE():null}sv(){return 1}};"use strict";const Le=self.B;function Me(a,b){var d=a.Gt.get(b);if(d)return d;d=a.fZ(b);d=Le.A(Le.nX,a,{source:b,T_:d});a.Gt.set(b,d);return d}function Ne(a,b){const d=a.Gt.get(b);d&&d.j();a.Gt.delete(b)}async function Oe(a,b){return await a.eZ(b)} +Le.mX=class{constructor(a){this.Gt=new Map;this.fZ=a.M_;this.eZ=a.L_}j(){for(const a of this.Gt.values())a.j();this.Gt.clear()}};"use strict";const Pe=self.B;async function Qe(a){if(!a.WH){a.WH=!0;a.Th=!0;var b=await Oe(a.Hn,a.By);if(a.Hn){b=b.MK;for(let d=0,c=Math.min(b.length,a.$q.length);d=r?!0:l*c*w+l*a*y+n*e*v+n*b*C+p*g*k+p*d*E>r}class pf{constructor(){this.zS=this.yS=this.xS=this.w=this.z=this.y=this.x=NaN}set(a,b,d,c){this.x=a;this.y=b;this.z=d;this.w=c;this.xS=0b||b>=a.Tl||0>d||d>=a.mm?null:a.pp[d][b]} +function dg(a,b,d,c){const e=c instanceof Zf.Rect;if(b.Tl!==a.Tl||b.mm!==a.mm)throw Error("source mesh wrong size");b=b.pp;a=a.pp;for(let k=0,l=a.length;k{n=Zf.X(Zf.Pc(n,v,C),0,1);p=Zf.X(Zf.Pc(p,y,C),0,1);d.push(n,p)};for(let K=0,H=b.length;K=C)){F();E=0;continue}if(0=C)){F();w--;E=4;continue}if(r=C)){F();r++;E=1;continue}if(0=C)){F();r--;E=3;continue}if(w=C)){F();w++;E=2;continue}break}return Zf.A(Zf.aq,d)} +function gg(a,b,d){var c=a.Tl-1,e=a.mm-1;const g=1/c,k=1/e;c=Zf.X(Math.floor(b*c),0,c-1);const l=Zf.X(Math.floor(d*e),0,e-1);e=c*g;const n=l*k,p=(c+1)*g,r=(l+1)*k,w=cg(a,c,l),v=cg(a,c+1,l+1),y=Zf.a0(b,d,e,n,p,n,p,r);a=cg(a,c+(y?1:0),l+(y?0:1));const [C,E,F]=Zf.M0(b,d,e,n,y?e+g:e,y?n:n+k,p,r);return Zf.L0(C,E,F,w.fa(),w.ga(),w.Na(),a.fa(),a.ga(),a.Na(),v.fa(),v.ga(),v.Na())} +Zf.ea.CM=class{constructor(a,b,d){if(2>a||2>b)throw Error("invalid mesh size");this.Tl=a;this.mm=b;this.ub=d||null;this.pp=[];this.WP=this.VP=0;this.SP=this.RP=1;this.TP=0;this.hy=!1;d=a-1;const c=b-1;for(let e=0;ea.map(b=>b.Hc()))}}$b(a){const b=this.Tl,d=this.mm;if(a.cols!==b||a.rows!==d)throw Error("mesh data wrong size");a=a.points;for(let c=0;c=a.Ad)throw Error("texture not created");if(a.Li)throw Error("cannot update static texture"); -var d=Object.assign({},og,d);const c=b.width||b.videoWidth,e=b.height||b.videoHeight;var g=a.ya.Rb;const k=a.ya.la;k.bindTexture(k.TEXTURE_2D,a.Cb);k.pixelStorei(k.UNPACK_PREMULTIPLY_ALPHA_WEBGL,d.premultiplyAlpha);k.pixelStorei(k.UNPACK_FLIP_Y_WEBGL,!!d.flipY);d=mg(a.hp,k);g=2<=g?d.iL:d.Nu;try{if(a.P===c&&a.R===e){const l=hg.Xj(a.P)&&hg.Xj(a.R);k.texSubImage2D(k.TEXTURE_2D,0,0,0,d.format,d.type,b);(l||2<=a.ya.Rb)&&a.pn&&(k.hint(k.GENERATE_MIPMAP_HINT,vg(a,k)),k.generateMipmap(k.TEXTURE_2D))}else{a.P= -c;a.R=e;const l=hg.Xj(a.P)&&hg.Xj(a.R);if(!(2<=a.ya.Rb)&&sg(a)&&!l)throw Error("non-power-of-two tiled textures not supported");k.texImage2D(k.TEXTURE_2D,0,g,d.format,d.type,b);(l||2<=a.ya.Rb)&&a.pn&&(k.hint(k.GENERATE_MIPMAP_HINT,vg(a,k)),k.generateMipmap(k.TEXTURE_2D))}}catch(l){console.error("Error updating WebGL texture: ",l)}k.bindTexture(k.TEXTURE_2D,null);a.ya.Wk=null} -hg.ea.XF=class{constructor(a){this.ya=a;this.Cb=null;this.R=this.P=0;this.Li=!0;this.Fu=this.Eu="clamp-to-edge";this.pd="trilinear";this.OG=0;this.hp="rgba8";this.pn=!1;this.kr="default";this.Ad=0}cG(){if(0=a.Dd)throw Error("texture not created");if(a.Mi)throw Error("cannot update static texture"); +var d=Object.assign({},og,d);const c=b.width||b.videoWidth,e=b.height||b.videoHeight;var g=a.ya.Sb;const k=a.ya.la;k.bindTexture(k.TEXTURE_2D,a.Cb);k.pixelStorei(k.UNPACK_PREMULTIPLY_ALPHA_WEBGL,d.premultiplyAlpha);k.pixelStorei(k.UNPACK_FLIP_Y_WEBGL,!!d.flipY);d=mg(a.kp,k);g=2<=g?d.sL:d.Su;try{if(a.P===c&&a.R===e){const l=hg.$j(a.P)&&hg.$j(a.R);k.texSubImage2D(k.TEXTURE_2D,0,0,0,d.format,d.type,b);(l||2<=a.ya.Sb)&&a.qn&&(k.hint(k.GENERATE_MIPMAP_HINT,vg(a,k)),k.generateMipmap(k.TEXTURE_2D))}else{a.P= +c;a.R=e;const l=hg.$j(a.P)&&hg.$j(a.R);if(!(2<=a.ya.Sb)&&qg(a)&&!l)throw Error("non-power-of-two tiled textures not supported");k.texImage2D(k.TEXTURE_2D,0,g,d.format,d.type,b);(l||2<=a.ya.Sb)&&a.qn&&(k.hint(k.GENERATE_MIPMAP_HINT,vg(a,k)),k.generateMipmap(k.TEXTURE_2D))}}catch(l){console.error("Error updating WebGL texture: ",l)}k.bindTexture(k.TEXTURE_2D,null);a.ya.Zk=null} +hg.ea.eG=class{constructor(a){this.ya=a;this.Cb=null;this.R=this.P=0;this.Mi=!0;this.Ku=this.Ju="clamp-to-edge";this.td="trilinear";this.XG=0;this.kp="rgba8";this.qn=!1;this.pr="default";this.Dd=0}kG(){if(0d.getProgramParameter(k,l.COMPLETION_STATUS_KHR)):await Eg.VF(5);if(!d.getShaderParameter(g, -d.COMPILE_STATUS))throw e=d.getShaderInfoLog(g),d.deleteShader(g),d.deleteShader(b),d.deleteProgram(k),Error("Error compiling fragment shader: "+e);if(!d.getShaderParameter(b,d.COMPILE_STATUS))throw e=d.getShaderInfoLog(b),d.deleteShader(g),d.deleteShader(b),d.deleteProgram(k),Error("Error compiling vertex shader: "+e);if(!d.getProgramParameter(k,d.LINK_STATUS))throw e=d.getProgramInfoLog(k),d.deleteShader(g),d.deleteShader(b),d.deleteProgram(k),Error("Error linking shader program: "+e);(a=Eg.qT(d.getProgramInfoLog(k)|| -"").trim())&&!Eg.GU(a)&&console.info(`[WebGL] Shader program '${e}' compilation log: `,a);d.deleteShader(g);d.deleteShader(b);return k}function Hg(a,b){if(!a.$B)throw Error("not device transform shader");Ig(a.WJ,b);b=a.ya;const d=b.J()/2,c=b.I()/2;b=Jf(b,d,c,b.le(b.I()),d,c,b.I());Ig(a.VJ,b)}function Jg(a,b,d){a.KH&&!d||a.$B||(a.WJ.ja&&Ig(a.WJ,b),a.KH=!0)}function Kg(a,b,d){a.JH&&!d||a.$B||(a.VJ.ja&&Ig(a.VJ,b),a.JH=!0)}function Lg(a,b){return 0>b||b>=a.Gr.length?null:a.Gr[b].Rc()} +self.B.ea.KN=class{constructor(a){this.ya=a;this.dm=this.Cb=this.Yq=this.Ki=null;this.R=this.P=0;this.eC=!0;this.td="trilinear";this.Ps=!0;this.Df=!1;this.yx=!0;this.wn=0;this.$l=xg.create();this.AP=this.FP=this.BP=0}kG(){if(!this.Cb&&!this.dm)throw Error("already deleted render target");Ag.delete(this);var a=this.ya.la;this.Cb?(a.bindFramebuffer(a.FRAMEBUFFER,this.Ki),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),this.Df&&(a.bindFramebuffer(a.FRAMEBUFFER,this.Yq),a.framebufferTexture2D(a.FRAMEBUFFER, +a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0)),Dg(this.ya,this.Cb),this.Cb=null):this.dm&&(a.bindFramebuffer(a.FRAMEBUFFER,this.Ki),a.framebufferRenderbuffer(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.RENDERBUFFER,null),this.Df&&(a.bindFramebuffer(a.FRAMEBUFFER,this.Yq),a.framebufferRenderbuffer(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.RENDERBUFFER,null)),a.deleteRenderbuffer(this.dm),this.dm=null);a.bindFramebuffer(a.FRAMEBUFFER,null);2<=this.ya.Sb&&(a.bindFramebuffer(a.READ_FRAMEBUFFER,null),a.bindFramebuffer(a.DRAW_FRAMEBUFFER, +null));a.deleteFramebuffer(this.Ki);this.Df&&a.deleteFramebuffer(this.Yq);a=this.ya.Xc;a.Rn=null;this.Ki=a.ol=null}Qa(){return this.ya}Kd(){return this.Cb}hF(){return"nearest"!==this.td}K(){return this.P}I(){return this.R}ME(){return this.Cb?this.Cb.ME():this.P*this.R*(this.Ps?4:3)}static Ch(){Ag.clear()}};"use strict";const Eg=self.B; +async function Fg(a,b){const d=a.la,c=b.AL;var e=b.name;const g=d.createShader(d.FRAGMENT_SHADER);d.shaderSource(g,b.src);d.compileShader(g);b=d.createShader(d.VERTEX_SHADER);d.shaderSource(b,c);d.compileShader(b);const k=d.createProgram();d.attachShader(k,g);d.attachShader(k,b);d.bindAttribLocation(k,0,"aPos");d.bindAttribLocation(k,1,"aTex");d.bindAttribLocation(k,2,"aPoints");d.linkProgram(k);const l=a.oJ;l?await Gg(()=>d.getProgramParameter(k,l.COMPLETION_STATUS_KHR)):await Eg.cG(5);if(!d.getShaderParameter(g, +d.COMPILE_STATUS))throw e=d.getShaderInfoLog(g),d.deleteShader(g),d.deleteShader(b),d.deleteProgram(k),Error("Error compiling fragment shader: "+e);if(!d.getShaderParameter(b,d.COMPILE_STATUS))throw e=d.getShaderInfoLog(b),d.deleteShader(g),d.deleteShader(b),d.deleteProgram(k),Error("Error compiling vertex shader: "+e);if(!d.getProgramParameter(k,d.LINK_STATUS))throw e=d.getProgramInfoLog(k),d.deleteShader(g),d.deleteShader(b),d.deleteProgram(k),Error("Error linking shader program: "+e);(a=Eg.BT(d.getProgramInfoLog(k)|| +"").trim())&&!Eg.SU(a)&&console.info(`[WebGL] Shader program '${e}' compilation log: `,a);d.deleteShader(g);d.deleteShader(b);return k}function Hg(a,b){if(!a.fC)throw Error("not device transform shader");Ig(a.fK,b);b=a.ya;const d=b.K()/2,c=b.I()/2;b=Kf(b,d,c,b.ne(b.I()),d,c,b.I());Ig(a.eK,b)}function Jg(a,b,d){a.SH&&!d||a.fC||(a.fK.ja&&Ig(a.fK,b),a.SH=!0)}function Kg(a,b,d){a.RH&&!d||a.fC||(a.eK.ja&&Ig(a.eK,b),a.RH=!0)}function Lg(a,b){return 0>b||b>=a.Kr.length?null:a.Kr[b].Sc()} function Mg(a){a=a?"highmedp":"mediump";return["#ifdef GL_FRAGMENT_PRECISION_HIGH\n#define highmedp highp\n#else\n#define highmedp mediump\n#endif\nattribute highp vec3 aPos;",`attribute ${a} vec2 aTex;`,`varying ${a} vec2 vTex;`,"uniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos, 1.0);\n\tvTex = aTex;\n}"].join("\n")} function Ng(a){a=a?"highp":"mediump";return["#version 300 es\nin highp vec3 aPos;",`in ${a} vec2 aTex;`,`out ${a} vec2 vTex;`,"uniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos, 1.0);\n\tvTex = aTex;\n}"].join("\n")} function Og(a,b,d){let c="";2<=a?c="#version 300 es\n":(b&&(c="#extension GL_EXT_frag_depth : enable\n"),d&&(c+="#extension GL_EXT_shader_texture_lod : enable\n#extension GL_OES_standard_derivatives : enable\n"));return c+` @@ -552,93 +552,93 @@ void main(void) { ${2>a&&b?"gl_FragDepthEXT = (outColor.a == 0.0 ? 1.0 : gl_FragCoord.z);":""} } `} -Eg.ea.zN=class extends Eg.ea.GW{static async La(a,b){const d=await Fg(a,b);return new Eg.ea.zN(a,d,b)}constructor(a,b,d){super(a,d);const c=a.la;var e=a.Xc;Xf(a);c.useProgram(b);this.la=c;this.Nd=b;this.$B=""===d.name;const g=c.getAttribLocation(b,"aPos"),k=c.getAttribLocation(b,"aTex");this.JI=c.getAttribLocation(b,"aPoints");-1!==g&&(c.bindBuffer(c.ARRAY_BUFFER,a.xD),c.vertexAttribPointer(g,3,c.FLOAT,!1,0,0),c.enableVertexAttribArray(g));-1!==k&&(c.bindBuffer(c.ARRAY_BUFFER,a.mD), -c.vertexAttribPointer(k,2,c.FLOAT,!1,0,0),c.enableVertexAttribArray(k));-1!==this.JI&&(c.bindBuffer(c.ARRAY_BUFFER,a.OC),c.vertexAttribPointer(this.JI,4,c.FLOAT,!1,0,0),c.enableVertexAttribArray(this.JI));c.bindBuffer(c.ARRAY_BUFFER,null);this.WJ=new Eg.ea.rc(this,"matP","mat4");this.VJ=new Eg.ea.rc(this,"matMV","mat4");this.Fr=new Eg.ea.rc(this,"color","vec4");this.MZ=new Eg.ea.rc(this,"samplerFront","sampler");this.YJ=new Eg.ea.rc(this,"pointTexStart","vec2");this.XJ=new Eg.ea.rc(this,"pointTexEnd", -"vec2");this.ZJ=new Eg.ea.rc(this,"zElevation","float");this.My=new Eg.ea.rc(this,"tileSize","vec2");this.Ny=new Eg.ea.rc(this,"tileSpacing","vec2");this.UJ=new Eg.ea.rc(this,"color2_","vec4");this.Ly=new Eg.ea.rc(this,"outlineThickness","float");this.Bu=new Eg.ea.rc(this,"samplerBack","sampler");this.LZ=new Eg.ea.rc(this,"samplerDepth","sampler");this.Cp=new Eg.ea.rc(this,"destStart","vec2");this.Bp=new Eg.ea.rc(this,"destEnd","vec2");this.hl=new Eg.ea.rc(this,"srcStart","vec2");this.Kn=new Eg.ea.rc(this, -"srcEnd","vec2");this.Mn=new Eg.ea.rc(this,"srcOriginStart","vec2");this.Ln=new Eg.ea.rc(this,"srcOriginEnd","vec2");this.dh=new Eg.ea.rc(this,"pixelSize","vec2");this.Ip=new Eg.ea.rc(this,"seconds","float");this.Dp=new Eg.ea.rc(this,"devicePixelRatio","float");this.Fp=new Eg.ea.rc(this,"layerScale","float");this.Ep=new Eg.ea.rc(this,"layerAngle","float");this.Hp=new Eg.ea.rc(this,"layoutStart","vec2");this.Gp=new Eg.ea.rc(this,"layoutEnd","vec2");this.OZ=new Eg.ea.rc(this,"zNear","float");this.NZ= -new Eg.ea.rc(this,"zFar","float");this.TY=!!(this.dh.ja||this.Ip.ja||this.Bu.ja||this.Cp.ja||this.Bp.ja||this.hl.ja||this.Kn.ja||this.Mn.ja||this.Ln.ja||this.Dp.ja||this.Fp.ja||this.Ep.ja||this.Hp.ja||this.Gp.ja);b=d.parameters||[];this.Gr=[];this.bK=this.dh.ja||this.hl.ja||this.Kn.ja||this.Mn.ja||this.Ln.ja;this.JH=this.KH=!1;Pg(this.Fr);Pg(this.UJ);Qg(this.MZ,0);Qg(this.Bu,1);Qg(this.LZ,2);Rg(this.YJ,0,0);Rg(this.XJ,1,1);Sg(this.ZJ,0);Rg(this.My,0,0);Rg(this.Ny,0,0);Rg(this.Cp,0,0);Rg(this.Bp,1, -1);Rg(this.hl,0,0);Rg(this.Kn,0,0);Rg(this.Mn,0,0);Rg(this.Ln,0,0);Rg(this.dh,0,0);Sg(this.Dp,1);Sg(this.OZ,a.Mx);Sg(this.NZ,a.Mw);Sg(this.Fp,1);Sg(this.Ep,0);Sg(this.Ip,0);Rg(this.Hp,0,0);Rg(this.Gp,0,0);Sg(this.Ly,1);for(const l of b)a=l[2],b=new Eg.ea.rc(this,l[0],a),"color"===a?b.ja&&(b.Wb[0]=0,b.Wb[1]=0,b.Wb[2]=0,b.Gf.set(b.Wb),b.la.uniform3f(b.Ej,0,0,0)):Sg(b,0),this.Gr.push(b);this.$B?Hg(this,e.Zy):(Jg(this,e.Zy,!0),Kg(this,e.KD,!0));e=e.di;c.useProgram(e?e.Nd:null)}j(){this.la.deleteProgram(this.Nd); -this.Nd=null;var a=this.ya;const b=a.Cq.indexOf(this);-1!==b&&a.Cq.splice(b,1);a.my.delete(this.na());this.la=null;super.j()}vh(){return this.Nd}};"use strict";const Tg=self.B,Ug=self.Wj.Sn,Vg=new Map([["float",1],["percent",1],["sampler",1],["vec2",2],["vec3",3],["color",3],["vec4",4],["mat4",16]]);function Pg(a){a.ja&&(a.Wb[0]=1,a.Wb[1]=1,a.Wb[2]=1,a.Wb[3]=1,a.Gf.set(a.Wb),a.la.uniform4f(a.Ej,1,1,1,1))}function Qg(a,b){a.ja&&(a.Wb[0]=b,a.Gf.set(a.Wb),a.la.uniform1i(a.Ej,b))} -function Rg(a,b,d){a.ja&&(a.Wb[0]=b,a.Wb[1]=d,a.Gf.set(a.Wb),a.la.uniform2f(a.Ej,b,d))}function Sg(a,b){a.ja&&(a.Wb[0]=b,a.Gf.set(a.Wb),a.la.uniform1f(a.Ej,b))}function Wg(a,b,d){a=a.Gf;return a[0]===Math.fround(b)&&a[1]===Math.fround(d)}function Xg(a,b,d){a=a.Gf;a[0]=b;a[1]=d}function Ig(a,b){const d=a.Wb;Ug.ml(d,b)||(Tg.w0(d,b),a.la.uniformMatrix4fv(a.Ej,!1,b))} -function Yg(a,b,d,c,e){b=Math.fround(b);d=Math.fround(d);c=Math.fround(c);e=Math.fround(e);const g=a.Wb;if(g[0]!==b||g[1]!==d||g[2]!==c||g[3]!==e)g[0]=b,g[1]=d,g[2]=c,g[3]=e,a.la.uniform4f(a.Ej,b,d,c,e)}function Zg(a,b){b=Math.fround(b);const d=a.Wb;d[0]!==b&&(d[0]=b,a.la.uniform1f(a.Ej,b))}function $g(a,b,d){b=Math.fround(b);d=Math.fround(d);const c=a.Wb;if(c[0]!==b||c[1]!==d)c[0]=b,c[1]=d,a.la.uniform2f(a.Ej,b,d)} -Tg.ea.rc=class{constructor(a,b,d){if(!Vg.has(d))throw Error("invalid uniform type");this.ub=a;this.la=this.ub.la;this.Ia=b;this.Ba=d;this.jI="color"===this.Ba;this.Ej=this.la.getUniformLocation(this.ub.vh(),b);this.ja=!!this.Ej;a=Vg.get(d);this.Wb=new Float32Array(a);this.Gf=new Float32Array(a)}j(){this.Ej=this.la=this.ub=null}Rc(){return this.Ba}};"use strict";const ah=self.B,bh=self.Wj,ch=bh.rz,dh=bh.Sn; -ah.ea.FS=class{constructor(a){this.Qp=a;this.KD=dh.create();this.Zy=dh.create();this.ll=this.Pn=null;this.BR=!1;this.JD=ch.tg(1,1,1,1);this.di=null;this.$K=new ah.Rect;this.clearColor=ah.A(ah.lb,0,0,0,0)}}; -ah.ea.vX=class{constructor(a){const b=new ArrayBuffer(96);this.Ba=0;this.Xc=a;this.la=a.Qp.la;this.ln=this.te=0;this.og=null;this.Ge=new Float32Array(b,0,16);this.an=new Float32Array(b,64,4);this.uQ=new Float32Array(b,80,4);this.$C=[]}za(){switch(this.Ba){case 1:var a=this.la;a.drawElements(a.TRIANGLES,this.ln,a.UNSIGNED_SHORT,this.te);break;case 2:a=this.la;var b=this.og;a.bindTexture(a.TEXTURE_2D,b?b.Cb:null);break;case 3:a=this.an;b=this.Xc;ch.xa(b.JD,a);b=b.di;b.Fr.ja&&Yg(b.Fr,a[0],a[1],a[2], -a[3]);break;case 4:this.la.blendFunc(this.te,this.ln);break;case 5:a=this.an;this.la.viewport(a[0],a[1],a[2],a[3]);break;case 6:a=this.Xc;b=a.Qp.Cq;var d=a.di,c=this.Ge;for(let p=0,r=b.length;p{a=a.font.na();for(const b of mh)(b.Ee||eh.ve(b.AB,a))&&b.td()});function nh(a,b){a=a.trim();const d=parseFloat(a);return isFinite(d)?a.endsWith("%")?b*d/100:d:0}let oh=!1,ph=!1; -function qh(a,b,d){a.Fn||(a.Fn=eh.ii(16,16));let c=!1;if(a.nP!==b||a.mP!==d)a.nP=b,a.mP=d,a.Fn.width=b,a.Fn.height=d,c=!0;a.gd||(a.gd=a.Fn.getContext("2d"),c=!0);c?(a.gd.textBaseline=a.Ee?"alphabetic":"top",a.gd.direction=a.ah,a.gd.font=a.yI,a.gd.fillStyle=a.qC,a.gd.strokeStyle=a.qC,a.gd.globalAlpha=a.AI,a.gd.lineWidth=a.zI):a.gd.clearRect(0,0,b,d)}function rh(a,b){b||(b="serif");a.AB!==b&&(a.AB=b,a.td())}function sh(a,b){b=!!b;a.Ph!==b&&(a.Ph=b,a.td())} -function th(a,b){b=!!b;a.Qh!==b&&(a.Qh=b,a.td())}function uh(a){return a.kQ*a.Gu*self.devicePixelRatio}function vh(a,b,d){let c=[];(a.Ph||Ie(d,"b"))&&c.push("bold");(a.Qh||Ie(d,"i"))&&c.push("italic");var e=Ie(d,"size");e=(e?parseFloat(e.nc):a.BB)*a.CB;b?c.push(e+"pt"):c.push(e*uh(a)+"pt");b=a.AB;(d=Ie(d,"font"))&&d.nc&&(b=d.nc,a.VK&&!a.MG.has(b)&&(a.VK(b),a.MG.add(b)));b&&(fh.has(b)?c.push(b):c.push('"'+b+'"'));return c.join(" ")} -function wh(a,b){if(!ih.has(b))throw Error("invalid horizontal alignment");a.dd!==b&&(a.dd=b,a.Hl())}function xh(a,b){if(!jh.has(b))throw Error("invalid vertical alignment");a.Mc!==b&&(a.Mc=b,a.Hl())}function yh(a){a.ON();a.tu&&(a.FN(),a.tu=!1)}function zh(a){yh(a);return Ee(a.Yd)}function Ah(a){a.Gj||(a.Gj=eh.ii(16,16).getContext("2d"),a.cu=eh.ii(16,16).getContext("2d"),a.Gj.textBaseline=a.Ee?"alphabetic":"top",a.cu.textBaseline="top",a.Gj.direction=a.ah,a.cu.direction=a.ah)} -function Bh(a){oh||(oh=!0,Ah(a),a=a.Gj.measureText("test"),ph="number"===typeof a.fontBoundingBoxAscent&&"number"===typeof a.fontBoundingBoxDescent);return ph}function Ch(a,b){a.qC!==b&&(a.qC=b,a.gd.fillStyle=b,a.gd.strokeStyle=b)}function Dh(a,b){a.zI!==b&&(a.zI=b,a.gd.lineWidth=b)}function Eh(a,b,d,c,e,g){"rtl"===a.ah&&(c+=g);b?"Gecko"===eh.V.kh?a.gd.strokeText(d,c,e,g):a.gd.strokeText(d,c,e):"Gecko"===eh.V.kh?a.gd.fillText(d,c,e,g):a.gd.fillText(d,c,e)} -eh.ea.nF=class{constructor(a,b){b=Object.assign({},gh,b);this.ya=a;this.AB="Arial";this.BB=16;this.CB=1;this.Md=0;this.Qh=this.Ph=!1;this.fB="black";this.Ee=!1;this.Tl=null;this.SH=!0;this.VK=null;this.MG=new Set;this.dd="left";this.Mc="top";this.Ua="";this.Bk=null;this.Yd=eh.A(eh.tq);this.Kr="word";this.ah="ltr";this.Nq=this.tu=this.Mp=!1;this.Lh=-1;this.R=this.P=this.bn=this.gg=this.Ei=0;this.Gu=1;this.cu=this.Gj=this.gd=this.Fn=null;this.mP=this.nP=-1;this.qC=this.sP=this.yI="";this.zI=this.AI= -1;this.Jx=d=>this.Vv(d);this.Cb=null;this.Ui=new eh.Rect;this.kQ=1;this.OJ=new eh.qU(()=>{this.kk();qh(this,8,8)},b.timeout);this.XD=null;this.Du=!1;mh.add(this)}j(){this.VK=null;this.MG.clear();this.Jx=this.cu=this.Gj=this.gd=this.Fn=this.Bk=this.Tl=null;this.OJ.j();this.XD=null;this.kk();this.Yd.Od();this.ya=this.Yd=null;this.Du=!0;mh.delete(this)}Hl(){this.tu=this.Nq=!0}td(){this.Hl();this.Mp=!0}tF(a){a=!!a;this.Ee!==a&&(a=(this.Ee=a)?"alphabetic":"top",this.gd&&(this.gd.textBaseline=a),this.Gj&& -(this.Gj.textBaseline=a),this.td())}Jv(a){this.Tl!==a&&(this.Tl=a,this.Yd.Jv(a),this.Tl&&this.Tl.Rh&&Re(this.Tl).then(()=>{this.Nq=!0}),this.td())}vF(a){.1>a&&(a=.1);this.BB!==a&&(this.BB=a,this.td())}As(a){this.Md!==a&&(this.Md=a,this.Hl())}rq(a){a=Math.floor(a);this.Lh!==a&&(this.Lh=a,this.Nq=!0)}vi(a){a instanceof eh.lb&&(a=`rgb(${100*(Tb.Dc()?NaN:a.ib)}%, ${100*(Tb.Dc()?NaN:a.mb)}%, ${100*(Tb.Dc()?NaN:a.gb)}%)`);this.fB!==a&&(this.fB=a,this.Nq=!0)}KF(a){if(!kh.has(a))throw Error("invalid word wrap mode"); -this.Kr!==a&&(this.Kr=a,this.td())}oN(a){if(!lh.has(a))throw Error("invalid text direction");this.ah!==a&&(this.ah=a,this.gd&&(this.gd.direction=this.ah),this.Gj&&(this.Gj.direction=this.ah),this.td())}qk(a){this.Ua!==a&&(this.Ua=a,this.td())}ec(a,b,d){"undefined"===typeof d&&(d=1);if(!(0>=a||0>=a||this.gg===a&&this.bn===b&&this.Gu===d)){var c=this.gg;this.gg=a;this.bn=b;this.Gu=d;a=self.devicePixelRatio;this.P=this.gg*this.Gu*a;this.R=this.bn*this.Gu*a;a=Math.max(this.P,this.R);b=Math.min(this.ya.CC, -4096);d=1;a>b&&(d=b/a,this.P=Math.min(this.P*d,b),this.R=Math.min(this.R*d,b));this.kQ=d;this.gg!==c?this.td():this.Hl()}}J(){return this.P}I(){return this.R}ME(){yh(this);return Ge(this.Yd)+this.Yd.Hf.length*(this.Md+4)-this.Md}Hd(){this.OJ.Sc();if(!(this.Cb&&!this.Nq&&!this.tu&&!this.Mp||this.Du||0>=this.P||0>=this.R||(this.Nq=!1,this.Du))){yh(this);qh(this,Math.max(eh.Qu(Math.ceil(this.P)),128),Math.max(eh.Qu(Math.ceil(this.R)),64));this.gd.imageSmoothingEnabled=this.SH;this.Ei=0;var a=uh(this), -b=this.Yd.Hf;for(var d of b)if(b=d.Si,Number.isFinite(d.Ri)&&Number.isFinite(b))for(const c of"ltr"===this.ah?d.ej():He(d))this.dG(c,a,d.I());Fh(this.ya)||(this.Cb||(this.Cb=Gh(this.ya,this.Fn.width,this.Fn.height,{iz:!0,jz:"high"})),a=this.Fn,d=this.Cb,Xf(this.ya),wg(d,a),this.Ui.set(0,0,this.P/this.Cb.J(),this.R/this.Cb.I()),this.XD&&this.XD());this.OJ.Sc()}return this.Cb}RE(a,b){yh(this);const d=uh(this);var c=this.Yd.Hf;for(const e of c)if(c=e.Rl*d,b>=e.Si-e.I()*d+c&&b= -g.Ri&&ak+l.I()*a+b,0)-b,d=Math.max(this.R/2-d/2,0),g&&(e=c[0].zp*a)):"bottom"===this.Mc&&(d=c.reduce((k,l)=>k+l.I()*a+b,0)-this.Md*a,g=g?c.at(-1).Rl*a:0,d=this.R-d-g-2);for(let k=0,l=c.length;kthis.R-4*a)break}else if(0=this.R-n)break;0<=p&&this.mG(g,d,a);this.Ee||(d+=n);d+=b}}}mG(a,b,d){let c=0;"center"===this.dd?c=(this.P-a.J()*d)/2:"right"===this.dd&&(c=this.P- -a.J()*d);a.Gm(c);a.Hm(b);for(const l of"ltr"===this.ah?a.ej():He(a)){a=c;var e=b,g=d,k=Ie(l,"offsetx");a+=k?nh(k.nc,l.I())*g:0;k=Ie(l,"offsety");e+=k?nh(k.nc,l.I())*g:0;l.xl()&&(k=Ie(l,"iconoffsety"),e+=k?nh(k.nc,l.I())*g:.2*l.I()*g);l.Gm(a);l.Hm(e);c+=l.J()*d}}dG(a,b,d){const c=this.gd,e=a.Ri,g=a.Si;if(Number.isFinite(e)&&Number.isFinite(g)){var k=d/16;d=a.J()*b;var l=a.I()*b,n=a.I()/16,p=(4+this.Md)*b,r=a.bg()?a.Te:null;if(-1!==this.Lh){if(this.Ei>=this.Lh)return;a.bg()&&this.Ei+r.length>this.Lh&& -(r=r.slice(0,this.Lh-this.Ei),d=this.Vv(a).width*b);this.Ei+=a.lv()}var x=Ie(a,"background"),v=!!Ie(a,"u"),y=!!Ie(a,"s");if((!a.bg()||!eh.UE(r)||x||v||y)&&!Ie(a,"hide")){x&&(Ch(this,x.nc),c.fillRect(e,g-l,d,l+p));x=Ie(a,"color");p=(p=Ie(a,"opacity"))?parseFloat(p.nc)/100:1;this.AI!==p&&(this.AI=p,this.gd.globalAlpha=p);p=(p=Ie(a,"linethickness"))?parseFloat(p.nc):1;var C=!!Ie(a,"stroke");C&&Dh(this,.5*n*p*uh(this));if(a.bg()){r=r.join("");var E=vh(this,!1,a);this.yI!==E&&(this.yI=E,this.gd.font=E); -!C&&(Dh(this,.5*n*p*uh(this)),E=Ie(a,"outlineback"))&&(Ch(this,E.nc),Eh(this,!0,r,e,g,d));Ch(this,x?x.nc:this.fB);Eh(this,C,r,e,g,d);!C&&(Dh(this,.5*n*p*uh(this)),a=Ie(a,"outline"))&&(Ch(this,a.nc),Eh(this,!0,r,e,g,d))}else a.xl()&&0a.cA())}aA(){return this.tr.reduce((a,b)=>a+b.aA(),0)}};"use strict";const Lh=self.B;function Mh(a){const b=new Lh.ea.xX(a.ya);a.Ll.push(b);a.Ll.length>a.oZ&&a.Ll.shift().j();return b}function Nh(a,b,d){if(d<=b)return NaN;let c=0;for(const e of a.Ll){if(e.zj>=d)break;if(!(e.zj=a.P|| -0>=a.R)throw Error("invalid texture size");if(a.P>d||a.R>d)throw Error("texture exceeds maximum texture size");if(!(2<=a.ya.Rb)&&sg(a)&&!b)throw Error("non-power-of-two tiled textures not supported");b=a.ya.la;d=a.ya.Rb;a.Cb=b.createTexture();b.bindTexture(b.TEXTURE_2D,a.Cb);b.pixelStorei(b.UNPACK_PREMULTIPLY_ALPHA_WEBGL,c.premultiplyAlpha);b.pixelStorei(b.UNPACK_FLIP_Y_WEBGL,!1);c=mg(a.hp,b);b.texImage2D(b.TEXTURE_2D,0,2<=d?c.iL:c.Nu,a.P,a.R,0,c.format,c.type,null);tg(a,b);b.bindTexture(b.TEXTURE_2D, -null);a.ya.Wk=null;a.Ad=1;pg.add(a);return a}function Dg(a,b){if(b){if(0>=b.Ad)throw Error("no more references");b.Ad--;0bi.add({resolve:d,Nr:a}));-1===ci&&(ci=self.requestAnimationFrame(di));return b} -function Fh(a){return!a.la||a.la.isContextLost()||a.mI}async function gi(a,b){b=await Ph.ea.zN.La(a,b);a.Cq.push(b);a.my.set(b.na(),b);return b}function hi(a,b,d){const c=a.Uy;if(0!==c[0]||0!==c[1]||c[2]!==b||c[3]!==d){var e=ei(a);e.Ba=5;e=e.an;e[0]=0;e[1]=0;e[2]=b;e[3]=d;Sh.set(c,0,0,b,d);a.lc=0}}function ii(a,b){if(!Th.ml(a.AC,b)){var d=ei(a);d.Ba=6;dh.xa(d.Ge,b);Th.xa(a.AC,b);a.lc=0;a.Io=!0}} -function ji(a,b,d){const c=a.la;a.Di&&a.iO===b&&a.hO===d||(a.qw?(a.Di&&c.deleteTexture(a.Di),a.Di=c.createTexture(),c.bindTexture(c.TEXTURE_2D,a.Di),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,c.NEAREST),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MIN_FILTER,c.NEAREST),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,c.CLAMP_TO_EDGE),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,c.CLAMP_TO_EDGE),2<=a.Rb?c.texImage2D(c.TEXTURE_2D,0,c.DEPTH24_STENCIL8,b,d,0,c.DEPTH_STENCIL,c.UNSIGNED_INT_24_8,null):a.Dw&& -c.texImage2D(c.TEXTURE_2D,0,c.DEPTH_STENCIL,b,d,0,c.DEPTH_STENCIL,a.Dw.UNSIGNED_INT_24_8_WEBGL,null),c.bindTexture(c.TEXTURE_2D,null)):(a.Di&&c.deleteRenderbuffer(a.Di),a.Di=c.createRenderbuffer(),c.bindRenderbuffer(c.RENDERBUFFER,a.Di),c.renderbufferStorage(c.RENDERBUFFER,2<=a.Rb?c.DEPTH24_STENCIL8:c.DEPTH_STENCIL,b,d),c.bindRenderbuffer(c.RENDERBUFFER,null)),a.iO=b,a.hO=d)}function ei(a){const b=a.mw;a.Ao===b.length&&b.push(new Ph.ea.vX(a.Xc));return b[a.Ao++]} -function ki(a){let b,d;var c=a.Xe;null===c?(b=a.SA,d=a.J(),c=a.I()):(c.ya.ut===c.pP&&c.ya.Mx===c.tP&&c.ya.Mw===c.oP||Bg(c),b=c.Zl,d=c.J(),c=c.I());ii(a,b);hi(a,d,c)}function li(a,b){if(!Th.ml(a.OI,b)){var d=ei(a);d.Ba=7;dh.xa(d.Ge,b);Th.xa(a.OI,b);a.lc=0;a.Io=!0}}function ni(a,b,d,c,e){const g=a.Ax;fc(g,b,d,c,e)||(Xb(g,b,d,c,e),b=ei(a),b.Ba=3,g.ih(b.an,0),a.lc=0,a.Ek=null)}function oi(a){ni(a,1,1,1,1)}function pi(a,b){if(b!==a.Wk){var d=ei(a);d.Ba=2;d.og=b;a.Wk=b;a.lc=0}} -function qi(a,b,d){if(b!==a.xI||d!==a.vI){var c=ei(a);c.Ba=4;c.te=b;c.ln=d;a.xI=b;a.vI=d;a.lc=0;a.Ek=null}}function ri(a){qi(a,a.la.ONE,a.la.ONE_MINUS_SRC_ALPHA)}function si(a){qi(a,a.la.ONE,a.la.ZERO)}function ti(a,b,d,c,e,g,k,l,n){fi(a);const p=a.Cu;let r=a.ai;const x=a.Ak+a.et;p[r++]=b;p[r++]=d;p[r++]=x;p[r++]=c;p[r++]=e;p[r++]=x;p[r++]=g;p[r++]=k;p[r++]=x;p[r++]=l;p[r++]=n;p[r++]=x;a.ai=r;Wh.ih(a.vp,a.ue);a.ue+=8} -function fi(a){let b=a.ai;b>=a.uP&&(Xf(a),b=0);if(1===a.lc)a.mw[a.Ao-1].ln+=6;else{var d=ei(a);d.Ba=1;d.te=b;d.ln=6;a.lc=1}}function vi(a,b){var d=a.Cu,c=a.ai,e=a.Ak+a.et;d[c++]=b.yb;d[c++]=b.wb;d[c++]=e;d[c++]=b.cc;d[c++]=b.mc;d[c++]=e;d[c++]=b.wc;d[c++]=b.xc;d[c++]=e;d[c++]=b.uc;d[c++]=b.vc;d[c]=e;a.ai+=12}function wi(a,b,d){fi(a);vi(a,b);xc(d,a.vp,a.ue);a.ue+=8}function xi(a,b){return b?[b.J(),b.I()]:[a.P,a.R]} -function yi(a,b,d,c,e,g,k,l,n,p,r,x){const v=a.Xo;x%=10800;if(v.TY&&(v.Bu.ja||v.dh.ja&&!Wg(v.dh,k,l)||v.Cp.ja&&!Wg(v.Cp,d.ba,d.$)||v.Bp.ja&&!Wg(v.Bp,d.ka,d.ia)||v.Dp.ja&&v.Dp.Gf[0]!==Math.fround(n)||v.Fp.ja&&v.Fp.Gf[0]!==Math.fround(p)||v.Ep.ja&&v.Ep.Gf[0]!==Math.fround(r)||v.hl.ja&&!Wg(v.hl,c.ba,c.$)||v.Kn.ja&&!Wg(v.Kn,c.ka,c.ia)||v.Mn.ja&&!Wg(v.Mn,e.ba,e.$)||v.Ln.ja&&!Wg(v.Ln,e.ka,e.ia)||v.Hp.ja&&!Wg(v.Hp,g.ba,g.$)||v.Gp.ja&&!Wg(v.Gp,g.$,g.ia)||v.Ip.ja&&v.Ip.Gf[0]!==Math.fround(x))){var y=ei(a); -y.Ba=12;var C=x;v.Bu.ja||(v.dh.ja&&Xg(v.dh,k,l),v.Cp.ja&&Xg(v.Cp,d.ba,d.$),v.Bp.ja&&Xg(v.Bp,d.ka,d.ia),v.Dp.ja&&(v.Dp.Gf[0]=n),v.Fp.ja&&(v.Fp.Gf[0]=p),v.Ep.ja&&(v.Ep.Gf[0]=r),v.hl.ja&&Xg(v.hl,c.ba,c.$),v.Kn.ja&&Xg(v.Kn,c.ka,c.ia),v.Mn.ja&&Xg(v.Mn,e.ba,e.$),v.Ln.ja&&Xg(v.Ln,e.ka,e.ia),v.Hp.ja&&Xg(v.Hp,g.ba,g.$),v.Gp.ja&&Xg(v.Gp,g.$,g.ia),v.Ip.ja&&(v.Ip.Gf[0]=C));C=y.Ge;C[0]=k;C[1]=l;d.ih(C,2);C[6]=p;C[7]=r;c.ih(C,12);d=y.an;g.ih(d,0);g=d[1];d[1]=d[3];d[3]=g;e.ih(y.uQ,0);y.te=x;y.ln=n;y.og=v.Bu.ja? -b?b.Hd():null:null;a.lc=0}}function zi(a,b){const d=a.Xo;var c;if(c=0!==b.length){a:{for(let k=0,l=b.length;k=a.P||0>=a.R)throw Error("invalid texture data size");c.FR&&(d=hg.ii(a.P,a.R),d.getContext("2d").drawImage(b,0,0,a.P,a.R),b=d);var e=hg.Xj(a.P)&&hg.Xj(a.R);d=a.ya.CC;if(a.P>d||a.R>d)throw Error("texture data exceeds maximum texture size");d=a.ya.la;var g=a.ya.Rb;a.Cb=d.createTexture();d.bindTexture(d.TEXTURE_2D,a.Cb);d.pixelStorei(d.UNPACK_PREMULTIPLY_ALPHA_WEBGL,c.premultiplyAlpha);d.pixelStorei(d.UNPACK_FLIP_Y_WEBGL,!1);c=mg(a.hp,d);if(2<=a.ya.Rb||e||!sg(a))2<=g?(d.texStorage2D(d.TEXTURE_2D, -a.pn?Math.floor(Math.log2(Math.max(a.P,a.R))+1):1,c.iL,a.P,a.R),b instanceof ArrayBuffer?d.texSubImage2D(d.TEXTURE_2D,0,0,0,a.P,a.R,c.format,c.type,new Uint8Array(b)):null!==b&&d.texSubImage2D(d.TEXTURE_2D,0,0,0,c.format,c.type,b)):b instanceof ArrayBuffer?d.texImage2D(d.TEXTURE_2D,0,c.Nu,a.P,a.R,0,c.format,c.type,new Uint8Array(b)):null===b?d.texImage2D(d.TEXTURE_2D,0,c.Nu,a.P,a.R,0,c.format,c.type,null):d.texImage2D(d.TEXTURE_2D,0,c.Nu,c.format,c.type,b);else{if(null===b)throw Error("cannot pass null data when creating a NPOT tiled texture without NPOT support"); -b instanceof ArrayBuffer&&(b=new ImageData(new Uint8ClampedArray(b),a.P,a.R));b instanceof ImageData&&(e=hg.ii(a.P,a.R),e.getContext("2d").putImageData(b,0,0),b=e);e=hg.ii(hg.Qu(a.P),hg.Qu(a.R));g=e.getContext("2d");g.imageSmoothingEnabled="nearest"!==a.pd;g.drawImage(b,0,0,a.P,a.R,0,0,e.width,e.height);d.texImage2D(d.TEXTURE_2D,0,c.Nu,c.format,c.type,e)}null!==b&&tg(a,d);d.bindTexture(d.TEXTURE_2D,null);a.ya.Wk=null;a.Ad=1;pg.add(a);return a} -async function Hi(a,b,d){if(Fh(a))throw Error("context lost");d=Object.assign({},d);if(Ph.qb.ImageBitmapOptions){let c=await createImageBitmap(b,{premultiplyAlpha:"premultiply"});const e=d.kE&&"clamp-to-edge"!==d.kE||d.lE&&"clamp-to-edge"!==d.lE,g=Ph.Xj(c.width)&&Ph.Xj(c.height);2<=a.Rb||g||!e?d.premultiplyAlpha=!1:Ph.qb.eA?(c=await createImageBitmap(b,{premultiplyAlpha:"premultiply",resizeWidth:Ph.Qu(c.width),resizeHeight:Ph.Qu(c.height)}),d.premultiplyAlpha=!1):c=await createImageBitmap(b,{premultiplyAlpha:"none"}); -return await Ph.Wu(()=>Gi(a,c,d))}if(b instanceof Blob){if("undefined"===typeof Image)throw Error("texture upload variant not supported in worker");b=await Ph.yL(b)}return await Ph.Wu(()=>Gi(a,b,d))} -function Ii(a,b){var d=a.P,c=a.R,e=!0;b&&("number"===typeof b.width&&(d=Math.floor(b.width),e=!1),"number"===typeof b.height&&(c=Math.floor(b.height),e=!1));if(0>=d||0>=c)throw Error("invalid size");Xf(a);const g=Ph.A(Ph.ea.yN,a);b=Object.assign({AR:e},b);b=Object.assign({},zg,b);e=g.ya.Rb;if(g.Cb||g.cm)throw Error("already created render target");g.pd=b.gi;g.Ls=!!b.alpha;g.Af=!!b.depth;g.ox=!!b.TD;g.ZB=!!b.AR;g.vn=b.X_;if(!yg.has(g.pd))throw Error("invalid sampling");if(0e||g.ox))throw Error("invalid use of multisampling"); -2>e&&(g.ox=!0);g.P=d;g.R=c;if(0>=g.P||0>=g.R)throw Error("invalid render target size");Bg(g);d=g.ya.la;g.Ji=d.createFramebuffer();g.Af&&(g.Uq=d.createFramebuffer());g.ox?(g.Cb=Gh(g.ya,g.P,g.R,{gi:g.pd,ZK:g.Ls?"rgba8":"rgb8",iz:!1}),b=g.Cb.Cb,d.bindFramebuffer(d.FRAMEBUFFER,g.Ji),d.framebufferTexture2D(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0,d.TEXTURE_2D,b,0),g.Af&&(d.bindFramebuffer(d.FRAMEBUFFER,g.Uq),d.framebufferTexture2D(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0,d.TEXTURE_2D,b,0))):(g.cm=d.createRenderbuffer(), -d.bindRenderbuffer(d.RENDERBUFFER,g.cm),b=g.Ls?d.RGBA8:d.RGB8,0e&&(g.vn=e)):g.vn=0),0===g.vn?d.renderbufferStorage(d.RENDERBUFFER,b,g.P,g.R):d.renderbufferStorageMultisample(d.RENDERBUFFER,g.vn,b,g.P,g.R),d.bindFramebuffer(d.FRAMEBUFFER,g.Ji),d.framebufferRenderbuffer(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0,d.RENDERBUFFER,g.cm),g.Af&&(d.bindFramebuffer(d.FRAMEBUFFER,g.Uq),d.framebufferRenderbuffer(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0, -d.RENDERBUFFER,g.cm)),d.bindRenderbuffer(d.RENDERBUFFER,null));b=g.ya.Di;g.Af&&b&&(d.bindFramebuffer(d.FRAMEBUFFER,g.Ji),g.ya.qw?d.framebufferTexture2D(d.FRAMEBUFFER,d.DEPTH_STENCIL_ATTACHMENT,d.TEXTURE_2D,b,0):d.framebufferRenderbuffer(d.FRAMEBUFFER,d.DEPTH_STENCIL_ATTACHMENT,d.RENDERBUFFER,b));d.bindFramebuffer(d.FRAMEBUFFER,null);Ag.add(g);a.Xe=null;a.Xc.Pn=null;a.Xc.ll=null;return g}function Ji(a,b,d=!0){if(b!==a.Xe){b&&b.ZB&&Cg(b,a.P,a.R);var c=ei(a);c.Ba=8;c.og=b;a.Xe=b;a.lc=0;d&&ki(a)}} -function Ki(a,b,d="stretch"){var c=b.Hd();if(!c)throw Error("not a texture-backed render target");pi(a,c);Pf(a,0);Th.xa(Xh,a.AC);Th.xa(Yh,a.OI);ki(a);const [e,g]=xi(a,a.Xe);b=Jf(a,0,0,a.le(g),0,0,g);li(a,b);if("crop"===d&&a.Xe&&c){d=a.P/2;b=a.R/2;var k=c.J();c=c.I();var l=a.Xe.J(),n=a.Xe.I();l=Math.min(l,k);const p=Math.min(n,c),r=Math.max(c-n,0);n=Math.max(n-c,0);$h.set(-d,b-n,-d+l,b-p-n);Zh.pl($h);$h.set(0,r,l,p+r);$h.dj(k,c);wi(a,Zh,$h)}else k=e/2,c=g/2,d=-k,b=-c,ti(a,d,c,k,c,k,b,d,b);ii(a,Xh); -li(a,Yh)}function Li(a,b){if(2>a.Rb||a.Xe&&0a.Rb)){var d=ei(a);b=b.Ji;d.Ba=14;d.og=b;a.lc=0}}function Ni(a){Ci(a,!0);ei(a).Ba=25;a.lc=0;a.hB=1}function Oi(a){Ci(a,!1);ei(a).Ba=26;a.lc=0;a.hB=2} -function Pi(a){Ci(a,!0);ei(a).Ba=27;a.lc=0;a.hB=0}function Qi(a,b){if(a.Cc){var d=ei(a);d.Ba=18;d.og=b;a.lc=0}}function Ri(a,b){if(a.Cc){var d=ei(a);d.Ba=19;d.og=b;a.lc=0}} -Ph.ea.wX=class extends Ph.ea.kW{constructor(a,b){super(b);b=Object.assign({},Uh,b);if(!Vh.has(b.powerPreference))throw Error("invalid power preference");var d={alpha:!!b.alpha,depth:!1,antialias:!1,powerPreference:b.powerPreference,failIfMajorPerformanceCaveat:!!b.failIfMajorPerformanceCaveat};b.JK&&(d.desynchronized=!0,d.preserveDrawingBuffer=!0);var c=null;let e=0;2<=b.KK&&(c=a.getContext("webgl2",d),e=2);c||(c=a.getContext("webgl",d),e=1);if(!c)throw Error("renderer-unavailable (could not get WebGL context)"); -this.la=c;this.UN=c.getContextAttributes();b.JK&&!this.UN.desynchronized&&console.info("[WebGLRenderer] Low-latency mode specified but is not supported here");c.getParameter(c.VERSION);this.Rb=e;this.Uy=Sh.create();this.Io=!1;this.SA=Th.create();this.km=!!b.depth;this.qw=!(!b.depth||!b.qK);this.fr=this.km;this.kI=!1;this.Di=null;this.iI=!0;this.hO=this.iO=0;this.OC=this.UO=this.mD=this.xD=null;this.Cu=new Float32Array(24E3);this.VO=new Uint16Array(12E3);this.vp=new Float32Array(16E3);this.XP=new Float32Array(32E3); -this.uP=this.PC=this.ue=this.ai=0;this.zr=this.Xo=null;this.mw=[];this.lc=this.Ao=0;this.Xe=null;this.Xc=Ph.A(Ph.ea.FS,this);this.Ax=Ph.A(Ph.lb,1,1,1,1);this.Yo=this.Wk=null;this.vI=this.xI=0;this.kZ=new Ph.Rect;this.pC=Ph.A(Ph.Rect,0,0,-1,-1);this.hB=0;this.CC=-1;this.RI=0;this.Oy="(unavailable)";this.mI=!1;this.NJ=this.LJ=this.CH=this.Dw=this.fw=this.eJ=null;this.QI=0;this.eZ=!!b.nR;this.Cc=null;this.NA=new Set;this.BQ=[];a=this.VO;b=0;d=a.length;for(c=0;b"===d.name;const g=c.getAttribLocation(b,"aPos"),k=c.getAttribLocation(b,"aTex");this.UI=c.getAttribLocation(b,"aPoints");-1!==g&&(c.bindBuffer(c.ARRAY_BUFFER,a.DD),c.vertexAttribPointer(g,3,c.FLOAT,!1,0,0),c.enableVertexAttribArray(g));-1!==k&&(c.bindBuffer(c.ARRAY_BUFFER,a.sD), +c.vertexAttribPointer(k,2,c.FLOAT,!1,0,0),c.enableVertexAttribArray(k));-1!==this.UI&&(c.bindBuffer(c.ARRAY_BUFFER,a.UC),c.vertexAttribPointer(this.UI,4,c.FLOAT,!1,0,0),c.enableVertexAttribArray(this.UI));c.bindBuffer(c.ARRAY_BUFFER,null);this.fK=new Eg.ea.sc(this,"matP","mat4");this.eK=new Eg.ea.sc(this,"matMV","mat4");this.Jr=new Eg.ea.sc(this,"color","vec4");this.$Z=new Eg.ea.sc(this,"samplerFront","sampler");this.hK=new Eg.ea.sc(this,"pointTexStart","vec2");this.gK=new Eg.ea.sc(this,"pointTexEnd", +"vec2");this.iK=new Eg.ea.sc(this,"zElevation","float");this.Ty=new Eg.ea.sc(this,"tileSize","vec2");this.Uy=new Eg.ea.sc(this,"tileSpacing","vec2");this.dK=new Eg.ea.sc(this,"color2_","vec4");this.Sy=new Eg.ea.sc(this,"outlineThickness","float");this.Gu=new Eg.ea.sc(this,"samplerBack","sampler");this.ZZ=new Eg.ea.sc(this,"samplerDepth","sampler");this.Fp=new Eg.ea.sc(this,"destStart","vec2");this.Ep=new Eg.ea.sc(this,"destEnd","vec2");this.kl=new Eg.ea.sc(this,"srcStart","vec2");this.Mn=new Eg.ea.sc(this, +"srcEnd","vec2");this.On=new Eg.ea.sc(this,"srcOriginStart","vec2");this.Nn=new Eg.ea.sc(this,"srcOriginEnd","vec2");this.gh=new Eg.ea.sc(this,"pixelSize","vec2");this.Lp=new Eg.ea.sc(this,"seconds","float");this.Gp=new Eg.ea.sc(this,"devicePixelRatio","float");this.Ip=new Eg.ea.sc(this,"layerScale","float");this.Hp=new Eg.ea.sc(this,"layerAngle","float");this.Kp=new Eg.ea.sc(this,"layoutStart","vec2");this.Jp=new Eg.ea.sc(this,"layoutEnd","vec2");this.b_=new Eg.ea.sc(this,"zNear","float");this.a_= +new Eg.ea.sc(this,"zFar","float");this.gZ=!!(this.gh.ja||this.Lp.ja||this.Gu.ja||this.Fp.ja||this.Ep.ja||this.kl.ja||this.Mn.ja||this.On.ja||this.Nn.ja||this.Gp.ja||this.Ip.ja||this.Hp.ja||this.Kp.ja||this.Jp.ja);b=d.parameters||[];this.Kr=[];this.lK=this.gh.ja||this.kl.ja||this.Mn.ja||this.On.ja||this.Nn.ja;this.RH=this.SH=!1;Pg(this.Jr);Pg(this.dK);Qg(this.$Z,0);Qg(this.Gu,1);Qg(this.ZZ,2);Rg(this.hK,0,0);Rg(this.gK,1,1);Sg(this.iK,0);Rg(this.Ty,0,0);Rg(this.Uy,0,0);Rg(this.Fp,0,0);Rg(this.Ep,1, +1);Rg(this.kl,0,0);Rg(this.Mn,0,0);Rg(this.On,0,0);Rg(this.Nn,0,0);Rg(this.gh,0,0);Sg(this.Gp,1);Sg(this.b_,a.Tx);Sg(this.a_,a.Uw);Sg(this.Ip,1);Sg(this.Hp,0);Sg(this.Lp,0);Rg(this.Kp,0,0);Rg(this.Jp,0,0);Sg(this.Sy,1);for(const l of b)a=l[2],b=new Eg.ea.sc(this,l[0],a),"color"===a?b.ja&&(b.Wb[0]=0,b.Wb[1]=0,b.Wb[2]=0,b.Jf.set(b.Wb),b.la.uniform3f(b.Hj,0,0,0)):Sg(b,0),this.Kr.push(b);this.fC?Hg(this,e.fz):(Jg(this,e.fz,!0),Kg(this,e.QD,!0));e=e.gi;c.useProgram(e?e.Qd:null)}j(){this.la.deleteProgram(this.Qd); +this.Qd=null;var a=this.ya;const b=a.Gq.indexOf(this);-1!==b&&a.Gq.splice(b,1);a.wy.delete(this.na());this.la=null;super.j()}xh(){return this.Qd}};"use strict";const Tg=self.B,Ug=self.Zj.Un,Vg=new Map([["float",1],["percent",1],["sampler",1],["vec2",2],["vec3",3],["color",3],["vec4",4],["mat4",16]]);function Pg(a){a.ja&&(a.Wb[0]=1,a.Wb[1]=1,a.Wb[2]=1,a.Wb[3]=1,a.Jf.set(a.Wb),a.la.uniform4f(a.Hj,1,1,1,1))}function Qg(a,b){a.ja&&(a.Wb[0]=b,a.Jf.set(a.Wb),a.la.uniform1i(a.Hj,b))} +function Rg(a,b,d){a.ja&&(a.Wb[0]=b,a.Wb[1]=d,a.Jf.set(a.Wb),a.la.uniform2f(a.Hj,b,d))}function Sg(a,b){a.ja&&(a.Wb[0]=b,a.Jf.set(a.Wb),a.la.uniform1f(a.Hj,b))}function Wg(a,b,d){a=a.Jf;return a[0]===Math.fround(b)&&a[1]===Math.fround(d)}function Xg(a,b,d){a=a.Jf;a[0]=b;a[1]=d}function Ig(a,b){const d=a.Wb;Ug.pl(d,b)||(Tg.N0(d,b),a.la.uniformMatrix4fv(a.Hj,!1,b))} +function Yg(a,b,d,c,e){b=Math.fround(b);d=Math.fround(d);c=Math.fround(c);e=Math.fround(e);const g=a.Wb;if(g[0]!==b||g[1]!==d||g[2]!==c||g[3]!==e)g[0]=b,g[1]=d,g[2]=c,g[3]=e,a.la.uniform4f(a.Hj,b,d,c,e)}function Zg(a,b){b=Math.fround(b);const d=a.Wb;d[0]!==b&&(d[0]=b,a.la.uniform1f(a.Hj,b))}function $g(a,b,d){b=Math.fround(b);d=Math.fround(d);const c=a.Wb;if(c[0]!==b||c[1]!==d)c[0]=b,c[1]=d,a.la.uniform2f(a.Hj,b,d)} +Tg.ea.sc=class{constructor(a,b,d){if(!Vg.has(d))throw Error("invalid uniform type");this.ub=a;this.la=this.ub.la;this.Ja=b;this.Ba=d;this.rI="color"===this.Ba;this.Hj=this.la.getUniformLocation(this.ub.xh(),b);this.ja=!!this.Hj;a=Vg.get(d);this.Wb=new Float32Array(a);this.Jf=new Float32Array(a)}j(){this.Hj=this.la=this.ub=null}Sc(){return this.Ba}};"use strict";const ah=self.B,bh=self.Zj,ch=bh.zz,dh=bh.Un; +ah.ea.RS=class{constructor(a){this.Tp=a;this.QD=dh.create();this.fz=dh.create();this.ol=this.Rn=null;this.NR=!1;this.PD=ch.vg(1,1,1,1);this.gi=null;this.jL=new ah.Rect;this.clearColor=ah.A(ah.lb,0,0,0,0)}}; +ah.ea.KX=class{constructor(a){const b=new ArrayBuffer(96);this.Ba=0;this.Xc=a;this.la=a.Tp.la;this.mn=this.ve=0;this.qg=null;this.He=new Float32Array(b,0,16);this.bn=new Float32Array(b,64,4);this.GQ=new Float32Array(b,80,4);this.fD=[]}za(){switch(this.Ba){case 1:var a=this.la;a.drawElements(a.TRIANGLES,this.mn,a.UNSIGNED_SHORT,this.ve);break;case 2:a=this.la;var b=this.qg;a.bindTexture(a.TEXTURE_2D,b?b.Cb:null);break;case 3:a=this.bn;b=this.Xc;ch.xa(b.PD,a);b=b.gi;b.Jr.ja&&Yg(b.Jr,a[0],a[1],a[2], +a[3]);break;case 4:this.la.blendFunc(this.ve,this.mn);break;case 5:a=this.bn;this.la.viewport(a[0],a[1],a[2],a[3]);break;case 6:a=this.Xc;b=a.Tp.Gq;var d=a.gi,c=this.He;for(let p=0,r=b.length;p{a=a.font.na();for(const b of mh)(b.Fe||eh.ke(b.GB,a))&&b.wd()});function nh(a,b){a=a.trim();const d=parseFloat(a);return isFinite(d)?a.endsWith("%")?b*d/100:d:0}let oh=!1,ph=!1; +function qh(a,b,d){a.Gn||(a.Gn=eh.ki(16,16));let c=!1;if(a.zP!==b||a.yP!==d)a.zP=b,a.yP=d,a.Gn.width=b,a.Gn.height=d,c=!0;a.gd||(a.gd=a.Gn.getContext("2d"),c=!0);c?(a.gd.textBaseline=a.Fe?"alphabetic":"top",a.gd.direction=a.eh,a.gd.font=a.II,a.gd.fillStyle=a.wC,a.gd.strokeStyle=a.wC,a.gd.globalAlpha=a.KI,a.gd.lineWidth=a.JI):a.gd.clearRect(0,0,b,d)}function rh(a,b){b||(b="serif");a.GB!==b&&(a.GB=b,a.wd())}function sh(a,b){b=!!b;a.Rh!==b&&(a.Rh=b,a.wd())} +function th(a,b){b=!!b;a.Sh!==b&&(a.Sh=b,a.wd())}function uh(a){return a.wQ*a.Lu*self.devicePixelRatio}function vh(a,b,d){let c=[];(a.Rh||Ie(d,"b"))&&c.push("bold");(a.Sh||Ie(d,"i"))&&c.push("italic");var e=Ie(d,"size");e=(e?parseFloat(e.nc):a.HB)*a.IB;b?c.push(e+"pt"):c.push(e*uh(a)+"pt");b=a.GB;(d=Ie(d,"font"))&&d.nc&&(b=d.nc,a.eL&&!a.VG.has(b)&&(a.eL(b),a.VG.add(b)));b&&(fh.has(b)?c.push(b):c.push('"'+b+'"'));return c.join(" ")} +function wh(a,b){if(!ih.has(b))throw Error("invalid horizontal alignment");a.dd!==b&&(a.dd=b,a.Il())}function xh(a,b){if(!jh.has(b))throw Error("invalid vertical alignment");a.Oc!==b&&(a.Oc=b,a.Il())}function zh(a){a.$N();a.yu&&(a.RN(),a.yu=!1)}function Ah(a){zh(a);return Ee(a.$d)}function Bh(a){a.Jj||(a.Jj=eh.ki(16,16).getContext("2d"),a.hu=eh.ki(16,16).getContext("2d"),a.Jj.textBaseline=a.Fe?"alphabetic":"top",a.hu.textBaseline="top",a.Jj.direction=a.eh,a.hu.direction=a.eh)} +function Ch(a){oh||(oh=!0,Bh(a),a=a.Jj.measureText("test"),ph="number"===typeof a.fontBoundingBoxAscent&&"number"===typeof a.fontBoundingBoxDescent);return ph}function Dh(a,b){a.wC!==b&&(a.wC=b,a.gd.fillStyle=b,a.gd.strokeStyle=b)}function Eh(a,b){a.JI!==b&&(a.JI=b,a.gd.lineWidth=b)}function Fh(a,b,d,c,e,g){"rtl"===a.eh&&(c+=g);b?"Gecko"===eh.V.oh?a.gd.strokeText(d,c,e,g):a.gd.strokeText(d,c,e):"Gecko"===eh.V.oh?a.gd.fillText(d,c,e,g):a.gd.fillText(d,c,e)} +eh.ea.vF=class{constructor(a,b){b=Object.assign({},gh,b);this.ya=a;this.GB="Arial";this.HB=16;this.IB=1;this.Pd=0;this.Sh=this.Rh=!1;this.lB="black";this.Fe=!1;this.Ul=null;this.$H=!0;this.eL=null;this.VG=new Set;this.dd="left";this.Oc="top";this.Fa="";this.Ek=null;this.$d=eh.A(eh.wq);this.Or="word";this.eh="ltr";this.Rq=this.yu=this.Pp=!1;this.Nh=-1;this.R=this.P=this.cn=this.jg=this.Fi=0;this.Lu=1;this.hu=this.Jj=this.gd=this.Gn=null;this.yP=this.zP=-1;this.wC=this.EP=this.II="";this.JI=this.KI= +1;this.Qx=d=>this.aw(d);this.Cb=null;this.Vi=new eh.Rect;this.wQ=1;this.YJ=new eh.CU(()=>{this.nk();qh(this,8,8)},b.timeout);this.cE=null;this.Iu=!1;mh.add(this)}j(){this.eL=null;this.VG.clear();this.Qx=this.hu=this.Jj=this.gd=this.Gn=this.Ek=this.Ul=null;this.YJ.j();this.cE=null;this.nk();this.$d.Rd();this.ya=this.$d=null;this.Iu=!0;mh.delete(this)}Il(){this.yu=this.Rq=!0}wd(){this.Il();this.Pp=!0}BF(a){a=!!a;this.Fe!==a&&(a=(this.Fe=a)?"alphabetic":"top",this.gd&&(this.gd.textBaseline=a),this.Jj&& +(this.Jj.textBaseline=a),this.wd())}Pv(a){this.Ul!==a&&(this.Ul=a,this.$d.Pv(a),this.Ul&&this.Ul.Th&&Re(this.Ul).then(()=>{this.Rq=!0}),this.wd())}DF(a){.1>a&&(a=.1);this.HB!==a&&(this.HB=a,this.wd())}Es(a){this.Pd!==a&&(this.Pd=a,this.Il())}uq(a){a=Math.floor(a);this.Nh!==a&&(this.Nh=a,this.Rq=!0)}wi(a){a instanceof eh.lb&&(a=`rgb(${100*(Tb.Fc()?NaN:a.ib)}%, ${100*(Tb.Fc()?NaN:a.mb)}%, ${100*(Tb.Fc()?NaN:a.gb)}%)`);this.lB!==a&&(this.lB=a,this.Rq=!0)}SF(a){if(!kh.has(a))throw Error("invalid word wrap mode"); +this.Or!==a&&(this.Or=a,this.wd())}AN(a){if(!lh.has(a))throw Error("invalid text direction");this.eh!==a&&(this.eh=a,this.gd&&(this.gd.direction=this.eh),this.Jj&&(this.Jj.direction=this.eh),this.wd())}mj(a){this.Fa!==a&&(this.Fa=a,this.wd())}ec(a,b,d){"undefined"===typeof d&&(d=1);if(!(0>=a||0>=a||this.jg===a&&this.cn===b&&this.Lu===d)){var c=this.jg;this.jg=a;this.cn=b;this.Lu=d;a=self.devicePixelRatio;this.P=this.jg*this.Lu*a;this.R=this.cn*this.Lu*a;a=Math.max(this.P,this.R);b=Math.min(this.ya.IC, +4096);d=1;a>b&&(d=b/a,this.P=Math.min(this.P*d,b),this.R=Math.min(this.R*d,b));this.wQ=d;this.jg!==c?this.wd():this.Il()}}K(){return this.P}I(){return this.R}TE(){zh(this);return Ge(this.$d)+this.$d.Kf.length*(this.Pd+4)-this.Pd}Kd(){this.YJ.Tc();if(!(this.Cb&&!this.Rq&&!this.yu&&!this.Pp||this.Iu||0>=this.P||0>=this.R||(this.Rq=!1,this.Iu))){zh(this);qh(this,Math.max(eh.Vu(Math.ceil(this.P)),128),Math.max(eh.Vu(Math.ceil(this.R)),64));this.gd.imageSmoothingEnabled=this.$H;this.Fi=0;var a=uh(this), +b=this.$d.Kf;for(var d of b)if(b=d.Ti,Number.isFinite(d.Si)&&Number.isFinite(b))for(const c of"ltr"===this.eh?d.fj():He(d))this.lG(c,a,d.I());Gh(this.ya)||(this.Cb||(this.Cb=Hh(this.ya,this.Gn.width,this.Gn.height,{pz:!0,qz:"high"})),a=this.Gn,d=this.Cb,Xf(this.ya),wg(d,a),this.Vi.set(0,0,this.P/this.Cb.K(),this.R/this.Cb.I()),this.cE&&this.cE());this.YJ.Tc()}return this.Cb}YE(a,b){zh(this);const d=uh(this);var c=this.$d.Kf;for(const e of c)if(c=e.Sl*d,b>=e.Ti-e.I()*d+c&&b= +g.Si&&ak+l.I()*a+b,0)-b,d=Math.max(this.R/2-d/2,0),g&&(e=c[0].Cp*a)):"bottom"===this.Oc&&(d=c.reduce((k,l)=>k+l.I()*a+b,0)-this.Pd*a,g=g?c.at(-1).Sl*a:0,d=this.R-d-g-2);for(let k=0,l=c.length;kthis.R-4*a)break}else if(0=this.R-n)break;0<=p&&this.uG(g,d,a);this.Fe||(d+=n);d+=b}}}uG(a,b,d){let c=0;"center"===this.dd?c=(this.P-a.K()*d)/2:"right"===this.dd&&(c=this.P- +a.K()*d);a.Hm(c);a.Im(b);for(const l of"ltr"===this.eh?a.fj():He(a)){a=c;var e=b,g=d,k=Ie(l,"offsetx");a+=k?nh(k.nc,l.I())*g:0;k=Ie(l,"offsety");e+=k?nh(k.nc,l.I())*g:0;l.Al()&&(k=Ie(l,"iconoffsety"),e+=k?nh(k.nc,l.I())*g:.2*l.I()*g);l.Hm(a);l.Im(e);c+=l.K()*d}}lG(a,b,d){const c=this.gd,e=a.Si,g=a.Ti;if(Number.isFinite(e)&&Number.isFinite(g)){var k=d/16;d=a.K()*b;var l=a.I()*b,n=a.I()/16,p=(4+this.Pd)*b,r=a.dg()?a.Ue:null;if(-1!==this.Nh){if(this.Fi>=this.Nh)return;a.dg()&&this.Fi+r.length>this.Nh&& +(r=r.slice(0,this.Nh-this.Fi),d=this.aw(a).width*b);this.Fi+=a.sv()}var w=Ie(a,"background"),v=!!Ie(a,"u"),y=!!Ie(a,"s");if((!a.dg()||!eh.bF(r)||w||v||y)&&!Ie(a,"hide")){w&&(Dh(this,w.nc),c.fillRect(e,g-l,d,l+p));w=Ie(a,"color");p=(p=Ie(a,"opacity"))?parseFloat(p.nc)/100:1;this.KI!==p&&(this.KI=p,this.gd.globalAlpha=p);p=(p=Ie(a,"linethickness"))?parseFloat(p.nc):1;var C=!!Ie(a,"stroke");C&&Eh(this,.5*n*p*uh(this));if(a.dg()){r=r.join("");var E=vh(this,!1,a);this.II!==E&&(this.II=E,this.gd.font=E); +!C&&(Eh(this,.5*n*p*uh(this)),E=Ie(a,"outlineback"))&&(Dh(this,E.nc),Fh(this,!0,r,e,g,d));Dh(this,w?w.nc:this.lB);Fh(this,C,r,e,g,d);!C&&(Eh(this,.5*n*p*uh(this)),a=Ie(a,"outline"))&&(Dh(this,a.nc),Fh(this,!0,r,e,g,d))}else a.Al()&&0a.iA())}gA(){return this.yr.reduce((a,b)=>a+b.gA(),0)}};"use strict";const Mh=self.B;function Nh(a){const b=new Mh.ea.MX(a.ya);a.Ml.push(b);a.Ml.length>a.CZ&&a.Ml.shift().j();return b}function Oh(a,b,d){if(d<=b)return NaN;let c=0;for(const e of a.Ml){if(e.Bj>=d)break;if(!(e.Bj=a.P|| +0>=a.R)throw Error("invalid texture size");if(a.P>d||a.R>d)throw Error("texture exceeds maximum texture size");if(!(2<=a.ya.Sb)&&qg(a)&&!b)throw Error("non-power-of-two tiled textures not supported");b=a.ya.la;d=a.ya.Sb;a.Cb=b.createTexture();b.bindTexture(b.TEXTURE_2D,a.Cb);b.pixelStorei(b.UNPACK_PREMULTIPLY_ALPHA_WEBGL,c.premultiplyAlpha);b.pixelStorei(b.UNPACK_FLIP_Y_WEBGL,!1);c=mg(a.kp,b);b.texImage2D(b.TEXTURE_2D,0,2<=d?c.sL:c.Su,a.P,a.R,0,c.format,c.type,null);rg(a,b);b.bindTexture(b.TEXTURE_2D, +null);a.ya.Zk=null;a.Dd=1;pg.add(a);return a}function Dg(a,b){if(b){if(0>=b.Dd)throw Error("no more references");b.Dd--;0ci.add({resolve:d,Rr:a}));-1===di&&(di=self.requestAnimationFrame(ei));return b} +function Gh(a){return!a.la||a.la.isContextLost()||a.vI}async function hi(a,b){b=await Qh.ea.LN.Ma(a,b);a.Gq.push(b);a.wy.set(b.na(),b);return b}function ii(a,b,d){const c=a.az;if(0!==c[0]||0!==c[1]||c[2]!==b||c[3]!==d){var e=fi(a);e.Ba=5;e=e.bn;e[0]=0;e[1]=0;e[2]=b;e[3]=d;Sh.set(c,0,0,b,d);a.lc=0}}function ji(a,b){if(!Th.pl(a.GC,b)){var d=fi(a);d.Ba=6;dh.xa(d.He,b);Th.xa(a.GC,b);a.lc=0;a.Lo=!0}} +function ki(a,b,d){const c=a.la;a.Ei&&a.vO===b&&a.uO===d||(a.zw?(a.Ei&&c.deleteTexture(a.Ei),a.Ei=c.createTexture(),c.bindTexture(c.TEXTURE_2D,a.Ei),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,c.NEAREST),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MIN_FILTER,c.NEAREST),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,c.CLAMP_TO_EDGE),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,c.CLAMP_TO_EDGE),2<=a.Sb?c.texImage2D(c.TEXTURE_2D,0,c.DEPTH24_STENCIL8,b,d,0,c.DEPTH_STENCIL,c.UNSIGNED_INT_24_8,null):a.Kw&& +c.texImage2D(c.TEXTURE_2D,0,c.DEPTH_STENCIL,b,d,0,c.DEPTH_STENCIL,a.Kw.UNSIGNED_INT_24_8_WEBGL,null),c.bindTexture(c.TEXTURE_2D,null)):(a.Ei&&c.deleteRenderbuffer(a.Ei),a.Ei=c.createRenderbuffer(),c.bindRenderbuffer(c.RENDERBUFFER,a.Ei),c.renderbufferStorage(c.RENDERBUFFER,2<=a.Sb?c.DEPTH24_STENCIL8:c.DEPTH_STENCIL,b,d),c.bindRenderbuffer(c.RENDERBUFFER,null)),a.vO=b,a.uO=d)}function fi(a){const b=a.ww;a.Do===b.length&&b.push(new Qh.ea.KX(a.Xc));return b[a.Do++]} +function li(a){let b,d;var c=a.Ye;null===c?(b=a.YA,d=a.K(),c=a.I()):(c.ya.zt===c.BP&&c.ya.Tx===c.FP&&c.ya.Uw===c.AP||Bg(c),b=c.$l,d=c.K(),c=c.I());ji(a,b);ii(a,d,c)}function mi(a,b){if(!Th.pl(a.ZI,b)){var d=fi(a);d.Ba=7;dh.xa(d.He,b);Th.xa(a.ZI,b);a.lc=0;a.Lo=!0}}function ni(a,b,d,c,e){const g=a.Hx;fc(g,b,d,c,e)||(Xb(g,b,d,c,e),b=fi(a),b.Ba=3,g.mh(b.bn,0),a.lc=0,a.Hk=null)}function oi(a){ni(a,1,1,1,1)}function pi(a,b){if(b!==a.Zk){var d=fi(a);d.Ba=2;d.qg=b;a.Zk=b;a.lc=0}} +function qi(a,b,d){if(b!==a.HI||d!==a.FI){var c=fi(a);c.Ba=4;c.ve=b;c.mn=d;a.HI=b;a.FI=d;a.lc=0;a.Hk=null}}function ri(a){qi(a,a.la.ONE,a.la.ONE_MINUS_SRC_ALPHA)}function si(a){qi(a,a.la.ONE,a.la.ZERO)}function ti(a,b,d,c,e,g,k,l,n){gi(a);const p=a.Hu;let r=a.ci;const w=a.Dk+a.jt;p[r++]=b;p[r++]=d;p[r++]=w;p[r++]=c;p[r++]=e;p[r++]=w;p[r++]=g;p[r++]=k;p[r++]=w;p[r++]=l;p[r++]=n;p[r++]=w;a.ci=r;Xh.mh(a.yp,a.we);a.we+=8} +function gi(a){let b=a.ci;b>=a.GP&&(Xf(a),b=0);if(1===a.lc)a.ww[a.Do-1].mn+=6;else{var d=fi(a);d.Ba=1;d.ve=b;d.mn=6;a.lc=1}}function vi(a,b){var d=a.Hu,c=a.ci,e=a.Dk+a.jt;d[c++]=b.yb;d[c++]=b.wb;d[c++]=e;d[c++]=b.dc;d[c++]=b.mc;d[c++]=e;d[c++]=b.xc;d[c++]=b.yc;d[c++]=e;d[c++]=b.vc;d[c++]=b.wc;d[c]=e;a.ci+=12}function wi(a,b,d){gi(a);vi(a,b);xc(d,a.yp,a.we);a.we+=8}function xi(a,b){return b?[b.K(),b.I()]:[a.P,a.R]} +function yi(a,b,d,c,e,g,k,l,n,p,r,w){const v=a.$o;w%=10800;if(v.gZ&&(v.Gu.ja||v.gh.ja&&!Wg(v.gh,k,l)||v.Fp.ja&&!Wg(v.Fp,d.ba,d.$)||v.Ep.ja&&!Wg(v.Ep,d.ka,d.ia)||v.Gp.ja&&v.Gp.Jf[0]!==Math.fround(n)||v.Ip.ja&&v.Ip.Jf[0]!==Math.fround(p)||v.Hp.ja&&v.Hp.Jf[0]!==Math.fround(r)||v.kl.ja&&!Wg(v.kl,c.ba,c.$)||v.Mn.ja&&!Wg(v.Mn,c.ka,c.ia)||v.On.ja&&!Wg(v.On,e.ba,e.$)||v.Nn.ja&&!Wg(v.Nn,e.ka,e.ia)||v.Kp.ja&&!Wg(v.Kp,g.ba,g.$)||v.Jp.ja&&!Wg(v.Jp,g.$,g.ia)||v.Lp.ja&&v.Lp.Jf[0]!==Math.fround(w))){var y=fi(a); +y.Ba=12;var C=w;v.Gu.ja||(v.gh.ja&&Xg(v.gh,k,l),v.Fp.ja&&Xg(v.Fp,d.ba,d.$),v.Ep.ja&&Xg(v.Ep,d.ka,d.ia),v.Gp.ja&&(v.Gp.Jf[0]=n),v.Ip.ja&&(v.Ip.Jf[0]=p),v.Hp.ja&&(v.Hp.Jf[0]=r),v.kl.ja&&Xg(v.kl,c.ba,c.$),v.Mn.ja&&Xg(v.Mn,c.ka,c.ia),v.On.ja&&Xg(v.On,e.ba,e.$),v.Nn.ja&&Xg(v.Nn,e.ka,e.ia),v.Kp.ja&&Xg(v.Kp,g.ba,g.$),v.Jp.ja&&Xg(v.Jp,g.$,g.ia),v.Lp.ja&&(v.Lp.Jf[0]=C));C=y.He;C[0]=k;C[1]=l;d.mh(C,2);C[6]=p;C[7]=r;c.mh(C,12);d=y.bn;g.mh(d,0);g=d[1];d[1]=d[3];d[3]=g;e.mh(y.GQ,0);y.ve=w;y.mn=n;y.qg=v.Gu.ja? +b?b.Kd():null:null;a.lc=0}}function zi(a,b){const d=a.$o;var c;if(c=0!==b.length){a:{for(let k=0,l=b.length;k=a.P||0>=a.R)throw Error("invalid texture data size");c.RR&&(d=hg.ki(a.P,a.R),d.getContext("2d").drawImage(b,0,0,a.P,a.R),b=d);var e=hg.$j(a.P)&&hg.$j(a.R);d=a.ya.IC;if(a.P>d||a.R>d)throw Error("texture data exceeds maximum texture size");d=a.ya.la;var g=a.ya.Sb;a.Cb=d.createTexture();d.bindTexture(d.TEXTURE_2D,a.Cb);d.pixelStorei(d.UNPACK_PREMULTIPLY_ALPHA_WEBGL,c.premultiplyAlpha);d.pixelStorei(d.UNPACK_FLIP_Y_WEBGL,!1);c=mg(a.kp,d);if(2<=a.ya.Sb||e||!qg(a))2<=g?(d.texStorage2D(d.TEXTURE_2D, +a.qn?Math.floor(Math.log2(Math.max(a.P,a.R))+1):1,c.sL,a.P,a.R),b instanceof ArrayBuffer?d.texSubImage2D(d.TEXTURE_2D,0,0,0,a.P,a.R,c.format,c.type,new Uint8Array(b)):null!==b&&d.texSubImage2D(d.TEXTURE_2D,0,0,0,c.format,c.type,b)):b instanceof ArrayBuffer?d.texImage2D(d.TEXTURE_2D,0,c.Su,a.P,a.R,0,c.format,c.type,new Uint8Array(b)):null===b?d.texImage2D(d.TEXTURE_2D,0,c.Su,a.P,a.R,0,c.format,c.type,null):d.texImage2D(d.TEXTURE_2D,0,c.Su,c.format,c.type,b);else{if(null===b)throw Error("cannot pass null data when creating a NPOT tiled texture without NPOT support"); +b instanceof ArrayBuffer&&(b=new ImageData(new Uint8ClampedArray(b),a.P,a.R));b instanceof ImageData&&(e=hg.ki(a.P,a.R),e.getContext("2d").putImageData(b,0,0),b=e);e=hg.ki(hg.Vu(a.P),hg.Vu(a.R));g=e.getContext("2d");g.imageSmoothingEnabled="nearest"!==a.td;g.drawImage(b,0,0,a.P,a.R,0,0,e.width,e.height);d.texImage2D(d.TEXTURE_2D,0,c.Su,c.format,c.type,e)}null!==b&&rg(a,d);d.bindTexture(d.TEXTURE_2D,null);a.ya.Zk=null;a.Dd=1;pg.add(a);return a} +async function Hi(a,b,d){if(Gh(a))throw Error("context lost");d=Object.assign({},d);if(Qh.qb.ImageBitmapOptions){let c=await createImageBitmap(b,{premultiplyAlpha:"premultiply"});const e=d.qE&&"clamp-to-edge"!==d.qE||d.rE&&"clamp-to-edge"!==d.rE,g=Qh.$j(c.width)&&Qh.$j(c.height);2<=a.Sb||g||!e?d.premultiplyAlpha=!1:Qh.qb.kA?(c=await createImageBitmap(b,{premultiplyAlpha:"premultiply",resizeWidth:Qh.Vu(c.width),resizeHeight:Qh.Vu(c.height)}),d.premultiplyAlpha=!1):c=await createImageBitmap(b,{premultiplyAlpha:"none"}); +return await Qh.av(()=>Gi(a,c,d))}if(b instanceof Blob){if("undefined"===typeof Image)throw Error("texture upload variant not supported in worker");b=await Qh.IL(b)}return await Qh.av(()=>Gi(a,b,d))} +function Ii(a,b){var d=a.P,c=a.R,e=!0;b&&("number"===typeof b.width&&(d=Math.floor(b.width),e=!1),"number"===typeof b.height&&(c=Math.floor(b.height),e=!1));if(0>=d||0>=c)throw Error("invalid size");Xf(a);const g=Qh.A(Qh.ea.KN,a);b=Object.assign({MR:e},b);b=Object.assign({},zg,b);e=g.ya.Sb;if(g.Cb||g.dm)throw Error("already created render target");g.td=b.ii;g.Ps=!!b.alpha;g.Df=!!b.depth;g.yx=!!b.ZD;g.eC=!!b.MR;g.wn=b.m0;if(!yg.has(g.td))throw Error("invalid sampling");if(0e||g.yx))throw Error("invalid use of multisampling"); +2>e&&(g.yx=!0);g.P=d;g.R=c;if(0>=g.P||0>=g.R)throw Error("invalid render target size");Bg(g);d=g.ya.la;g.Ki=d.createFramebuffer();g.Df&&(g.Yq=d.createFramebuffer());g.yx?(g.Cb=Hh(g.ya,g.P,g.R,{ii:g.td,iL:g.Ps?"rgba8":"rgb8",pz:!1}),b=g.Cb.Cb,d.bindFramebuffer(d.FRAMEBUFFER,g.Ki),d.framebufferTexture2D(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0,d.TEXTURE_2D,b,0),g.Df&&(d.bindFramebuffer(d.FRAMEBUFFER,g.Yq),d.framebufferTexture2D(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0,d.TEXTURE_2D,b,0))):(g.dm=d.createRenderbuffer(), +d.bindRenderbuffer(d.RENDERBUFFER,g.dm),b=g.Ps?d.RGBA8:d.RGB8,0e&&(g.wn=e)):g.wn=0),0===g.wn?d.renderbufferStorage(d.RENDERBUFFER,b,g.P,g.R):d.renderbufferStorageMultisample(d.RENDERBUFFER,g.wn,b,g.P,g.R),d.bindFramebuffer(d.FRAMEBUFFER,g.Ki),d.framebufferRenderbuffer(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0,d.RENDERBUFFER,g.dm),g.Df&&(d.bindFramebuffer(d.FRAMEBUFFER,g.Yq),d.framebufferRenderbuffer(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0, +d.RENDERBUFFER,g.dm)),d.bindRenderbuffer(d.RENDERBUFFER,null));b=g.ya.Ei;g.Df&&b&&(d.bindFramebuffer(d.FRAMEBUFFER,g.Ki),g.ya.zw?d.framebufferTexture2D(d.FRAMEBUFFER,d.DEPTH_STENCIL_ATTACHMENT,d.TEXTURE_2D,b,0):d.framebufferRenderbuffer(d.FRAMEBUFFER,d.DEPTH_STENCIL_ATTACHMENT,d.RENDERBUFFER,b));d.bindFramebuffer(d.FRAMEBUFFER,null);Ag.add(g);a.Ye=null;a.Xc.Rn=null;a.Xc.ol=null;return g}function Ji(a,b,d=!0){if(b!==a.Ye){b&&b.eC&&Cg(b,a.P,a.R);var c=fi(a);c.Ba=8;c.qg=b;a.Ye=b;a.lc=0;d&&li(a)}} +function Ki(a,b,d="stretch"){var c=b.Kd();if(!c)throw Error("not a texture-backed render target");pi(a,c);Qf(a,0);Th.xa(Yh,a.GC);Th.xa(Zh,a.ZI);li(a);const [e,g]=xi(a,a.Ye);b=Kf(a,0,0,a.ne(g),0,0,g);mi(a,b);if("crop"===d&&a.Ye&&c){d=a.P/2;b=a.R/2;var k=c.K();c=c.I();var l=a.Ye.K(),n=a.Ye.I();l=Math.min(l,k);const p=Math.min(n,c),r=Math.max(c-n,0);n=Math.max(n-c,0);ai.set(-d,b-n,-d+l,b-p-n);$h.sl(ai);ai.set(0,r,l,p+r);ai.ej(k,c);wi(a,$h,ai)}else k=e/2,c=g/2,d=-k,b=-c,ti(a,d,c,k,c,k,b,d,b);ji(a,Yh); +mi(a,Zh)}function Li(a,b){if(2>a.Sb||a.Ye&&0a.Sb)){var d=fi(a);b=b.Ki;d.Ba=14;d.qg=b;a.lc=0}}function Ni(a){Ci(a,!0);fi(a).Ba=25;a.lc=0;a.nB=1}function Oi(a){Ci(a,!1);fi(a).Ba=26;a.lc=0;a.nB=2} +function Pi(a){Ci(a,!0);fi(a).Ba=27;a.lc=0;a.nB=0}function Qi(a,b){if(a.Dc){var d=fi(a);d.Ba=18;d.qg=b;a.lc=0}}function Ri(a,b){if(a.Dc){var d=fi(a);d.Ba=19;d.qg=b;a.lc=0}} +Qh.ea.LX=class extends Qh.ea.wW{constructor(a,b){super(b);b=Object.assign({},Vh,b);if(!Wh.has(b.powerPreference))throw Error("invalid power preference");var d={alpha:!!b.alpha,depth:!1,antialias:!1,powerPreference:b.powerPreference,failIfMajorPerformanceCaveat:!!b.failIfMajorPerformanceCaveat};b.TK&&(d.desynchronized=!0,d.preserveDrawingBuffer=!0);var c=null;let e=0;2<=b.UK&&(c=a.getContext("webgl2",d),e=2);c||(c=a.getContext("webgl",d),e=1);if(!c)throw Error("renderer-unavailable (could not get WebGL context)"); +this.la=c;this.fO=c.getContextAttributes();b.TK&&!this.fO.desynchronized&&console.info("[WebGLRenderer] Low-latency mode specified but is not supported here");c.getParameter(c.VERSION);this.Sb=e;this.az=Sh.create();this.Lo=!1;this.YA=Th.create();this.lm=!!b.depth;this.zw=!(!b.depth||!b.AK);this.jr=this.lm;this.sI=!1;this.Ei=null;this.qI=!0;this.uO=this.vO=0;this.UC=this.gP=this.sD=this.DD=null;this.Hu=new Float32Array(24E3);this.hP=new Uint16Array(12E3);this.yp=new Float32Array(16E3);this.iQ=new Float32Array(32E3); +this.GP=this.VC=this.we=this.ci=0;this.Dr=this.$o=null;this.ww=[];this.lc=this.Do=0;this.Ye=null;this.Xc=Qh.A(Qh.ea.RS,this);this.Hx=Qh.A(Qh.lb,1,1,1,1);this.bp=this.Zk=null;this.FI=this.HI=0;this.yZ=new Qh.Rect;this.vC=Qh.A(Qh.Rect,0,0,-1,-1);this.nB=0;this.IC=-1;this.aJ=0;this.Vy="(unavailable)";this.vI=!1;this.XJ=this.VJ=this.KH=this.Kw=this.lw=this.oJ=null;this.$I=0;this.sZ=!!b.zR;this.Dc=null;this.TA=new Set;this.NQ=[];a=this.hP;b=0;d=a.length;for(c=0;bthis.Rb&&this.km&&this.qw&&(this.Dw=a.getExtension("WEBGL_depth_texture"), -!this.Dw))throw Error("no depth texture support");2>this.Rb&&(this.CH=a.getExtension("EXT_frag_depth"),this.LJ=a.getExtension("OES_standard_derivatives"),this.NJ=a.getExtension("EXT_shader_texture_lod"));a=Mg(!1);b="varying mediump vec2 vTex;\nuniform lowp vec4 color;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex) * color;\n}";let d=a,c="uniform lowp sampler2D samplerFront;\nvarying lowp float pointOpacity;\nuniform mediump vec2 pointTexStart;\nuniform mediump vec2 pointTexEnd;\nuniform lowp vec4 color;\nvoid main(void) {\n\tmediump vec2 pointTexMin = min(pointTexStart, pointTexEnd);\n\tmediump vec2 pointTexMax = max(pointTexStart, pointTexEnd);\n\tmediump vec2 pointCoord = (pointTexEnd.x > pointTexStart.x ? gl_PointCoord : vec2(1.0 - gl_PointCoord.y, gl_PointCoord.x));\n\tgl_FragColor = texture2D(samplerFront, mix(pointTexMin, pointTexMax, pointCoord)) * color * pointOpacity;\n}", +this.lm?(a.enable(a.DEPTH_TEST),a.depthMask(!0),a.depthFunc(a.LEQUAL)):(a.disable(a.DEPTH_TEST),a.depthMask(!1));this.jr=this.lm;this.sI=!1;this.UC=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.UC);a.bufferData(a.ARRAY_BUFFER,this.iQ.byteLength,a.DYNAMIC_DRAW);this.DD=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.DD);a.bufferData(a.ARRAY_BUFFER,this.Hu.byteLength,a.DYNAMIC_DRAW);this.sD=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.sD);a.bufferData(a.ARRAY_BUFFER,this.yp.byteLength,a.DYNAMIC_DRAW); +this.gP=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.gP);a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.hP,a.STATIC_DRAW);a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.IC=a.getParameter(a.MAX_TEXTURE_SIZE);this.aJ=a.getParameter(a.ALIASED_POINT_SIZE_RANGE)[1];2048this.Sb&&this.lm&&this.zw&&(this.Kw=a.getExtension("WEBGL_depth_texture"), +!this.Kw))throw Error("no depth texture support");2>this.Sb&&(this.KH=a.getExtension("EXT_frag_depth"),this.VJ=a.getExtension("OES_standard_derivatives"),this.XJ=a.getExtension("EXT_shader_texture_lod"));a=Mg(!1);b="varying mediump vec2 vTex;\nuniform lowp vec4 color;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex) * color;\n}";let d=a,c="uniform lowp sampler2D samplerFront;\nvarying lowp float pointOpacity;\nuniform mediump vec2 pointTexStart;\nuniform mediump vec2 pointTexEnd;\nuniform lowp vec4 color;\nvoid main(void) {\n\tmediump vec2 pointTexMin = min(pointTexStart, pointTexEnd);\n\tmediump vec2 pointTexMax = max(pointTexStart, pointTexEnd);\n\tmediump vec2 pointCoord = (pointTexEnd.x > pointTexStart.x ? gl_PointCoord : vec2(1.0 - gl_PointCoord.y, gl_PointCoord.x));\n\tgl_FragColor = texture2D(samplerFront, mix(pointTexMin, pointTexMax, pointCoord)) * color * pointOpacity;\n}", e="attribute vec4 aPoints;\nvarying float pointOpacity;\nuniform float zElevation;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPoints.xy, zElevation, 1.0);\n\tgl_PointSize = aPoints.z;\n\tpointOpacity = aPoints.w;\n}",g="#ifdef GL_FRAGMENT_PRECISION_HIGH\n#define highmedp highp\n#else\n#define highmedp mediump\n#endif\nvarying highmedp vec2 vTex;\nuniform lowp vec4 color;\nuniform lowp sampler2D samplerFront;\nuniform highmedp vec2 srcStart;\nuniform highmedp vec2 pixelSize;\nuniform highmedp vec2 tileSize;\nuniform highmedp vec2 tileSpacing;\nvoid main(void) {\n\thighmedp vec2 tile = floor(vTex);\n\thighmedp vec2 tex = fract(vTex);\n\thighmedp vec2 tileOrigin = srcStart + tile * (tileSize + tileSpacing);\n\thighmedp vec2 lowerBound = tileOrigin + pixelSize / 2.0;\n\thighmedp vec2 upperBound = tileOrigin + tileSize - pixelSize / 2.0;\n\tgl_FragColor = texture2D(samplerFront, clamp(tex, lowerBound, upperBound), -16.0) * color;\n}", -k=Mg(!0),l=!1;this.km&&(2>this.Rb?this.CH&&(b="#extension GL_EXT_frag_depth : enable\nvarying mediump vec2 vTex;\nuniform lowp vec4 color;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex) * color;\n\tgl_FragDepthEXT = (gl_FragColor.a == 0.0 ? 1.0 : gl_FragCoord.z);\n}",c="#extension GL_EXT_frag_depth : enable\nuniform lowp sampler2D samplerFront;\nvarying lowp float pointOpacity;\nuniform mediump vec2 pointTexStart;\nuniform mediump vec2 pointTexEnd;\nuniform lowp vec4 color;\nvoid main(void) {\n\tmediump vec2 pointTexMin = min(pointTexStart, pointTexEnd);\n\tmediump vec2 pointTexMax = max(pointTexStart, pointTexEnd);\n\tmediump vec2 pointCoord = (pointTexEnd.x > pointTexStart.x ? gl_PointCoord : vec2(1.0 - gl_PointCoord.y, gl_PointCoord.x));\n\tgl_FragColor = texture2D(samplerFront, mix(pointTexMin, pointTexMax, pointCoord)) * color * pointOpacity;\n\tgl_FragDepthEXT = (gl_FragColor.a == 0.0 ? 1.0 : gl_FragCoord.z);\n}", +k=Mg(!0),l=!1;this.lm&&(2>this.Sb?this.KH&&(b="#extension GL_EXT_frag_depth : enable\nvarying mediump vec2 vTex;\nuniform lowp vec4 color;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex) * color;\n\tgl_FragDepthEXT = (gl_FragColor.a == 0.0 ? 1.0 : gl_FragCoord.z);\n}",c="#extension GL_EXT_frag_depth : enable\nuniform lowp sampler2D samplerFront;\nvarying lowp float pointOpacity;\nuniform mediump vec2 pointTexStart;\nuniform mediump vec2 pointTexEnd;\nuniform lowp vec4 color;\nvoid main(void) {\n\tmediump vec2 pointTexMin = min(pointTexStart, pointTexEnd);\n\tmediump vec2 pointTexMax = max(pointTexStart, pointTexEnd);\n\tmediump vec2 pointCoord = (pointTexEnd.x > pointTexStart.x ? gl_PointCoord : vec2(1.0 - gl_PointCoord.y, gl_PointCoord.x));\n\tgl_FragColor = texture2D(samplerFront, mix(pointTexMin, pointTexMax, pointCoord)) * color * pointOpacity;\n\tgl_FragDepthEXT = (gl_FragColor.a == 0.0 ? 1.0 : gl_FragCoord.z);\n}", g="#extension GL_EXT_frag_depth : enable\n#ifdef GL_FRAGMENT_PRECISION_HIGH\n#define highmedp highp\n#else\n#define highmedp mediump\n#endif\nvarying highmedp vec2 vTex;\nuniform lowp vec4 color;\nuniform lowp sampler2D samplerFront;\nuniform highmedp vec2 srcStart;\nuniform highmedp vec2 pixelSize;\nuniform highmedp vec2 tileSize;\nuniform highmedp vec2 tileSpacing;\nvoid main(void) {\n\thighmedp vec2 tile = floor(vTex);\n\thighmedp vec2 tex = fract(vTex);\n\thighmedp vec2 tileOrigin = srcStart + tile * (tileSize + tileSpacing);\n\thighmedp vec2 lowerBound = tileOrigin + pixelSize / 2.0;\n\thighmedp vec2 upperBound = tileOrigin + tileSize - pixelSize / 2.0;\n\tgl_FragColor = texture2D(samplerFront, clamp(tex, lowerBound, upperBound), -16.0) * color;\n\tgl_FragDepthEXT = (gl_FragColor.a == 0.0 ? 1.0 : gl_FragCoord.z);\n}", l=!0):(d=Ng(),b="#version 300 es\nin mediump vec2 vTex;\nout lowp vec4 outColor;\nuniform lowp vec4 color;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\toutColor = texture(samplerFront, vTex) * color;\n\tgl_FragDepth = (outColor.a == 0.0 ? 1.0 : gl_FragCoord.z);\n}",c="#version 300 es\nuniform lowp sampler2D samplerFront;\nin lowp float pointOpacity;\nuniform mediump vec2 pointTexStart;\nuniform mediump vec2 pointTexEnd;\nuniform lowp vec4 color;\nout lowp vec4 outColor;\nvoid main(void) {\n\tmediump vec2 pointTexMin = min(pointTexStart, pointTexEnd);\n\tmediump vec2 pointTexMax = max(pointTexStart, pointTexEnd);\n\tmediump vec2 pointCoord = (pointTexEnd.x > pointTexStart.x ? gl_PointCoord : vec2(1.0 - gl_PointCoord.y, gl_PointCoord.x));\n\toutColor = texture(samplerFront, mix(pointTexMin, pointTexMax, pointCoord)) * color * pointOpacity;\n\tgl_FragDepth = (outColor.a == 0.0 ? 1.0 : gl_FragCoord.z);\n}", e="#version 300 es\nin vec4 aPoints;\nout float pointOpacity;\nuniform float zElevation;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPoints.xy, zElevation, 1.0);\n\tgl_PointSize = aPoints.z;\n\tpointOpacity = aPoints.w;\n}",g="#version 300 es\nin highp vec2 vTex;\nout lowp vec4 outColor;\nuniform lowp vec4 color;\nuniform lowp sampler2D samplerFront;\nuniform highp vec2 srcStart;\nuniform highp vec2 pixelSize;\nuniform highp vec2 tileSize;\nuniform highp vec2 tileSpacing;\nvoid main(void) {\n\thighp vec2 tile = floor(vTex);\n\thighp vec2 tex = fract(vTex);\n\thighp vec2 tileOrigin = srcStart + tile * (tileSize + tileSpacing);\n\thighp vec2 lowerBound = tileOrigin + pixelSize / 2.0;\n\thighp vec2 upperBound = tileOrigin + tileSize - pixelSize / 2.0;\n\toutColor = texture(samplerFront, clamp(tex, lowerBound, upperBound), -16.0) * color;\n\tgl_FragDepth = (outColor.a == 0.0 ? 1.0 : gl_FragCoord.z);\n}", @@ -647,947 +647,953 @@ a,""],["#ifdef GL_FRAGMENT_PRECISION_HIGH\n#define highmedp high a,""],["varying mediump vec2 vTex;\nuniform lowp vec4 color;\nuniform mediump vec2 pixelSize;\nuniform mediump float outlineThickness;\nvoid main(void) {\n\tmediump vec2 diff = vTex - vec2(0.5, 0.5);\n\tmediump vec2 diffSq = diff * diff;\n\tmediump float distSq = diffSq.x + diffSq.y;\n\tmediump vec2 norm = normalize(diff);\n\tmediump vec2 halfNorm = norm * 0.5;\n\tmediump float innerF = step(distSq, 0.25);\n\tmediump vec2 innerEdge = halfNorm - pixelSize * norm * outlineThickness;\n\tmediump vec2 innerEdgeSq = innerEdge * innerEdge;\n\tmediump float outerF = step(innerEdgeSq.x + innerEdgeSq.y, distSq);\n\tgl_FragColor = color * innerF * outerF;\n}", a,""],["varying mediump vec2 vTex;\nuniform lowp vec4 color;\nuniform mediump vec2 pixelSize;\nvoid main(void) {\n\tmediump vec2 diff = vTex - vec2(0.5, 0.5);\n\tmediump vec2 diffSq = diff * diff;\n\tmediump vec2 norm = normalize(diff);\n\tmediump vec2 halfNorm = norm * 0.5;\n\tmediump vec2 halfNormSq = halfNorm * halfNorm;\n\tmediump vec2 innerEdge = halfNorm - pixelSize * norm;\n\tmediump vec2 innerEdgeSq = innerEdge * innerEdge;\n\tmediump float f = smoothstep(halfNormSq.x + halfNormSq.y, innerEdgeSq.x + innerEdgeSq.y, diffSq.x + diffSq.y);\n\tgl_FragColor = color * f;\n}", a,""],["varying mediump vec2 vTex;\nuniform lowp vec4 color;\nuniform mediump vec2 pixelSize;\nuniform mediump float outlineThickness;\nvoid main(void) {\n\tmediump vec2 diff = vTex - vec2(0.5, 0.5);\n\tmediump vec2 diffSq = diff * diff;\n\tmediump float distSq = diffSq.x + diffSq.y;\n\tmediump vec2 norm = normalize(diff);\n\tmediump vec2 halfNorm = norm * 0.5;\n\tmediump vec2 halfNormSq = halfNorm * halfNorm;\n\tmediump vec2 pxNorm = pixelSize * norm;\n\tmediump vec2 innerEdge1 = halfNorm - pxNorm;\n\tmediump vec2 innerEdge1Sq = innerEdge1 * innerEdge1;\n\tmediump float innerF = smoothstep(halfNormSq.x + halfNormSq.y, innerEdge1Sq.x + innerEdge1Sq.y, distSq);\n\tmediump vec2 innerEdge2 = halfNorm - pxNorm * outlineThickness;\n\tmediump vec2 innerEdge2Sq = innerEdge2 * innerEdge2;\n\tmediump vec2 innerEdge3 = halfNorm - pxNorm * (outlineThickness + 1.0);\n\tmediump vec2 innerEdge3Sq = innerEdge3 * innerEdge3;\n\tmediump float outerF = smoothstep(innerEdge3Sq.x + innerEdge3Sq.y, innerEdge2Sq.x + innerEdge2Sq.y, distSq);\n\tgl_FragColor = color * innerF * outerF;\n}", -a,""],["varying mediump vec2 vTex;\nuniform lowp vec4 color;\nvoid main(void) {\n\tlowp float f = 1.0 - abs(vTex.y - 0.5) * 2.0;\n\tgl_FragColor = color * f;\n}",a,""],[g,k,""],[Og(this.Rb,l,this.LJ&&this.NJ),2<=this.Rb?Ng():a,""]].map(n=>gi(this,{src:n[0],qL:n[1],name:n[2]})));this.eD=a[0];this.zr=a[1];this.dD=a[2];this.xy=a[3];Kf(this)}ec(a,b,d){if(this.P!==a||this.R!==b||d){Xf(this);d=this.la;var c=this.Xc;this.P=a;this.R=b;hi(this, -a,b);Hf(this,this.SA,a/b);ii(this,this.SA);this.zr&&(d.useProgram(this.zr.vh()),Hg(this.zr,this.AC),this.Xo=this.zr,this.Xc.di=this.zr);d.bindTexture(d.TEXTURE_2D,null);d.activeTexture(d.TEXTURE1);d.bindTexture(d.TEXTURE_2D,null);d.activeTexture(d.TEXTURE0);this.Yo=this.Wk=null;this.km&&this.iI&&ji(this,this.P,this.R);this.Xe&&Cg(this.Xe,this.P,this.R);d.bindFramebuffer(d.FRAMEBUFFER,null);this.Xe=null;c.Pn=null;c.ll=null}}wF(a){super.wF(a);Hf(this,this.SA,this.P/this.R)}Oc(){return this.Ax.Wa}Fg(a){const b= -this.Ax;b.Wa!==a&&(dc(b,a),a=ei(this),a.Ba=3,b.ih(a.an,0),this.lc=0,this.Ek=null)}vi(a){const b=this.Ax;b.Cd(a)||(b.set(a),a=ei(this),a.Ba=3,b.ih(a.an,0),this.lc=0,this.Ek=null)}Dg(a){a=this.XG[a];qi(this,a[0],a[1])}Rect(a){var b=a.ba,d=a.$,c=a.ka;a=a.ia;ti(this,b,d,c,d,c,a,b,a)}Kd(a){fi(this);vi(this,a);Wh.ih(this.vp,this.ue);this.ue+=8}Od(a){var b=ei(this);b.Ba=9;a.ih(b.Ge,0);this.lc=0}Nv(){}gs(){super.gs();this.la.flush()}yh(){for(const a of this.Cq)a.j();Gf(this);Ph.ea.XF.yh();Ph.ea.yN.yh();Ph.ea.nF.yh(); -for(const a of this.NA)a.Od();this.NJ=this.LJ=this.CH=this.Dw=this.fw=this.eJ=this.Cc=null;this.QI=0;this.Oy="(unavailable)";this.Di=this.zr=this.Xo=null;for(const a of this.By.values())a.yh()}async fF(){this.mI=!0;await this.gA();this.mI=!1;for(const a of this.By.values())a.fF(this);this.ec(this.P,this.R,!0)}ek(){return this.Xe}XL(){let a=0;for(const b of pg.values())a+=b.FE();return a}};"use strict";const Si={qR:null,rR:null,OR:null,getTime:null,NR:null}; -function Ti(a,b){return a.cO?a.cO(b):[b.J(),b.I()]}self.B.ea.hT=class{constructor(a){a=Object.assign({},Si,a);this.cO=a.qR;this.zY=a.rR;this.dO=a.OR;this.AY=a.getTime;this.BY=a.NR;this.Nn=null;this.HG=new Set}yh(){this.Nn=null;for(const a of this.HG)a.yh()}ek(a){return this.zY(a)}wa(){return this.AY()}tA(a){this.BY(a)}};"use strict"; -const Ui=self.B,Vi=self.Wj.Sn,Bc=Ui.A(Ui.Rect),Wi=Ui.A(Ui.Rect),Xi=Ui.A(Ui.Rect),Yi=Ui.A(Ui.Rect),Zi=Vi.create(),$i=Vi.create(),aj={LD:null,sR:null,PD:null,DK:!1},bj={Ku:null,wK:!1,oR:!1,yR:!1,UD:!1,DR:!1,pL:!1}; -function cj(a,b,d){d=Object.assign({},bj,d);Ui.D(a.tp);a.Qs=0;a.Rs=0;a.gI=!1;a.XB=!1;a.jx=!1;a.$O=!1;a.aZ=!1;a.Qy=!1;a.lr=0;a.iZ=!!d.UD;a.Hr=!!d.pL;a.Ox=!1;Ui.Dd(a.ky,b);if(0!==b.length){if(d.Ku){if(d.Ku.length!==b.length)throw Error("incorrect indexMap length");Ui.Dd(a.rp,d.Ku)}else{Ui.D(a.rp);for(let g=0,k=b.length;g=c||0>=e)throw Error("invalid draw size");a.wd===c&&a.ld===e||ej(b,c,e,0,0,a.Zl,a.Lx);a.wd=c;a.ld=e;a.St.xa(d.ez);d.MD?a.Fk.xa(d.MD):a.Fk.set(0,0,a.wd,a.ld);a.zn.xa(a.Fk);a.zn.dj(a.wd,a.ld);b=a.Rt*a.Ol;yc(a.Fk,a.Qs*b,a.Rs*b);a.yn.xa(a.Fk);a.yn.dj(a.wd,a.ld);b=a.Fk;d=a.wd;var g=a.ld,k;var l=k=0;d=+d;g=+g;b.ba=vc.X(b.ba,k,d);b.$=vc.X(b.$,l,g);b.ka=vc.X(b.ka,k,d);b.ia=vc.X(b.ia,l,g);a.hu.xa(a.Fk);a.hu.dj(a.wd,a.ld)} -function ej(a,b,d,c,e,g,k){c=b/2+c;e=d/2+e;Hf(a,g,b/d);a=Jf(a,c,e,a.le(d),c,e,d);Vi.xa(k,a)}function gj(a,b){oi(b);a.Hr||(a.gH&&Pi(b),Ci(b,!1),a.XB&&Di(b,!0))}function hj(a,b){a.ZA?a.ZA(a,b,()=>a.bH(b,a)):a.bH(b,a);a.rw||gj(a,b)}function ij(a,b,d){let c=a.Zl,e=a.Lx;if(d){if(a.Hr)d=!0;else if(0!==a.eH||0!==a.fH)d=!1;else{var [g,k]=xi(b,b.ek());d=g!==a.wd||k!==a.ld?!1:!0}d=!d}if(d){c=Zi;e=$i;const [l,n]=xi(b,b.ek());ej(b,l,n,a.eH,a.fH,c,e);a.Hr||Fi(b)}ii(b,c);li(b,e)} -Ui.ea.Vf=class{constructor(a,b){b=Object.assign({},aj,b);this.qe=a;this.bH=b.LD;this.uw=b.sR;this.$A=b.PD;this.ZA=null;this.ky=[];this.rp=[];this.tp=[];this.Ox=!1;this.Bi=0;this.iZ=this.Hr=this.rw=this.gH=this.jO=this.Io=this.Qy=this.aZ=this.$O=this.jx=this.XB=this.gI=!1;this.lr=0;this.dm=[null,null,null];this.ZO=!!b.DK;this.ld=this.wd=this.Rs=this.Qs=0;this.Ho=null;this.St=Ui.A(Ui.Rect);this.Fk=Ui.A(Ui.Rect);this.zn=Ui.A(Ui.Rect);this.hu=Ui.A(Ui.Rect);this.yn=Ui.A(Ui.Rect);this.Rt=this.Ol=1;this.Bc= -this.vC=0;this.TG=this.Mq=null;this.fH=this.eH=0;this.$J=!1;this.Zl=Vi.create();this.Lx=Vi.create();this.qe.HG.add(this)}j(){this.qe.HG.delete(this);Ui.D(this.tp);Ui.D(this.ky);Ui.D(this.rp);this.$A=this.uw=this.bH=this.Ho=null}yh(){this.Ox=!0;Ui.D(this.tp);Ui.D(this.ky);Ui.D(this.rp)}oq(a,b,d){this.Mq=b;this.Ho=d.sK||null;this.Bi=d.pm||0;this.Ol=d.devicePixelRatio||1;this.Rt=d.IK||1;this.vC=d.HK||0;this.Bc="number"===typeof d.time?d.time:this.qe.wa();this.Io=!1;a.Io=!1;this.gI&&this.qe.tA(this); -var c=!1;if(this.Qy){dj(this,a,d);c=!0;var e=this.qe,g=this.wd,k=this.ld;g=Math.floor(g);k=Math.floor(k);!e.Nn||e.Nn.J()===g&&e.Nn.I()===k||(Dg(a,e.Nn),e.Nn=null);null===e.Nn&&(e.Nn=Gi(a,null,{width:g,height:k,gi:"nearest",iz:!1}));this.TG=e.Nn;Bc.xa(this.Fk);Ac();a.X2(this.Mq.Hd(),this.TG,Bc.ba,Bc.$,Bc.width(),Bc.height())}if(this.rw){c=this.ky[0];var l=a.fr;if(b=c.cK)Ci(a,!1),Di(a,!0),this.yn.set(0,0,1,1),this.zn.set(0,0,1,1);Lf(a,c);a.Dg(this.Bi);Ji(a,this.Mq);this.zn.set(0,0,1,1);if(c.bK&&this.uw){const {XR:n, -YR:p,WR:r}=this.uw(this.Ho);n&&this.zn.xa(n);c=Number.isFinite(p)?1/p:0;e=Number.isFinite(r)?1/r:0}else{const [n,p]=Ti(this.qe,a);c=1/n;e=1/p}d.ez?this.St.xa(d.ez):this.St.set(0,0,0,0);yi(a,this.jx?this.Mq:null,this.yn,this.zn,this.zn,this.St,c,e,this.Ol,this.Rt,this.vC,this.Bc);zi(a,this.$A(this.rp[0],a));a.Ak=0;hj(this,a);b&&(Di(a,!1),Ci(a,l))}else{c||dj(this,a,d);ri(a);oi(a);a.Ak=0;Pf(a,0);this.ZA=d.l_||null;this.eH=d.b_||0;this.fH=d.c_||0;this.$J=!!d.x0;this.jO=a.fr;this.gH=2===a.hB;this.Hr?(Ci(a, -!1),this.XB&&Di(a,!0)):(Bc.xa(this.Fk),a.pi()?(d=this.Rt*this.Ol,yc(Bc,Math.max(this.Qs,1)*d,Math.max(this.Rs,1)*d),Ac(),Bc.X(0,0,this.wd,this.ld)):Ac(),Ei(a,Bc.ba,Bc.$,Bc.width(),Bc.height(),this.ld));this.dm[0]=b;this.dm[1]=1<=this.lr?this.qe.ek(this):null;this.dm[2]=2===this.lr?this.qe.ek(this):null;for(l of this.tp)d=l.FZ,b=l.kO,l.Dv(a,0>d?null:this.dm[d],0>b?null:this.dm[b]);this.dm[1]&&this.qe.dO(this.dm[1],this);this.dm[2]&&this.qe.dO(this.dm[2],this);this.dm.fill(null);Di(a,!1);this.gH&&Oi(a); -Ci(a,this.jO);this.Hr||Fi(a);this.Io=a.Io;this.ZA=this.Ho=this.TG=this.Mq=null}}};"use strict";self.B.ea.Vf.lj=class{constructor(a,b,d,c=-1){this.Cf=a;this.FZ=b;this.kO=d;this.qa=c}ck(){return this.Cf}Ga(){return this.qa}vh(){return this.ck().ky[this.Ga()]}Dv(){}};"use strict";const jj=self.B;jj.ea.Vf.lj.dW=class extends jj.ea.Vf.lj{constructor(a,b,d,c){super(a,b,d,c)}Dv(a,b,d){b=this.ck();ri(a);Kf(a);Ji(a,d,b.$J);Ai(a);hj(b,a);b.yn.X(0,0,1,1)}};"use strict";const kj=self.B,lj=kj.A(kj.Rect),mj=kj.A(kj.Kd); -kj.ea.Vf.lj.bW=class extends kj.ea.Vf.lj{constructor(a,b,d,c){super(a,b,d,c)}Dv(a,b,d){const c=this.ck();Kf(a);Ji(a,d);ij(c,a,!0);a.Dg(c.Bi);pi(a,b.Hd());mj.pl(c.Fk);lj.xa(c.hu);zc(lj);wi(a,mj,lj);c.ZO&&Mi(a,b)}};"use strict";const nj=self.B; -nj.ea.Vf.lj.rT=class extends nj.ea.Vf.lj{constructor(a,b,d,c){super(a,b,d,c)}Dv(a,b,d){b=this.ck();Ji(a,d,b.$J);Ai(a);si(a);Lf(a,this.vh());d=this.Ga();let c=b.hu,e=b.zn,g=1/b.wd,k=1/b.ld;if(b.uw){let {XR:n,YR:p,WR:r}=b.uw(b.Ho);n||(Bc.set(0,0,0,0),n=Bc);p||(p=b.wd);r||(r=b.ld);e=c=n;g=1/p;k=1/r}else a.pi()&&(Xi.xa(c),zc(Xi),c=Xi,Yi.xa(e),zc(Yi),e=Yi);let l=b.yn;a.pi()&&(l=Wi,l.xa(b.yn),zc(l));yi(a,b.jx?b.Mq:null,l,c,e,b.St,g,k,b.Ol,b.Rt,b.vC,b.Bc);zi(a,b.$A(b.rp[d],a));hj(b,a);b.yn.X(0,0,1,1)}}; -"use strict";const oj=self.B,pj=oj.A(oj.Rect),qj=oj.A(oj.Kd); -oj.ea.Vf.lj.JS=class extends oj.ea.Vf.lj{constructor(a,b,d,c){super(a,b,d,c)}Dv(a,b,d){const c=this.ck();Ji(a,d);(d=0===this.kO)?a.Dg(c.Bi):(Ai(a),si(a));Lf(a,this.vh());var e=this.Ga();let g=c.yn,k=c.hu,l=c.zn;a.pi()&&(Wi.xa(g),zc(Wi),g=Wi,Xi.xa(k),zc(Xi),k=Xi,Yi.xa(l),zc(Yi),l=Yi);yi(a,c.jx?c.Mq:null,g,k,l,c.St,1/c.wd,1/c.ld,c.Ol,c.Rt,c.vC,c.Bc);zi(a,c.$A(c.rp[e],a));pi(a,b.Hd());ij(c,a,d);qj.pl(c.Fk);pj.xa(c.hu);zc(pj);wi(a,qj,pj);c.ZO&&Mi(a,b)}};"use strict";const rj=self.Tf;let sj=null; +a,""],["varying mediump vec2 vTex;\nuniform lowp vec4 color;\nvoid main(void) {\n\tlowp float f = 1.0 - abs(vTex.y - 0.5) * 2.0;\n\tgl_FragColor = color * f;\n}",a,""],[g,k,""],[Og(this.Sb,l,this.VJ&&this.XJ),2<=this.Sb?Ng():a,""]].map(n=>hi(this,{src:n[0],AL:n[1],name:n[2]})));this.kD=a[0];this.Dr=a[1];this.jD=a[2];this.Ey=a[3];Lf(this)}ec(a,b,d){if(this.P!==a||this.R!==b||d){Xf(this);d=this.la;var c=this.Xc;this.P=a;this.R=b;ii(this, +a,b);If(this,this.YA,a/b);ji(this,this.YA);this.Dr&&(d.useProgram(this.Dr.xh()),Hg(this.Dr,this.GC),this.$o=this.Dr,this.Xc.gi=this.Dr);d.bindTexture(d.TEXTURE_2D,null);d.activeTexture(d.TEXTURE1);d.bindTexture(d.TEXTURE_2D,null);d.activeTexture(d.TEXTURE0);this.bp=this.Zk=null;this.lm&&this.qI&&ki(this,this.P,this.R);this.Ye&&Cg(this.Ye,this.P,this.R);d.bindFramebuffer(d.FRAMEBUFFER,null);this.Ye=null;c.Rn=null;c.ol=null}}EF(a){super.EF(a);If(this,this.YA,this.P/this.R)}Qc(){return this.Hx.Wa}Ig(a){const b= +this.Hx;b.Wa!==a&&(dc(b,a),a=fi(this),a.Ba=3,b.mh(a.bn,0),this.lc=0,this.Hk=null)}wi(a){const b=this.Hx;b.Fd(a)||(b.set(a),a=fi(this),a.Ba=3,b.mh(a.bn,0),this.lc=0,this.Hk=null)}Gg(a){a=this.eH[a];qi(this,a[0],a[1])}Rect(a){var b=a.ba,d=a.$,c=a.ka;a=a.ia;ti(this,b,d,c,d,c,a,b,a)}Md(a){gi(this);vi(this,a);Xh.mh(this.yp,this.we);this.we+=8}Rd(a){var b=fi(this);b.Ba=9;a.mh(b.He,0);this.lc=0}Tv(){}ls(){super.ls();this.la.flush()}Ch(){for(const a of this.Gq)a.j();Hf(this);Qh.ea.eG.Ch();Qh.ea.KN.Ch();Qh.ea.vF.Ch(); +for(const a of this.TA)a.Rd();this.XJ=this.VJ=this.KH=this.Kw=this.lw=this.oJ=this.Dc=null;this.$I=0;this.Vy="(unavailable)";this.Ei=this.Dr=this.$o=null;for(const a of this.Iy.values())a.Ch()}async nF(){this.vI=!0;await this.mA();this.vI=!1;for(const a of this.Iy.values())a.nF(this);this.ec(this.P,this.R,!0)}hk(){return this.Ye}hM(){let a=0;for(const b of pg.values())a+=b.ME();return a}};"use strict";const Si={CR:null,DR:null,$R:null,getTime:null,ZR:null}; +function Ti(a,b){return a.oO?a.oO(b):[b.K(),b.I()]}self.B.ea.sT=class{constructor(a){a=Object.assign({},Si,a);this.oO=a.CR;this.NY=a.DR;this.pO=a.$R;this.OY=a.getTime;this.PY=a.ZR;this.Pn=null;this.PG=new Set}Ch(){this.Pn=null;for(const a of this.PG)a.Ch()}hk(a){return this.NY(a)}wa(){return this.OY()}zA(a){this.PY(a)}};"use strict"; +const Ui=self.B,Vi=self.Zj.Un,Bc=Ui.A(Ui.Rect),Wi=Ui.A(Ui.Rect),Xi=Ui.A(Ui.Rect),Yi=Ui.A(Ui.Rect),Zi=Vi.create(),$i=Vi.create(),aj={RD:null,ER:null,VD:null,NK:!1},bj={Pu:null,GK:!1,AR:!1,KR:!1,$D:!1,PR:!1,zL:!1}; +function cj(a,b,d){d=Object.assign({},bj,d);Ui.D(a.wp);a.Us=0;a.Vs=0;a.oI=!1;a.bC=!1;a.tx=!1;a.mP=!1;a.oZ=!1;a.Xy=!1;a.qr=0;a.wZ=!!d.$D;a.Lr=!!d.zL;a.Vx=!1;Ui.Gd(a.uy,b);if(0!==b.length){if(d.Pu){if(d.Pu.length!==b.length)throw Error("incorrect indexMap length");Ui.Gd(a.up,d.Pu)}else{Ui.D(a.up);for(let g=0,k=b.length;g=c||0>=e)throw Error("invalid draw size");a.zd===c&&a.md===e||ej(b,c,e,0,0,a.$l,a.Sx);a.zd=c;a.md=e;a.Xt.xa(d.lz);d.SD?a.Ik.xa(d.SD):a.Ik.set(0,0,a.zd,a.md);a.An.xa(a.Ik);a.An.ej(a.zd,a.md);b=a.Wt*a.Pl;yc(a.Ik,a.Us*b,a.Vs*b);a.zn.xa(a.Ik);a.zn.ej(a.zd,a.md);b=a.Ik;d=a.zd;var g=a.md,k;var l=k=0;d=+d;g=+g;b.ba=vc.X(b.ba,k,d);b.$=vc.X(b.$,l,g);b.ka=vc.X(b.ka,k,d);b.ia=vc.X(b.ia,l,g);a.mu.xa(a.Ik);a.mu.ej(a.zd,a.md)} +function ej(a,b,d,c,e,g,k){c=b/2+c;e=d/2+e;If(a,g,b/d);a=Kf(a,c,e,a.ne(d),c,e,d);Vi.xa(k,a)}function fj(a,b){oi(b);a.Lr||(a.oH&&Pi(b),Ci(b,!1),a.bC&&Di(b,!0))}function hj(a,b){a.eB?a.eB(a,b,()=>a.jH(b,a)):a.jH(b,a);a.Aw||fj(a,b)}function ij(a,b,d){let c=a.$l,e=a.Sx;if(d){if(a.Lr)d=!0;else if(0!==a.mH||0!==a.nH)d=!1;else{var [g,k]=xi(b,b.hk());d=g!==a.zd||k!==a.md?!1:!0}d=!d}if(d){c=Zi;e=$i;const [l,n]=xi(b,b.hk());ej(b,l,n,a.mH,a.nH,c,e);a.Lr||Fi(b)}ji(b,c);mi(b,e)} +Ui.ea.Xf=class{constructor(a,b){b=Object.assign({},aj,b);this.te=a;this.jH=b.RD;this.Bw=b.ER;this.fB=b.VD;this.eB=null;this.uy=[];this.up=[];this.wp=[];this.Vx=!1;this.Ci=0;this.wZ=this.Lr=this.Aw=this.oH=this.wO=this.Lo=this.Xy=this.oZ=this.mP=this.tx=this.bC=this.oI=!1;this.qr=0;this.em=[null,null,null];this.lP=!!b.NK;this.md=this.zd=this.Vs=this.Us=0;this.Ko=null;this.Xt=Ui.A(Ui.Rect);this.Ik=Ui.A(Ui.Rect);this.An=Ui.A(Ui.Rect);this.mu=Ui.A(Ui.Rect);this.zn=Ui.A(Ui.Rect);this.Wt=this.Pl=1;this.Cc= +this.BC=0;this.aH=this.Qq=null;this.nH=this.mH=0;this.jK=!1;this.$l=Vi.create();this.Sx=Vi.create();this.te.PG.add(this)}j(){this.te.PG.delete(this);Ui.D(this.wp);Ui.D(this.uy);Ui.D(this.up);this.fB=this.Bw=this.jH=this.Ko=null}Ch(){this.Vx=!0;Ui.D(this.wp);Ui.D(this.uy);Ui.D(this.up)}rq(a,b,d){this.Qq=b;this.Ko=d.CK||null;this.Ci=d.qm||0;this.Pl=d.devicePixelRatio||1;this.Wt=d.SK||1;this.BC=d.RK||0;this.Cc="number"===typeof d.time?d.time:this.te.wa();this.Lo=!1;a.Lo=!1;this.oI&&this.te.zA(this); +var c=!1;if(this.Xy){dj(this,a,d);c=!0;var e=this.te,g=this.zd,k=this.md;g=Math.floor(g);k=Math.floor(k);!e.Pn||e.Pn.K()===g&&e.Pn.I()===k||(Dg(a,e.Pn),e.Pn=null);null===e.Pn&&(e.Pn=Gi(a,null,{width:g,height:k,ii:"nearest",pz:!1}));this.aH=e.Pn;Bc.xa(this.Ik);Ac();a.r3(this.Qq.Kd(),this.aH,Bc.ba,Bc.$,Bc.width(),Bc.height())}if(this.Aw){c=this.uy[0];var l=a.jr;if(b=c.mK)Ci(a,!1),Di(a,!0),this.zn.set(0,0,1,1),this.An.set(0,0,1,1);Mf(a,c);a.Gg(this.Ci);Ji(a,this.Qq);this.An.set(0,0,1,1);if(c.lK&&this.Bw){const {iS:n, +jS:p,hS:r}=this.Bw(this.Ko);n&&this.An.xa(n);c=Number.isFinite(p)?1/p:0;e=Number.isFinite(r)?1/r:0}else{const [n,p]=Ti(this.te,a);c=1/n;e=1/p}d.lz?this.Xt.xa(d.lz):this.Xt.set(0,0,0,0);yi(a,this.tx?this.Qq:null,this.zn,this.An,this.An,this.Xt,c,e,this.Pl,this.Wt,this.BC,this.Cc);zi(a,this.fB(this.up[0],a));a.Dk=0;hj(this,a);b&&(Di(a,!1),Ci(a,l))}else{c||dj(this,a,d);ri(a);oi(a);a.Dk=0;Qf(a,0);this.eB=d.A_||null;this.mH=d.p_||0;this.nH=d.q_||0;this.jK=!!d.O0;this.wO=a.jr;this.oH=2===a.nB;this.Lr?(Ci(a, +!1),this.bC&&Di(a,!0)):(Bc.xa(this.Ik),a.ri()?(d=this.Wt*this.Pl,yc(Bc,Math.max(this.Us,1)*d,Math.max(this.Vs,1)*d),Ac(),Bc.X(0,0,this.zd,this.md)):Ac(),Ei(a,Bc.ba,Bc.$,Bc.width(),Bc.height(),this.md));this.em[0]=b;this.em[1]=1<=this.qr?this.te.hk(this):null;this.em[2]=2===this.qr?this.te.hk(this):null;for(l of this.wp)d=l.TZ,b=l.xO,l.Jv(a,0>d?null:this.em[d],0>b?null:this.em[b]);this.em[1]&&this.te.pO(this.em[1],this);this.em[2]&&this.te.pO(this.em[2],this);this.em.fill(null);Di(a,!1);this.oH&&Oi(a); +Ci(a,this.wO);this.Lr||Fi(a);this.Lo=a.Lo;this.eB=this.Ko=this.aH=this.Qq=null}}};"use strict";self.B.ea.Xf.nj=class{constructor(a,b,d,c=-1){this.Ff=a;this.TZ=b;this.xO=d;this.qa=c}fk(){return this.Ff}Ha(){return this.qa}xh(){return this.fk().uy[this.Ha()]}Jv(){}};"use strict";const jj=self.B;jj.ea.Xf.nj.pW=class extends jj.ea.Xf.nj{constructor(a,b,d,c){super(a,b,d,c)}Jv(a,b,d){b=this.fk();ri(a);Lf(a);Ji(a,d,b.jK);Ai(a);hj(b,a);b.zn.X(0,0,1,1)}};"use strict";const kj=self.B,lj=kj.A(kj.Rect),mj=kj.A(kj.Md); +kj.ea.Xf.nj.nW=class extends kj.ea.Xf.nj{constructor(a,b,d,c){super(a,b,d,c)}Jv(a,b,d){const c=this.fk();Lf(a);Ji(a,d);ij(c,a,!0);a.Gg(c.Ci);pi(a,b.Kd());mj.sl(c.Ik);lj.xa(c.mu);zc(lj);wi(a,mj,lj);c.lP&&Mi(a,b)}};"use strict";const nj=self.B; +nj.ea.Xf.nj.CT=class extends nj.ea.Xf.nj{constructor(a,b,d,c){super(a,b,d,c)}Jv(a,b,d){b=this.fk();Ji(a,d,b.jK);Ai(a);si(a);Mf(a,this.xh());d=this.Ha();let c=b.mu,e=b.An,g=1/b.zd,k=1/b.md;if(b.Bw){let {iS:n,jS:p,hS:r}=b.Bw(b.Ko);n||(Bc.set(0,0,0,0),n=Bc);p||(p=b.zd);r||(r=b.md);e=c=n;g=1/p;k=1/r}else a.ri()&&(Xi.xa(c),zc(Xi),c=Xi,Yi.xa(e),zc(Yi),e=Yi);let l=b.zn;a.ri()&&(l=Wi,l.xa(b.zn),zc(l));yi(a,b.tx?b.Qq:null,l,c,e,b.Xt,g,k,b.Pl,b.Wt,b.BC,b.Cc);zi(a,b.fB(b.up[d],a));hj(b,a);b.zn.X(0,0,1,1)}}; +"use strict";const oj=self.B,pj=oj.A(oj.Rect),qj=oj.A(oj.Md); +oj.ea.Xf.nj.VS=class extends oj.ea.Xf.nj{constructor(a,b,d,c){super(a,b,d,c)}Jv(a,b,d){const c=this.fk();Ji(a,d);(d=0===this.xO)?a.Gg(c.Ci):(Ai(a),si(a));Mf(a,this.xh());var e=this.Ha();let g=c.zn,k=c.mu,l=c.An;a.ri()&&(Wi.xa(g),zc(Wi),g=Wi,Xi.xa(k),zc(Xi),k=Xi,Yi.xa(l),zc(Yi),l=Yi);yi(a,c.tx?c.Qq:null,g,k,l,c.Xt,1/c.zd,1/c.md,c.Pl,c.Wt,c.BC,c.Cc);zi(a,c.fB(c.up[e],a));pi(a,b.Kd());ij(c,a,d);qj.sl(c.Ik);pj.xa(c.mu);zc(pj);wi(a,qj,pj);c.lP&&Mi(a,b)}};"use strict";const rj=self.nf;let sj=null; const tj=new Set;let uj=!1; -self.kU=class{constructor(a){sj=a;Object.defineProperties(this,{A_:{value:{},writable:!1},storage:{value:new self.mU,writable:!1},Jca:{value:sj.Bg(),writable:!1}});sj.ff.addEventListener("keydown",b=>{tj.has(b.key)?b.stopPropagation():tj.add(b.key)});sj.ff.addEventListener("keyup",b=>tj.delete(b.key));sj.fb().addEventListener("window-blur",()=>tj.clear());sj.Bg()&&(self.alert=b=>{uj||(uj=!0,console.warn("[Construct] alert() was called from a Web Worker, because the project 'Use worker' setting is enabled. This method is not normally available in a Web Worker. Construct has implemented the alert for you, but note that other features may be missing in worker mode. You may wish to disable 'Use worker', or use a more convenient function like console.log(). For more information please refer to the scripting section of the manual."));return this.alert(b)})}addEventListener(a, -b){sj.ff.addEventListener(a,b)}removeEventListener(a,b){sj.ff.removeEventListener(a,b)}get kR(){return vj(sj)}get rca(){return wj(sj)}get kL(){return sj.Wd}set kL(a){rj.xe(a);sj.Lv(a)}get r_(){return sj.Qw}random(){return sj.am()}get layout(){const a=sj.Za();if(!a)throw Error("no layout is running - make sure a layout is loaded before accessing");return a.Yw}get keyboard(){const a=sj.xw.keyboard;if(!a)throw Error("runtime.keyboard used but Keyboard object missing - add it to your project first"); -return a}get HR(){const a=sj.xw.HR;if(!a)throw Error("runtime.mouse used but Mouse object missing - add it to your project first");return a}get mL(){const a=sj.xw.mL;if(!a)throw Error("runtime.touch used but Touch object missing - add it to your project first");return a}alert(a){return xj(sj,"runtime","alert",{message:a+(sj.Bg()?" [via Web Worker]":"")})}};"use strict";self.dU=class{constructor(){}};"use strict";let yj=null; -self.gU=class{constructor(a){yj=a;Object.defineProperties(this,{Me:{value:yj.F(),writable:!1}})}};"use strict";const zj=self.Tf;self.mU=class{constructor(){sj.qJ||(sj.qJ=localforage.tK({name:"c3-localstorage-"+sj.rJ,description:sj.RC}));this.Dy=sj.qJ}getItem(a){zj.Rd(a);return this.Dy.getItem(a)}setItem(a,b){zj.Rd(a);return this.Dy.setItem(a,b)}removeItem(a){zj.Rd(a);return this.Dy.removeItem(a)}clear(){return this.Dy.clear()}keys(){return this.Dy.keys()}};"use strict";const Aj=self.Tf,Bj=new WeakMap; -self.uv=class{constructor(a){Bj.set(this,a);Object.defineProperties(this,{name:{value:a.na(),writable:!1}});a.F().YO.set(this,a)}addEventListener(a,b){Aj.Rd(a);Aj.Bl(b);Bj.get(this).ff.addEventListener(a,b)}removeEventListener(a,b){Aj.Rd(a);Aj.Bl(b);Bj.get(this).ff.removeEventListener(a,b)}*bz(){for(const a of Cj(Bj.get(this)))yield Dj(a)}tK(a){Aj.Bh(void 0);Aj.Bh(void 0);if("number"!==typeof a&&"string"!==typeof a)throw new TypeError("invalid layer parameter");var b=Bj.get(this);const d=b.F();a= -d.Za().O(a);if(!a)throw Error("invalid layer");b=Ej(d,b,a);a=d.Aa();Fj(a,!0);Gj(b);Fj(a,!1);Hj(a)||0[a[1],a[0]])),Sj=Nj.A(Nj.lb); -self.iU=class{constructor(a){Pj.set(this,a);const b=[],d=a.Na,c=d.gj().length;for(let e=0;ea.length)throw Error("expected 3 elements");Yb(Sj,a[0],a[1],a[2]);a=Pj.get(this);const b=a.Wm;ec(b,Sj)||($b(b,Sj),a.F().N())}get backgroundColor(){const a=Pj.get(this).Wm;return[a.ib,a.mb,a.gb]}set scrollX(a){Oj.Bh(a);const b=Pj.get(this);Zj(b,!0);b.nk(a)}get scrollX(){return Pj.get(this).th()}set scrollY(a){Oj.Bh(a);const b=Pj.get(this); -Zj(b,!0);b.pk(a)}get scrollY(){return Pj.get(this).uh()}scrollTo(a,b){Oj.Bh(a);Oj.Bh(b);const d=Pj.get(this);Zj(d,!0);d.nk(a);d.pk(b)}};"use strict";const ak=self.B,bk=self.Tf,ck=new WeakMap,dk=new WeakMap;function lk(a){let b=dk.get(a);if(b)return b;b=ak.A(ak.Event.fb);dk.set(a,b);return b}let mk=null; -self.mi=class{constructor(){ck.set(this,mk);const a={Me:{value:mk.F().Ok,writable:!1},UK:{value:mk.G().Zw,writable:!1},uid:{value:mk.Yb,writable:!1}};var b=mk;if(0!==b.lg.length){var d={},c=nk(b.He);for(let g=0,k=c.length;g[a[1],a[0]]));qk.A(qk.lb); -self.ss=class a extends sk{constructor(){super();var b=sk.Fl();tk.set(this,b);const d=[];var c=b.m();if(b=c.Df){c=c.G().Na.gj().length;for(let e=0;eb.length?b="":(b=b.at(-1).toLowerCase(),b=bl.get(b)||"")):b="";return new Blob([a],{type:b})} -function il(a,b,d){"flat"===a.Ii&&(b=b.toLowerCase());return xj(a.g,"runtime","cordova-fetch-local-file",{filename:b,as:d})}async function jl(a,b){"flat"===a.Ii&&(b=b.toLowerCase());var d=a.Yt.get(b);if(d)return d;d=await hl(a,b);d=URL.createObjectURL(d);a.Yt.set(b,d);return d}function kl(a,b){"flat"===a.Ii&&(b=b.toLowerCase());b=a.IP+b;return el(a,b)?gl(a,b):b} -function ll(a,b){if($k.iA(b))return Promise.resolve(b);if(el(a,b))return Promise.resolve(gl(a,b));if(a.YB&&a.Ro)return jl(a,b);"flat"===a.Ii&&(b=b.toLowerCase());return Promise.resolve(b)}async function ml(a){try{await Promise.all(a.yC),a.oC=1}catch(b){console.error("Error loading: ",b),a.LH=!0,cl(a)}} -async function nl(a){const b=[],d=[];for(const [c,e,g]of a.gK)a.Jy+=g,b.push(ol(a,c,e,d).then(()=>{a.iw+=g;Sd(a.BP)}));await Promise.all(b);a.g.Bg()&&0({type:k[0],cca:k[1],pR:c+k[1],fileSize:k[2]})),K_:g})}function ql(a,b){"flat"===a.Ii&&(b=b.toLowerCase());b=a.SG.get(b);if(!b)return null;let d=null;for(const c of b.q_)if(d||"audio/webm; codecs=opus"!==c.type||(d=c),a.yQ[c.type])return c;return d}function rl(a,b){return(b=ql(a,b))?{url:kl(a,b.pR),type:b.type}:null} -function sl(a){if(a.ZP){const b=[];for(const d of a.SG.values()){if(d.K_)continue;const c=ql(a,d.fileName);c&&b.push({b0:d.fileName,url:kl(a,c.pR),type:c.type,fileSize:c.fileSize})}return b}return[]} -$k.DS=class extends $k.ua{constructor(a,b){super();var d=b.exportType;this.g=a;this.Ii="folders";this.Zt=new Map;this.Yt=new Map;this.mZ=new Map;this.YB="cordova"===d;this.uI=!!b.isiOSCordova;this.Ro=!!b.isFileProtocol;this.yQ=b.supportedAudioFormats||{};this.SG=new Map;this.ZP=!1;this.RO=this.IP="";this.lB="html5"===d||"scirra-arcade"===d||"instant-games"===d?"remote":"local";this.GG=[];this.PG=new Map;this.gK=[];this.yC=[];this.KO=!1;this.oC=this.iw=this.Jy=0;this.LH=!1;this.BP=$k.A($k.gW,()=>cl(this), -50);this.LI=$k.A($k.Bv,Math.max($k.hardwareConcurrency,8));this.uJ=$k.A($k.Bv,20);if(a=b.previewImageBlobs){(d=b.previewProjectFileBlobs)&&Object.assign(a,d);(d=b.projectData)&&(a["data.json"]=d);for(const [c,e]of Object.entries(a))this.Zt.set(c,e)}if(b=b.previewProjectFileSWUrls)for(const [c,e]of Object.entries(b))this.mZ.set(c,e);new self.dU}j(){this.Zt.clear();for(const a of this.Yt.values())a.startsWith("blob:")&&URL.revokeObjectURL(a);this.Yt.clear();for(const a of this.GG)a.j();$k.D(this.GG); -this.PG.clear();$k.D(this.yC);this.g=null}F(){return this.g}wm(a,b){b=b||this.lB;const d=fl(this,a);return d?Promise.resolve(d):$k.us(a)?("flat"===this.Ii&&(a=a.toLowerCase()),this.YB&&this.Ro?hl(this,a):"local"===b?this.LI.Kb(()=>$k.wm(a)):this.uJ.Kb(()=>$k.wm(a))):$k.wm(a)}Zu(a){const b=fl(this,a);return b?$k.IS(b):$k.us(a)?("flat"===this.Ii&&(a=a.toLowerCase()),this.YB&&this.Ro?il(this,a,"buffer"):"local"===this.lB?this.LI.Kb(()=>$k.Zu(a)):this.uJ.Kb(()=>$k.Zu(a))):$k.Zu(a)}$u(a){const b=fl(this, -a);return b?$k.zL(b):$k.us(a)?("flat"===this.Ii&&(a=a.toLowerCase()),this.YB&&this.Ro?il(this,a,"text"):"local"===this.lB?this.LI.Kb(()=>$k.$u(a)):this.uJ.Kb(()=>$k.$u(a))):$k.$u(a)}async NL(a){a=await this.$u(a);return JSON.parse(a)}mA(a){if(a.fz&&!al.has(a.fz))throw Error("invalid load policy");let b=this.PG.get(a.url);if(b)return b;b=$k.A($k.gM,this,{url:a.url,size:a.size||0,fz:a.fz||this.lB});this.GG.push(b);this.PG.set(b.jm,b);this.KO||(this.Jy+=b.bo(),this.yC.push(tl(b).then(()=>{var d=b.bo(); -this.iw+=d;Sd(this.BP)})));return b}};"use strict";const ul=self.B;function tl(a){if("local"===a.HI||a.Ps)return a.pI=!0,Promise.resolve();if(a.Mi)return a.Mi;a.Mi=a.tb.wm(a.jm,a.HI).then(b=>{a.pI=!0;a.Mi=null;return a.Ps=b}).catch(b=>{console.error("Error loading resource: ",b);a.Mi=null});return a.Mi}function vl(a){return a.Ps?Promise.resolve(a.Ps):a.Mi?a.Mi:a.tb.wm(a.jm,a.HI)} -ul.CS=class extends ul.ua{constructor(a,b){super();this.tb=a;this.g=a.F();this.jm=b.url||"";this.ku=b.size;this.HI=b.fz;this.Ps=b.blob||null;this.pI=!!this.Ps;this.Mi=null}j(){this.Ps=this.g=this.tb=this.Mi=null}bo(){return this.ku}aF(){return this.pI}};"use strict";const wl=self.B,xl=new wl.Bv,yl=new Set;async function zl(a){a=await vl(a);return wl.qb.ImageBitmap?await createImageBitmap(a):await wl.yL(a)} -wl.gM=class extends wl.CS{constructor(a,b){super(a,b);this.mm=this.Cr=null;this.Ad=0;this.SO=this.TO=-1;yl.add(this)}j(){this.kk();if(0!==this.Ad)throw Error("released image asset which still has texture references");this.Cr=null;yl.delete(this);super.j()}static xs(){for(const a of yl)a.Cr=null,a.mm=null,a.Ad=0}vs(a,b){b=b||{};this.Ad++;if(this.mm)return Promise.resolve(this.mm);if(this.Cr)return this.Cr;b.YQ=this.g.W.AQ;return this.Cr=vl(this).then(d=>xl.Kb(()=>Hi(a,d,b).then(c=>{this.Cr=null;if(0=== -this.Ad)return Dg(a,c),null;this.mm=c;this.TO=c.J();this.SO=c.I();return this.mm}))).catch(d=>{console.error("Failed to load texture: ",d);throw d;})}kk(){if(0>=this.Ad)throw Error("texture released too many times");this.Ad--;0===this.Ad&&this.mm&&(Dg(this.mm.Pa(),this.mm),this.mm=null)}Hd(){return this.mm}J(){return this.TO}I(){return this.SO}};"use strict";const Al=self.B;function Bl(a,b){return a.m().cj-b.m().cj} -function Cl(a){a.ix&&(a.H.length===a.Xk.size?a.Sc():(Al.ci(a.H,a.Xk),a.Xk.clear(),a.ix=!1))} -Al.iW=class extends Al.ua{constructor(a,b,d){super();this.Y=b;this.S=d;this.H=[];this.qx=!0;this.Xk=new Set;this.ix=!1}j(){Al.D(this.H);this.Xk.clear()}Sc(){Al.D(this.H);this.qx=!0;this.Xk.clear();this.ix=!1}jj(){if(!this.H.length)return!0;if(this.H.length>this.Xk.size)return!1;Cl(this);return!0}hA(a){this.Xk.has(a)?(this.Xk.delete(a),0===this.Xk.size&&(this.ix=!1)):(this.H.push(a),this.qx=1===this.H.length)}Ah(a){this.Xk.add(a);this.ix=!0;50<=this.Xk.size&&Cl(this)}BE(a){Cl(this);this.qx||(this.H.sort(Bl), -this.qx=!0);this.H.length&&a.push(this.H)}};"use strict";const Dl=self.B; -Dl.jW=class extends Dl.ua{constructor(a,b){super();this.bB=a;this.aB=b;this.sj=Dl.A(Dl.Av)}j(){this.sj.j();this.sj=null}$n(a,b,d){let c=this.sj.U(a,b);return c?c:d?(c=Dl.A(Dl.iW,this,a,b),this.sj.Set(a,b,c),c):null}rk(a){return Math.floor(a/this.bB)}sk(a){return Math.floor(a/this.aB)}Lm(a,b,d){if(b)for(let c=b.ba,e=b.ka;c<=e;++c)for(let g=b.$,k=b.ia;g<=k;++g){if(d&&d.gh(c,g))continue;const l=this.$n(c,g,!1);l&&(l.Ah(a),l.jj()&&this.sj.Yn(c,g))}if(d)for(let c=d.ba,e=d.ka;c<=e;++c)for(let g=d.$,k=d.ia;g<= -k;++g)b&&b.gh(c,g)||this.$n(c,g,!0).hA(a)}sA(a,b){let d=this.rk(a.ba);const c=this.sk(a.$),e=this.rk(a.ka);for(a=this.sk(a.ia);d<=e;++d)for(let g=c;g<=a;++g){const k=this.$n(d,g,!1);k&&k.BE(b)}}};"use strict";const U=self.B,El=new U.Rect,Fl=new U.Kd,Gl=[];new U.Rect;new U.Rect;const Hl=self.Wj,Il=Hl.qz,Jl=Hl.rz,Kl=Hl.Sn;Kl.create();const Ll=Il.create(),Ml=Jl.create(),Nl=Il.create(),Ol=Il.create(),Pl=Il.create(),Ql=U.A(U.uo);U.A(U.Rect);function Rl(a,b){return a.m().cj-b.m().cj} -function Sl(a,b){return a.m().Ma()-b.m().Ma()}const Tl=[],Ul=[],Vl=[],Wl={name:"",Sr:-1,FK:!1,isVisible:!0,SD:!0,RD:!1,backgroundColor:[1,1,1,1],VD:!0,XK:[1,1],opacity:1,QD:!1,QR:!1,fS:!1,gS:!1,ZD:1,pm:0,Tp:0,wR:[],lR:[],ZR:[]}; -function Xl(a,b,d=!1){if(a.H.includes(b))d&&a.H.sort((g,k)=>{g=Yl(g.m());k=Yl(k.m());return g-k});else if(b.Pe()){var c=[...b.Tj()];c.push(b);c.sort((g,k)=>{g=Yl(g.m());k=Yl(k.m());return g-k});for(var e of c)if(e.Ec())for(const g of e.qd)c.includes(g)||(b=[...g.Tj()],b.push(g),b.sort((k,l)=>{k=Yl(k.m());l=Yl(l.m());return k-l}),b&&b.length&&c.splice(c.length,0,...b));for(const g of c)g.ab().Vd&&a.xi(g,!0)}else if(b.ab().Vd&&a.xi(b,!0),b.Ec())for(c of b.qd)if(e=[...c.Tj()],e.push(c),e.sort((g,k)=> -{g=Yl(g.m());k=Yl(k.m());return g-k}),e&&e.length)for(const g of e)g.ab().Vd&&a.xi(g,!0)}function Tj(a,b){b=!!b;a.hr!==b&&(a.hr=b,Zl(a.Vg),a.g.N())}function Uj(a,b){a.ad!==b&&(a.ad=b,$l(a.Vg),am(a),a.g.N())}function Vj(a,b){a.Oj!==b&&(a.Oj=b,am(a),a.g.N())}function Xj(a,b){b=!!b;a.Uk!==b&&(a.Uk=b,a.g.N())}function Yj(a,b){b=!!b;a.bC!==b&&(a.bC=b,a.g.N())}function Zj(a,b){b=!!b;if(a.kn!==b){if(a.kn=b)b=a.pc(),a.Pj=b.th(),a.Qj=b.uh();am(a);a.g.N()}}function bm(a){a.QC.xa(a.Xa);gc(a.QC)} -function cm(a){return a.PZ&&!a.HQ}function dm(a,b,d){return U.A(U.bF,a,b,{name:d[0],Sr:d[2],isVisible:d[3],SD:d[13],RD:d[19],backgroundColor:d[4].map(c=>c/255),VD:d[5],XK:[d[6],d[7]],opacity:d[8],QD:d[9],QR:d[17],fS:d[18],gS:d[10],ZD:d[11],pm:d[12],Tp:d[16],wR:d[14],lR:d[15],ZR:d[20]})}function em(a){for(const b of a.WO){const d=fm(a.g,b[1]);gm(a.Vg,d);d.Lq||(d.Lq=b);a.Ul.push(b);a.ZH.set(b[2],b)}U.Dd(a.xQ,a.Ul);a.WO=null}function hm(a,b){a.iK=!1;a.hC=!1;if(!b||b.G().ab().cP)a.QH=!1} -function im(a,b){if(b){b=new Set;for(var d of a.H){var c=d.m().cj;0<=c&&b.add(c)}d=-1;for(const e of a.H)if(c=e.m(),!(0<=c.cj)){for(++d;b.has(d);)++d;c.cj=d|0}}a.H.sort(Rl)}function*jm(a){yield a;yield*a.kz()}function km(a){for(const b of jm(a))if(!b.It)return!1;return!0}function am(a){a.qI=!0;a.ux=!0;a.vx=!0} -function lm(a){if(a.vx){a.vx=!1;var b=a.g.JC,d=a.g.KC,c=(a.th()-b)*a.$e+b,e=(a.uh()-d)*a.bf+d;b=mm(a);d=a.g.fh/b;b=a.g.hf/b;c-=d/2;var g=e-b/2;a.g.Sk&&(c=Math.round(c),g=Math.round(g));e=a.OQ;e.set(c,g,c+d,g+b);d=a.Da();0!==d&&(El.xa(e),El.offset(-e.Or(),-e.Pr()),0===d?Fl.pl(El):Ec(Fl,El,Math.sin(d),Math.cos(d)),Fl.AK(El),El.offset(e.Or(),e.Pr()),e.xa(El));b=a.rd;nm(a,b,a.Uy);if(om(a)){d=a.dK;e=a.g.W;c=e.yc;e=e.fc;const [k,l]=pm(a,0,0,b),[n,p]=pm(a,c,0,b),[r,x]=pm(a,c,e,b),[v,y]=pm(a,0,e,b);a=Math.min(k, -n,r,v);b=Math.min(l,p,x,y);c=Math.max(k,n,r,v);e=Math.max(l,p,x,y);isFinite(a)||(a=-Infinity);isFinite(b)||(b=-Infinity);isFinite(c)||(c=Infinity);isFinite(e)||(e=Infinity);d.set(a,b,c,e)}else a.dK.xa(a.Uy)}}function qm(a){lm(a);return a.Uy}function rm(a){lm(a);return a.dK}function sm(a){a=a.pc();return[tm(a),um(a)]}function wm(a,b){if(a.Vg.Tg)return 1;a=a.le()/mm(a);return a/(a-b)} -function nm(a,b,d){lm(a);var c=a.OQ;if(0===b)d.xa(c);else{let k=c.Or(),l=c.Pr();var e=wm(a,b);const n=c.width()/e;c=c.height()/e;const [p,r]=sm(a);if(.5!==p||.5!==r){const x=a.le()/mm(a);var g=a.g;const v=a.le()/x;e=(p-.5)*g.fh/v;g=(r-.5)*g.hf/v;a=a.Da();0!==a&&(Ql.set(e,g),Ql.rotate(a),e=Ql.Y,g=Ql.S);b=U.jE(x,0,b);k+=U.Nc(e,0,b);l+=U.Nc(g,0,b)}d.set(k-n/2,l-c/2,k+n/2,l+c/2)}} -function xm(a){return!ym(a)&&a.HQ?(U.Dd(Vl,a.H),Vl.sort((b,d)=>{var c=a.pc().Kg,e=c[0],g=c[1];c=c[2];var k=b.m();const l=d.m();d=k.fa()-e;b=k.ga()-g;k=k.Ma()-c;e=l.fa()-e;g=l.ga()-g;c=l.Ma()-c;return e*e+g*g+c*c-(d*d+b*b+k*k)}),Vl):a.H}function zm(a,b){U.nm(b,xm(a));for(const d of a.df)d.Id()&&0[...Gm(d)]).flat();var b=0;for(const d of a){for(const c of d.H)c.G().ab().cP&&Lm(c.m(),b++);d.QH=!0}}} -function Dm(a){if(0=a.le()/mm(a)){v=null;break a}let [N,ca]=Xm(a,F,K,v),[da,Ia]=Xm(a,H,y,v);if(0!==a.Da()|| -0b){c=!1;break a}Ue.fL(Ll,Xe,Ye,b);c=!0}else c=!1;return c?[Ll[0],Ll[1]]:[NaN,NaN]} -function $m(a,b,d,c,e){var g=a.g;const k=g.Pa(),l=mm(a);Jl.set(Ml,0,0,g.fh/l,g.hf/l);g=Pm(a,k);a=Nm(a,k);return U.ea.rA(b,d,c,a,g,Ml,Ll)?[Ll[0]*e,(Ml[3]-Ll[1])*e]:[NaN,NaN]}function an(a,b,d,c=0){return $m(a,b,d,c,a.bk())}function Xm(a,b,d,c=0){return $m(a,b,d,c,a.ms()*a.xm())}function Wm(a,b,d,c){a=Zm(a).UI;return!(a.x*b+a.y*d+a.z*c>=a.w)} -U.bF=class extends U.ua{constructor(a,b,d){super();d=Object.assign({},Wl,d);this.Vg=a;this.g=a.F();this.Kj=b;this.Ia=d.name;this.qa=-1;this.hr=!!d.RD;this.Ww=-1;this.eb=d.Sr;this.lx=!!d.FK;this.Lt=!!d.isVisible;this.It=!!d.SD;this.Wm=U.A(U.lb);sc(this.Wm,d.backgroundColor);this.Uk=!!d.VD;this.$e=d.XK[0];this.bf=d.XK[1];this.Xa=U.A(U.lb,1,1,1,d.opacity);this.QC=U.A(U.lb);this.bC=!!d.QD;this.AZ=!!d.QR;this.HQ=!!d.fS;this.PZ=!!d.gS;this.Oj=d.ZD;this.Bi=d.pm;this.Ve=null;this.ad=1;this.rd=d.Tp;this.Qj= -this.Pj=this.wf=0;this.kn=!1;this.Uy=U.A(U.Rect);this.OQ=U.A(U.Rect);this.dK=U.A(U.Rect);this.vx=!0;this.Zl=Kl.create();this.gC=!0;this.Lx=Kl.create();this.qI=!0;this.NQ=U.A(U.ea.qX);this.ux=!0;this.xQ=[];this.WO=d.wR;this.Ul=[];this.iB=[];this.ZH=new Map;this.H=[];this.Sm=this.QH=this.iK=!1;const c=this.g.W;this.Na=U.A(U.Zp,this,d.lR);this.Cf=U.A(U.ea.Vf,c.Hw,{LD:(e,g)=>{g=g.Ho;const k=g.ek();e.vi(g.JE());Ki(e,k);Mi(e,k);c.mq(k)},PD:e=>this.Na.FA(e)});this.Vy=this.wn=!0;this.iu=null;this.wI=[];this.hC= -!1;this.lZ=U.A(U.Rect,0,0,-1,-1);this.DY=U.A(U.Rect,0,0,-1,-1);this.OB=new self.iU(this);bm(this);cm(this)&&(this.iu=U.A(U.jW,this.g.Pi,this.g.Oi));this.df=d.ZR.map(e=>dm(this.Vg,this,e))}j(){for(const a of this.df)a.j();U.D(this.df);for(const a of this.H)bn(this.g,a);U.D(this.H);this.Na.j();this.Na=null;this.Cf.j();this.g=this.Vg=this.Kj=this.OB=this.Cf=null}xi(a,b){if(!a.ab().Vd)throw Error("instance is not of world type");const d=a.m();if(d.O()!==this)throw Error("instance added to wrong layer"); -this.H.push(a);0!==d.Ma()&&(this.Sm=!0);b&&cm(this)&&wk(a.m());hm(this,a)}wq(a,b){const d=this.H.indexOf(a);0>d||(b&&cm(this)&&cn(a.m()),this.H.splice(d,1),hm(this,a),0===this.H.length&&(this.Sm=!1))}Cv(a,b,d,c,e){const g=this.g.Aa(),k=this.g.jd,l=a.Ka,n=[];for(const x of this.Ul){var p=x[0];if(b.gh(p[0],p[1])){p=k[x[1]];if(p!==a)if(l){if(!a.yB.has(p))continue}else continue;p=this;var r=V(this.g);this.pc()!==r&&((p=dn(r,this.na()))||(p=en(r,this.Ga())));r=fn(this.g,x,p,!1,void 0,void 0,!1,e);Xl(p, -r);p=r.m();gn(p,d,c);wk(p);Fj(g,!0);Gj(r);Fj(g,!1);n.push(r)}}return n}pc(){return this.Vg}na(){return this.Ia}vG(a){this.qa=a}Ga(){return this.qa}F(){return this.g}xm(){return this.g.xm()}ck(){this.Uv();return this.Cf}Uv(){const a=this.rs();if(this.wn||a!==this.Vy||this.Cf.Ox){var b=this.Na.Hh;cj(this.Cf,b.map(d=>d.vh()),{Ku:b.map(d=>d.Ga()),wK:!a,pL:!0});this.wn=!1;this.Vy=a}}Gh(){this.Na.Gh();this.wn=!0}Id(){for(const a of jm(this))if(!a.Lt)return!1;return!0}Hg(a){a=!!a;this.Lt!==a&&(this.Lt=a, -this.g.N())}nk(a){var b=this.pc();const d=b.Uo?-Infinity:hn(b);b=b.Uo?Infinity:b.J()-hn(b);a>b&&(a=b);ab&&(a=b);aNumber.EPSILON)if(Im(this),c=cm(this)&&0===this.Ma()&&!this.Sm,om(this)){c=this.Ve;l=Zm(this);var n=xm(this);for(let F=0,K=n.length;Fb)break;return d} -function sn(a,b,d,c,e){c=c.filter(g=>Cm(g));for(let g=0,k=c.length;gb||1a||1Cm(b))[0];a;){if(!a.Uk)return $b(yn,a.Wm),dc(yn,1),yn;if(a.Fs())return Xb(yn,0,0,0,0),yn;a=a.df.filter(b=>Cm(b))[0]}Xb(yn,0,0,0,0);return yn}function Sn(a,b,d){if(b===a||!d)return Promise.resolve();b&&(vn.YS(a.Yi,b.Yi),b.Yi.clear());b=[];for(const c of a.Zq)a.Yi.has(c)||(b.push(c.mo(d)),a.Yi.add(c));return Promise.all(b)}function Tn(a,b){a.Fy.add(b);b.then(()=>a.Fy.delete(b)).catch(()=>a.Fy.delete(b))} -async function Un(a,b){if(b.Ka)throw Error("cannot load textures for family");var d=a.g.Pa();!d||Fh(d)||a.Yi.has(b)||(a.Yi.add(b),d=b.mo(d),Tn(a,d),await d,b.oA(),a.g.N())}function Vn(a,b){if(b.Ka||0g?c.qd.push(d[g]):(d=e?fn(a.g,k,e.O(),!0,e.fa(),e.ga(),!0):fn(a.g,k,null,!0,0,0,!0),Ij(a.g),go(k),c.qd.push(d),b.push(d))}}}function ho(a){for(const b of a.YH)fm(a.g,b[1]).Ec()||fn(a.g,b,null,!0)} -async function io(a,b){const d=a.g,c=a.hb,e=d.Aa();a.rO&&(a.md=e.aD.get(a.rO.toLowerCase())||null,jo(a.md));c.au=a;a.P=a.yZ;a.R=a.xZ;a.Pj=d.Pi/2;a.Qj=d.Oi/2;$l(a);Gn(a);Hn(a);Jn(a);await ko(a.g.W,a.hv(),!0);Wn(a,b);Yn(a);a.gr||$n(a);co(a,a.yw);co(a,a.zw);ho(a);c.Qi=null;Ij(d);var g=a.g.eY;await Promise.all(g);vn.D(g);if(!d.Aj){for(const k of a.yw)lo(k);for(const k of a.zw)mo(k,a.jH,a.iH);for(const [k,l]of Object.entries(a.gp))(g=ao(a.g,parseInt(k,10)))&&!g.Ka&&Zn(g)&&vn.D(l);for(const k of a.yw)no(k); -for(const k of a.zw)no(k)}vn.D(a.yw);vn.D(a.zw);a.jH.clear();a.iH.clear();await Promise.all([...a.Zq].map(k=>k.hF(a.g.Pa())));b&&(d.fb().dispatchEvent(new vn.Event("beforefirstlayoutstart")),await d.um(new vn.Event("beforeprojectstart")));d.fb().dispatchEvent(new vn.Event("beforelayoutstart"));await a.um(new vn.Event("beforelayoutstart"));d.Aj||await d.$d(vn.C.cb.K.CM,null,null);d.fb().dispatchEvent(new vn.Event("afterlayoutstart"));await a.um(new vn.Event("afterlayoutstart"));b&&(d.fb().dispatchEvent(new vn.Event("afterfirstlayoutstart")), -await d.um(new vn.Event("afterprojectstart")));oo(e,c);await Promise.all([...a.Fy]);a.gr=!1}function po(a){const b=[],d=a.YH;let c=0;for(let e=0,g=d.length;e{tj.has(b.key)?b.stopPropagation():tj.add(b.key)});sj.gf.addEventListener("keyup",b=>tj.delete(b.key));sj.fb().addEventListener("window-blur",()=>tj.clear());sj.Eg()&&(self.alert=b=>{uj||(uj=!0,console.warn("[Construct] alert() was called from a Web Worker, because the project 'Use worker' setting is enabled. This method is not normally available in a Web Worker. Construct has implemented the alert for you, but note that other features may be missing in worker mode. You may wish to disable 'Use worker', or use a more convenient function like console.log(). For more information please refer to the scripting section of the manual."));return this.alert(b)})}addEventListener(a, +b){sj.gf.addEventListener(a,b)}removeEventListener(a,b){sj.gf.removeEventListener(a,b)}get wR(){return vj(sj)}get Ica(){return wj(sj)}get uL(){return sj.Yd}set uL(a){rj.ye(a);sj.Rv(a)}get G_(){return sj.Yw}random(){return sj.cm()}get layout(){const a=sj.$a();if(!a)throw Error("no layout is running - make sure a layout is loaded before accessing");return a.ix}get keyboard(){const a=sj.Ew.keyboard;if(!a)throw Error("runtime.keyboard used but Keyboard object missing - add it to your project first"); +return a}get TR(){const a=sj.Ew.TR;if(!a)throw Error("runtime.mouse used but Mouse object missing - add it to your project first");return a}get wL(){const a=sj.Ew.wL;if(!a)throw Error("runtime.touch used but Touch object missing - add it to your project first");return a}alert(a){return xj(sj,"runtime","alert",{message:a+(sj.Eg()?" [via Web Worker]":"")})}};"use strict";self.oU=class{constructor(){}};"use strict";let yj=null; +self.rU=class{constructor(a){yj=a;Object.defineProperties(this,{Ne:{value:yj.F(),writable:!1}})}};"use strict";const zj=self.nf;self.yU=class{constructor(){sj.AJ||(sj.AJ=localforage.DK({name:"c3-localstorage-"+sj.BJ,description:sj.XC}));this.Ky=sj.AJ}getItem(a){zj.Nd(a);return this.Ky.getItem(a)}setItem(a,b){zj.Nd(a);return this.Ky.setItem(a,b)}removeItem(a){zj.Nd(a);return this.Ky.removeItem(a)}clear(){return this.Ky.clear()}keys(){return this.Ky.keys()}};"use strict";const Aj=self.nf,Bj=new WeakMap; +self.Av=class{constructor(a){Bj.set(this,a);Object.defineProperties(this,{name:{value:a.na(),writable:!1}});a.F().kP.set(this,a)}addEventListener(a,b){Aj.Nd(a);Aj.El(b);Bj.get(this).gf.addEventListener(a,b)}removeEventListener(a,b){Aj.Nd(a);Aj.El(b);Bj.get(this).gf.removeEventListener(a,b)}*iz(){for(const a of Cj(Bj.get(this)))yield Dj(a)}DK(a){Aj.Eh(void 0);Aj.Eh(void 0);if("number"!==typeof a&&"string"!==typeof a)throw new TypeError("invalid layer parameter");var b=Bj.get(this);const d=b.F();a= +d.$a().O(a);if(!a)throw Error("invalid layer");b=Ej(d,b,a);a=d.Aa();Fj(a,!0);Gj(b);Fj(a,!1);Hj(a)||0[a[1],a[0]])),Sj=Nj.A(Nj.lb); +self.uU=class{constructor(a){Pj.set(this,a);const b=[],d=a.Oa,c=d.hj().length;for(let e=0;ea.length)throw Error("expected 3 elements");Yb(Sj,a[0],a[1],a[2]);a=Pj.get(this);const b=a.Xm;ec(b,Sj)||($b(b,Sj),a.F().N())}get backgroundColor(){const a=Pj.get(this).Xm;return[a.ib,a.mb,a.gb]}set scrollX(a){Oj.Eh(a);const b=Pj.get(this);Yj(b,!0);b.sk(a)}get scrollX(){return Pj.get(this).vh()}set scrollY(a){Oj.Eh(a);const b=Pj.get(this); +Yj(b,!0);b.uk(a)}get scrollY(){return Pj.get(this).wh()}scrollTo(a,b){Oj.Eh(a);Oj.Eh(b);const d=Pj.get(this);Yj(d,!0);d.sk(a);d.uk(b)}};"use strict";const ak=self.B,bk=self.nf,ck=new WeakMap,dk=new WeakMap;function ek(a){let b=dk.get(a);if(b)return b;b=ak.A(ak.Event.fb);dk.set(a,b);return b}let fk=null; +self.yh=class{constructor(){ck.set(this,fk);const a={Ne:{value:fk.F().Rk,writable:!1},dL:{value:fk.G().jx,writable:!1},uid:{value:fk.Yb,writable:!1}};var b=fk;if(0!==b.og.length){var d={},c=nk(b.Ie);for(let g=0,k=c.length;g[a[1],a[0]]));qk.A(qk.lb); +self.ws=class a extends sk{constructor(){super();var b=sk.xk();tk.set(this,b);const d=[];var c=b.m();if(b=c.Gf){c=c.G().Oa.hj().length;for(let e=0;eb.length?b="":(b=b.at(-1).toLowerCase(),b=bl.get(b)||"")):b="";return new Blob([a],{type:b})} +function il(a,b,d){"flat"===a.Ji&&(b=b.toLowerCase());return xj(a.g,"runtime","cordova-fetch-local-file",{filename:b,as:d})}async function jl(a,b){"flat"===a.Ji&&(b=b.toLowerCase());var d=a.cu.get(b);if(d)return d;d=await hl(a,b);d=URL.createObjectURL(d);a.cu.set(b,d);return d}function kl(a,b){"flat"===a.Ji&&(b=b.toLowerCase());b=a.UP+b;return el(a,b)?gl(a,b):b} +function ll(a,b){if($k.oA(b))return Promise.resolve(b);if(el(a,b))return Promise.resolve(gl(a,b));if(a.dC&&a.Uo)return jl(a,b);"flat"===a.Ji&&(b=b.toLowerCase());return Promise.resolve(b)}async function ml(a){try{await Promise.all(a.EC),a.uC=1}catch(b){console.error("Error loading: ",b),a.TH=!0,cl(a)}} +async function nl(a){const b=[],d=[];for(const [c,e,g]of a.qK)a.Qy+=g,b.push(ol(a,c,e,d).then(()=>{a.pw+=g;Sd(a.NP)}));await Promise.all(b);a.g.Eg()&&0({type:k[0],tca:k[1],BR:c+k[1],fileSize:k[2]})),$_:g})}function ql(a,b){"flat"===a.Ji&&(b=b.toLowerCase());b=a.$G.get(b);if(!b)return null;let d=null;for(const c of b.F_)if(d||"audio/webm; codecs=opus"!==c.type||(d=c),a.KQ[c.type])return c;return d}function rl(a,b){return(b=ql(a,b))?{url:kl(a,b.BR),type:b.type}:null} +function sl(a){if(a.kQ){const b=[];for(const d of a.$G.values()){if(d.$_)continue;const c=ql(a,d.fileName);c&&b.push({r0:d.fileName,url:kl(a,c.BR),type:c.type,fileSize:c.fileSize})}return b}return[]} +$k.PS=class extends $k.ua{constructor(a,b){super();var d=b.exportType;this.g=a;this.Ji="folders";this.du=new Map;this.cu=new Map;this.AZ=new Map;this.dC="cordova"===d;this.EI=!!b.isiOSCordova;this.Uo=!!b.isFileProtocol;this.KQ=b.supportedAudioFormats||{};this.$G=new Map;this.kQ=!1;this.dP=this.UP="";this.rB="html5"===d||"scirra-arcade"===d||"instant-games"===d?"remote":"local";this.OG=[];this.YG=new Map;this.qK=[];this.EC=[];this.XO=!1;this.uC=this.pw=this.Qy=0;this.TH=!1;this.NP=$k.A($k.sW,()=>cl(this), +50);this.WI=$k.A($k.Hv,Math.max($k.hardwareConcurrency,8));this.EJ=$k.A($k.Hv,20);if(a=b.previewImageBlobs){(d=b.previewProjectFileBlobs)&&Object.assign(a,d);(d=b.projectData)&&(a["data.json"]=d);for(const [c,e]of Object.entries(a))this.du.set(c,e)}if(b=b.previewProjectFileSWUrls)for(const [c,e]of Object.entries(b))this.AZ.set(c,e);new self.oU}j(){this.du.clear();for(const a of this.cu.values())a.startsWith("blob:")&&URL.revokeObjectURL(a);this.cu.clear();for(const a of this.OG)a.j();$k.D(this.OG); +this.YG.clear();$k.D(this.EC);this.g=null}F(){return this.g}xm(a,b){b=b||this.rB;const d=fl(this,a);return d?Promise.resolve(d):$k.ys(a)?("flat"===this.Ji&&(a=a.toLowerCase()),this.dC&&this.Uo?hl(this,a):"local"===b?this.WI.Kb(()=>$k.xm(a)):this.EJ.Kb(()=>$k.xm(a))):$k.xm(a)}gv(a){const b=fl(this,a);return b?$k.US(b):$k.ys(a)?("flat"===this.Ji&&(a=a.toLowerCase()),this.dC&&this.Uo?il(this,a,"buffer"):"local"===this.rB?this.WI.Kb(()=>$k.gv(a)):this.EJ.Kb(()=>$k.gv(a))):$k.gv(a)}hv(a){const b=fl(this, +a);return b?$k.JL(b):$k.ys(a)?("flat"===this.Ji&&(a=a.toLowerCase()),this.dC&&this.Uo?il(this,a,"text"):"local"===this.rB?this.WI.Kb(()=>$k.hv(a)):this.EJ.Kb(()=>$k.hv(a))):$k.hv(a)}async YL(a){a=await this.hv(a);return JSON.parse(a)}sA(a){if(a.mz&&!al.has(a.mz))throw Error("invalid load policy");let b=this.YG.get(a.url);if(b)return b;b=$k.A($k.rM,this,{url:a.url,size:a.size||0,mz:a.mz||this.rB});this.OG.push(b);this.YG.set(b.km,b);this.XO||(this.Qy+=b.ho(),this.EC.push(tl(b).then(()=>{var d=b.ho(); +this.pw+=d;Sd(this.NP)})));return b}};"use strict";const ul=self.B;function tl(a){if("local"===a.SI||a.Ts)return a.yI=!0,Promise.resolve();if(a.Ni)return a.Ni;a.Ni=a.tb.xm(a.km,a.SI).then(b=>{a.yI=!0;a.Ni=null;return a.Ts=b}).catch(b=>{console.error("Error loading resource: ",b);a.Ni=null});return a.Ni}function vl(a){return a.Ts?Promise.resolve(a.Ts):a.Ni?a.Ni:a.tb.xm(a.km,a.SI)} +ul.OS=class extends ul.ua{constructor(a,b){super();this.tb=a;this.g=a.F();this.km=b.url||"";this.pu=b.size;this.SI=b.mz;this.Ts=b.blob||null;this.yI=!!this.Ts;this.Ni=null}j(){this.Ts=this.g=this.tb=this.Ni=null}ho(){return this.pu}iF(){return this.yI}};"use strict";const wl=self.B,xl=new wl.Hv,yl=new Set;async function zl(a){a=await vl(a);return wl.qb.ImageBitmap?await createImageBitmap(a):await wl.IL(a)} +wl.rM=class extends wl.OS{constructor(a,b){super(a,b);this.nm=this.Gr=null;this.Dd=0;this.eP=this.fP=-1;yl.add(this)}j(){this.nk();if(0!==this.Dd)throw Error("released image asset which still has texture references");this.Gr=null;yl.delete(this);super.j()}static Bs(){for(const a of yl)a.Gr=null,a.nm=null,a.Dd=0}zs(a,b){b=b||{};this.Dd++;if(this.nm)return Promise.resolve(this.nm);if(this.Gr)return this.Gr;b.jR=this.g.W.MQ;return this.Gr=vl(this).then(d=>xl.Kb(()=>Hi(a,d,b).then(c=>{this.Gr=null;if(0=== +this.Dd)return Dg(a,c),null;this.nm=c;this.fP=c.K();this.eP=c.I();return this.nm}))).catch(d=>{console.error("Failed to load texture: ",d);throw d;})}nk(){if(0>=this.Dd)throw Error("texture released too many times");this.Dd--;0===this.Dd&&this.nm&&(Dg(this.nm.Qa(),this.nm),this.nm=null)}Kd(){return this.nm}K(){return this.fP}I(){return this.eP}};"use strict";const Al=self.B;function Bl(a,b){return a.m().dj-b.m().dj} +function Cl(a){a.qx&&(a.H.length===a.$k.size?a.Tc():(Al.ei(a.H,a.$k),a.$k.clear(),a.qx=!1))} +Al.uW=class extends Al.ua{constructor(a,b,d){super();this.Y=b;this.S=d;this.H=[];this.zx=!0;this.$k=new Set;this.qx=!1}j(){Al.D(this.H);this.$k.clear()}Tc(){Al.D(this.H);this.zx=!0;this.$k.clear();this.qx=!1}kj(){if(!this.H.length)return!0;if(this.H.length>this.$k.size)return!1;Cl(this);return!0}nA(a){this.$k.has(a)?(this.$k.delete(a),0===this.$k.size&&(this.qx=!1)):(this.H.push(a),this.zx=1===this.H.length)}Dh(a){this.$k.add(a);this.qx=!0;50<=this.$k.size&&Cl(this)}HE(a){Cl(this);this.zx||(this.H.sort(Bl), +this.zx=!0);this.H.length&&a.push(this.H)}};"use strict";const Dl=self.B; +Dl.vW=class extends Dl.ua{constructor(a,b){super();this.hB=a;this.gB=b;this.uj=Dl.A(Dl.Gv)}j(){this.uj.j();this.uj=null}co(a,b,d){let c=this.uj.U(a,b);return c?c:d?(c=Dl.A(Dl.uW,this,a,b),this.uj.Set(a,b,c),c):null}vk(a){return Math.floor(a/this.hB)}wk(a){return Math.floor(a/this.gB)}Mm(a,b,d){if(b)for(let c=b.ba,e=b.ka;c<=e;++c)for(let g=b.$,k=b.ia;g<=k;++g){if(d&&d.jh(c,g))continue;const l=this.co(c,g,!1);l&&(l.Dh(a),l.kj()&&this.uj.ao(c,g))}if(d)for(let c=d.ba,e=d.ka;c<=e;++c)for(let g=d.$,k=d.ia;g<= +k;++g)b&&b.jh(c,g)||this.co(c,g,!0).nA(a)}yA(a,b){let d=this.vk(a.ba);const c=this.wk(a.$),e=this.vk(a.ka);for(a=this.wk(a.ia);d<=e;++d)for(let g=c;g<=a;++g){const k=this.co(d,g,!1);k&&k.HE(b)}}};"use strict";const U=self.B,El=new U.Rect,Fl=new U.Md,Gl=[];new U.Rect;new U.Rect;const Hl=self.Zj,Il=Hl.yz,Jl=Hl.zz,Kl=Hl.Un;Kl.create();const Ll=Il.create(),Ml=Jl.create(),Nl=Il.create(),Ol=Il.create(),Pl=Il.create(),Ql=U.A(U.xo);U.A(U.Rect);function Rl(a,b){return a.m().dj-b.m().dj} +function Sl(a,b){return a.m().Na()-b.m().Na()}const Tl=[],Ul=[],Vl=[],Wl={name:"",Wr:-1,PK:!1,isVisible:!0,YD:!0,XD:!1,backgroundColor:[1,1,1,1],aE:!0,gL:[1,1],opacity:1,WD:!1,bS:!1,rS:!1,sS:!1,eE:1,qm:0,Wp:0,IR:[],xR:[],kS:[]}; +function Xl(a,b,d=!1){if(a.H.includes(b))d&&a.H.sort((g,k)=>{g=Yl(g.m());k=Yl(k.m());return g-k});else if(b.Qe()){var c=[...b.Wj()];c.push(b);c.sort((g,k)=>{g=Yl(g.m());k=Yl(k.m());return g-k});for(var e of c)if(e.Gc())for(const g of e.ud)c.includes(g)||(b=[...g.Wj()],b.push(g),b.sort((k,l)=>{k=Yl(k.m());l=Yl(l.m());return k-l}),b&&b.length&&c.splice(c.length,0,...b));for(const g of c)g.ab().Xd&&a.yi(g,!0)}else if(b.ab().Xd&&a.yi(b,!0),b.Gc())for(c of b.ud)if(e=[...c.Wj()],e.push(c),e.sort((g,k)=> +{g=Yl(g.m());k=Yl(k.m());return g-k}),e&&e.length)for(const g of e)g.ab().Xd&&a.yi(g,!0)}function Tj(a,b){b=!!b;a.lr!==b&&(a.lr=b,Zl(a.Yg),a.g.N())}function Uj(a,b){a.ad!==b&&(a.ad=b,$l(a.Yg),am(a),a.g.N())}function Vj(a,b){a.Rj!==b&&(a.Rj=b,am(a),a.g.N())}function Wj(a,b){b=!!b;a.Xk!==b&&(a.Xk=b,a.g.N())}function Xj(a,b){b=!!b;a.hC!==b&&(a.hC=b,a.g.N())}function Yj(a,b){b=!!b;if(a.ln!==b){if(a.ln=b)b=a.pc(),a.Sj=b.vh(),a.Tj=b.wh();am(a);a.g.N()}}function bm(a){a.WC.xa(a.Xa);gc(a.WC)} +function cm(a){return a.c_&&!a.TQ}function dm(a,b,d){return U.A(U.jF,a,b,{name:d[0],Wr:d[2],isVisible:d[3],YD:d[13],XD:d[19],backgroundColor:d[4].map(c=>c/255),aE:d[5],gL:[d[6],d[7]],opacity:d[8],WD:d[9],bS:d[17],rS:d[18],sS:d[10],eE:d[11],qm:d[12],Wp:d[16],IR:d[14],xR:d[15],kS:d[20]})}function em(a){for(const b of a.iP){const d=fm(a.g,b[1]);gm(a.Yg,d);d.Pq||(d.Pq=b);a.Vl.push(b);a.gI.set(b[2],b)}U.Gd(a.JQ,a.Vl);a.iP=null}function hm(a,b){a.sK=!1;a.nC=!1;if(!b||b.G().ab().oP)a.YH=!1} +function im(a,b){if(b){b=new Set;for(var d of a.H){var c=d.m().dj;0<=c&&b.add(c)}d=-1;for(const e of a.H)if(c=e.m(),!(0<=c.dj)){for(++d;b.has(d);)++d;c.dj=d|0}}a.H.sort(Rl)}function*jm(a){yield a;yield*a.rz()}function km(a){for(const b of jm(a))if(!b.Nt)return!1;return!0}function am(a){a.zI=!0;a.Bx=!0;a.Cx=!0} +function lm(a){if(a.Cx){a.Cx=!1;var b=a.g.PC,d=a.g.QC,c=(a.vh()-b)*a.bf+b,e=(a.wh()-d)*a.cf+d;b=mm(a);d=a.g.ih/b;b=a.g.jf/b;c-=d/2;var g=e-b/2;a.g.Vk&&(c=Math.round(c),g=Math.round(g));e=a.$Q;e.set(c,g,c+d,g+b);d=a.Da();0!==d&&(El.xa(e),El.offset(-e.Sr(),-e.Tr()),0===d?Fl.sl(El):Ec(Fl,El,Math.sin(d),Math.cos(d)),Fl.KK(El),El.offset(e.Sr(),e.Tr()),e.xa(El));b=a.vd;nm(a,b,a.az);if(om(a)){d=a.nK;e=a.g.W;c=e.zc;e=e.fc;const [k,l]=pm(a,0,0,b),[n,p]=pm(a,c,0,b),[r,w]=pm(a,c,e,b),[v,y]=pm(a,0,e,b);a=Math.min(k, +n,r,v);b=Math.min(l,p,w,y);c=Math.max(k,n,r,v);e=Math.max(l,p,w,y);isFinite(a)||(a=-Infinity);isFinite(b)||(b=-Infinity);isFinite(c)||(c=Infinity);isFinite(e)||(e=Infinity);d.set(a,b,c,e)}else a.nK.xa(a.az)}}function qm(a){lm(a);return a.az}function rm(a){lm(a);return a.nK}function sm(a){a=a.pc();return[tm(a),um(a)]}function vm(a,b){if(a.Yg.Wg)return 1;a=a.ne()/mm(a);return a/(a-b)} +function nm(a,b,d){lm(a);var c=a.$Q;if(0===b)d.xa(c);else{let k=c.Sr(),l=c.Tr();var e=vm(a,b);const n=c.width()/e;c=c.height()/e;const [p,r]=sm(a);if(.5!==p||.5!==r){const w=a.ne()/mm(a);var g=a.g;const v=a.ne()/w;e=(p-.5)*g.ih/v;g=(r-.5)*g.jf/v;a=a.Da();0!==a&&(Ql.set(e,g),Ql.rotate(a),e=Ql.Y,g=Ql.S);b=U.pE(w,0,b);k+=U.Pc(e,0,b);l+=U.Pc(g,0,b)}d.set(k-n/2,l-c/2,k+n/2,l+c/2)}} +function xm(a){return!ym(a)&&a.TQ?(U.Gd(Vl,a.H),Vl.sort((b,d)=>{var c=a.pc().Ng,e=c[0],g=c[1];c=c[2];var k=b.m();const l=d.m();d=k.fa()-e;b=k.ga()-g;k=k.Na()-c;e=l.fa()-e;g=l.ga()-g;c=l.Na()-c;return e*e+g*g+c*c-(d*d+b*b+k*k)}),Vl):a.H}function zm(a,b){U.om(b,xm(a));for(const d of a.ef)d.hd()&&0[...Gm(d)]).flat();var b=0;for(const d of a){for(const c of d.H)c.G().ab().oP&&Lm(c.m(),b++);d.YH=!0}}} +function Dm(a){if(0=a.ne()/mm(a)){v=null;break a}let [N,ca]=Xm(a,F,K,v),[da,Ia]=Xm(a,H,y,v);if(0!==a.Da()|| +0b){c=!1;break a}Ue.pL(Ll,Xe,Ye,b);c=!0}else c=!1;return c?[Ll[0],Ll[1]]:[NaN,NaN]} +function $m(a,b,d,c,e){var g=a.g;const k=g.Qa(),l=mm(a);Jl.set(Ml,0,0,g.ih/l,g.jf/l);g=Pm(a,k);a=Nm(a,k);return U.ea.xA(b,d,c,a,g,Ml,Ll)?[Ll[0]*e,(Ml[3]-Ll[1])*e]:[NaN,NaN]}function an(a,b,d,c=0){return $m(a,b,d,c,a.ek())}function Xm(a,b,d,c=0){return $m(a,b,d,c,a.rs()*a.ym())}function Wm(a,b,d,c){a=Zm(a).dJ;return!(a.x*b+a.y*d+a.z*c>=a.w)} +U.jF=class extends U.ua{constructor(a,b,d){super();d=Object.assign({},Wl,d);this.Yg=a;this.g=a.F();this.Nj=b;this.Ja=d.name;this.qa=-1;this.lr=!!d.XD;this.Ft=-1;this.eb=d.Wr;this.vx=!!d.PK;this.Qt=!!d.isVisible;this.Nt=!!d.YD;this.Xm=U.A(U.lb);sc(this.Xm,d.backgroundColor);this.Xk=!!d.aE;this.bf=d.gL[0];this.cf=d.gL[1];this.Xa=U.A(U.lb,1,1,1,d.opacity);this.WC=U.A(U.lb);this.hC=!!d.WD;this.OZ=!!d.bS;this.TQ=!!d.rS;this.c_=!!d.sS;this.Rj=d.eE;this.Ci=d.qm;this.We=null;this.ad=1;this.vd=d.Wp;this.Tj= +this.Sj=this.Af=0;this.ln=!1;this.az=U.A(U.Rect);this.$Q=U.A(U.Rect);this.nK=U.A(U.Rect);this.Cx=!0;this.$l=Kl.create();this.mC=!0;this.Sx=Kl.create();this.zI=!0;this.ZQ=U.A(U.ea.FX);this.Bx=!0;this.JQ=[];this.iP=d.IR;this.Vl=[];this.oB=[];this.gI=new Map;this.H=[];this.Tm=this.YH=this.sK=!1;const c=this.g.W;this.Oa=U.A(U.bq,this,d.xR);this.Ff=U.A(U.ea.Xf,c.Ow,{RD:(e,g)=>{g=g.Ko;const k=g.hk();e.wi(g.QE());Ki(e,k);Mi(e,k);c.pq(k)},VD:e=>this.Oa.LA(e)});this.bz=this.xn=!0;this.nu=null;this.GI=[];this.nC= +!1;this.zZ=U.A(U.Rect,0,0,-1,-1);this.RY=U.A(U.Rect,0,0,-1,-1);this.TB=new self.uU(this);bm(this);cm(this)&&(this.nu=U.A(U.vW,this.g.Qi,this.g.Pi));this.ef=d.kS.map(e=>dm(this.Yg,this,e))}j(){for(const a of this.ef)a.j();U.D(this.ef);for(const a of this.H)bn(this.g,a);U.D(this.H);this.Oa.j();this.Oa=null;this.Ff.j();this.g=this.Yg=this.Nj=this.TB=this.Ff=null}yi(a,b){if(!a.ab().Xd)throw Error("instance is not of world type");const d=a.m();if(d.O()!==this)throw Error("instance added to wrong layer"); +this.H.push(a);0!==d.Na()&&(this.Tm=!0);b&&cm(this)&&wk(a.m());hm(this,a)}zq(a,b){const d=this.H.indexOf(a);0>d||(b&&cm(this)&&cn(a.m()),this.H.splice(d,1),hm(this,a),0===this.H.length&&(this.Tm=!1))}Iv(a,b,d,c,e){const g=this.g.Aa(),k=this.g.kd,l=a.La,n=[];for(const w of this.Vl){var p=w[0];if(b.jh(p[0],p[1])){p=k[w[1]];if(p!==a)if(l){if(!a.DB.has(p))continue}else continue;p=this;var r=V(this.g);this.pc()!==r&&((p=dn(r,this.na()))||(p=en(r,this.Ha())));r=fn(this.g,w,p,!1,void 0,void 0,!1,e);Xl(p, +r);p=r.m();gn(p,d,c);wk(p);Fj(g,!0);Gj(r);Fj(g,!1);n.push(r)}}return n}pc(){return this.Yg}na(){return this.Ja}DG(a){this.qa=a}Ha(){return this.qa}F(){return this.g}ym(){return this.g.ym()}fk(){this.$v();return this.Ff}$v(){const a=this.vs();if(this.xn||a!==this.bz||this.Ff.Vx){var b=this.Oa.Jh;cj(this.Ff,b.map(d=>d.xh()),{Pu:b.map(d=>d.Ha()),GK:!a,zL:!0});this.xn=!1;this.bz=a}}Ih(){this.Oa.Ih();this.xn=!0}hd(){for(const a of jm(this))if(!a.Qt)return!1;return!0}hg(a){a=!!a;this.Qt!==a&&(this.Qt=a, +this.g.N())}sk(a){var b=this.pc();const d=b.Xo?-Infinity:hn(b);b=b.Xo?Infinity:b.K()-hn(b);a>b&&(a=b);ab&&(a=b);aNumber.EPSILON)if(Im(this),c=cm(this)&&0===this.Na()&&!this.Tm,om(this)){c=this.We;l=Zm(this);var n=xm(this);for(let F=0,K=n.length;Fb)break;return d} +function sn(a,b,d,c,e){c=c.filter(g=>Cm(g));for(let g=0,k=c.length;gb||1a||1Cm(b))[0];a;){if(!a.Xk)return $b(yn,a.Xm),dc(yn,1),yn;if(a.Js())return Xb(yn,0,0,0,0),yn;a=a.ef.filter(b=>Cm(b))[0]}Xb(yn,0,0,0,0);return yn}function Sn(a,b,d){if(b===a||!d)return Promise.resolve();b&&(vn.iT(a.Zi,b.Zi),b.Zi.clear());b=[];for(const c of a.dr)a.Zi.has(c)||(b.push(c.qo(d)),a.Zi.add(c));return Promise.all(b)}function Tn(a,b){a.My.add(b);b.then(()=>a.My.delete(b)).catch(()=>a.My.delete(b))} +async function Un(a,b){if(b.La)throw Error("cannot load textures for family");var d=a.g.Qa();!d||Gh(d)||a.Zi.has(b)||(a.Zi.add(b),d=b.qo(d),Tn(a,d),await d,b.uA(),a.g.N())}function Vn(a,b){if(b.La||0g?c.ud.push(d[g]):(d=e?fn(a.g,k,e.O(),!0,e.fa(),e.ga(),!0):fn(a.g,k,null,!0,0,0,!0),Ij(a.g),fo(k),c.ud.push(d),b.push(d))}}}function go(a){for(const b of a.fI)fm(a.g,b[1]).Gc()||fn(a.g,b,null,!0)} +async function ho(a,b){const d=a.g,c=a.hb,e=d.Aa();a.EO&&(a.nd=e.gD.get(a.EO.toLowerCase())||null,io(a.nd));c.fu=a;a.P=a.MZ;a.R=a.LZ;a.Sj=d.Qi/2;a.Tj=d.Pi/2;$l(a);Gn(a);Hn(a);Jn(a);await ko(a.g.W,a.pv(),!0);Wn(a,b);Yn(a);a.kr||$n(a);co(a,a.Fw);co(a,a.Gw);go(a);c.Ri=null;Ij(d);var g=a.g.uY;await Promise.all(g);vn.D(g);if(!d.Dj){for(const k of a.Fw)lo(k);for(const k of a.Gw)mo(k,a.rH,a.qH);for(const [k,l]of Object.entries(a.jp))(g=ao(a.g,parseInt(k,10)))&&!g.La&&Zn(g)&&vn.D(l);for(const k of a.Fw)no(k); +for(const k of a.Gw)no(k)}vn.D(a.Fw);vn.D(a.Gw);a.rH.clear();a.qH.clear();await Promise.all([...a.dr].map(k=>k.pF(a.g.Qa())));b&&(d.fb().dispatchEvent(new vn.Event("beforefirstlayoutstart")),await d.vm(new vn.Event("beforeprojectstart")));d.fb().dispatchEvent(new vn.Event("beforelayoutstart"));await a.vm(new vn.Event("beforelayoutstart"));d.Dj||await d.Ud(vn.C.cb.J.OM,null,null);d.fb().dispatchEvent(new vn.Event("afterlayoutstart"));await a.vm(new vn.Event("afterlayoutstart"));b&&(d.fb().dispatchEvent(new vn.Event("afterfirstlayoutstart")), +await d.vm(new vn.Event("afterprojectstart")));oo(e,c);await Promise.all([...a.My]);a.kr=!1}function po(a){const b=[],d=a.fI;let c=0;for(let e=0,g=d.length;e{g=g.Ho.ek();oi(e);Ki(e,g);Mi(e,g);c.mq(g)},PD:e=>this.Na.FA(e)});this.wn=!0;this.RQ=!1;this.Ve=null;this.gp={};this.Wx=new Map;this.gr=!0;this.Yw=new self.jU(this);this.ff=vn.A(vn.Event.fb);for(const e of d[9])this.Zg.push(dm(this,null,e));In(this);for(const e of this.Hu())em(e);for(const e of d[10]){a=fm(this.g,e[1]);if(!a)throw Error("missing nonworld object class");a.Lq||(a.Lq=e);this.YH.push(e); -gm(this,a)}}j(){for(const a of this.Wc)a.j();vn.D(this.Wc);this.Fy.clear();this.g=this.hb=this.md=null}F(){return this.g}na(){return this.Ia}Ga(){return this.qa}ck(){this.Uv();return this.Cf}Uv(){const a="low"===this.g.W.Ki;if(this.wn||this.RQ!==a||this.Cf.Ox){var b=this.Na.Hh;cj(this.Cf,b.map(d=>d.vh()),{Ku:b.map(d=>d.Ga()),oR:a,pL:!0});this.wn=!1;this.RQ=a}}Gh(){this.Na.Gh();this.wn=!0}nk(a){const b=this.Uo?-Infinity:hn(this),d=this.Uo?Infinity:this.J()-hn(this);a>d&&(a=d);ad&&(a=d);aa||(this.P=a)}I(){return this.R}Qe(a){!isFinite(a)||1>a||(this.R=a)}*Hu(){for(const a of this.Zg)yield*Gm(a)}O(a){return"number"=== -typeof a?en(this,a):dn(this,a.toString())}tL(a,b,d){if(dn(this,a))throw Error(`layer name '${a}' already in use`);if(!b&&2>d)throw Error("invalid insert position");a=vn.A(vn.bF,this,2<=d?b:b.Kj,{name:a,Sr:Math.floor(1E15*Math.random()),FK:!0});Pn(this,a,b,d);this.F().N();Zl(this)}sM(a,b,d){if(!b&&2>d)throw Error("invalid insert position");a===b&&2>d||(Qn(this,a),Pn(this,a,b,d),this.F().N(),Zl(this))}TM(a){if(Qn(this,a)){const b=this.g.Aa();Fj(b,!0);a.j();Fj(b,!1);this.F().N();Zl(this)}}lF(){const a= -new Set;for(var b of this.Hu()){var d;if(d=b.lx){a:{for(const c of b.kz())if(c.lx){d=!0;break a}d=!1}d=!d}d&&a.add(b)}if(0!==a.size){b=this.g.Aa();Fj(b,!0);for(const c of a)Qn(this,c),c.j();Fj(b,!1);this.F().N();Zl(this)}}hv(){return this.Zg.at(-1).Ww+1}IA(){this.Yi.clear()}Cv(a,b,d,c,e,g){if(d)return d.Cv(a,b,c,e,g);d=[];for(const k of this.Wc)d.push(k.Cv(a,b,c,e,g));return d.flat()}ek(){return this.Ve}Fs(){const a=this.g,b=a.Pa().pi();return"low"===a.W.Ki||b&&a.Sy||"low-latency"===a.$s||this.Na.tv()|| -b&&a.jl}pa(){const a={sx:this.th(),sy:this.uh(),s:this.ad,a:this.Da(),w:this.J(),h:this.I(),ortho:this.Tg,vpX:tm(this),vpY:um(this),fv:this.gr,persist:this.gp,fx:this.Na.Tc(),layers:{},dynamicLayers:[]};for(const l of this.Wc)if(l.lx){var b=l.Kj,d=a.dynamicLayers,c=d.push,e=l.eb,g=l.na();b=b?b.eb:null;var k=(k=l.Kj)?k.df.indexOf(l):l.pc().Zg.indexOf(l);c.call(d,{sid:e,name:g,parentSid:b,siblingIndex:k,data:l.pa()})}else a.layers[l.eb.toString()]=l.pa();return a}ra(a){this.Pj=a.sx;this.Qj=a.sy;this.ad= -a.s;this.wf=a.a;this.P=a.w;this.R=a.h;this.Tg=!!a.ortho;a.hasOwnProperty("vpX")&&(this.vD=a.vpX);a.hasOwnProperty("vpY")&&(this.wD=a.vpY);this.gr=!!a.fv;this.gp=a.persist;this.Na.dc(a.fx);this.wn=!0;for(const [k,l]of Object.entries(a.layers)){var b=On(this,parseInt(k,10));b&&b.ra(l)}if(a.hasOwnProperty("dynamicLayers")){this.lF();Ij(this.g);b=new Map;a=a.dynamicLayers;for(let k=a.length-1;0<=k;--k){var d=a[k],c=d.sid,e=d.name,g=d.parentSid;const l=d.siblingIndex;d=d.data;In(this);if(dn(this,e)||On(this, -c))continue;let n;if(null===g)n=null,g=this.Zg;else{n=On(this,g);if(!n)continue;g=n.df}c=vn.A(vn.bF,this,n,{name:e,Sr:c,FK:!0});g.push(c);e=b.get(g);e||(e=[],b.set(g,e));e.push({WD:c,hL:l});c.ra(d)}for(const [k,l]of b){l.sort((n,p)=>n.hL-p.hL);for(const n of l)b=n.WD,a=n.hL,k.splice(k.indexOf(b),1),k.splice(a,0,b)}}Zl(this);Gn(this);Hn(this)}nh(a){a.layout=this.Yw;var b=this.g;(b=b.Ob&&!Hj(b.Aa()))&&wn.OF();this.ff.dispatchEvent(a);b&&wn.pE()}um(a){a.layout=this.Yw;return kd(this.ff,a)}};"use strict"; -const wo=self.B;function so(a,b){if(b)a.Ht++;else{if(0>=a.Ht)throw Error("already unset");a.Ht--}}function xo(a){if(a.zB)return a.zB;if(a.nj.length)return a.nj[0];throw Error("no first layout");}function yo(a,b){return a.FI.get(b.toLowerCase())||null}function*zo(a){a.au&&(yield a.au);a.xJ.length&&(yield*a.xJ)}function Ao(a){(a=a.Za())&&Gn(a)}function Bo(a){(a=a.Za())&&Hn(a)} -wo.TU=class extends wo.ua{constructor(a){super();this.g=a;this.nj=[];this.FI=new Map;this.Cx=new Map;this.au=null;this.xJ=[];this.zB=null;this.Ht=0;this.Qi=null}j(){this.Qi=this.zB=this.au=this.g=null;wo.D(this.nj);this.FI.clear();this.Cx.clear();wo.D(this.xJ)}La(a){a=wo.A(wo.SU,this,this.nj.length,a);this.nj.push(a);this.FI.set(a.na().toLowerCase(),a);this.Cx.set(a.eb,a)}F(){return this.g}pc(a){"number"===typeof a?(a=wo.X(Math.floor(a),0,this.nj.length-1),a=this.nj[a]):a=yo(this,a.toString());return a}Za(){return this.au}}; -"use strict";const Co=self.B;function*Do(a){for(const b of a.de)yield b}function Eo(a,b,d){a.xn.has(b)||a.xn.set(b,new Set);a.xn.get(b).add(d)}function Fo(a,b){for(const d of a.Mf)if(d.na()===b)return d;for(const d of a.de)if(d.na()===b)return d;return null}function Go(a,b){a.Mf.includes(b)||a.Mf.push(b);a.Nk||(a.Nk=!0)}function Ho(a){a.Fj.length||a.de.length||a.Mf.length||a.tx||(a.Nk=!1)} -function Io(a,b){a.de.includes(b)?(b.qn=!0,b.ng=!1,b.jr=!1):(b.qn=!1,b.ng=!0,b.jr=!1,a.Mf.includes(b)||a.Mf.push(b));a.Nk||(a.Nk=!0)}function Jo(a,b){b.qn=!1;b.ng=!1;Ko(b);Co.om(a.Mf,b);Ho(a)}function Lo(a,b){b.qn=!1;b.ng=!1;a.de.includes(b)&&(b.jr=!0,a.Fj.push(b),Co.om(a.de,b))}function Mo(a,b){b.qn=!1;b.ng=!1;b.jr=!1;b.Ch(1);Co.om(a.de,b)}function No(a){a.ac||Oo(a)&&a.Pg&&a.Po&&a.PL()}function Po(a){return a.Jn.map(b=>b.pa())}function Qo(a){return a.map(b=>b.na())} -function Ro(a,b,d){var c=new Set;for(const e of d)So(e,b)||c.add(e);Co.ci(d,c);if(b){c=e=>g=>g.na()===e;for(const e of b)(b=a.xp.get(e.toLowerCase())||null)&&(d.find(c(e))||d.push(b))}}function So(a,b){if(!b)return!1;for(const d of b)if(d===a.na())return!0;return!1} -Co.eX=class extends Co.ua{constructor(a){super();this.g=a;this.Hy=Co.A(Co.cX);this.ip=null;this.Jn=[];this.xp=new Map;this.xn=new Map;this.hm=new Map;this.Mf=[];this.de=[];this.Fj=[];this.tx=this.Ys=this.Nk=!1;this.In=()=>{if(!this.F().Aj&&this.Nk&&!this.Ys){for(this.tx=!0;this.Mf.length;){var b=this.Mf.pop();b.Uc();0!==b.jc&&(this.jc=1);this.de.push(b)}b=this.g.Fw;var d=this.g.Oq,c=this.g.Wd;for(let e=this.de.length-1;0<=e;e--){const g=this.de[e];g&&g.Re(b,c,d)}this.tx=!1;0!==this.jc&&this.F().N()}}; -this.Hn=()=>this.qG();this.UG=()=>this.Wv();this.EI=()=>{this.Ys=!1};this.Et=b=>this.HA(b.instance);this.XN=()=>this.Hs();this.Bq=()=>this.vk();this.QN=()=>{const b=this.g.hb.Za();if(b)for(const d of this.Jn){const c=d.LE();c&&b.na()===c&&Io(this,d)}};this.Ew=[];this.jc=0}j(){this.mF();this.Bq=this.Et=this.EI=this.UG=this.Hn=this.In=null;for(const a of this.Jn)a.hd(),a.j();Co.D(this.Jn);this.Jn=null;this.Hy.j();this.Hy=null;Co.D(this.Mf);this.Mf=null;Co.D(this.de);this.de=null;Co.D(this.Fj);this.Fj= -null;this.xp.clear();this.xp=null;this.xn.clear();this.xn=null;this.hm.clear();this.hm=null;Co.D(this.Ew);this.g=this.Ew=null}oE(){const a=this.g.fb();a.addEventListener("pretick",this.In);a.addEventListener("tick2",this.Hn);a.addEventListener("beforelayoutchange",this.UG);a.addEventListener("layoutchange",this.EI);a.addEventListener("instancedestroy",this.Et);a.addEventListener("beforeload",this.XN);a.addEventListener("afterload",this.Bq);a.addEventListener("afterlayoutstart",this.QN)}mF(){const a= -this.g.fb();a.removeEventListener("pretick",this.In);a.removeEventListener("tick2",this.Hn);a.removeEventListener("beforelayoutchange",this.UG);a.removeEventListener("layoutchange",this.EI);a.removeEventListener("instancedestroy",this.Et);a.removeEventListener("beforeload",this.XN);a.removeEventListener("afterload",this.Bq);a.removeEventListener("afterlayoutstart",this.QN)}La(a){this.Hy.Kb(a);const b=this.Hy.U(a[0]);a=To.A(To.to,a[0],b,this);a.Kt=!0;this.Kb(a);for(const d of a.ZL())Eo(this,d,a);this.hm.set(a.na(), -0)}AE(a){var b=this.Hy;a=a.os();b=b.U(a);b=Co.to.AE(`${a}:${this.hm.get(a)}`,b,this);this.hm.set(a,this.hm.get(a)+1);this.Kb(b);return b}Kb(a){this.Jn.push(a);this.xp.set(a.na().toLowerCase(),a)}Ah(a){Uo(a);if(!a.Kt){Co.om(this.Jn,a);Co.om(this.Mf,a);Co.om(this.de,a);Co.om(this.Fj,a);this.xp.delete(a.na().toLowerCase());for(const [b,d]of this.xn.entries())d.has(a)&&(d.delete(a),0===d.size&&this.xn.delete(b));a.ac||a.j()}}oa(a){this.g.oa(a,this.ip,null)}F(){return this.g}Xz(){return this.ip}qG(){if(!this.F().Aj&& -this.Nk&&!this.Ys){var a;for(let b=0,d=this.Fj.length;bb))No(a),this.Ah(a);for(const a of this.de.map(b=>b))No(a),this.Ah(a)}vk(){for(const a of this.Ew)this.HA(a);Co.D(this.Ew)}pa(){return{timelinesJson:Po(this),scheduledTimelinesJson:Qo(this.Mf),playingTimelinesJson:Qo(this.de),markedForRemovalTimelinesJson:Qo(this.Fj),hasRuntimeListeners:this.Nk,changingLayout:this.Ys, -isTickingTimelines:this.tx}}ra(a){if(a){for(var b of this.hm.keys())this.hm.set(b,0);b=a.timelinesJson;for(const d of b){b=this.xp.get(d.name.toLowerCase())||null;if(!b){b=(b=d.name.split(":"))&&2===b.length?b[0]:null;if(!b)continue;b=this.xp.get(b.toLowerCase())||null;b=this.AE(b)}b.ra(d);b.Ya.length||this.Ah(b)}Ro(this,a.scheduledTimelinesJson,this.Mf);Ro(this,a.playingTimelinesJson,this.de);Ro(this,a.markedForRemovalTimelinesJson,this.Fj);this.Nk=!a.hasRuntimeListeners;this.Ys=!!a.changingLayout; -this.tx=!!a.isTickingTimelines;for(const d of this.Jn)d.Kt||(a=d.os(),this.hm.set(a,this.hm.get(a)+1));this.Nk||(this.Nk=!0);Ho(this)}}};"use strict";const Vo=self.B,Wo=[0,0],Xo=[0,0,0,0,0]; -Vo.maa=class{constructor(a,b){this.cr=!1;this.pg=a;this.pp=[];var d;if(b)a:{a=this.pg;for(d of a.Ya)if(To.ve(d.vg(),b)){b=d;break a}b=null}else b=Vo.first(this.pg.Ya);if(d=b)if(b=d.Fd("offsetX"),d=d.Fd("offsetY"),b&&d){b=b.Zz();d=d.Zz();for(let c=1,e=Math.min(b.length,d.length);ce[3]-g[3]);return c[0]}};function Yo(a,b){return a.cr?self.vm.Cm("cubicbezier")(b,a.cY+a.Tx,a.mY+a.Tx,a.wY+a.Tx,a.EY+a.Tx):NaN}function Zo(a,b){return a.cr?self.vm.Cm("cubicbezier")(b,a.dY+a.Ux,a.nY+a.Ux,a.xY+a.Ux,a.FY+a.Ux):NaN} -function $o(a,b,d,c=null){var e=Number.MAX_SAFE_INTEGER;let g=0;d.forEach((k,l)=>{k.t=l/(d.length-1);k.ei=Vo.Qn(a,b,k.x,k.y);c&&Vo.ik(c)&&Vo.Dc(c[0])&&Vo.Dc(c[1])?k.t>=c[0]&&k.t<=c[1]&&k.eia&&c--;b=this.Um[c];a=b===a?c/this.Tt:(c+(a-b)/(this.Um[c+1]-b))/this.Tt}else a=void 0;Wo[0]=Yo(this,a);Wo[1]=Zo(this,a);return Wo}rA(a,b,d){var c=100;if(this.$t.length!==c){this.$t=[];c++;for(var e=0;ex)break;r.push(d[n]);for(n=1;3>=n;n++){const v=p+n*x,y=Yo(this,v),C=Zo(this,v),E=Math.abs(Vo.Qn(y,C,a,b)-0);Eg++);a=e;Xo[0]=a.x;Xo[1]=a.y;Xo[2]=a.t;Xo[3]=a.ei;return Xo}}; -Vo.dX=class{constructor(a,b,d){this.qa=d;this.IZ=bp(a);this.JZ=bp(b);this.Ux=this.Tx=0}j(){}Rc(){return"line"}Ga(){return this.qa}fa(){return this.IZ+this.Tx}ga(){return this.JZ+this.Ux}};"use strict";const To=self.B;function Tk(a){a.ac||cp(a)&&a.Play(!0)}function Uk(a){if(a.qr)return a.qr;a.qr=new Promise(b=>{a.NC=b});return a.qr}function Uo(a){if(!a.ac)for(const b of a.Ya)b.Km()}function Ko(a){a.qr&&(a.NC(),a.qr=null,a.NC=null)}function Oo(a){return a.Ya.some(b=>dp(b)?ep(b):!0)} -function fp(a,b,d,c,e){if(a.KB){var g;for(let l=0;l=b||b>=a.qc())a.Pg=!0} -function kp(a,b){To.Dc(b)||(b=a.qc());a.hc=0>b?0:b>=a.qc()?a.qc():b}function lp(a){a.KB=0;for(const b of a.Ya)b.So&&(a.KB=1)}function mp(a,b,d=!1,c=NaN,e=!1,g=!1){for(var k of a.Ya)k.Vp();for(const l of a.Ya){k=b;if("number"===typeof c&&!isNaN(c)){const n=a.wa()-l.Ag(),p=c-l.Ag();0>n&&0=a.qc())return!1}else{if(0>=a.wa())return!1}else if(!a.bq()&&!a.ls())if(gp(a)){if(a.wa()>=a.qc())return!1}else if(0>=a.wa())return!1;return!0} -function pp(a){return a.Ya.some(b=>dp(b)?ep(b)?(b=b.G())?b.nf():!1:!1:!1)}function qp(a){for(const b of a.Ya)b.Zc=null,b.Vl=NaN,b.Sa=null,b.Wl=NaN}function rp(a,b){for(const d of a.Ya)if(b===d.Z())return d;return null}function sp(a){return a.Ya.map(b=>b.pa())}function tp(a,b){qp(a);b.forEach((d,c)=>{a.Ya[c].ra(d)});a.Ya.filter(d=>ep(d))} -To.to=class extends To.ua{constructor(a,b,d){super();this.g=d.F();this.Jb=d;this.kc=b;this.Ia=a;this.Ya=[];this.PJ=0;this.Ns=null;this.WN=0;this.FL();this.NC=this.qr=null;this.hc=0;this.fd=1;this.Ac=0;this.Be=1;this.Po=this.ng=this.qn=!1;this.Pg=!0;this.jr=this.ac=!1;this.Go=-1;this.ig=this.jn=this.Kt=this.Ct=!1;this.Nt=NaN;this.ef=[""];this.lD="";this.Ey=!1;this.KB=this.jc=0}static AE(a,b,d){return To.A(To.to,a,b,d)}j(){if(!this.ac){var a=this.g.fb();Jo(this.Jb,this);Lo(this.Jb,this);Ko(this);for(const b of this.Ya)b.j(); -To.D(this.Ya);this.kc=this.Jb=this.g=this.Ya=null;this.ac=!0;this.NC=this.qr=null;this.QL(a)}}QL(a){const b=To.A(To.Event,"timelinestatereleased");b.vea=this;a.dispatchEvent(b)}Rc(){return 0}FL(){for(const a of up(this.kc.eq()))this.PJ=this.Ya.push(To.AA.La(this,a))}F(){return this.g}yA(a){this.Ia=a}na(){return this.Ia}os(){return this.kc.na()}qc(){return this.kc.qc()}Cs(a){this.kc.Cs(a)}nv(){return this.kc.nv()}JF(a){this.kc.JF(a)}hj(){return this.kc.hj()}lk(a){this.kc.lk(a)}Qc(){return this.kc.Qc()}Dl(){}dg(a){for(const b of this.Ya)b.dg(a)}bq(){return this.kc.bq()}xA(a){return this.kc.xA(a)}ls(){return this.kc.ls()}FF(a){return this.kc.FF(a)}li(){return this.kc.li()}GF(a){return this.kc.GF(a)}Ch(a){return this.fd= -a}LE(){return this.kc.LE()}bA(){return this.kc.bA()}NE(){return this.kc.NE()}Kv(a){this.ef=hp(a);this.Ey=!0}GM(){To.C.Vc&&this.constructor===To.to&&(To.C.Vc.K.iF(this),this.Jb.oa(To.C.Vc.K.w6),this.Jb.oa(To.C.Vc.K.x6),this.Jb.oa(To.C.Vc.K.y6),this.Jb.oa(To.C.Vc.K.g6),To.C.Vc.K.gF())}PL(){this.jn||(this.jn=!0,To.C.Vc&&this.constructor===To.to&&(To.C.Vc.K.iF(this),this.Jb.oa(To.C.Vc.K.t6),this.Jb.oa(To.C.Vc.K.u6),this.Jb.oa(To.C.Vc.K.v6),this.Jb.oa(To.C.Vc.K.f6),To.C.Vc.K.gF()))}IsPlaying(a=!1){return this.Go=== -this.g.Zi||this.ng&&!a?!0:this.qn}vv(){return this.ac||this.ng||this.IsPlaying(!0)||this.Pg?!1:!0}wa(){return this.hc}Dh(a){const b=this.wa();kp(this,a);jp(this,!1);this.Pg||(this.Ct=!0);if(this.IsPlaying(!0)||this.ng||!this.Po)this.IsPlaying(!0)||this.ng||this.Po?this.IsPlaying(!0)?this.hd():this.ng&&(Jo(this.Jb,this),this.Uc(!0)):this.Uc(!0);lp(this);mp(this,this.wa(),!0,b);np(this);this.jc&&this.F().N();op(this)}Pm(a){To.Dc(a)||(a=this.qc());this.hc=0>a?0:a>=this.qc()?this.qc():a;for(const b of this.Ya)b.mk()}Play(a= -!1){this.ac||this.ng?a=!1:this.IsPlaying(!0)&&this.Go===this.g.Zi?(this.Ct=!1,a=this.Jb,Co.om(a.de,this),Ho(a),Io(this.Jb,this),Uk(this),a=!0):this.IsPlaying(!0)||!this.Pg&&!a&&!this.Ct?a=!1:(this.Ct=!1,Io(this.Jb,this),Uk(this),a=!0);return a}hd(a=!1){this.ac||(jp(this,a),Lo(this.Jb,this),this.Pg&&Ko(this))}Sc(a=!0,b=!1){if(!this.ac)if(!this.IsPlaying(!0)&&this.ng)Jo(this.Jb,this);else if(!this.Pg){this.hd(!0);gp(this)?kp(this,0):kp(this,this.qc());var d=this.wa();lp(this);b?mp(this,d,!1,NaN,!1, -!0):mp(this,d,!1);a&&op(this);np(this);this.jc&&a&&this.F().N()}}Wv(){if(this.ac)return!0;if(!this.F().Aj&&pp(this))return!1;Mo(this.Jb,this);this.F().Aj||this.Sc(!1,!0);return!0}Uc(a){if(!this.jr){if(a){this.jn=!1;this.ig=this.Po=!0;lp(this);for(const b of this.Ya)b.Uc()}else if(this.qn=!0,this.ng=!1,this.GM(),this.Pg){this.Go=-1;0!==this.Ac&&(this.fd=Math.abs(this.fd));this.Ac=0;this.Be=1;this.jn=this.Pg=!1;this.ig=this.Po=!0;gp(this)?kp(this,0):kp(this,this.qc());lp(this);for(const b of this.Ya)b.Uc()}else{this.ig= -!0;this.jn=!1;lp(this);for(const b of this.Ya)b.eg()}np(this)}}Re(a,b,d){if(this.NE()){if(0===a&&0===this.Nt)return;this.Nt=a;a=d}else{if(0===d&&0===this.Nt)return;a=this.Nt=d;b=1}d=this.hc;b=d+a*b*this.fd;a=this.kc.Dr;this.hc=0>b?0:b>=a?a:b;var c=!1;b=!1;var e=this.bq(),g=this.ls();e||g?e&&!g?0=a&&(this.Pm(0),b=!0):0>=this.hc&&(this.Pm(a),b=!0):!e&&g?0=a&&(kp(this,a),this.Ch(-1*this.fd),b=!0,1===this.Ac?this.Be=this.hc&&(kp(this,0),this.Ch(-1*this.fd),b=!0,1===this.Ac?this.Be=a&&(kp(this,a),this.Ch(-1*this.fd),b=!0,this.Ac++,To.wrap(this.Ac,0,2)):0>=this.hc&&(kp(this,0),this.Ch(-1*this.fd),b=!0,this.Ac++,To.wrap(this.Ac,0,2))):0=a&&(this.Be=this.hc&&(this.Bethis.hc-l&&0l?0:l>=a?a:l,k.Ha(l,!0,!1,b,this.ig,!1)):k.Ha(this.hc,!0,!1,b,this.ig,!1)}else for(c=0;cb)}pa(){return{tracksJson:sp(this),name:this.Ia,playheadTime:this.wa(),playbackRate:this.fd,pingPongState:this.Ac,currentRepeatCount:this.Be,isPlaying:this.qn,isScheduled:this.ng,initialStateSet:this.Po,finishedTriggers:this.jn,complete:this.Pg,released:this.ac,markedForRemoval:this.jr,completedTick:this.Go,implicitPause:this.Ct,isTemplate:this.Kt,tags:this.ef.join(" "),stringTags:this.lD,tagsChanged:this.Ey,firstTick:this.ig}}ra(a){a&& -(tp(this,a.tracksJson),this.Ia=a.name,this.hc=a.playheadTime,this.fd=a.playbackRate,this.Ac=a.pingPongState,this.Be=a.currentRepeatCount,this.qn=!!a.isPlaying,this.ng=!!a.isScheduled,this.Po=!!a.initialStateSet,this.jn=a.hasOwnProperty("finishedTriggers")?!!a.finishedTriggers:!1,this.Pg=!!a.complete,this.ac=!!a.released,this.jr=!!a.markedForRemoval,this.Go=a.completedTick,this.Ct=!!a.implicitPause,this.Kt=!!a.isTemplate,this.ef=a.tags.split(" "),this.lD=a.stringTags,this.Ey=!!a.tagsChanged,this.ig= -!!a.firstTick)}static WX(a){const b=this.ef;return""===a?1===b.length&&""===b[0]:b.map(d=>d.toLowerCase()).includes(a.toLowerCase())}};"use strict";const wp=self.B;function dp(a){return 0===a.Rc()}function ep(a){return dp(a)?(a=xp(a.F(),a.kv()))?!yp(a):!1:!1}function zp(a){if(a.$c)return a.$c;a.$c=a.nb.ki().$c;return a.$c}function Ap(a){a.Zc||a.Z()} -function*Bp(a){for(const c of a.Ta){var b=c.zb(),d=a.G();const e={e0:c,l0:b};switch(c.Oe()){case "world-instance":e.ug=c.da.Kc;break;case "instance-variable":b=b.ks();e.name=Cp(d,b);e.type=Dp(d,b);break;case "effect":d=Ep(d.Na,b.M.da.Pf[0]);e.$ba=d;break;case "behavior":d=b.ph(d);e.mK=d;break;case "plugin":e.Fda=d.ab()}yield e}}function Fp(a,b){a:{var d=a.nb.ki().$c;const c=d.length;for(let e=0;eb.pa())}function Ip(a,b){b.forEach((d,c)=>{a.Ta[c].ra(d)})}function Jp(a,b){b=a.nb.ki().$c[b];a.Vk=b} -function Kp(a,b){if(wp.Dc(b)&&(b=xp(a.F(),b))){var d=a.bb();a=a.nb.vg();if(b)for(const l of d.Ya)if(dp(l)){if(a){if(l.vg()!==a)continue}else if(l.Zc)continue;if(l.Zc!==b){l.rl();l.Zc=b;l.Wl=b.G().Ga();l.Vl=b.Yb;l.Sa=b.m();for(const n of Bp(l))switch(a=n.l0,n.e0.Oe()){case "instance-variable":var c=b.G(),e=Lp(c,n.name),g=Cp(c,e);c=Dp(c,e);g===n.name&&c===n.type&&a.M.da.Pf[0]!==e&&(a.Py=e);break;case "behavior":var k=n.mK;e=l.G();g=b.G();c=a.ph(g);k&&c&&(k=k.na(),Mp(e,k),Mp(g,k),e=c.eb,a.M.da.Pf[0]!== +vn.dV=class extends vn.ua{constructor(a,b,d){super();this.hb=a;this.g=a.F();this.Ja=d[0];this.MZ=d[1];this.LZ=d[2];this.P=d[1];this.R=d[2];this.Xo=!!d[3];this.Wg=!!d[4];this.BD=d[5];this.CD=d[6];this.EO=d[7];this.nd=null;this.eb=d[8];this.qa=b;this.Tj=this.Sj=0;this.ad=1;this.Af=0;this.dr=new Set;this.Zi=new Set;this.My=new Set;this.Fw=[];this.Gw=[];this.rH=new Map;this.qH=new Map;this.fI=[];this.nI=!1;this.Ng=zn.create();this.tj=zn.create();this.Zs=zn.create();this.bh=[];this.Wc=[];this.LI=new Map; +this.MI=new Map;this.qJ=-1;const c=this.g.W;this.Oa=vn.A(vn.bq,this,d[11]);this.Ff=vn.A(vn.ea.Xf,c.Ow,{RD:(e,g)=>{g=g.Ko.hk();oi(e);Ki(e,g);Mi(e,g);c.pq(g)},VD:e=>this.Oa.LA(e)});this.xn=!0;this.cR=!1;this.We=null;this.jp={};this.ey=new Map;this.kr=!0;this.ix=new self.vU(this);this.gf=vn.A(vn.Event.fb);for(const e of d[9])this.bh.push(dm(this,null,e));In(this);for(const e of this.Mu())em(e);for(const e of d[10]){a=fm(this.g,e[1]);if(!a)throw Error("missing nonworld object class");a.Pq||(a.Pq=e);this.fI.push(e); +gm(this,a)}}j(){for(const a of this.Wc)a.j();vn.D(this.Wc);this.My.clear();this.g=this.hb=this.nd=null}F(){return this.g}na(){return this.Ja}Ha(){return this.qa}fk(){this.$v();return this.Ff}$v(){const a="low"===this.g.W.Li;if(this.xn||this.cR!==a||this.Ff.Vx){var b=this.Oa.Jh;cj(this.Ff,b.map(d=>d.xh()),{Pu:b.map(d=>d.Ha()),AR:a,zL:!0});this.xn=!1;this.cR=a}}Ih(){this.Oa.Ih();this.xn=!0}sk(a){const b=this.Xo?-Infinity:hn(this),d=this.Xo?Infinity:this.K()-hn(this);a>d&&(a=d);ad&&(a=d);aa||(this.P=a)}I(){return this.R}Re(a){!isFinite(a)||1>a||(this.R=a)}*Mu(){for(const a of this.bh)yield*Gm(a)}O(a){return"number"=== +typeof a?en(this,a):dn(this,a.toString())}DL(a,b,d){if(dn(this,a))throw Error(`layer name '${a}' already in use`);if(!b&&2>d)throw Error("invalid insert position");a=vn.A(vn.jF,this,2<=d?b:b.Nj,{name:a,Wr:Math.floor(1E15*Math.random()),PK:!0});Pn(this,a,b,d);this.F().N();Zl(this)}DM(a,b,d){if(!b&&2>d)throw Error("invalid insert position");a===b&&2>d||(Qn(this,a),Pn(this,a,b,d),this.F().N(),Zl(this))}eN(a){if(Qn(this,a)){const b=this.g.Aa();Fj(b,!0);a.j();Fj(b,!1);this.F().N();Zl(this)}}tF(){const a= +new Set;for(var b of this.Mu()){var d;if(d=b.vx){a:{for(const c of b.rz())if(c.vx){d=!0;break a}d=!1}d=!d}d&&a.add(b)}if(0!==a.size){b=this.g.Aa();Fj(b,!0);for(const c of a)Qn(this,c),c.j();Fj(b,!1);this.F().N();Zl(this)}}pv(){return this.bh.at(-1).Ft+1}OA(){this.Zi.clear()}Iv(a,b,d,c,e,g){if(d)return d.Iv(a,b,c,e,g);d=[];for(const k of this.Wc)d.push(k.Iv(a,b,c,e,g));return d.flat()}hk(){return this.We}Js(){const a=this.g,b=a.Qa().ri();return"low"===a.W.Li||b&&a.Zy||"low-latency"===a.gt||this.Oa.zv()|| +b&&a.ml}pa(){const a={sx:this.vh(),sy:this.wh(),s:this.ad,a:this.Da(),w:this.K(),h:this.I(),ortho:this.Wg,vpX:tm(this),vpY:um(this),fv:this.kr,persist:this.jp,fx:this.Oa.Hc(),layers:{},dynamicLayers:[]};for(const l of this.Wc)if(l.vx){var b=l.Nj,d=a.dynamicLayers,c=d.push,e=l.eb,g=l.na();b=b?b.eb:null;var k=(k=l.Nj)?k.ef.indexOf(l):l.pc().bh.indexOf(l);c.call(d,{sid:e,name:g,parentSid:b,siblingIndex:k,data:l.pa()})}else a.layers[l.eb.toString()]=l.pa();return a}ra(a){this.Sj=a.sx;this.Tj=a.sy;this.ad= +a.s;this.Af=a.a;this.P=a.w;this.R=a.h;this.Wg=!!a.ortho;a.hasOwnProperty("vpX")&&(this.BD=a.vpX);a.hasOwnProperty("vpY")&&(this.CD=a.vpY);this.kr=!!a.fv;this.jp=a.persist;this.Oa.$b(a.fx);this.xn=!0;for(const [k,l]of Object.entries(a.layers)){var b=On(this,parseInt(k,10));b&&b.ra(l)}if(a.hasOwnProperty("dynamicLayers")){this.tF();Ij(this.g);b=new Map;a=a.dynamicLayers;for(let k=a.length-1;0<=k;--k){var d=a[k],c=d.sid,e=d.name,g=d.parentSid;const l=d.siblingIndex;d=d.data;In(this);if(dn(this,e)||On(this, +c))continue;let n;if(null===g)n=null,g=this.bh;else{n=On(this,g);if(!n)continue;g=n.ef}c=vn.A(vn.jF,this,n,{name:e,Wr:c,PK:!0});g.push(c);e=b.get(g);e||(e=[],b.set(g,e));e.push({bE:c,rL:l});c.ra(d)}for(const [k,l]of b){l.sort((n,p)=>n.rL-p.rL);for(const n of l)b=n.bE,a=n.rL,k.splice(k.indexOf(b),1),k.splice(a,0,b)}}Zl(this);Gn(this);Hn(this)}qh(a){a.layout=this.ix;var b=this.g;(b=b.Ob&&!Hj(b.Aa()))&&wn.WF();this.gf.dispatchEvent(a);b&&wn.vE()}vm(a){a.layout=this.ix;return kd(this.gf,a)}};"use strict"; +const wo=self.B;function so(a,b){if(b)a.Mt++;else{if(0>=a.Mt)throw Error("already unset");a.Mt--}}function xo(a){if(a.EB)return a.EB;if(a.pj.length)return a.pj[0];throw Error("no first layout");}function yo(a,b){return a.QI.get(b.toLowerCase())||null}function*zo(a){a.fu&&(yield a.fu);a.HJ.length&&(yield*a.HJ)}function Ao(a){(a=a.$a())&&Gn(a)}function Bo(a){(a=a.$a())&&Hn(a)} +wo.eV=class extends wo.ua{constructor(a){super();this.g=a;this.pj=[];this.QI=new Map;this.Jx=new Map;this.fu=null;this.HJ=[];this.EB=null;this.Mt=0;this.Ri=null}j(){this.Ri=this.EB=this.fu=this.g=null;wo.D(this.pj);this.QI.clear();this.Jx.clear();wo.D(this.HJ)}Ma(a){a=wo.A(wo.dV,this,this.pj.length,a);this.pj.push(a);this.QI.set(a.na().toLowerCase(),a);this.Jx.set(a.eb,a)}F(){return this.g}pc(a){"number"===typeof a?(a=wo.X(Math.floor(a),0,this.pj.length-1),a=this.pj[a]):a=yo(this,a.toString());return a}$a(){return this.fu}}; +"use strict";const Co=self.B;function*Do(a){for(const b of a.fe)yield b}function Eo(a,b,d){a.yn.has(b)||a.yn.set(b,new Set);a.yn.get(b).add(d)}function Fo(a,b){for(const d of a.Pf)if(d.na()===b)return d;for(const d of a.fe)if(d.na()===b)return d;return null}function Go(a,b){a.Pf.includes(b)||a.Pf.push(b);a.Qk||(a.Qk=!0)}function Ho(a){a.Ij.length||a.fe.length||a.Pf.length||a.Ax||(a.Qk=!1)} +function Io(a,b){a.fe.includes(b)?(b.rn=!0,b.pg=!1,b.nr=!1):(b.rn=!1,b.pg=!0,b.nr=!1,a.Pf.includes(b)||a.Pf.push(b));a.Qk||(a.Qk=!0)}function Jo(a,b){b.rn=!1;b.pg=!1;Ko(b);Co.pm(a.Pf,b);Ho(a)}function Lo(a,b){b.rn=!1;b.pg=!1;a.fe.includes(b)&&(b.nr=!0,a.Ij.push(b),Co.pm(a.fe,b))}function Mo(a,b){b.rn=!1;b.pg=!1;b.nr=!1;b.Fh(1);Co.pm(a.fe,b)}function No(a){a.cc||Oo(a)&&a.Sg&&a.So&&a.$L()}function Po(a){return a.Kn.map(b=>b.pa())}function Qo(a){return a.map(b=>b.na())} +function Ro(a,b,d){var c=new Set;for(const e of d)So(e,b)||c.add(e);Co.ei(d,c);if(b){c=e=>g=>g.na()===e;for(const e of b)(b=a.Ap.get(e.toLowerCase())||null)&&(d.find(c(e))||d.push(b))}}function So(a,b){if(!b)return!1;for(const d of b)if(d===a.na())return!0;return!1} +Co.uX=class extends Co.ua{constructor(a){super();this.g=a;this.Oy=Co.A(Co.sX);this.lp=null;this.Kn=[];this.Ap=new Map;this.yn=new Map;this.im=new Map;this.Pf=[];this.fe=[];this.Ij=[];this.Ax=this.ct=this.Qk=!1;this.Jn=()=>{if(!this.F().Dj&&this.Qk&&!this.ct){for(this.Ax=!0;this.Pf.length;){var b=this.Pf.pop();b.Uc();0!==b.jc&&(this.jc=1);this.fe.push(b)}b=this.g.Mw;var d=this.g.Sq,c=this.g.Yd;for(let e=this.fe.length-1;0<=e;e--){const g=this.fe[e];g&&g.Se(b,c,d)}this.Ax=!1;0!==this.jc&&this.F().N()}}; +this.In=()=>this.yG();this.bH=()=>this.bw();this.OI=()=>{this.ct=!1};this.Jt=b=>this.NA(b.instance);this.iO=()=>this.Ls();this.Fq=()=>this.zk();this.bO=()=>{const b=this.g.hb.$a();if(b)for(const d of this.Kn){const c=d.SE();c&&b.na()===c&&Io(this,d)}};this.Lw=[];this.jc=0}j(){this.uF();this.Fq=this.Jt=this.OI=this.bH=this.In=this.Jn=null;for(const a of this.Kn)a.jd(),a.j();Co.D(this.Kn);this.Kn=null;this.Oy.j();this.Oy=null;Co.D(this.Pf);this.Pf=null;Co.D(this.fe);this.fe=null;Co.D(this.Ij);this.Ij= +null;this.Ap.clear();this.Ap=null;this.yn.clear();this.yn=null;this.im.clear();this.im=null;Co.D(this.Lw);this.g=this.Lw=null}uE(){const a=this.g.fb();a.addEventListener("pretick",this.Jn);a.addEventListener("tick2",this.In);a.addEventListener("beforelayoutchange",this.bH);a.addEventListener("layoutchange",this.OI);a.addEventListener("instancedestroy",this.Jt);a.addEventListener("beforeload",this.iO);a.addEventListener("afterload",this.Fq);a.addEventListener("afterlayoutstart",this.bO)}uF(){const a= +this.g.fb();a.removeEventListener("pretick",this.Jn);a.removeEventListener("tick2",this.In);a.removeEventListener("beforelayoutchange",this.bH);a.removeEventListener("layoutchange",this.OI);a.removeEventListener("instancedestroy",this.Jt);a.removeEventListener("beforeload",this.iO);a.removeEventListener("afterload",this.Fq);a.removeEventListener("afterlayoutstart",this.bO)}Ma(a){this.Oy.Kb(a);const b=this.Oy.U(a[0]);a=To.A(To.wo,a[0],b,this);a.Pt=!0;this.Kb(a);for(const d of a.jM())Eo(this,d,a);this.im.set(a.na(), +0)}GE(a){var b=this.Oy;a=a.ts();b=b.U(a);b=Co.wo.GE(`${a}:${this.im.get(a)}`,b,this);this.im.set(a,this.im.get(a)+1);this.Kb(b);return b}Kb(a){this.Kn.push(a);this.Ap.set(a.na().toLowerCase(),a)}Dh(a){Uo(a);if(!a.Pt){Co.pm(this.Kn,a);Co.pm(this.Pf,a);Co.pm(this.fe,a);Co.pm(this.Ij,a);this.Ap.delete(a.na().toLowerCase());for(const [b,d]of this.yn.entries())d.has(a)&&(d.delete(a),0===d.size&&this.yn.delete(b));a.cc||a.j()}}oa(a){this.g.oa(a,this.lp,null)}F(){return this.g}cA(){return this.lp}yG(){if(!this.F().Dj&& +this.Qk&&!this.ct){var a;for(let b=0,d=this.Ij.length;bb))No(a),this.Dh(a);for(const a of this.fe.map(b=>b))No(a),this.Dh(a)}zk(){for(const a of this.Lw)this.NA(a);Co.D(this.Lw)}pa(){return{timelinesJson:Po(this),scheduledTimelinesJson:Qo(this.Pf),playingTimelinesJson:Qo(this.fe),markedForRemovalTimelinesJson:Qo(this.Ij),hasRuntimeListeners:this.Qk,changingLayout:this.ct, +isTickingTimelines:this.Ax}}ra(a){if(a){for(var b of this.im.keys())this.im.set(b,0);b=a.timelinesJson;for(const d of b){b=this.Ap.get(d.name.toLowerCase())||null;if(!b){b=(b=d.name.split(":"))&&2===b.length?b[0]:null;if(!b)continue;b=this.Ap.get(b.toLowerCase())||null;b=this.GE(b)}b.ra(d);b.Ya.length||this.Dh(b)}Ro(this,a.scheduledTimelinesJson,this.Pf);Ro(this,a.playingTimelinesJson,this.fe);Ro(this,a.markedForRemovalTimelinesJson,this.Ij);this.Qk=!a.hasRuntimeListeners;this.ct=!!a.changingLayout; +this.Ax=!!a.isTickingTimelines;for(const d of this.Kn)d.Pt||(a=d.ts(),this.im.set(a,this.im.get(a)+1));this.Qk||(this.Qk=!0);Ho(this)}}};"use strict";const Vo=self.B,Wo=[0,0],Xo=[0,0,0,0,0]; +Vo.Caa=class{constructor(a,b){this.gr=!1;this.rg=a;this.sp=[];var d;if(b)a:{a=this.rg;for(d of a.Ya)if(To.ke(d.yg(),b)){b=d;break a}b=null}else b=Vo.first(this.rg.Ya);if(d=b)if(b=d.Id("offsetX"),d=d.Id("offsetY"),b&&d){b=b.eA();d=d.eA();for(let c=1,e=Math.min(b.length,d.length);ce[3]-g[3]);return c[0]}};function Yo(a,b){return a.gr?self.wm.Dm("cubicbezier")(b,a.sY+a.$x,a.BY+a.$x,a.KY+a.$x,a.SY+a.$x):NaN}function Zo(a,b){return a.gr?self.wm.Dm("cubicbezier")(b,a.tY+a.ay,a.CY+a.ay,a.LY+a.ay,a.TY+a.ay):NaN} +function $o(a,b,d,c=null){var e=Number.MAX_SAFE_INTEGER;let g=0;d.forEach((k,l)=>{k.t=l/(d.length-1);k.hi=Vo.Sn(a,b,k.x,k.y);c&&Vo.lk(c)&&Vo.Fc(c[0])&&Vo.Fc(c[1])?k.t>=c[0]&&k.t<=c[1]&&k.hia&&c--;b=this.Vm[c];a=b===a?c/this.Yt:(c+(a-b)/(this.Vm[c+1]-b))/this.Yt}else a=void 0;Wo[0]=Yo(this,a);Wo[1]=Zo(this,a);return Wo}xA(a,b,d){var c=100;if(this.eu.length!==c){this.eu=[];c++;for(var e=0;ew)break;r.push(d[n]);for(n=1;3>=n;n++){const v=p+n*w,y=Yo(this,v),C=Zo(this,v),E=Math.abs(Vo.Sn(y,C,a,b)-0);Eg++);a=e;Xo[0]=a.x;Xo[1]=a.y;Xo[2]=a.t;Xo[3]=a.hi;return Xo}}; +Vo.tX=class{constructor(a,b,d){this.qa=d;this.WZ=bp(a);this.XZ=bp(b);this.ay=this.$x=0}j(){}Sc(){return"line"}Ha(){return this.qa}fa(){return this.WZ+this.$x}ga(){return this.XZ+this.ay}};"use strict";const To=self.B;function Tk(a){a.cc||cp(a)&&a.Play(!0)}function Uk(a){if(a.vr)return a.vr;a.vr=new Promise(b=>{a.TC=b});return a.vr}function Uo(a){if(!a.cc)for(const b of a.Ya)b.Lm()}function Ko(a){a.vr&&(a.TC(),a.vr=null,a.TC=null)}function Oo(a){return a.Ya.some(b=>dp(b)?ep(b):!0)} +function fp(a,b,d,c,e){if(a.PB){var g;for(let l=0;l=b||b>=a.qc())a.Sg=!0} +function kp(a,b){To.Fc(b)||(b=a.qc());a.hc=0>b?0:b>=a.qc()?a.qc():b}function lp(a){a.PB=0;for(const b of a.Ya)b.Vo&&(a.PB=1)}function mp(a,b,d=!1,c=NaN,e=!1,g=!1){for(var k of a.Ya)k.Yp();for(const l of a.Ya){k=b;if("number"===typeof c&&!isNaN(c)){const n=a.wa()-l.Dg(),p=c-l.Dg();0>n&&0=a.qc())return!1}else{if(0>=a.wa())return!1}else if(!a.fq()&&!a.qs())if(gp(a)){if(a.wa()>=a.qc())return!1}else if(0>=a.wa())return!1;return!0} +function pp(a){return a.Ya.some(b=>dp(b)?ep(b)?(b=b.G())?b.rf():!1:!1:!1)}function qp(a){for(const b of a.Ya)b.Zc=null,b.Wl=NaN,b.Ta=null,b.Xl=NaN}function rp(a,b){for(const d of a.Ya)if(b===d.Z())return d;return null}function sp(a){return a.Ya.map(b=>b.pa())}function tp(a,b){qp(a);b.forEach((d,c)=>{a.Ya[c].ra(d)});a.Ya.filter(d=>ep(d))} +To.wo=class extends To.ua{constructor(a,b,d){super();this.g=d.F();this.Jb=d;this.kc=b;this.Ja=a;this.Ya=[];this.ZJ=0;this.Rs=null;this.hO=0;this.QL();this.TC=this.vr=null;this.hc=0;this.fd=1;this.Bc=0;this.Ce=1;this.So=this.pg=this.rn=!1;this.Sg=!0;this.nr=this.cc=!1;this.Jo=-1;this.lg=this.kn=this.Pt=this.Ht=!1;this.St=NaN;this.ff=[""];this.rD="";this.Ly=!1;this.PB=this.jc=0}static GE(a,b,d){return To.A(To.wo,a,b,d)}j(){if(!this.cc){var a=this.g.fb();Jo(this.Jb,this);Lo(this.Jb,this);Ko(this);for(const b of this.Ya)b.j(); +To.D(this.Ya);this.kc=this.Jb=this.g=this.Ya=null;this.cc=!0;this.TC=this.vr=null;this.aM(a)}}aM(a){const b=To.A(To.Event,"timelinestatereleased");b.Mea=this;a.dispatchEvent(b)}Sc(){return 0}QL(){for(const a of up(this.kc.hq()))this.ZJ=this.Ya.push(To.GA.Ma(this,a))}F(){return this.g}EA(a){this.Ja=a}na(){return this.Ja}ts(){return this.kc.na()}qc(){return this.kc.qc()}Gs(a){this.kc.Gs(a)}tv(){return this.kc.tv()}RF(a){this.kc.RF(a)}ij(){return this.kc.ij()}qk(a){this.kc.qk(a)}Rc(){return this.kc.Rc()}Fl(){}eg(a){for(const b of this.Ya)b.eg(a)}fq(){return this.kc.fq()}DA(a){return this.kc.DA(a)}qs(){return this.kc.qs()}NF(a){return this.kc.NF(a)}ni(){return this.kc.ni()}OF(a){return this.kc.OF(a)}Fh(a){return this.fd= +a}SE(){return this.kc.SE()}hA(){return this.kc.hA()}UE(){return this.kc.UE()}Qv(a){this.ff=hp(a);this.Ly=!0}SM(){To.C.Vc&&this.constructor===To.wo&&(To.C.Vc.J.qF(this),this.Jb.oa(To.C.Vc.J.N6),this.Jb.oa(To.C.Vc.J.O6),this.Jb.oa(To.C.Vc.J.P6),this.Jb.oa(To.C.Vc.J.x6),To.C.Vc.J.oF())}$L(){this.kn||(this.kn=!0,To.C.Vc&&this.constructor===To.wo&&(To.C.Vc.J.qF(this),this.Jb.oa(To.C.Vc.J.K6),this.Jb.oa(To.C.Vc.J.L6),this.Jb.oa(To.C.Vc.J.M6),this.Jb.oa(To.C.Vc.J.w6),To.C.Vc.J.oF()))}IsPlaying(a=!1){return this.Jo=== +this.g.$i||this.pg&&!a?!0:this.rn}Bv(){return this.cc||this.pg||this.IsPlaying(!0)||this.Sg?!1:!0}wa(){return this.hc}Gh(a){const b=this.wa();kp(this,a);jp(this,!1);this.Sg||(this.Ht=!0);if(this.IsPlaying(!0)||this.pg||!this.So)this.IsPlaying(!0)||this.pg||this.So?this.IsPlaying(!0)?this.jd():this.pg&&(Jo(this.Jb,this),this.Uc(!0)):this.Uc(!0);lp(this);mp(this,this.wa(),!0,b);np(this);this.jc&&this.F().N();op(this)}Qm(a){To.Fc(a)||(a=this.qc());this.hc=0>a?0:a>=this.qc()?this.qc():a;for(const b of this.Ya)b.rk()}Play(a= +!1){this.cc||this.pg?a=!1:this.IsPlaying(!0)&&this.Jo===this.g.$i?(this.Ht=!1,a=this.Jb,Co.pm(a.fe,this),Ho(a),Io(this.Jb,this),Uk(this),a=!0):this.IsPlaying(!0)||!this.Sg&&!a&&!this.Ht?a=!1:(this.Ht=!1,Io(this.Jb,this),Uk(this),a=!0);return a}jd(a=!1){this.cc||(jp(this,a),Lo(this.Jb,this),this.Sg&&Ko(this))}Tc(a=!0,b=!1){if(!this.cc)if(!this.IsPlaying(!0)&&this.pg)Jo(this.Jb,this);else if(!this.Sg){this.jd(!0);gp(this)?kp(this,0):kp(this,this.qc());var d=this.wa();lp(this);b?mp(this,d,!1,NaN,!1, +!0):mp(this,d,!1);a&&op(this);np(this);this.jc&&a&&this.F().N()}}bw(){if(this.cc)return!0;if(!this.F().Dj&&pp(this))return!1;Mo(this.Jb,this);this.F().Dj||this.Tc(!1,!0);return!0}Uc(a){if(!this.nr){if(a){this.kn=!1;this.lg=this.So=!0;lp(this);for(const b of this.Ya)b.Uc()}else if(this.rn=!0,this.pg=!1,this.SM(),this.Sg){this.Jo=-1;0!==this.Bc&&(this.fd=Math.abs(this.fd));this.Bc=0;this.Ce=1;this.kn=this.Sg=!1;this.lg=this.So=!0;gp(this)?kp(this,0):kp(this,this.qc());lp(this);for(const b of this.Ya)b.Uc()}else{this.lg= +!0;this.kn=!1;lp(this);for(const b of this.Ya)b.gg()}np(this)}}Se(a,b,d){if(this.UE()){if(0===a&&0===this.St)return;this.St=a;a=d}else{if(0===d&&0===this.St)return;a=this.St=d;b=1}d=this.hc;b=d+a*b*this.fd;a=this.kc.Hr;this.hc=0>b?0:b>=a?a:b;var c=!1;b=!1;var e=this.fq(),g=this.qs();e||g?e&&!g?0=a&&(this.Qm(0),b=!0):0>=this.hc&&(this.Qm(a),b=!0):!e&&g?0=a&&(kp(this,a),this.Fh(-1*this.fd),b=!0,1===this.Bc?this.Ce=this.hc&&(kp(this,0),this.Fh(-1*this.fd),b=!0,1===this.Bc?this.Ce=a&&(kp(this,a),this.Fh(-1*this.fd),b=!0,this.Bc++,To.wrap(this.Bc,0,2)):0>=this.hc&&(kp(this,0),this.Fh(-1*this.fd),b=!0,this.Bc++,To.wrap(this.Bc,0,2))):0=a&&(this.Ce=this.hc&&(this.Cethis.hc-l&&0l?0:l>=a?a:l,k.Ia(l,!0,!1,b,this.lg,!1)):k.Ia(this.hc,!0,!1,b,this.lg,!1)}else for(c=0;cb)}pa(){return{tracksJson:sp(this),name:this.Ja,playheadTime:this.wa(),playbackRate:this.fd,pingPongState:this.Bc,currentRepeatCount:this.Ce,isPlaying:this.rn,isScheduled:this.pg,initialStateSet:this.So,finishedTriggers:this.kn,complete:this.Sg,released:this.cc,markedForRemoval:this.nr,completedTick:this.Jo,implicitPause:this.Ht,isTemplate:this.Pt,tags:this.ff.join(" "),stringTags:this.rD,tagsChanged:this.Ly,firstTick:this.lg}}ra(a){a&& +(tp(this,a.tracksJson),this.Ja=a.name,this.hc=a.playheadTime,this.fd=a.playbackRate,this.Bc=a.pingPongState,this.Ce=a.currentRepeatCount,this.rn=!!a.isPlaying,this.pg=!!a.isScheduled,this.So=!!a.initialStateSet,this.kn=a.hasOwnProperty("finishedTriggers")?!!a.finishedTriggers:!1,this.Sg=!!a.complete,this.cc=!!a.released,this.nr=!!a.markedForRemoval,this.Jo=a.completedTick,this.Ht=!!a.implicitPause,this.Pt=!!a.isTemplate,this.ff=a.tags.split(" "),this.rD=a.stringTags,this.Ly=!!a.tagsChanged,this.lg= +!!a.firstTick)}static kY(a){const b=this.ff;return""===a?1===b.length&&""===b[0]:b.map(d=>d.toLowerCase()).includes(a.toLowerCase())}};"use strict";const wp=self.B;function dp(a){return 0===a.Sc()}function ep(a){return dp(a)?(a=xp(a.F(),a.rv()))?!yp(a):!1:!1}function zp(a){if(a.$c)return a.$c;a.$c=a.nb.mi().$c;return a.$c}function Ap(a){a.Zc||a.Z()} +function*Bp(a){for(const c of a.Ua){var b=c.zb(),d=a.G();const e={v0:c,C0:b};switch(c.Pe()){case "world-instance":e.wg=c.da.Mc;break;case "instance-variable":b=b.os();e.name=Cp(d,b);e.type=Dp(d,b);break;case "effect":d=Ep(d.Oa,b.M.da.Sf[0]);e.qca=d;break;case "behavior":d=b.rh(d);e.wK=d;break;case "plugin":e.Wda=d.ab()}yield e}}function Fp(a,b){a:{var d=a.nb.mi().$c;const c=d.length;for(let e=0;eb.pa())}function Ip(a,b){b.forEach((d,c)=>{a.Ua[c].ra(d)})}function Jp(a,b){b=a.nb.mi().$c[b];a.Yk=b} +function Kp(a,b){if(wp.Fc(b)&&(b=xp(a.F(),b))){var d=a.bb();a=a.nb.yg();if(b)for(const l of d.Ya)if(dp(l)){if(a){if(l.yg()!==a)continue}else if(l.Zc)continue;if(l.Zc!==b){l.ul();l.Zc=b;l.Xl=b.G().Ha();l.Wl=b.Yb;l.Ta=b.m();for(const n of Bp(l))switch(a=n.C0,n.v0.Pe()){case "instance-variable":var c=b.G(),e=Lp(c,n.name),g=Cp(c,e);c=Dp(c,e);g===n.name&&c===n.type&&a.M.da.Sf[0]!==e&&(a.Wy=e);break;case "behavior":var k=n.wK;e=l.G();g=b.G();c=a.rh(g);k&&c&&(k=k.na(),Mp(e,k),Mp(g,k),e=c.eb,a.M.da.Sf[0]!== e&&(a.eb=e))}}Eo(d.Jb,b.G(),d);break}}} -wp.AA=class extends wp.ua{constructor(a,b){super();this.pg=a;this.nb=b;this.aj=b.eq();this.Wl=this.Vl=NaN;this.Sa=this.Zc=null;this.So=0b.Wh)&&(this.Wh=1);this.Vk=Fp(this,a);this.Mo=this.$q=!1;this.Ha(a);this.pA(Fp(this,a))}}eg(){Ap(this);if(this.Zb()||!dp(this)){gp(this.pg);var a=this.pg.wa()-this.Ag();this.Vk=Fp(this,a);for(const b of this.Ta)b.eg(a)}}Hv(){if(!(this.bb().Pg||(Ap(this),!this.Zb()&&dp(this)||this.So))){const a=this.pg.wa();a>=this.Ag()+this.Bm()?this.Ha(this.Bm(),!0,!1,!0,!1,!1,!0):0>=a&&this.Ha(0,!0,!1,!0,!1,!1,!0)}}JA(){for(let a= -0,b=this.Ta.length;aa))){a:if(g=a,b&&this.So&&!this.$q){if(gp(this.bb())){if(0>g)break a}else if(g>this.Bm())break a;for(var n of this.Ta)n.Uc();this.$q=!0}n=a;if(!e&&b&&wp.C.Vc){e=this.bb(); -g=this.Vk.Ye;l=this.Vk.wa();var p=g?g.wa():e.qc();if(n<=l||n>=p)this.Vk=Gp(n,this.nb),gp(e)?g&&this.pA(this.Vk):(e=this.Vk.Ye)&&this.pA(e)}for(let r=0,x=this.Ta.length;r=this.Bm()){for(const r of this.Ta)r.Ha(this.Bm(),!1,!0);this.Mo=!0}}else if(0>=a){for(const r of this.Ta)r.Ha(0,!1,!0);this.Mo=!0}0!==this.qg&&(this.Sa||(this.Sa=this.Zc.m()),this.Sa&&wk(this.Sa))}}Up(){const a=this.Ta.length;for(let b=0;bb.Wh)&&(this.Wh=1)}}};"use strict";const Qp=self.B;function Rp(a){return Sp(a.Pd(),a.da).Rc()}function Tp(a){if(a.ic)return a.ic;a.ic=Up(a.da).ic;return a.ic}function Vp(a,b){const d=a.bb(),c=a.Lc.Yz(b,a.da);return c?c:gp(d)?a.Lc.rh(b,a.da):Wp(b,a.da)} -Qp.pb=class extends Qp.ua{constructor(a,b){super();this.xb=a;this.da=b;this.Lc=b.Pd();this.Wh=this.jc=this.qg=0;this.Of=this.zb();this.ic=Up(this.da).ic;this.zq=this.zd=null}static La(a,b){return Qp.A(Qp.pb,a,b)}j(){this.xb=null;this.Of&&(this.Of.j(),this.Of=null);this.Lc=this.da=this.ic=null}Pd(){return this.Lc}bb(){return this.xb.bb()}F(){return this.xb.F()}Z(){return this.xb.Z()}zb(){if(this.Of)return this.Of;let a;switch(this.da.Oe()){case "behavior":a=new Qp.pb.HS(this);break;case "effect":a= -new Qp.pb.iT(this);this.jc=1;break;case "instance-variable":a=new Qp.pb.tU(this);break;case "plugin":a=new Qp.pb.aW(this);this.jc=1;break;case "world-instance":a=new Qp.pb.kq(this);this.qg=this.jc=1;break;case "value":a=new Qp.pb.pX(this);break;case "audio":a=new Qp.pb.ES(this)}return this.Of=a}Oe(){return this.da.Oe()}IF(a){this.da.IF(a)}nN(a){this.da.Mv(a)}zF(a){this.da.zF(a)}yF(a){this.da.yF(a)}zm(){return this.da.zm()}Eg(a){this.da.Eg(a)}hj(){return this.da.hj()}lk(a){this.da.lk(a)}Qc(){return this.da.Qc()}Dl(a){this.da.Dl(a)}dg(a){for(const b of Tp(this))b.dg(a)}vE(){return this.da.vE()}Zz(){return Up(this.da).Zz()}Yz(a){return this.Lc.Yz(a, -this.da)}rh(a){return this.Lc.rh(a,this.da)}Km(){this.zb().Km()}rl(){this.zb().rl()}mf(){return this.zb().mf()}mk(){this.zb().mk()}Uc(a){this.zb().Uc();this.zd=Vp(this,a);this.JA()}eg(a){this.zb().eg();this.zd=Vp(this,a)}JA(){var a=this.xb;this.Wh=0;if(dp(a)){var b=this.bb();a=a.Z();const d=this.zb(),c=this.da.Kc;d.yl()?(b=fp(b,a,d,c,this))&&b.length&&(this.Wh=1):this.Wh=0}}Vp(){this.Of.Vp()}Ha(a,b=!1,d=!1,c=!1){let e,g=!1;if(b)var k=this.Lc.rh(a,this.da);else{if(this.zd){var l=this.bb();const n= -this.zd.Ye;k=this.zd.wa();l=n?n.wa():l.qc();if(a<=k||a>=l)this.zd=this.Lc.rh(a,this.da),g=!0}else this.zd=this.Lc.rh(a,this.da),g=!0;k=this.zd}k&&(e=k.Ye);this.Of.Ha(a,k,e,b,d,c,g)}Yf(a){if(this.zd){var b=this.bb();const c=this.zd.Ye;var d=this.zd.wa();b=c?c.wa():b.qc();if(a<=d||a>=b)this.zd=this.Lc.rh(a,this.da)}else this.zd=this.Lc.rh(a,this.da);d=this.zd;return this.Of.Yf(a,d,d.Ye)}Up(){this.Of.Up()}vz(){const a=Xp(Up(this.da));this.zd=null;return a}Ez(a){this.zd=null;Yp(Up(this.da),a)}qq(){this.zb().qq()}Zj(){if(this.zb().Zj()){const a= -Sp(0,this.da),b=this.zb().mf();Zp(a,b)}}$j(){const a=this.zb().$j();if(a){const b=this.bb().wa(),d=this.zb(),c=this.Lc.rh(b,this.da),e=this.vz();e.Mv(c.Rc());e.Dh(b);e.dg(c.ao());e.Eg(!0);e.me($p(d));Zp(e,d.mf())}this.zb().Bz();return a}pa(){return{sourceAdapterJson:this.zb().pa()}}ra(a){a&&this.zb().ra(a.sourceAdapterJson)}};"use strict";const aq=self.B.pb; -function $p(a){a=a.M;const b=a.xb.bb().wa(),d=a.Lc.rh(b,a.da),c=d.Ye;switch(Rp(a)){case "numeric":return aq.yv.Ha(b,d,c,a);case "angle":return aq.wz.Ha(b,d,c,a);case "boolean":return aq.yz.Ha(b,d,c,a);case "color":return aq.Cz.Ha(b,d,c,a);case "text":return aq.zA.Ha(b,d,c,a)}}function bq(a){if(a.Yg)return a.Yg;a.Yg=cq(a);return a.Yg} -function cq(a){const b=a.M;switch(b.vE()?Rp(b):""){case "combo":case "boolean":case "text":case "string":return new aq.Cg.tM(a);case "numeric":case "number":case "angle":return"combo"===a.M.da.Rc()?new aq.Cg.tM(a):new aq.Cg.uM(a);case "color":case "offsetColor":return new aq.Cg.SS(a);default:return new aq.Cg.uM(a)}} -aq.kq=class{constructor(a){this.M=a;this.Yg=null;bq(this)}j(){this.Yg&&(this.Yg.j(),this.Yg=null);this.M=null}yl(){return this.Yg.yl()}Fd(){return this.M}Km(){this.Yg&&this.Yg.Km()}rl(){this.Yg&&this.Yg.rl()}ks(){}Ga(){return this.ks()}pv(){}mk(){bq(this).mk()}Uc(){bq(this).Uc()}eg(){bq(this).eg()}Vp(){this.Yg.bs()}Ha(a,b,d,c,e,g,k){let l;switch(Rp(this.M)){case "numeric":l=aq.yv.Ha(a,b,d,this.M);break;case "angle":l=aq.wz.Ha(a,b,d,this.M);break;case "boolean":l=aq.yz.Ha(a,b,d,this.M);break;case "color":l= -aq.Cz.Ha(a,b,d,this.M);break;case "text":l=aq.zA.Ha(a,b,d,this.M)}this.Yg.Xp(a,l,b,d,c,e,g,k)}Yf(a,b,d){switch(Rp(this.M)){case "numeric":return aq.yv.Ha(a,b,d,this.M);case "angle":return aq.wz.Ha(a,b,d,this.M);case "boolean":return aq.yz.Ha(a,b,d,this.M);case "color":return aq.Cz.Ha(a,b,d,this.M);case "text":return aq.zA.Ha(a,b,d,this.M)}}Up(){this.Yg.$r()}qq(){var a=bq(this);a.Nj=a.mf()}Bz(){bq(this).Bz()}mf(){return bq(this).mf()}Zj(){return bq(this).Zj()}$j(){return bq(this).$j()}pa(){return{propertyAdapterJson:bq(this).pa()}}ra(a){a&& -bq(this).ra(a.propertyAdapterJson)}};"use strict";const dq=self.B;class eq extends dq.pb.kq{constructor(a){super(a);this.Py=NaN}ks(){return this.M.da.Pf[0]}Ga(){return this.Py?this.Py:super.Ga()}pv(){return this.M.xb.Z()}Ha(a,b,d,c,e,g,k){bq(this).uE(b.Gb())&&super.Ha(a,b,d,c,e,g,k)}Yf(a,b,d){if(bq(this).uE(b.Gb()))return super.Yf(a,b,d)}pa(){return Object.assign(super.pa(),{index:this.Py})}ra(a){a&&(super.ra(a),this.Py=a.index)}}dq.pb.tU=eq;"use strict";const fq=self.B; -class gq extends fq.pb.kq{constructor(a){super(a);this.eb=NaN}ks(){return this.M.da.Pf[1]}pv(){var a=this.M.da,b=this.eb?this.eb:a.Pf[0];a=this.M.xb.Z();b=hq(a,b);return a.vd[b].ma}ph(a){return a.Os.get(this.M.da.Pf[2].toLowerCase())||null}Ha(a,b,d,c,e,g,k){const l=this.M.xb.Z();this.ph(l.G())&&super.Ha(a,b,d,c,e,g,k)}Yf(a,b,d){const c=this.M.xb.Z();if(this.ph(c.G()))return super.Yf(a,b,d)}pa(){return Object.assign(super.pa(),{sid:this.eb})}ra(a){a&&(super.ra(a),this.eb=a.sid)}}fq.pb.HS=gq;"use strict"; -const iq=self.B;function jq(a){const b=a.M.xb.m().Df;if(a=Ep(b.Na,a.M.da.Pf[0]))return b.ho(a.Ga())}class kq extends iq.pb.kq{constructor(a){super(a)}ks(){return this.M.da.Pf[1]}pv(){const a=this.M.xb.m().Df,b=Ep(a.Na,this.M.da.Pf[0]).Ga();return a.ho(b)?a.WL(b):null}Ha(a,b,d,c,e,g,k){jq(this)&&super.Ha(a,b,d,c,e,g,k)}Yf(a,b,d){if(jq(this))return super.Yf(a,b,d)}}iq.pb.iT=kq;"use strict";const lq=self.B; -function mq(a){const b=a.M.xb.G().ab();if(lq.C.Lb&&b instanceof lq.C.Lb&&("initial-frame"===a.M.da.Kc||"initial-animation"===a.M.da.Kc))switch(a.M.Qc()){case "relative":return null;case "absolute":return null}} -class nq extends lq.pb.kq{constructor(a){super(a)}ks(){return this.M.da.Pf[0]}pv(){return this.M.xb.Z().ma}Ha(a,b,d,c,e,g,k){var l=this.M.xb;const n=l.G().ab();l=l.Z().G().ab();n===l&&super.Ha(a,b,d,c,e,g,k)}Yf(a,b,d){var c=this.M.xb;const e=c.G().ab();c=c.Z().G().ab();if(e===c)return super.Yf(a,b,d)}}lq.pb.aW=nq;"use strict";const oq=self.B; -class pq extends oq.pb.kq{constructor(a){super(a);this.bd=0;this.QB=!1}yl(){return!1}Uc(){this.M.Pd();let a=this.M.da;a=Sp(0,a);this.bd=bp(a)}eg(){}Gb(){this.QB||this.M.Ha(0);return this.bd}Ha(a,b,d){this.bd=oq.pb.yv.Ha(a,b,d,this.M);this.QB=!0}qq(){}Bz(){}mf(){return this.bd}Zj(){return!1}$j(){return!1}pa(){return{value:this.bd,init:this.QB}}ra(a){a&&(this.bd=a.value,this.QB=a.hasOwnProperty("init")?a.init:!0)}}oq.pb.pX=pq;"use strict";const qq=self.B; -function rq(a){if(self.B.C.Audio){var b;if(b=a.M.F().jp.lJ.get(self.B.C.Audio)||null){if(!b.rn)throw Error("must be single-global plugin");b=b.DJ}else b=null;b&&(a.Nf=b.fk().ma);a.sc=self.B.C.Audio.$a;a.lt=self.B.C.Audio.Sb}}function sq(a){if(!a.Jg){var b=a.M.xb.Fd("audioSource");b&&(a.Jg=b.zb())}} -class tq extends qq.pb.kq{constructor(a){super(a);this.Kl=!1;this.lt=this.sc=this.Nf=null;this.pg=this.M.bb();this.xb=this.M.xb;this.vy=this.M.da.Pf;this.yH=this.vy[0];this.KJ=this.vy[1];this.oj=this.vy[3]?this.vy[3]:Math.random().toString(36).slice(2);this.Ir=this.pr=this.fp=NaN;this.Jg=null;rq(this)}j(){super.j();this.Jg=this.yH=this.vy=this.xb=this.pg=this.lt=this.sc=this.Nf=null}Km(){super.Km();this.Kl=!1;this.Nf&&(this.lt&&(this.fp=this.lt.ZV.call(this.Nf,this.oj),this.pr=this.lt.rX.call(this.Nf, -this.oj)),this.sc&&this.sc.hd.call(this.Nf,this.oj))}ro(a){this.Ir=a}Uc(){super.Uc();this.fp=NaN;this.Kl=!1}eg(){super.eg();const a=this.M.bb().wa();this.fp=a-this.KJ;switch(this.M.da.Kc){case "volume":this.pr=this.M.Yf(a)}this.Kl=!1}Ha(a,b,d,c,e,g,k){if(this.Nf)switch(this.M.da.Kc){case "audioSource":if(!gp(this.pg))break;if(c){this.sc&&this.sc.hd.call(this.Nf,this.oj);break}if(ac.time-e.time)} +wp.GA=class extends wp.ua{constructor(a,b){super();this.rg=a;this.nb=b;this.bj=b.hq();this.Xl=this.Wl=NaN;this.Ta=this.Zc=null;this.Vo=0b.Yh)&&(this.Yh=1);this.Yk=Fp(this,a);this.Po=this.er=!1;this.Ia(a);this.vA(Fp(this,a))}}gg(){Ap(this);if(this.Zb()||!dp(this)){gp(this.rg);var a=this.rg.wa()-this.Dg();this.Yk=Fp(this,a);for(const b of this.Ua)b.gg(a)}}Nv(){if(!(this.bb().Sg||(Ap(this),!this.Zb()&&dp(this)||this.Vo))){const a=this.rg.wa();a>=this.Dg()+this.Cm()?this.Ia(this.Cm(),!0,!1,!0,!1,!1,!0):0>=a&&this.Ia(0,!0,!1,!0,!1,!1,!0)}}PA(){for(let a= +0,b=this.Ua.length;aa))){a:if(g=a,b&&this.Vo&&!this.er){if(gp(this.bb())){if(0>g)break a}else if(g>this.Cm())break a;for(var n of this.Ua)n.Uc();this.er=!0}n=a;if(!e&&b&&wp.C.Vc){e=this.bb(); +g=this.Yk.Ze;l=this.Yk.wa();var p=g?g.wa():e.qc();if(n<=l||n>=p)this.Yk=Gp(n,this.nb),gp(e)?g&&this.vA(this.Yk):(e=this.Yk.Ze)&&this.vA(e)}for(let r=0,w=this.Ua.length;r=this.Cm()){for(const r of this.Ua)r.Ia(this.Cm(),!1,!0);this.Po=!0}}else if(0>=a){for(const r of this.Ua)r.Ia(0,!1,!0);this.Po=!0}0!==this.sg&&(this.Ta||(this.Ta=this.Zc.m()),this.Ta&&wk(this.Ta))}}Xp(){const a=this.Ua.length;for(let b=0;bb.Yh)&&(this.Yh=1)}}};"use strict";const Qp=self.B;function Rp(a){return Sp(a.Sd(),a.da).Sc()}function Tp(a){if(a.ic)return a.ic;a.ic=Up(a.da).ic;return a.ic}function Vp(a,b){const d=a.bb(),c=a.Nc.dA(b,a.da);return c?c:gp(d)?a.Nc.uh(b,a.da):Wp(b,a.da)} +Qp.pb=class extends Qp.ua{constructor(a,b){super();this.xb=a;this.da=b;this.Nc=b.Sd();this.Yh=this.jc=this.sg=0;this.Rf=this.zb();this.ic=Up(this.da).ic;this.Dq=this.Cd=null}static Ma(a,b){return Qp.A(Qp.pb,a,b)}j(){this.xb=null;this.Rf&&(this.Rf.j(),this.Rf=null);this.Nc=this.da=this.ic=null}Sd(){return this.Nc}bb(){return this.xb.bb()}F(){return this.xb.F()}Z(){return this.xb.Z()}zb(){if(this.Rf)return this.Rf;let a;switch(this.da.Pe()){case "behavior":a=new Qp.pb.TS(this);break;case "effect":a= +new Qp.pb.tT(this);this.jc=1;break;case "instance-variable":a=new Qp.pb.FU(this);break;case "plugin":a=new Qp.pb.mW(this);this.jc=1;break;case "world-instance":a=new Qp.pb.nq(this);this.sg=this.jc=1;break;case "value":a=new Qp.pb.EX(this);break;case "audio":a=new Qp.pb.QS(this)}return this.Rf=a}Pe(){return this.da.Pe()}QF(a){this.da.QF(a)}zN(a){this.da.Sv(a)}HF(a){this.da.HF(a)}GF(a){this.da.GF(a)}Am(){return this.da.Am()}Hg(a){this.da.Hg(a)}ij(){return this.da.ij()}qk(a){this.da.qk(a)}Rc(){return this.da.Rc()}Fl(a){this.da.Fl(a)}eg(a){for(const b of Tp(this))b.eg(a)}BE(){return this.da.BE()}eA(){return Up(this.da).eA()}dA(a){return this.Nc.dA(a, +this.da)}uh(a){return this.Nc.uh(a,this.da)}Lm(){this.zb().Lm()}ul(){this.zb().ul()}pf(){return this.zb().pf()}rk(){this.zb().rk()}Uc(a){this.zb().Uc();this.Cd=Vp(this,a);this.PA()}gg(a){this.zb().gg();this.Cd=Vp(this,a)}PA(){var a=this.xb;this.Yh=0;if(dp(a)){var b=this.bb();a=a.Z();const d=this.zb(),c=this.da.Mc;d.Bl()?(b=fp(b,a,d,c,this))&&b.length&&(this.Yh=1):this.Yh=0}}Yp(){this.Rf.Yp()}Ia(a,b=!1,d=!1,c=!1){let e,g=!1;if(b)var k=this.Nc.uh(a,this.da);else{if(this.Cd){var l=this.bb();const n= +this.Cd.Ze;k=this.Cd.wa();l=n?n.wa():l.qc();if(a<=k||a>=l)this.Cd=this.Nc.uh(a,this.da),g=!0}else this.Cd=this.Nc.uh(a,this.da),g=!0;k=this.Cd}k&&(e=k.Ze);this.Rf.Ia(a,k,e,b,d,c,g)}$f(a){if(this.Cd){var b=this.bb();const c=this.Cd.Ze;var d=this.Cd.wa();b=c?c.wa():b.qc();if(a<=d||a>=b)this.Cd=this.Nc.uh(a,this.da)}else this.Cd=this.Nc.uh(a,this.da);d=this.Cd;return this.Rf.$f(a,d,d.Ze)}Xp(){this.Rf.Xp()}Cz(){const a=Xp(Up(this.da));this.Cd=null;return a}Lz(a){this.Cd=null;Yp(Up(this.da),a)}tq(){this.zb().tq()}bk(){if(this.zb().bk()){const a= +Sp(0,this.da),b=this.zb().pf();Zp(a,b)}}ck(){const a=this.zb().ck();if(a){const b=this.bb().wa(),d=this.zb(),c=this.Nc.uh(b,this.da),e=this.Cz();e.Sv(c.Sc());e.Gh(b);e.eg(c.eo());e.Hg(!0);e.oe($p(d));Zp(e,d.pf())}this.zb().Iz();return a}pa(){return{sourceAdapterJson:this.zb().pa()}}ra(a){a&&this.zb().ra(a.sourceAdapterJson)}};"use strict";const aq=self.B.pb; +function $p(a){a=a.M;const b=a.xb.bb().wa(),d=a.Nc.uh(b,a.da),c=d.Ze;switch(Rp(a)){case "numeric":return aq.Ev.Ia(b,d,c,a);case "angle":return aq.Dz.Ia(b,d,c,a);case "boolean":return aq.Fz.Ia(b,d,c,a);case "color":return aq.Jz.Ia(b,d,c,a);case "text":return aq.FA.Ia(b,d,c,a)}}function bq(a){if(a.ah)return a.ah;a.ah=cq(a);return a.ah} +function cq(a){const b=a.M;switch(b.BE()?Rp(b):""){case "combo":case "boolean":case "text":case "string":return new aq.Fg.EM(a);case "numeric":case "number":case "angle":return"combo"===a.M.da.Sc()?new aq.Fg.EM(a):new aq.Fg.FM(a);case "color":case "offsetColor":return new aq.Fg.dT(a);default:return new aq.Fg.FM(a)}} +aq.nq=class{constructor(a){this.M=a;this.ah=null;bq(this)}j(){this.ah&&(this.ah.j(),this.ah=null);this.M=null}Bl(){return this.ah.Bl()}Id(){return this.M}Lm(){this.ah&&this.ah.Lm()}ul(){this.ah&&this.ah.ul()}os(){}Ha(){return this.os()}vv(){}rk(){bq(this).rk()}Uc(){bq(this).Uc()}gg(){bq(this).gg()}Yp(){this.ah.hs()}Ia(a,b,d,c,e,g,k){let l;switch(Rp(this.M)){case "numeric":l=aq.Ev.Ia(a,b,d,this.M);break;case "angle":l=aq.Dz.Ia(a,b,d,this.M);break;case "boolean":l=aq.Fz.Ia(a,b,d,this.M);break;case "color":l= +aq.Jz.Ia(a,b,d,this.M);break;case "text":l=aq.FA.Ia(a,b,d,this.M)}this.ah.$p(a,l,b,d,c,e,g,k)}$f(a,b,d){switch(Rp(this.M)){case "numeric":return aq.Ev.Ia(a,b,d,this.M);case "angle":return aq.Dz.Ia(a,b,d,this.M);case "boolean":return aq.Fz.Ia(a,b,d,this.M);case "color":return aq.Jz.Ia(a,b,d,this.M);case "text":return aq.FA.Ia(a,b,d,this.M)}}Xp(){this.ah.gs()}tq(){var a=bq(this);a.Qj=a.pf()}Iz(){bq(this).Iz()}pf(){return bq(this).pf()}bk(){return bq(this).bk()}ck(){return bq(this).ck()}pa(){return{propertyAdapterJson:bq(this).pa()}}ra(a){a&& +bq(this).ra(a.propertyAdapterJson)}};"use strict";const dq=self.B;class eq extends dq.pb.nq{constructor(a){super(a);this.Wy=NaN}os(){return this.M.da.Sf[0]}Ha(){return this.Wy?this.Wy:super.Ha()}vv(){return this.M.xb.Z()}Ia(a,b,d,c,e,g,k){bq(this).AE(b.Gb())&&super.Ia(a,b,d,c,e,g,k)}$f(a,b,d){if(bq(this).AE(b.Gb()))return super.$f(a,b,d)}pa(){return Object.assign(super.pa(),{index:this.Wy})}ra(a){a&&(super.ra(a),this.Wy=a.index)}}dq.pb.FU=eq;"use strict";const fq=self.B; +class gq extends fq.pb.nq{constructor(a){super(a);this.eb=NaN}os(){return this.M.da.Sf[1]}vv(){var a=this.M.da,b=this.eb?this.eb:a.Sf[0];a=this.M.xb.Z();b=hq(a,b);return a.yd[b].ma}rh(a){return a.Ss.get(this.M.da.Sf[2].toLowerCase())||null}Ia(a,b,d,c,e,g,k){const l=this.M.xb.Z();this.rh(l.G())&&super.Ia(a,b,d,c,e,g,k)}$f(a,b,d){const c=this.M.xb.Z();if(this.rh(c.G()))return super.$f(a,b,d)}pa(){return Object.assign(super.pa(),{sid:this.eb})}ra(a){a&&(super.ra(a),this.eb=a.sid)}}fq.pb.TS=gq;"use strict"; +const iq=self.B;function jq(a){const b=a.M.xb.m().Gf;if(a=Ep(b.Oa,a.M.da.Sf[0]))return b.ko(a.Ha())}class kq extends iq.pb.nq{constructor(a){super(a)}os(){return this.M.da.Sf[1]}vv(){const a=this.M.xb.m().Gf,b=Ep(a.Oa,this.M.da.Sf[0]).Ha();return a.ko(b)?a.gM(b):null}Ia(a,b,d,c,e,g,k){jq(this)&&super.Ia(a,b,d,c,e,g,k)}$f(a,b,d){if(jq(this))return super.$f(a,b,d)}}iq.pb.tT=kq;"use strict";const lq=self.B; +function mq(a){const b=a.M.xb.G().ab();if(lq.C.Lb&&b instanceof lq.C.Lb&&("initial-frame"===a.M.da.Mc||"initial-animation"===a.M.da.Mc))switch(a.M.Rc()){case "relative":return null;case "absolute":return null}} +class nq extends lq.pb.nq{constructor(a){super(a)}os(){return this.M.da.Sf[0]}vv(){return this.M.xb.Z().ma}Ia(a,b,d,c,e,g,k){var l=this.M.xb;const n=l.G().ab();l=l.Z().G().ab();n===l&&super.Ia(a,b,d,c,e,g,k)}$f(a,b,d){var c=this.M.xb;const e=c.G().ab();c=c.Z().G().ab();if(e===c)return super.$f(a,b,d)}}lq.pb.mW=nq;"use strict";const oq=self.B; +class pq extends oq.pb.nq{constructor(a){super(a);this.bd=0;this.VB=!1}Bl(){return!1}Uc(){this.M.Sd();let a=this.M.da;a=Sp(0,a);this.bd=bp(a)}gg(){}Gb(){this.VB||this.M.Ia(0);return this.bd}Ia(a,b,d){this.bd=oq.pb.Ev.Ia(a,b,d,this.M);this.VB=!0}tq(){}Iz(){}pf(){return this.bd}bk(){return!1}ck(){return!1}pa(){return{value:this.bd,init:this.VB}}ra(a){a&&(this.bd=a.value,this.VB=a.hasOwnProperty("init")?a.init:!0)}}oq.pb.EX=pq;"use strict";const qq=self.B; +function rq(a){if(self.B.C.Audio){var b;if(b=a.M.F().mp.vJ.get(self.B.C.Audio)||null){if(!b.sn)throw Error("must be single-global plugin");b=b.NJ}else b=null;b&&(a.Qf=b.ik().ma);a.tc=self.B.C.Audio.Za;a.pt=self.B.C.Audio.Qb}}function sq(a){if(!a.Mg){var b=a.M.xb.Id("audioSource");b&&(a.Mg=b.zb())}} +class tq extends qq.pb.nq{constructor(a){super(a);this.Ll=!1;this.pt=this.tc=this.Qf=null;this.rg=this.M.bb();this.xb=this.M.xb;this.Cy=this.M.da.Sf;this.GH=this.Cy[0];this.UJ=this.Cy[1];this.qj=this.Cy[3]?this.Cy[3]:Math.random().toString(36).slice(2);this.Mr=this.ur=this.ip=NaN;this.Mg=null;rq(this)}j(){super.j();this.Mg=this.GH=this.Cy=this.xb=this.rg=this.pt=this.tc=this.Qf=null}Lm(){super.Lm();this.Ll=!1;this.Qf&&(this.pt&&(this.ip=this.pt.kW.call(this.Qf,this.qj),this.ur=this.pt.GX.call(this.Qf, +this.qj)),this.tc&&this.tc.jd.call(this.Qf,this.qj))}vo(a){this.Mr=a}Uc(){super.Uc();this.ip=NaN;this.Ll=!1}gg(){super.gg();const a=this.M.bb().wa();this.ip=a-this.UJ;switch(this.M.da.Mc){case "volume":this.ur=this.M.$f(a)}this.Ll=!1}Ia(a,b,d,c,e,g,k){if(this.Qf)switch(this.M.da.Mc){case "audioSource":if(!gp(this.rg))break;if(c){this.tc&&this.tc.jd.call(this.Qf,this.qj);break}if(ac.time-e.time)} function zq(a,b){for(let d=b.length-1;0<=d;d--)if(b[d].time<=a)return b[d];return null} -self.B.pb.Cg=class{constructor(a){this.Of=a;this.M=a.Fd();this.Sa=this.M.xb.m();this.Kc=this.M.da.Kc;this.nt=!1;this.su=this.Nj=null}j(){this.su=this.Nj=this.Sa=this.M=this.Of=null}yl(){return!1}Km(){}rl(){this.su=this.Nj=this.Sa=null}zb(){return this.Of}Fd(){return this.M}m(){return this.Sa?this.Sa:this.Sa=this.M.xb.m()}mk(){}Uc(){}eg(){}Bz(){this.Nj=null}mf(){}Zj(){}$j(){}uE(a){return typeof this.Om()===typeof a}bs(){}Xp(){}$r(){}vq(){return vq(this,()=>{const a=this.M.da;return Sp(this.M.Pd(), -a)},()=>{const a=this.M.da;return this.M.Pd().ij(a)}).mj}DA(){const a=this.M.bb().wa()-this.M.xb.Ag();return vq(this,()=>{const b=this.M.da;return this.M.Pd().rh(a,b)},()=>{const b=this.M.da,d=this.M.Pd(),c=Wp(a,b);return c?c:d.ij(b)}).mj}EA(){}fg(){return this.Of.Ga()}pa(){return{firstAbsoluteUpdate:this.nt,saveState:this.Nj}}ra(a){a&&(this.nt=a.firstAbsoluteUpdate,this.Nj=a.saveState)}};"use strict";const Aq=self.B,Bq=new Map,Cq=[0,0,0]; -function Dq(a){return Aq.gq(a,Aq.lb)?a.toArray().slice(0,3):a.slice(0,3)}function Eq(a,b){a=Fq(a);b=Fq(b);return ec(a,b)}function Fq(a){return Aq.gq(a,Aq.lb)?a:new Aq.lb(a[0],a[1],a[2],1)}function Gq(a,b,d){a=Bq.get(a).get(b).get(d);a.hS=!0;return a.color} -class Hq extends Aq.pb.Cg{constructor(a){super(a)}mk(){}Uc(){}eg(){}mf(){const a=this.M.Oe(),b=xq(this),d=this.fg();switch(a){case "behavior":return Dq(b.Pc(d));case "effect":return Dq(b[d]);case "plugin":return Dq(b.Pc(d));case "world-instance":return Dq(this.Om())}}Zj(){const a=this.vq();return!Eq(a,this.Om())}$j(){return Aq.pf(this.Nj)?!1:!Eq(this.Nj,this.Om())}vq(){const a=super.vq();return Fq(a)}DA(){const a=super.DA();return Fq(a)}EA(){}uE(){return!0}yl(){return!0}bs(){var a=this.M.bb(),b=this.M.Z(); -const d=this.M.zb();(a=fp(a,b,d,this.Kc,this.M))&&1e||(d=b[0],c=b[1],b=b[2],e=this.M.Ha(e,!1,!0),d=tc(d,e[0]), -c=tc(c,e[1]),b=tc(b,e[2]),Zb(Gq(a,g,this.Kc),d,c,b))}else this.Il(b[0],b[1],b[2])}$r(){const a=this.M.Z();if(Bq.has(a)){var b=Bq.get(a),d=this.M.Oe();if(b.has(d)){var c=b.get(d);if(c.has(this.Kc)){var e=c.get(this.Kc),g=e.color;e.hS&&this.Il(g.ib,g.mb,g.gb);0===c.size&&b.delete(d);0===b.size&&Bq.delete(a)}}}}Om(){const a=this.M.Oe(),b=xq(this),d=this.fg();switch(a){case "behavior":return Fq(b.Pc(d));case "effect":return b[d].clone();case "plugin":return Fq(b.Pc(d));case "world-instance":return this.m().Xa.clone()}}Il(a, -b,d){var c=this.M.Oe();const e=xq(this),g=this.fg();switch(c){case "behavior":Cq[0]=a;Cq[1]=b;Cq[2]=d;e.Gg(g,Cq);break;case "effect":Yb(e[g],a,b,d);break;case "plugin":Cq[0]=a;Cq[1]=b;Cq[2]=d;e.Gg(g,Cq);break;case "world-instance":c=this.m(),Yb(Iq,a,b,d),Jq(c,Iq)}}pa(){}ra(){}}Aq.pb.Cg.SS=Hq;"use strict";const Kq=self.B,Lq=Kq.pb; -class Mq extends Kq.pb.Cg{constructor(a){super(a)}mk(){}Uc(){}eg(){}mf(){return this.Om()}Zj(){return this.vq()!==this.mf()}$j(){return Kq.pf(this.Nj)?!1:this.Nj!==this.mf()}yl(){return!1}Xp(a,b){const d=this.M,c=d.xb,e=d.Oe();var g=d.bb();const k=c.Z(),l=d.zb();(g=fp(g,k,l,this.Kc,d))&&1{Pq.set(a,{gL:b,RZ:d,z_:c,round:e,p_:g,init:k,reset:l})};Qq("offsetX",(a,b,d,c)=>{"relative"===c.M.Qc()?Rq(a,b,d.bb().bA()):Rq(a,b)},(a,b)=>a.Eh(b),a=>a.fa(),!0);Qq("offsetY",(a,b,d,c)=>{"relative"===c.M.Qc()?Sq(a,b,d.bb().bA()):Sq(a,b)},(a,b)=>a.wi(b),a=>a.ga(),!0); -Qq("offsetWidth",(a,b,d,c,e)=>{if(0!==b){var g=1===c.fl.Rc();if(("relative"===c.M.Qc()||g)&&a.ag()&&Tq(a)){if(isNaN(c.yk)){const l=[];for(var k=a.Ca();k;)l.push(k),k=k.Ca();l.reverse();k=(p,r)=>{if(r=rp(r.bb(),p.Z()))return r.zg();r=p.Z().ma;return r.xh()?r.zg():Uq(p.Ea)};const n=(p,r,x,v=0)=>{p=rp(r.bb(),p.Z());if(!p)return v;x=p.Fd(x);if(!x)return v;x=Up(x.da);return x?(x=x.ij())?x.Gb():v:v};if(g)g=l[l.length-1].J();else{let p=l[0];g=Uq(p.Ea)*p.Ea.ou;g+=n(p,d,"offsetWidth");g+=k(p,d)*n(p,d,"offsetScaleX"); -for(let r=1;ra.ye(b),a=>a.J(),!0); -Qq("offsetHeight",(a,b,d,c,e)=>{if(0!==b){var g=1===c.fl.Rc();if(("relative"===c.M.Qc()||g)&&a.ag()&&Vq(a)){if(isNaN(c.yk)){const l=[];for(var k=a.Ca();k;)l.push(k),k=k.Ca();l.reverse();k=(p,r)=>{if(r=rp(r.bb(),p.Z()))return r.yg();r=p.Z().ma;return r.xh()?r.yg():Wq(p.Ea)};const n=(p,r,x,v=0)=>{p=rp(r.bb(),p.Z());if(!p)return v;x=p.Fd(x);if(!x)return v;x=Up(x.da);return x?(x=x.ij())?x.Gb():v:v};if(g)g=l[l.length-1].I();else{let p=l[0];g=Wq(p.Ea)*p.Ea.pu;g+=n(p,d,"offsetHeight");g+=k(p,d)*n(p,d,"offsetScaleY"); -for(let r=1;ra.Qe(b),a=>a.I(),!0);Qq("offsetAngle",(a,b)=>{b=+b;0!==b&&a.lo()&&(a.Wa=Yq.Bd(a.Wa+b),Zq(a))},(a,b)=>a.Zd(b),a=>a.Da(),!1,!0); -Qq("offsetOpacity",(a,b,d,c)=>{b/=c.$I?c.$I:1;d=a.Oc()+b;0===c.kd?(1d&&(c.kd+=d),$q(a)?a.Fg(a.Ea.Yl+b):a.Fg(a.Oc()+b)):(a=a.Oc()+b,0c.kd?(c.kd+=b,0b&&0c.kd&&(c.kd=0)):0>b&&0>c.kd&&0>a&&(c.kd+=a))},(a,b)=>{a.Fg(b)},a=>a.Oc(),!1,!0,(a,b,d)=>{a.kd=0;switch(a.M.Qc()){case "relative":a.M.Pd();var c=Up(a.M.da).ic,e=a.m().Oc(),g=e;for(var k of c)g=k.wa(),g=a.M.Yf(g),g=e+g,g=Oq.X(g,0,1);a.xu=e-g;a.xu=Math.round(100*(a.xu+ -Number.EPSILON))/100;g=e;for(e=c.length-1;0<=e;e--)k=c[e].wa(),k=a.M.Yf(k),g-=k,g=Oq.X(g,0,1);a.wu=g;a.wu=Math.round(100*(a.wu+Number.EPSILON))/100}c=1===a.fl.Rc();if(("relative"===a.M.Qc()||c)&&b.ag()&&$q(b)){c=[];for(b=b.Ca();b;)c.push(b),b=b.Ca();c.reverse();b=(l,n,p)=>{l=rp(n.bb(),l.Z());if(!l)return 0;p=l.Fd(p);if(!p)return 0;p=Up(p.da);return p?(p=p.ij())?p.Gb():0:0};g=c[0].Ea.hD;g+=b(c[0],d,"offsetOpacity");for(e=1;e{switch(a.M.Qc()){case "relative":a.kd= -0;const b=a.m();let d=b.Oc();d=Math.round(100*(d+Number.EPSILON))/100;gp(a.M.bb())?(b.Fg(d+a.xu),a.Wb=0):(b.Fg(d-a.wu),a.Wb=$p(a.zb()))}});Qq("offsetOriginX",(a,b)=>{a.Ij+=+b},(a,b)=>{a.Ij=+b},a=>a.wg(),!1);Qq("offsetOriginY",(a,b)=>{a.Jj+=+b},(a,b)=>{a.Jj=+b},a=>a.xg(),!1);Qq("offsetZElevation",(a,b)=>{a.rf(a.Ma()+b)},(a,b)=>a.rf(b),a=>a.Ma(),!0); -Qq("offsetScaleX",(a,b,d,c)=>{if(0!==b){var e=0>a.J()?-1:1;"relative"===c.M.Qc()&&a.ag()&&Tq(a)?(b*=d.zg()*e,isNaN(c.yk)&&Pq.get("offsetWidth").gL(a,1,d,c,!0),a.zl(b/c.yk,!0)):a.zl(d.zg()*e*b)}},(a,b,d)=>{a.ye(d.zg()*b)},(a,b)=>{const d=0>a.J()?-1:1;if(Tq(a)){var c=a.Ca(),e=rp(b.bb(),c.Z());e?c=c.J()/e.zg():(e=c.Z().ma,c=e.xh()?c.J()/e.zg():1);return a.J()*d/(b.zg()*c)}return a.J()*d/b.zg()},!1); -Qq("offsetScaleY",(a,b,d,c)=>{if(0!==b){var e=0>a.I()?-1:1;"relative"===c.M.Qc()&&a.ag()&&Vq(a)?(b*=d.yg()*e,isNaN(c.yk)&&Pq.get("offsetHeight").gL(a,1,d,c,!0),Xq(a,b/c.yk,!0)):Xq(a,d.yg()*e*b)}},(a,b,d)=>{a.Qe(d.yg()*b)},(a,b)=>{const d=0>a.I()?-1:1;if(Vq(a)){var c=a.Ca(),e=rp(b.bb(),c.Z());e?c=c.I()/e.yg():(e=c.Z().ma,c=e.xh()?c.I()/e.yg():1);return a.I()*d/(b.yg()*c)}return a.I()*d/b.yg()},!1); -function ar(a,b,d,c){var e=a.M.hj();e="default"===e?"continuous":e;if("discrete"!==e||d){if("discrete"===e&&c&&(d=a.M.bb().wa(),!a.M.Yz(d)))return;d=xq(a);c=a.fg();e=a.m();var g=a.M.xb;switch(a.M.Oe()){case "behavior":d.Gg(c,b);break;case "effect":d[c]=b;break;case "instance-variable":d.po(c,b);break;case "plugin":d.Gg(c,b,mq(a.zb()));break;case "world-instance":a.cI(e,b,g);break;case "audio":a.pQ.call(a.zb(),e,b,g)}}} -function br(a,b,d,c){switch(a.M.da.Rc()){case "angle":b=Oq.kf(b)}var e=(b.toString().split(".")[1]||"").length;b=a.Om();if(0===e)if(a.YC)e=Math.round(b);else if(a.vH)switch(a.M.da.Rc()){case "angle":e=Oq.Oa(Math.round(Oq.kf(b)));break;default:e=Math.round(100*(b+Number.EPSILON))/100}else e=b;else e=a.YC?Number(Oq.toFixed(b,e)):b;a.Il(e-b,d,c)} -class cr extends Oq.pb.Cg{constructor(a){super(a);this.wu=this.xu=this.kd=this.Wb=0;this.yk=this.$I=NaN;this.pQ=this.rQ=this.qQ=this.XH=this.vJ=this.cI=this.eI=this.dI=null;this.vH=this.YC=!1;this.fl=Oq.gq(this.M.bb(),Oq.sq)?new Oq.pb.Cg.eV(this):new Oq.pb.Cg.dV(this);const b=this.M.da.Kc;switch(this.M.Oe()){case "world-instance":a=Pq.get(b);this.dI=a.z_;this.eI=a.gL;this.cI=a.RZ;this.YC=a.round;this.vH=a.p_;this.XH=a.init;this.vJ=a.reset;break;case "audio":this.qQ=a.aM,this.rQ=a.FW,this.pQ=a.pS, -this.YC=!0,this.vH=!1}}j(){this.cI=this.eI=this.dI=this.fl=null;this.yk=NaN;super.j()}yl(){return this.fl.yl()}mk(){this.vJ&&this.vJ(this)}Uc(){var a=this.fl.Uc();"number"===typeof a&&(this.Wb=a);this.XH&&(a=this.m(),this.XH(this,a,this.M.xb))}eg(){const a=this.fl.eg();"number"===typeof a&&(this.Wb=a)}mf(){return this.Om()}Zj(){return this.vq()!==this.mf()}$j(){return Oq.pf(this.Nj)?!1:this.Nj!==this.mf()}bs(){this.fl.bs()}Xp(a,b,d,c,e,g,k,l){return this.fl.Xp(a,b,d,c,e,g,k,l)}$r(){this.fl.$r()}Om(){const a= -xq(this),b=this.fg(),d=this.m(),c=this.M.xb;switch(this.M.Oe()){case "behavior":return a.Pc(b);case "effect":return a[b];case "instance-variable":return Nq(a,b);case "plugin":return a.Pc(b);case "world-instance":return this.dI(d,c);case "audio":return this.qQ.call(this.zb(),d,c)}}Il(a){var b=xq(this),d=this.fg(),c=this.m();const e=this.M.xb;switch(this.M.Oe()){case "behavior":b.eF(d,a);break;case "effect":b[d]+=a;break;case "instance-variable":if(0!==a){d|=0;b=b.lg;if(0>d||d>=b.length)throw new RangeError("invalid instance variable"); -c=b[d];if("number"===typeof c)b[d]="number"===typeof a?b[d]+a:b[d]+parseFloat(a);else{if("boolean"===typeof c)throw Error("can not set offset of boolean variable");if("string"===typeof c)throw Error("can not set offset of string variable");throw Error("unknown instance variable type");}}break;case "plugin":b.eF(d,a,mq(this.zb()));break;case "world-instance":this.eI(c,a,e,this);break;case "audio":this.rQ.call(this.zb(),c,a,e,this)}}Gs(a,b,d,c,e,g,k,l){this.fl.Gs(a,b,d,c,e,g,k,l)}pa(){return Object.assign(super.pa(), -{v:this.Wb,a:this.kd,fod:this.xu,bod:this.wu})}ra(a){a&&(super.ra(a),this.Wb=a.v,this.kd=a.a,this.xu=Oq.Dc(a.fod)?a.fod:0,this.wu=Oq.Dc(a.bod)?a.bod:0)}}Oq.pb.Cg.uM=cr;"use strict";class dr{constructor(a){this.tD=!1;this.bd=0;this.sH=this.SC=!1;this.Ta=a;for(let b=0,d=this.Ta.length;bvq(a,()=>0,()=>$p(a.zb())),()=>{})}eg(){}yl(){switch(this.Ze.Fd().Qc()){case "relative":return!1;case "absolute":return!0}}bs(){var a=this.Ze.Fd();const b=a.da.Kc;switch(a.Qc()){case "absolute":if(a.zq)a.zq.Sc();else{const d=a.bb(),c=a.Z(),e=a.zb();(a=fp(d,c,e,b,a))&&1a||(p=p.Yf(a),n.Hv(k),n.SC=l,n.tD=!0,n.me(n.Gb()+(b-p)))}else ar(n,b,l,k)}}$r(){const a=this.Ze;var b=this.Ze.Fd();switch(b.Qc()){case "absolute":b.zq&&(b=b.zq,b.tD&&ar(a,b.Gb(),b.SC,b.sH))}}Gs(a,b,d,c,e,g){const k=this.Ze;c||(b&&a===b.wa()?br(k,bp(b),b,d):d&&a===d.wa()?br(k,bp(d),b,d):0===g-e&& -br(k,bp(b),b,d))}}self.B.pb.Cg.dV=er;"use strict"; -class fr{constructor(a){this.Ze=a}j(){this.Ze=null}Rc(){return 1}Uc(){const a=this.Ze;a.nt=!0;return this.EA(a.vq())}eg(){const a=this.Ze;if(a.vq()!==a.DA())return a.nt=!0,this.EA(a.DA())}yl(){return!1}bs(){}Xp(a,b,d,c,e,g,k){const l=this.Ze,n=l.Wb;switch(l.Fd().Qc()){case "relative":l.Il(b-n,d,c);g&&this.Gs(a,d,c,e,n,b,!1,k);break;case "absolute":if(l.nt)l.nt=!1,l.Il(n,d,c);else if(0===a&&0===l.Fd().bb().qc())ar(l,b,!0,!1);else if(l.Il(b-n,d,c),g){g=this.Gs;var p=this.Ze;const x=p.m().Z();var r= -p.Fd().F().Jb;p=0;for(const v of Do(r))if(0===v.Rc()){a:{for(const y of v.Ya)if(dp(y)&&x===y.Z()){r=!0;break a}r=!1}r&&p++}else 1===v.Rc()&&v.Z()===x&&p++;g.call(this,a,d,c,e,n,b,1>=p,k)}}l.Wb=b}$r(){}EA(a){return a-this.Ze.mf()}Gs(a,b,d,c,e,g){const k=this.Ze;c?b&&a===b.wa()?br(k,bp(b),b,d):d&&a===d.wa()?br(k,bp(d),b,d):d||br(k,bp(b),b,d):b&&a===b.wa()?br(k,bp(b),b,d):d&&a===d.wa()?br(k,bp(d),b,d):0===g-e&&br(k,bp(b),b,d)}}self.B.pb.Cg.eV=fr;"use strict";const gr=self.B,hr=self.vm; -gr.pb.yv=class{constructor(){}static Mm(a,b,d,c){let e;switch(c){case "behavior":e=b.Pc(a);break;case "effect":e=b[a];break;case "instance-variable":e=Nq(b,a);break;case "plugin":e=b.Pc(a)}return e===d?!1:!0}static Ha(a,b,d,c){if(!d){var e=c.da;e=c.Pd().ij(e);return bp(e)}let g=c.hj();"default"===g&&(g="continuous");"combo"===c.da.Rc()&&(g="discrete");if("discrete"===g)return bp(b);if("continuous"===g||"step"===g){const l=c.bb().nv();"step"===g&&0!==l&&(e=1/l,a=Math.floor(a*e)/e);e=bp(b);const n= -bp(d),p=ap(b,"cubic-bezier"),r=ap(d,"cubic-bezier");var k=p&&p.Ay&&r&&r.sB;if(!k&&e===n)return e;const x=b.wa();d=d.wa();"step"===g&&0!==l&&(a=gr.X(a,x,d));a=gr.normalize(a,x,d);b=b.ao();k?(k=d-x,b=hr.Cm(b)(k*a,0,1,k),b=hr.Cm("cubicbezier")(b,e,e+p.zy,n+r.Iw,n)):b=hr.Cm(b)((d-x)*a,e,n-e,d-x);return"integer"===c.da.Rc()?Math.floor(b):b}}};"use strict";const ir=self.B; -ir.pb.wz=class{constructor(){}static Mm(a,b,d,c){let e;switch(c){case "behavior":e=b.Pc(a);break;case "effect":e=b[a];break;case "instance-variable":e=Nq(b,a);break;case "plugin":e=b.Pc(a)}return e===d?!1:!0}static Ha(a,b,d,c){if(!d)return b=c.da,b=c.Pd().ij(b),bp(b);var e=c.hj();"default"===e&&(e="continuous");"combo"===c.da.Rc()&&(e="discrete");if("discrete"===e)return bp(b);if("continuous"===e||"step"===e){var g=c.bb().nv();"step"===e&&0!==g&&(c=1/g,a=Math.floor(a*c)/c);const k=b.wa(),l=d.wa(); -c=bp(b);d=bp(d);"step"===e&&0!==g&&(a=ir.X(a,k,l));if(e=ap(b,"angle")){g=e.wJ;if(c===d&&0===g)return c;a=ir.normalize(a,k,l);b=self.vm.Cm(b.ao())(a,0,1,1);switch(e.nH){case "closest":return ir.kK(c,d,b,g);case "clockwise":return ir.TZ(c,d,b,g);case "anti-clockwise":return ir.SZ(c,d,b,g)}}else{if(c===d)return c;a=ir.normalize(a,k,l);b=self.vm.Cm(b.ao());return ir.kK(c,d,b(a,0,1,1))}}}};"use strict"; -self.B.pb.yz=class{constructor(){}static Mm(a,b,d,c){let e;switch(c){case "behavior":e=b.Pc(a);break;case "effect":e=b[a];break;case "instance-variable":e=Nq(b,a);break;case "plugin":e=b.Pc(a)}return!!e===!!d?!1:!0}static Ha(a,b,d,c){return d?bp(b)?1:0:(a=c.da,a=c.Pd().ij(a),bp(a)?1:0)}};"use strict";const jr=self.B,kr=[0,0,0],lr=[0,0,0],mr=[0,0,0]; -jr.pb.Cz=class{constructor(){}static Mm(a,b,d,c){let e;switch(c){case "behavior":e=b.Pc(a);break;case "effect":e=b[a];break;case "instance-variable":e=Nq(b,a);break;case "plugin":e=b.Pc(a)}Array.isArray(d)?(kr[0]=d[0],kr[1]=d[1],kr[2]=d[2]):(ic(mr,d),kr[0]=Math.floor(255*mr.ib),kr[1]=Math.floor(255*mr.mb),kr[2]=Math.floor(255*mr.gb));Array.isArray(e)?(lr[0]=e[0],lr[1]=e[1],lr[2]=e[2]):(ic(mr,e),lr[0]=Math.floor(255*mr.ib),lr[1]=Math.floor(255*mr.mb),lr[2]=Math.floor(255*mr.gb));return kr[0]!==lr[0]|| -kr[1]!==lr[1]||kr[2]!==lr[2]?!0:!1}static Ha(a,b,d,c){if(!d)return b=c.da,b=c.Pd().ij(b),b=bp(b),kr[0]=b[0],kr[1]=b[1],kr[2]=b[2],kr;var e=c.hj();"default"===e&&(e="continuous");if("discrete"===e)return b=bp(b),kr[0]=b[0],kr[1]=b[1],kr[2]=b[2],kr;if("continuous"===e||"step"===e){var g=c.bb().nv();"step"===e&&0!==g&&(c=1/g,a=Math.floor(a*c)/c);c=b.wa();var k=d.wa(),l=bp(b);d=bp(d);"step"===e&&0!==g&&(a=jr.X(a,c,k));g=jr.normalize(a,c,k);a=l[0];e=l[1];l=l[2];const n=d[0],p=d[1];d=d[2];b=self.vm.Cm(b.ao()); -c=k-c;k=c*g;kr[0]=a===n?a:b(k,a,n-a,c);kr[1]=e===p?e:b(k,e,p-e,c);kr[2]=l===d?l:b(k,l,d-l,c);return kr}}};"use strict";self.B.pb.zA=class{constructor(){}static Mm(a,b,d,c){let e;switch(c){case "behavior":e=b.Pc(a);break;case "effect":e=b[a];break;case "instance-variable":e=Nq(b,a);break;case "plugin":e=b.Pc(a)}return e===d?!1:!0}static Ha(a,b,d,c){return d?bp(b):(a=c.da,a=c.Pd().ij(a),bp(a))}};"use strict";const nr=self.B; -function or(a,b,d,c,e){let g;if("function"===typeof c)switch(a){case "load":g=new c(null,e);break;case "create":g=new c(b,e);break;case "create-including-disabled":g=new c(b,e)}else if("object"===typeof c)switch(c=c.map.get(b[c.MR]),a){case "load":g=new c(null,e);break;case "create":g=new c(b,e);break;case "create-including-disabled":g=new c(b,e)}switch(a){case "load":g.ra(b);d.push(g);break;case "create":if("function"===typeof g.zm&&!g.zm()){g.j();break}d.push(g);break;case "create-including-disabled":d.push(g)}} -function pr(a,b,d,c){if(b)for(const e of b)or("create",e,a,d,c)}function qr(a,b,d,c){a.length?b.forEach((e,g)=>{a[g].ra(e)}):b.forEach(e=>{or("load",e,a,d,c)})}nr.cX=class{constructor(){this.Gy=new Map}j(){for(const a of this.Gy.values())a.j();this.Gy.clear();this.Gy=null}Kb(a){a=new nr.rN(a);this.Gy.set(a.na(),a)}U(a){return this.Gy.get(a)}};"use strict";const rr=self.B; -rr.rN=class{constructor(a){this.Ia="";this.Dr=NaN;this.Cy=0;this.Lf=this.Ef="default";this.Xx=this.Hx=!1;this.xr=1;this.aj=null;this.gD="";this.nD=!1;this.sD=!0;a&&(this.Ia=a[0],this.Dr=a[1],this.Cy=a[2],this.Ef=a[3],this.Lf=a[4],this.Hx=!!a[6],this.Xx=!!a[7],this.xr=a[8],this.gD=a[9],this.nD=!!a[10],this.sD=!!a[11],this.aj=new rr.sN(a[5],this))}j(){this.aj.j();this.aj=null}eq(){this.aj||(this.aj=new rr.sN(null,this));return this.aj}na(){return this.Ia}yA(a){this.Ia=a}qc(){return this.Dr}Cs(a){this.Dr= -a}nv(){return this.Cy}JF(a){this.Cy=a}hj(){return this.Ef}lk(a){this.Ef=a}Qc(){return this.Lf}Dl(a){this.Lf=a}bq(){return this.Hx}xA(a){this.Hx=a}ls(){return this.Xx}FF(a){this.Xx=a}li(){return this.xr}GF(a){this.xr=a}LE(){return this.gD}bA(){return this.nD}NE(){return this.sD}pa(){return{trackDataJson:this.aj.pa(),name:this.Ia,totalTime:this.Dr,step:this.Cy,interpolationMode:this.Ef,resultMode:this.Lf,loop:this.Hx,pingPong:this.Xx,repeatCount:this.xr,startOnLayout:this.gD,transformWithSceneGraph:!!this.nD, -useSystemTimescale:this.sD}}ra(a){a&&(this.eq().ra(a.trackDataJson),this.Ia=a.name,this.Dr=a.totalTime,this.Cy=a.step,this.Ef=a.interpolationMode,this.Lf=a.resultMode,this.Hx=a.loop,this.Xx=a.pingPong,this.xr=a.repeatCount,this.gD=a.startOnLayout,this.nD=!!a.transformWithSceneGraph,this.sD=!!a.useSystemTimescale)}};"use strict";const sr=self.B; -class tr{constructor(a,b){this.aj=b;this.Ih=this.TB=null;this.Wl=this.Vl=NaN;this.Lf=this.Ef="default";this.Sd=!1;this.Lc=this.Bj=null;this.Ud="";this.du=null;this.JJ=0;this.Gx=this.aj.kc.qc();this.Ba=0;this.Ia="";a&&(a[0]&&(this.TB=a[0],this.Vl=a[0][2],this.Wl=a[0][1]),this.Ef=a[1],this.Lf=a[2],this.Sd=!!a[3],a[6]&&(this.Ud=a[6]),a[7]&&(this.du=a[7],this.JJ=a[7][0],this.Gx=a[7][1]),a[8]&&(this.Ih=a[8]),a[8]&&(this.Ih=a[8]),a[9]&&(this.Ba=a[9]),a[10]&&(this.Ia=a[10]),this.Bj=new sr.oM(a[4],this), -this.Lc=new sr.PM(a[5],this))}j(){this.aj=this.TB=null;this.Bj&&(this.Bj.j(),this.Bj=null);this.Lc&&(this.Lc.j(),this.Lc=null);this.du=null}eq(){return this.aj}ki(){this.Bj||(this.Bj=new sr.oM(null,this));return this.Bj}Pd(){this.Lc||(this.Lc=new sr.PM(null,this));return this.Lc}IE(){return this.Wl}BF(a){this.Wl=a}kv(){return this.Vl}xF(a){this.Vl=a}hj(){return this.Ef}lk(a){this.Ef=a}Qc(){return this.Lf}Dl(a){this.Lf=a}zm(){return this.Sd}Eg(a){this.Sd=!!a}vg(){return this.Ud}Ag(){return this.JJ}Bm(){return this.Gx}wA(a){this.Gx= -a}zg(){return this.Ih[0]}DF(a){this.Ih||(this.Ih=[]);this.Ih[0]=a}yg(){this.Ih||(this.Ih=[]);return this.Ih[1]}CF(a){this.Ih||(this.Ih=[]);this.Ih[1]=a}Rc(){return this.Ba}na(){return this.Ia}pa(){return{keyframeDataJson:this.Bj.pa(),propertyTrackDataJson:this.Lc.pa(),instanceData:this.TB,additionalInstanceData:this.Ih,instanceUid:this.Vl,objectClassIndex:this.Wl,interpolationMode:this.Ef,resultMode:this.Lf,enabled:this.Sd,id:this.Ud,nestedData:this.du,type:this.Ba,name:this.Ia}}ra(a){a&&(this.TB= -a.instanceData,this.Vl=a.instanceUid,this.Wl=a.objectClassIndex,this.Ef=a.interpolationMode,this.Lf=a.resultMode,this.Sd=a.enabled,this.Ud=a.id,this.Ba=a.type?a.type:0,this.Ia=a.name?a.name:"",this.Gx=this.aj.kc.qc(),a.nestedData&&(this.du=a.nestedData,this.JJ=this.du[0],this.Gx=this.du[1]),a.additionalInstanceData&&(this.Ih=a.additionalInstanceData),this.ki().ra(a.keyframeDataJson),this.Pd().ra(a.propertyTrackDataJson))}}function*up(a){for(const b of a.Ap)yield b} -function vp(a){const b=new tr(null,a);a.Ap.push(b);return b}function Gp(a,b){b=b.ki().$c;for(let d=b.length-1;0<=d;d--){const c=b[d];if(c.wa()<=a)return c}}sr.sN=class{constructor(a,b){this.kc=b;this.Ap=[];pr(this.Ap,a,tr,this)}j(){this.kc=null;for(const a of this.Ap)a.j();sr.D(this.Ap);this.Ap=null}pa(){return{trackDataItemsJson:this.Ap.map(a=>a.pa())}}ra(a){a&&qr(this.Ap,a.trackDataItemsJson,tr,this)}};"use strict";const ur=self.B;function Up(a){a.Zk||(a.Zk=new ur.OM(null,a));return a.Zk} -class vr{constructor(a,b){this.Lc=b;this.wy="";this.Ba=this.Kc=this.Pf=null;this.BC=this.DC=NaN;this.Lf=this.Ef="default";this.Sd=!1;this.Zk=null;this.YA=!0;a&&(this.wy=a[0][0],this.Pf=a[0].slice(1),this.Kc=a[1],this.Ba=a[2],this.DC=a[3],this.BC=a[4],this.Ef=a[5],this.Lf=a[6],this.Sd=!!a[7],this.Zk=new ur.OM(a[8],this),this.YA=a[9])}j(){this.Zk.j();this.Pf=this.Lc=this.Zk=null}Pd(){return this.Lc}Oe(){return this.wy}IF(a){this.wy=a}Rc(){return this.Ba}Mv(a){this.Ba=a}zF(a){this.DC=a}yF(a){this.BC= -a}hj(){return this.Ef}lk(a){this.Ef=a}Qc(){return this.Lf}Dl(a){this.Lf=a}zm(){return this.Sd}Eg(a){this.Sd=!!a}vE(){return!!this.YA}pa(){return{propertyKeyframeDataJson:this.Zk.pa(),sourceAdapterId:this.wy,sourceAdapterArguments:this.Pf,property:this.Kc,type:this.Ba,min:this.DC,max:this.BC,interpolationMode:this.Ef,resultMode:this.Lf,enabled:this.Sd,canHavePropertyKeyframes:this.YA}}ra(a){a&&(this.wy=a.sourceAdapterId,this.Pf=a.sourceAdapterArguments,this.Kc=a.property,this.Ba=a.type,this.DC=a.min, -this.BC=a.max,this.Ef=a.interpolationMode,this.Lf=a.resultMode,this.Sd=a.enabled,this.YA=a.canHavePropertyKeyframes,Up(this).ra(a.propertyKeyframeDataJson))}}function*Np(a){for(const b of a.lp)yield b}function Op(a){const b=new vr(null,a);a.lp.push(b);return b}function Sp(a,b){return Up(b).ic[0]}function Wp(a,b){b=Up(b).ic;const d=b.length;for(let c=0;c=a)return e}} -ur.PM=class{constructor(a,b){this.nb=b;this.lp=[];pr(this.lp,a,vr,this)}j(){this.nb=null;for(const a of this.lp)a.j();ur.D(this.lp);this.lp=null}ij(a){return Up(a).ic.at(-1)}Yz(a,b){b=Up(b).ic;const d=b.length;for(let c=0;ca.pa())}}ra(a){a&&qr(this.lp,a.propertyTrackDataItemsJson,vr,this)}};"use strict";const wr=self.B; -class xr{constructor(a,b){this.Bj=b;this.Bc=-1;this.Gk="noease";this.Hk=!1;this.Ix=this.ef=null;a&&(this.Bc=a[0],this.Gk=a[1],this.Hk=!!a[2],this.ef=(a=a[3])?a.split(" "):[],this.Ix=new Set(this.ef.map(d=>d.toLowerCase())),this.Ye=null)}j(){this.Bj=null;wr.D(this.ef);this.ef=null;this.Ix.clear();this.Ye=this.Ix=null}ki(){return this.Bj}Bs(a){this.Ye=a}wa(){return this.Bc}Dh(a){this.Bc=a;yr(this.Bj)}ao(){return this.Gk}dg(a){this.Gk=a}zm(){return this.Hk}Eg(a){this.Hk=!!a}Kv(a){this.ef=a?a.split(" "): -[];this.Ix=new Set(this.ef.map(b=>b.toLowerCase()))}pa(){return{time:this.Bc,ease:this.Gk,enable:this.Hk,tags:this.ef}}ra(a){a&&(this.Bc=a.time,this.Gk=a.ease,this.Hk=a.enable,this.ef=a.tags,this.Ix=new Set(this.ef.map(b=>b.toLowerCase())))}}function Pp(a){const b=new xr(null,a);a.$c.push(b);yr(a);return b}function zr(a,b){for(const d of a.$c){if(!b(d))continue;const c=a.$c.indexOf(d);-1!==c&&(d.j(),a.$c.splice(c,1))}Ar(a);yr(a)} -function yr(a){a.$c.sort((b,d)=>b.wa()-d.wa());for(let b=0;bb.wa()-d.wa())}wr.oM=class{constructor(a,b){this.nb=b;this.$c=[];pr(this.$c,a,xr,this);yr(this)}j(){this.nb=null;for(const a of this.$c)a.j();wr.D(this.$c);this.$c=null}pa(){return{keyframeDataItemsJson:this.$c.map(a=>a.pa())}}ra(a){a&&(qr(this.$c,a.keyframeDataItemsJson,xr,this),yr(this))}};"use strict";const Br=self.B; -function ap(a,b){if(a.zk){if(a.Rm||null===a.Rm)return a.Rm;var d=a.zk.Aq;if(!d)return a.Rm=null,a.Rm;var c=d.length;for(let e=0;ec.wa()-e.wa());for(var d=0;dc.wa()-e.wa());for(a=0;ab.wa()-d.wa())} -Br.OM=class{constructor(a,b){this.da=b;this.ic=[];this.kp=[];pr(this.ic,a,Cr,this);b=this.kp;var d=Cr;if(a)for(const c of a)or("create-including-disabled",c,b,d,this);Dr(this)}j(){this.da=null;for(const a of this.ic)a.j();Br.D(this.ic);this.ic=null;for(const a of this.kp)a.j();Br.D(this.kp);this.kp=null}ij(){return this.ic[this.ic.length-1]}Zz(){return this.kp}pa(){const a=this.kp;return{propertyKeyframeDataItemsJson:this.ic.map(b=>b.pa()),propertyKeyframeDataItemsIncludingDisabledJson:a.map(b=>b.pa())}}ra(a){a&& -(qr(this.ic,a.propertyKeyframeDataItemsJson,Cr,this),qr(this.kp,a.propertyKeyframeDataItemsIncludingDisabledJson,Cr,this),Dr(this))}};"use strict";const Fr=self.B;class Gr{constructor(a,b){this.zk=b;this.Ud=a[0];this.dn=a[1]}j(){this.dn=this.zk=null}vg(){return this.Ud}pa(){return{id:this.Ud,data:this.dn}}ra(a){a&&(this.Ud=a.id,this.dn=a.data)}} -class Hr extends Gr{constructor(a,b){super(a,b);this.zy=this.dn[0];this.Ay=!!this.dn[1];this.Iw=this.dn[2];this.sB=!!this.dn[3]}j(){super.j()}pa(){return Object.assign(super.pa(),{startAnchor:this.zy,startEnable:!!this.Ay,endAnchor:this.Iw,endEnable:!!this.sB})}ra(a){a&&(super.ra(a),this.zy=a.startAnchor,this.Ay=!!a.startEnable,this.Iw=a.endAnchor,this.sB=!!a.endEnable)}} -class Ir extends Gr{constructor(a,b){super(a,b);this.nH=this.dn[0];this.wJ=this.dn[1]}j(){super.j()}pa(){return Object.assign(super.pa(),{direction:this.nH,revolutions:this.wJ})}ra(a){a&&(super.ra(a),this.nH=a.direction,this.wJ=a.revolutions)}} -Fr.wS=class{constructor(a){this.Aq=[];pr(this.Aq,a,{MR:0,map:new Map([["cubic-bezier",Hr],["angle",Ir]])},this)}j(){for(const a of this.Aq)a.j();Fr.D(this.Aq);this.Aq=null}pa(){return{addonDataItemsJson:this.Aq.map(a=>a.pa())}}ra(a){a&&qr(this.Aq,a.addonDataItemsJson,{MR:"id",map:new Map([["cubic-bezier",Hr],["angle",Ir]])},this)}};"use strict";const Jr=self.B;let Kr=0;function Lr(a,b){a.Sx||(a.Sx=[]);a.Sx.push(b)} -function Mr(a,b,d){for(const c of a.Ya)for(const e of c.Ta)e.da.Kc===d&&(a=Sp(e.Pd(),e.da),a.me(b),Zp(a,b))}function Nr(a,b){for(const d of a.Ya)for(const c of d.Ta)if(c.da.Kc===b)return c}function Or(a,b){for(const e of b)b=Nr(a,e),Mr(a,b.mf(),e);if(gp(a)){var d=a.qc()-a.wa();a.Cs(d);for(var c of a.Ya)c.wA(d);kp(a,0)}else{c=a.wa();a.Cs(c);for(d of a.Ya)d.wA(c);kp(a,c)}a.Uc(!0)}function Pr(a,b,d){d=Nr(a,d);d=d.Pd().ij(d.da);d.Dh(a.qc());d.me(b);Zp(d,b)} -function Qr(a){for(const b of a.Ya){const d=c=>{c=c.wa();const e=a.qc();return 0!==c&&c!==e};zr(b.nb.ki(),d);b.Ez(d)}} -function Rr(a){var b=a.Me.Jb,d=new Jr.rN;if(a.json){d.ra(a.json.tweenDataItemJson);var c=new Jr.sq(d,b);c.ra(a.json);return c}b=new Jr.sq(d,b);Jr.ik(a.Tu)||(a.Tu=[a.Tu]);b.Ud=a.id;b.Kv(a.Tr);b.RB=a.Lu;b.gt=a.Uu;b.xA(a.loop);b.FF(a.Su);b.Cs(a.time);b.JF(0);b.lk("default");b.Dl(a.Tu[0].rm);b.GF(a.Rr);d=b.vL();d.xF(a.instance.Yb);d.lk("default");d.Dl(a.Tu[0].rm);d.Eg(!0);d.BF(a.instance.G().Ga());var e=a.instance.ma,g=e.xh()?e.zg():a.instance.m().J();e=e.xh()?e.yg():a.instance.m().I();d.DF(g);d.CF(e); -g=Pp(d.nb.ki());g.Dh(0);g.dg("noease");g.Eg(!0);g.Kv("");g=Pp(d.nb.ki());g.Dh(a.time);g.dg("noease");g.Eg(!0);g.Kv("");for(c of a.Tu)g=d.uL(),g.IF(c.Vu),g.da.Pf=c.m0,g.da.Kc=c.ug,g.nN(c.type),g.zF(NaN),g.yF(NaN),g.lk("default"),g.Dl(c.rm),g.Eg(!0),e=g.vz(),e.Mv(c.valueType),e.Dh(0),e.dg(c.Uj),e.Eg(!0),e.me(c.Yj),Zp(e,c.Yj),e=g.vz(),e.Mv(c.valueType),e.Dh(a.time),e.dg(c.Uj),e.Eg(!0),e.me(c.jf),Zp(e,c.jf),g.zb();return b} -Jr.sq=class extends Jr.to{constructor(a,b){super(`tween-${Kr++}`,a,b);this.Ud="";this.gt=!1;this.RB="start-value";this.xb=this.RP=this.Sx=this.Zc=null}QL(a){const b=Jr.A(Jr.Event,"tweenstatereleased");b.Dea=this;a.dispatchEvent(b)}Rc(){return 1}FL(){for(const a of up(this.kc.eq()))this.Ya.push(Jr.TF.La(this,a));this.xb=this.Ya[0]}vL(){var a=vp(this.kc.eq());a=Jr.TF.La(this,a);this.Ya.push(a);this.xb=this.Ya[0];return a}Fd(){return this.xb.Ta[0]}nN(){}Z(){var a=this.Ya;if(a&&a.length&&(this.xb=a=a[0])){var b= -a.Z();return a.Zb()?b:void 0}}vg(){return this.Ud}GM(){if(this.RP)for(const a of this.RP)a(this);if(!this.Pg)for(const a of this.Ya)a.$j()}PL(){if(!this.jn&&(this.jn=!0,this.Sx))for(const a of this.Sx)a(this)}Dh(a){Qr(this);super.Dh(a)}Pm(a){Jr.Dc(a)||(a=this.qc());this.hc=0>a?0:a>=this.qc()?this.qc():a;this.xb.mk()}Uc(a){if(!this.Po&&"current-state"===this.RB)for(const b of this.Ya)b.Zj();super.Uc(a)}hd(a=!1){super.hd(a);if(!this.Pg)for(const b of this.Ya)b.qq()}Sc(a=!0,b=!1){Qr(this);super.Sc(a, -b)}Wv(){if(this.ac)return!0;const a=this.Z();if(a&&a.G().nf())return!1;Mo(this.Jb,this);this.Sc(!1,!0);return!0}Re(a,b,d){this.Zc||(this.Zc=this.Z());if(!this.Zc||yp(this.Zc))this.hd(!0),this.Go=this.g.Zi;else if(b=this.Zc.Wd,-1!==b&&(a=d*b),0!==a||0!==this.Nt){this.Nt=a;d=this.hc+a*this.fd;a=this.kc.Dr;this.hc=0>d?0:d>=a?a:d;b=d=!1;var c=this.bq(),e=this.ls();c||e?c&&!e?0=a&&(this.Pm(0),b=!0):0>=this.hc&&(this.Pm(a),b=!0):!c&&e?0=a&&(kp(this,a),this.Ch(-1*this.fd), -b=!0,1===this.Ac?this.Be=this.hc&&(kp(this,0),this.Ch(-1*this.fd),b=!0,1===this.Ac?this.Be=a&&(kp(this,a),this.Ch(-1*this.fd),b=!0,this.Ac++,Jr.wrap(this.Ac,0,2)):0>=this.hc&&(kp(this,0),this.Ch(-1*this.fd),b=!0,this.Ac++,Jr.wrap(this.Ac,0,2))):0=a&&(this.Be=this.hc&&(this.Be< -this.li()?(this.Be++,this.Pm(a),b=!0):(kp(this,0),d=!0));d?(this.xb.Hv(),this.hd(!0),this.Go=this.g.Zi):(this.xb.Ha(this.hc,!0,!1,b,this.ig,!1),this.ig&&(this.ig=!1))}}pa(){const a=super.pa();return Object.assign(a,{tweenDataItemJson:this.kc.pa(),id:this.Ud,destroyInstanceOnComplete:this.gt,initialValueMode:this.RB})}ra(a){a&&(this.kc.ra(a.tweenDataItemJson),super.ra(a),this.Ud=a.id,this.gt=a.destroyInstanceOnComplete,this.RB=a.initialValueMode)}static IsPlaying(a){return a.IsPlaying()}static vv(a){return a.vv()}}; -"use strict";const Sr=self.B;function Tr(a){1===a.Ta.length?a.Nw=a.Ta[0]:(a.Nw=a.Ta[0],a.AJ=a.Ta[1])} -Sr.TF=class extends Sr.AA{constructor(a,b){super(a,b);this.AJ=this.Nw=null}static La(a,b){return Sr.A(Sr.TF,a,b)}EL(){for(const a of Np(this.nb.Pd()))this.Ta.push(Sr.SF.La(this,a));Tr(this)}uL(){var a=Op(this.nb.Pd());a=Sr.SF.La(this,a);this.Ta.push(a);Tr(this);return a}Uc(){Ap(this);if(this.Zb()||!dp(this)){var a=gp(this.bb())?0:this.Bm();for(const b of this.Ta)b.Uc(a),0===this.qg&&1===b.qg&&(this.qg=1),0===this.jc&&1===b.jc&&(this.jc=1);this.Wh=0;this.Ta.some(b=>b.Wh)&&(this.Wh=1);this.Vk=Fp(this, -a);this.Mo=this.$q=!1;this.Ha(a)}}Vp(){}Ha(a,b,d=!1,c=!1,e,g=!1,k=!1){this.Zc||this.Z();if(this.Zc){if(yp(this.Zc)||g&&this.G().nf())return!1;this.AJ?(this.Nw.Ha(a,d,c,k),this.AJ.Ha(a,d,c,k)):this.Nw.Ha(a,d,c,k);0!==this.Nw.qg&&(this.Sa||(this.Sa=this.Zc.m()),this.Sa&&wk(this.Sa))}}Up(){}ra(a){super.ra(a);Tr(this)}};"use strict";const Ur=self.B; -Ur.SF=class extends Ur.pb{constructor(a,b){super(a,b);this.lw=!1}static La(a,b){return Ur.A(Ur.SF,a,b)}Ha(a,b=!1,d=!1,c=!1){if(this.lw){var e=this.ic[0];var g=this.ic[1]}else{if(b)e=this.Lc.rh(a,this.da);else{if(this.zd){g=this.bb();const k=this.zd.Ye;e=this.zd.wa();g=k?k.wa():g.qc();if(a<=e||a>=g)this.zd=this.Lc.rh(a,this.da)}else this.zd=this.Lc.rh(a,this.da);e=this.zd}g=e.Ye}this.Of.Ha(a,e,g,b,d,c)}vz(){const a=Xp(Up(this.da));this.zd=null;this.lw=2>=Tp(this).length;return a}Ez(a){this.zd=null; -Yp(Up(this.da),a);this.lw=2>=Tp(this).length}pa(){return{sourceAdapterJson:this.zb().pa(),basic:this.lw}}ra(a){a&&(this.zb().ra(a.sourceAdapterJson),this.lw=a.basic)}};"use strict";const Vr=self.B,Wr=self.vm;function Xr(a){a.Zx.clear();for(let d=0;dthis.Ha(c,e,g,k))}static La(a){return Vr.A(Vr.RF,a)}j(){for(const a of this.Zh)a.j();Vr.D(this.Zh);this.Zh=null;this.Zx.clear();this.Zx=null;this.GQ.clear();this.GQ=null}Ha(a,b,d,c){var e=a/c;if(this.AP)return 0===c?b+d:Wr.bV(a,b,d,c); -0===c&&(e=1);a:{for(a=this.Zh.length-1;0<=a;a--)if(c=this.Zh[a],c.$h<=e){a=c;break a}a=void 0}c=a.Ye;if(!c){a:{for(a=this.Zh.length-1;0<=a;a--)if(c=this.Zh[a],c.$hthis.HA(b.instance)}j(){this.mF();if(this.Wi){for(const a of this.Wi.values())a.clear();this.Wi.clear()}this.g=this.Wi=null}La(a){this.Wi||(this.Wi=new Map);if(a){var b=a[0][16][0],d=a[1];this.Wi.has(d)||this.Wi.set(d,new Map);this.Wi.get(d).set(b,a)}}oE(){const a=this.g.fb();a&&a.addEventListener("instancedestroy",this.Et)}mF(){const a=this.g.fb();a&&a.removeEventListener("instancedestroy",this.Et)}HA(a){this.mn&& -this.mn.has(a)&&this.mn.delete(a)}};"use strict";const ds=self.B; -ds.uT=class{constructor(a){this.g=a;this.pt=new ds.tT;this.xj=new Map;this.Ae=null;this.No=[]}j(){this.pt.j();this.pt=null;ds.D(this.No);this.No=null;this.xj.clear();this.g=this.Ae=this.xj=null}F(){return this.g}La(a){this.pt.Kb(a)}QE(){return this.pt.QE()}pa(){return{flowchartJsonObjects:[...this.xj.values()].map(a=>a.pa()),currentFlowchartTag:this.Ae?this.Ae.Vi:null}}ra(a){if(a){var b=new Map;for(const k of a.flowchartJsonObjects){var d=k.flowchartTag;if(this.xj.has(d)){var c=this.xj.get(d);c.ra(k); -b.set(d,c)}else{a:{c=k.flowchartName;var e=k.startNodeTag;d=k.flowchartTag;var g=k.pluginUID;const l=this.pt.U(c);if(l)if(this.xj.has(d))console.warn(`[Flowcharts] there already is a flowchart with the tag '${d}'`);else{c=new ds.xT(c,d,e,l,this,g);this.xj.set(d,c);d=c;break a}else console.warn(`[Flowcharts] no flowchart found with name '${c}'`);d=void 0}b.set(k.flowchartTag,d)}}for(const [k,l]of this.xj.entries())b.has(k)||l.j();this.xj.clear();this.xj=b;(a=this.xj.get(a.currentFlowchartTag))&&a!== -this.Ae&&(this.Ae&&!this.Ae.vo()&&(b=this.Ae.Xz().Z(),this.Ae.zu++,this.No.push(this.Ae),this.g.oa(ds.C.ak.K.j6,b),this.No.pop(),Es(this.Ae)),(this.Ae=a)&&!this.Ae.vo()&&(a=this.Ae.Xz().Z(),this.Ae.zu++,this.No.push(this.Ae),this.g.oa(ds.C.ak.K.n6,a),this.g.oa(ds.C.ak.K.kV,a),this.g.oa(ds.C.ak.K.MV,a),this.No.pop(),Es(this.Ae)))}}};"use strict";const Fs=self.B;function Es(a){a.zu--;if(0===a.zu&&a.NI){var b=a.jg;a.NI=!0;0e=k);a.TC.push([b,d,c,e]);return g} -function*xt(a){if(yt(a.g))throw Error("should not be in breakpoint");const b=a.g.hb;for(;a.TC.length;){const [d,c,e,g]=a.TC.shift(),k=yield*a.Rv(b,d,c,e);g(k)}}async function zt(a){for(const b of xt(a))await ut(a.g,b)}function At(a){for(let b=0,d=a.length;bb.ny);for(const b of a)b.j()} -async function It(a){if(a.Yh.length){var b=a.Xf(),d=!1;a.Cn++;for(let c=0,e=a.Yh.length;c"promise"!==b.Ba).map(b=>b.pa())}function Mt(a){for(;a;)if(a=a.cq(),a instanceof jt.$p)return a;return null} -jt.lT=class extends jt.ua{constructor(a){super();this.g=a;this.Ks=[];this.aD=new Map;this.KG=[];this.IH=new Map;this.YG=new Map;this.cH=new Map;this.LA=new Map;this.RN=new Map;this.Jw=new Map;this.vZ=0;this.JG=[];this.hY=[];this.CP=[];this.xt=new Map;this.Cw=new Map;this.Td=jt.A(jt.mT,this);this.ae=jt.A(jt.WU,this);this.Xg=jt.A(jt.ZU,this);this.TJ=[];this.UC=[];this.TC=[];this.WA=this.Ce=this.Cn=0;this.Yh=[];this.Vm=[];self.c3_callFunction=(b,d)=>this.GA(b,d)}j(){to(this);this.Td.j();this.Td=null; -this.ae.j();this.ae=null;jt.D(this.UC);jt.D(this.TC);this.g=null;jt.D(this.Ks);this.aD.clear()}La(a){a=jt.A(jt.kT,this,a);this.Ks.push(a);this.aD.set(a.na().toLowerCase(),a)}$b(){for(var a of this.Cw.values())if(a.L&&a.L.Ka)for(var b of a.L.hn)if(Nt(b,a.xo)){a.NH=!0;break}for(const d of this.xt.values())d.$b();for(const d of this.Cw.values())d.$b();for(const d of this.Ks)d.$b();for(const d of this.Ks)jo(d);for(const d of this.TJ)d.$b(!1);jt.D(this.TJ);a=this.ae;a.SB=this.CP;b=a.SB.slice(0);a.vb.push(b); -a.qa=0;a.Dk=b}F(){return this.g}Ed(){return this.Td}Xf(){return at(this.Ed())}Tb(){return this.Xf().Tb()}qh(){const a=this.Xf();return Ot(a.Tb(),a.Ue)}bv(){const a=this.Xf();return Pt(a.Tb(),a.Se)}bw(a,b,d,c){let e=!1;if(!a.Za())return vt(this,b,d,c);this.Ce++;for(const g of zo(a))if(a=g.md){this.g.cn.push(g);for(const k of a.kB){const l=k.bw(b,d,c);e=e||l}a=a.bw(b,d,c);e=e||a;st(this.g)}this.Ce--;return e}*Rv(a,b,d,c){let e=!1;if(!a.Za())return vt(this,b,d,c);this.Ce++;for(const g of zo(a))if(a= -g.md){this.g.cn.push(g);for(const k of a.kB){const l=yield*k.Rv(b,d,c);e=e||l}a=yield*a.Rv(b,d,c);e=e||a;st(this.g)}this.Ce--;return e}pa(){const a={};for(var b of this.KG)a[b.eb.toString()]=b.ts();b={};for(const [e,g]of this.cH){var d=g.pa();d&&(b[e.toString()]=d)}d={};for(const [e,g]of this.LA){var c=g.pa();c&&(d[e.toString()]=c)}c={};for(const [e,g]of this.Jw)g.Bb||!g.nf()&&!g.Li||(c[e.toString()]=g.Gb());return{groups:a,cnds:b,acts:d,vars:c,waits:Lt(this)}}ra(a){var b=a.groups;for(const [e,g]of Object.entries(b))(b= -(b=this.YG.get(parseInt(e,10)))&&b.Qk?b:null)&&b.zs(g);b=a.cnds;var d=new Map;for(const [e,g]of Object.entries(b))d.set(parseInt(e,10),g);for(const [e,g]of this.cH)g.ra(d.get(e)||null);b=a.acts;d=new Map;for(const [e,g]of Object.entries(b))d.set(parseInt(e,10),g);for(const [e,g]of this.LA)g.ra(d.get(e)||null);b=a.vars;for(const [e,g]of Object.entries(b))(b=this.Jw.get(parseInt(e,10))||null)&&b.me(g);a=a.waits;to(this);for(const e of a){a:if(a=this.F(),d=this.YG.get(e.ev)||null){var c=0;if(e.hasOwnProperty("act")){b= -this.LA.get(e.act)||null;if(!b){a=null;break a}c=b.Ga()}b=Qt.A(Qt.gN,this);b.Bc=e.t;b.Ba=-1===b.Bc?"signal":"timer";b.oy=e.st;b.Jt=e.s;b.Ik=d;b.Se=c;for(const g of e.sm)(d=ao(a,g))&&b.Je.push(d);if(Array.isArray(e.dsm))for(const g of e.dsm)if(d=ao(a,g))b.Bf||(b.Bf=new Set),b.Bf.add(d);for(const [g,k]of Object.entries(e.sols))if(d=ao(a,parseInt(g,10)))c=Qt.A(Qt.qN,null),c.ra(this,k),b.yr.set(d,c);a=b}else a=null;a&&this.Yh.push(a)}}GA(a,b){Array.isArray(b)||(b=[]);a=this.xt.get(a.toLowerCase().toLowerCase())|| -null;if(!a)return null;if(!a.Qb())return Rt(a);var d=a.Rg;if(b.lengthb||b>=a.Gc.length)throw new RangeError("invalid condition index");return a.Gc[b]}function Pt(a,b){b=Math.floor(b);if(0>b||b>=a.sc.length)throw new RangeError("invalid action index");return a.sc[b]} -function cu(a,b){b.yf=a;const d=a.Gc;let c=0===d.length;for(let e=0,g=d.length;ed.Uf());b.oK=a.sc.every(d=>d.Uf());b.pK=a.Rj.every(d=>d.Uf());b.aR=b.$Q&&b.oK&&b.pK} -function su(a){return a.cf&&a.cf instanceof ju.$p||a.Gc.some(b=>b.jq())}function tu(a){a.jC=!0;a.zc&&tu(a.zc)}function uu(a){return a.Jc&&a.Jc.zR&&a.Jc.cz}function vu(a,b){b=Math.floor(b);return 0<=b&&be.U(0)),b.ae.Va(),Iu(a.cf,d)):Ju(a.cf,d):c&&b.ae.Va()} -function*Ku(a,b,d,c,e){let g,k;if(uu(a)||wu(a.g))yield a;const l=0a instanceof ju.Yu)}za(a){a.yf=this;this.aC||(a.Lo=!1);if(this.Fe){const d=this.Gc;let c=0===d.length;for(let e=0,g=d.length;ed=e);a.kw.set(b,{resolve:d,YK:0});return[b,c]} -function Nu(a,b){const d=a.kw.get(b);0===d.YK&&(d.resolve(),a.kw.delete(b));a.Aw=-1}function Xt(a,b){a.FH=0;a.Vq=b[0];a.$k=b[1];a.Rg=b[2].map(d=>Wt.Yu.La(a.md,a,d));a.mg=b[3];a.hI=b[4];a.Sg=b[5]}function Yt(a,b){a.FH=1;a.xo=b[1];a.L=fm(a.g,b[2]);qu(a.L,a.cd.Je);a.Vq=a.L.na()+"."+a.xo;a.$k=b[3];a.Rg=b[4].map(d=>Wt.Yu.La(a.md,a,d));a.mg=b[5];a.hI=b[6];a.Sg=b[7];a.L.gO.set(a.xo.toLowerCase(),a)}function Wu(a){return a.Rg.map(b=>b.Gb())}function Xu(a,b){a.Aw=b;a.kw.get(b).YK--} -function*Yu(a,b,d){var c=new Map,e=[];for(const g of a.L.aa().ta()){const k=g.G();if(Nt(k,a.xo)){const l=c.get(k);Array.isArray(l)?l.push(g):c.set(k,[g])}else e.push(g)}0this.me(e);this.BZ=()=>this.Gb();this.NO=!this.zc||this.Li||this.Bb;this.bd=this.Ab;this.KI=-1;2===this.Ba&&(this.bd=this.bd?1:0);this.nf()||this.Li||this.Bb||(c.CP.push(this.Ab),this.KI=c.vZ++);c.Jw.set(this.eb,this);this.nf()?c.JG.push(this): -c.hY.push(this)}static La(a,b,d){return Zu.A(Zu.Yu,a,b,d)}$b(){if(!(this.nf()||this.Li||this.Bb||this.cZ)){const a=Mt(this);a&&a.$H.push(this)}}na(){return this.Ia}dk(){return this.yx}Ca(){return this.zc}cq(){return this.Ca()}nf(){return!this.Ca()}jo(){return 0===this.Ba}oi(){return 1===this.Ba}kA(){return!1}Gd(){return $u}za(){this.nf()||this.Li||this.Bb||this.me(this.Ab)}Uf(){return!0}*ob(a){this.za(a)}me(a){this.jo()?"number"!==typeof a&&(a=parseFloat(a)):this.oi()?"string"!==typeof a&&(a=a.toString()): -2===this.Ba&&(a=a?1:0);this.NO?this.bd=a:this.ae.js()[this.KI]=a}Gb(){return this.NO?this.bd:this.ae.js()[this.KI]}};"use strict";const av=self.B,bv=[];function Pu(a){let b=a.Ca();for(;b;){if(b instanceof av.sl&&b.Qk&&!b.ts()){a.Ib=!1;return}b=b.Ca()}a.Ib=!0} -av.KL=class extends av.ua{constructor(a,b,d){super();const c=a.Aa();this.md=a;this.Ja=c;this.g=a.F();this.zc=b;this.bx=null;this.YY=d[1];this.Ib=!0}static La(a,b,d){return av.A(av.KL,a,b,d)}$b(){this.bx=this.Ja.aD.get(this.YY.toLowerCase())||null;this.md.lQ.push(this);let a=this.Ca();for(;a;)a instanceof av.sl&&a.Qk&&a.gB.push(this),a=a.Ca();Pu(this);this.g.Ob&&this.md.Yk.children.push(this.bx.Yk)}Ca(){return this.zc}Gd(){return bv}za(){const a=!!this.Ca(),b=this.g.jd;a&&Bt(b);this.bx.za();a&&Dt(b)}*ob(){const a= -!!this.Ca(),b=this.g.jd;a&&Bt(b);yield*this.bx.ob();a&&Dt(b)}Uf(){return!1}};"use strict";const cv=self.B;cv.es=class extends cv.ua{constructor(a){super();this.ub=a;this.g=a.F()}$b(){}};class dv extends cv.es{constructor(a,b){super(a);this.ge=this.g.ov();this.Qa=Vu(this.g,b[1]);if(this.Qa===cv.C.cb.Sb.random||this.Qa===cv.C.cb.Sb.$Z)this.ub.gf=!0}aq(){return ev(this.ge,this.Qa,this.ge)}} -class fv extends cv.es{constructor(a,b){super(a);this.vt=null;this.Vq=b[1];this.ub.gf=!0}$b(){const a=this.g.Aa();this.vt=a.xt.get(this.Vq.toLowerCase())||null;this.Vq=null;const b=this.vt.we();this.dH=[...(new Set([...this.ub.we().Qd(),...b.Qd()]))];this.dH=mt(a,this.dH)}aq(){const a=this.vt;if(a.Qb())return cv.sl.prototype.rF.bind(a.we(),this.dH,a.Sg,a.$k,Rt(a));const b=Rt(a);return()=>b}}function gv(a,b){if(a>=b)return a%b;0>a&&(a<=-b&&(a%=b),0>a&&(a+=b));return a} -function hv(a,...b){const d=a.L,c=Us(d.aa());var e=c.length;if(0===e)return a.gy?"":0;e=gv(a.ub.lu,e);at(a.Td).vB=d;return a.Qa.apply(c[e].ma,b)}class iv extends cv.es{constructor(a,b){super(a);this.L=fm(this.g,b[1]);this.Qa=Vu(this.g,b[2]);this.gy=!!b[3];this.Td=this.g.Aa().Ed();jv(this.ub,this.L)}aq(){return ev(this.L.ab(),this.Qa,this.L.fk().ma)}}function kv(a){const b=Us(a.L.aa()),d=b.length;return 0===d?a.gy?"":0:b[gv(a.ub.lu,d)].lg[a.QZ]} -class lv extends cv.es{constructor(a,b){super(a);this.L=fm(this.g,b[1]);this.QZ=b[3];this.gy=!!b[2];jv(this.ub,this.L)}}class mv extends cv.es{constructor(a,b){super(a);this.L=fm(this.g,b[1]);this.Ld=this.L.Os.get(b[2].toLowerCase())||null;this.qj=Mp(this.L,b[2]);this.Qa=Vu(this.g,b[3]);this.gy=!!b[4];this.Td=this.g.Aa().Ed();jv(this.ub,this.L)}}class nv extends cv.es{constructor(a,b){super(a);this.Mh=null;this.tH=b[1]}$b(){this.Mh=this.g.Aa().Jw.get(this.tH)||null}}"use strict";const ov=self.B; -function jv(a,b){a.gf||!b||b.ab().rn||(a.gf=!0)}ov.qf=class extends ov.ua{constructor(a,b,d){super();this.ub=a;this.qa=d;this.Ba=b;this.U=null;this.Bb=this.gf=!1}static La(a,b,d){const c=b[0];return ov.A([pv,qv,rv,sv,tv,vv,wv,pv,sv,sv,xv,yv,rv,zv,qv,Av,Bv,Cv,Dv,Ev,Fv,Gv][c],a,c,d,b)}$b(){}Ga(){return this.qa}F(){return this.ub.F()}we(){return this.ub.we()}};function Zt(a){a=self.LS[a];if(!a)throw Error("invalid expression number");return a} -function Hv(a,b){if(0>b||b>=a.eu.length)throw new RangeError("invalid numbered node");return a.eu[b]}class pv extends ov.qf{constructor(a,b,d,c){super(a,b,d);this.lu=0;a=c[1];this.uH=a[0];this.eu=[];this.Kw=null;for(let e=1,g=a.length;e[e[0].Yb,e[1].Yb,e[2]]));a[b]=c}return{ex:a}}ra(a){this.Xb&&(this.Xb.clear(),this.Xb=null);if(a){var b=this.g,d=a.ex;if(d){a=this.Dm();a.clear();for(const [c,e]of Object.entries(d))d=e,"collmemory"===c&&(d=Iv.A(Iv.Av,e.map(g=>[xp(b,g[0]),xp(b,g[1]),g[2]]).filter(g=>g[0]&&g[1]))),a.set(c,d)}}}};"use strict";const Tv=self.B; +self.B.pb.Fg=class{constructor(a){this.Rf=a;this.M=a.Id();this.Ta=this.M.xb.m();this.Mc=this.M.da.Mc;this.tt=!1;this.xu=this.Qj=null}j(){this.xu=this.Qj=this.Ta=this.M=this.Rf=null}Bl(){return!1}Lm(){}ul(){this.xu=this.Qj=this.Ta=null}zb(){return this.Rf}Id(){return this.M}m(){return this.Ta?this.Ta:this.Ta=this.M.xb.m()}rk(){}Uc(){}gg(){}Iz(){this.Qj=null}pf(){}bk(){}ck(){}AE(a){return typeof this.Pm()===typeof a}hs(){}$p(){}gs(){}yq(){return vq(this,()=>{const a=this.M.da;return Sp(this.M.Sd(), +a)},()=>{const a=this.M.da;return this.M.Sd().jj(a)}).oj}JA(){const a=this.M.bb().wa()-this.M.xb.Dg();return vq(this,()=>{const b=this.M.da;return this.M.Sd().uh(a,b)},()=>{const b=this.M.da,d=this.M.Sd(),c=Wp(a,b);return c?c:d.jj(b)}).oj}KA(){}ig(){return this.Rf.Ha()}pa(){return{firstAbsoluteUpdate:this.tt,saveState:this.Qj}}ra(a){a&&(this.tt=a.firstAbsoluteUpdate,this.Qj=a.saveState)}};"use strict";const Aq=self.B,Bq=new Map,Cq=[0,0,0]; +function Dq(a){return Aq.jq(a,Aq.lb)?a.toArray().slice(0,3):a.slice(0,3)}function Eq(a,b){a=Fq(a);b=Fq(b);return ec(a,b)}function Fq(a){return Aq.jq(a,Aq.lb)?a:new Aq.lb(a[0],a[1],a[2],1)}function Gq(a,b,d){a=Bq.get(a).get(b).get(d);a.tS=!0;return a.color} +class Hq extends Aq.pb.Fg{constructor(a){super(a)}rk(){}Uc(){}gg(){}pf(){const a=this.M.Pe(),b=xq(this),d=this.ig();switch(a){case "behavior":return Dq(b.Ec(d));case "effect":return Dq(b[d]);case "plugin":return Dq(b.Ec(d));case "world-instance":return Dq(this.Pm())}}bk(){const a=this.yq();return!Eq(a,this.Pm())}ck(){return Aq.sf(this.Qj)?!1:!Eq(this.Qj,this.Pm())}yq(){const a=super.yq();return Fq(a)}JA(){const a=super.JA();return Fq(a)}KA(){}AE(){return!0}Bl(){return!0}hs(){var a=this.M.bb(),b=this.M.Z(); +const d=this.M.zb();(a=fp(a,b,d,this.Mc,this.M))&&1e||(d=b[0],c=b[1],b=b[2],e=this.M.Ia(e,!1,!0),d=tc(d,e[0]), +c=tc(c,e[1]),b=tc(b,e[2]),Zb(Gq(a,g,this.Mc),d,c,b))}else this.Jl(b[0],b[1],b[2])}gs(){const a=this.M.Z();if(Bq.has(a)){var b=Bq.get(a),d=this.M.Pe();if(b.has(d)){var c=b.get(d);if(c.has(this.Mc)){var e=c.get(this.Mc),g=e.color;e.tS&&this.Jl(g.ib,g.mb,g.gb);0===c.size&&b.delete(d);0===b.size&&Bq.delete(a)}}}}Pm(){const a=this.M.Pe(),b=xq(this),d=this.ig();switch(a){case "behavior":return Fq(b.Ec(d));case "effect":return b[d].clone();case "plugin":return Fq(b.Ec(d));case "world-instance":return this.m().Xa.clone()}}Jl(a, +b,d){var c=this.M.Pe();const e=xq(this),g=this.ig();switch(c){case "behavior":Cq[0]=a;Cq[1]=b;Cq[2]=d;e.fg(g,Cq);break;case "effect":Yb(e[g],a,b,d);break;case "plugin":Cq[0]=a;Cq[1]=b;Cq[2]=d;e.fg(g,Cq);break;case "world-instance":c=this.m(),Yb(Iq,a,b,d),Jq(c,Iq)}}pa(){}ra(){}}Aq.pb.Fg.dT=Hq;"use strict";const Kq=self.B,Lq=Kq.pb; +class Mq extends Kq.pb.Fg{constructor(a){super(a)}rk(){}Uc(){}gg(){}pf(){return this.Pm()}bk(){return this.yq()!==this.pf()}ck(){return Kq.sf(this.Qj)?!1:this.Qj!==this.pf()}Bl(){return!1}$p(a,b){const d=this.M,c=d.xb,e=d.Pe();var g=d.bb();const k=c.Z(),l=d.zb();(g=fp(g,k,l,this.Mc,d))&&1{Pq.set(a,{qL:b,e_:d,O_:c,round:e,E_:g,init:k,reset:l})};Qq("offsetX",(a,b,d,c)=>{"relative"===c.M.Rc()?Rq(a,b,d.bb().hA()):Rq(a,b)},(a,b)=>a.Hh(b),a=>a.fa(),!0);Qq("offsetY",(a,b,d,c)=>{"relative"===c.M.Rc()?Sq(a,b,d.bb().hA()):Sq(a,b)},(a,b)=>a.xi(b),a=>a.ga(),!0); +Qq("offsetWidth",(a,b,d,c,e)=>{if(0!==b){var g=1===c.il.Sc();if(("relative"===c.M.Rc()||g)&&a.bg()&&Tq(a)){if(isNaN(c.Bk)){const l=[];for(var k=a.Ca();k;)l.push(k),k=k.Ca();l.reverse();k=(p,r)=>{if(r=rp(r.bb(),p.Z()))return r.Cg();r=p.Z().ma;return r.Bh()?r.Cg():Uq(p.Ea)};const n=(p,r,w,v=0)=>{p=rp(r.bb(),p.Z());if(!p)return v;w=p.Id(w);if(!w)return v;w=Up(w.da);return w?(w=w.jj())?w.Gb():v:v};if(g)g=l[l.length-1].K();else{let p=l[0];g=Uq(p.Ea)*p.Ea.tu;g+=n(p,d,"offsetWidth");g+=k(p,d)*n(p,d,"offsetScaleX"); +for(let r=1;ra.Ae(b),a=>a.K(),!0); +Qq("offsetHeight",(a,b,d,c,e)=>{if(0!==b){var g=1===c.il.Sc();if(("relative"===c.M.Rc()||g)&&a.bg()&&Vq(a)){if(isNaN(c.Bk)){const l=[];for(var k=a.Ca();k;)l.push(k),k=k.Ca();l.reverse();k=(p,r)=>{if(r=rp(r.bb(),p.Z()))return r.Bg();r=p.Z().ma;return r.Bh()?r.Bg():Wq(p.Ea)};const n=(p,r,w,v=0)=>{p=rp(r.bb(),p.Z());if(!p)return v;w=p.Id(w);if(!w)return v;w=Up(w.da);return w?(w=w.jj())?w.Gb():v:v};if(g)g=l[l.length-1].I();else{let p=l[0];g=Wq(p.Ea)*p.Ea.uu;g+=n(p,d,"offsetHeight");g+=k(p,d)*n(p,d,"offsetScaleY"); +for(let r=1;ra.Re(b),a=>a.I(),!0);Qq("offsetAngle",(a,b)=>{b=+b;0!==b&&a.po()&&(a.Wa=Yq.Ed(a.Wa+b),Zq(a))},(a,b)=>a.ae(b),a=>a.Da(),!1,!0); +Qq("offsetOpacity",(a,b,d,c)=>{b/=c.jJ?c.jJ:1;d=a.Qc()+b;0===c.ld?(1d&&(c.ld+=d),$q(a)?a.Ig(a.Ea.Zl+b):a.Ig(a.Qc()+b)):(a=a.Qc()+b,0c.ld?(c.ld+=b,0b&&0c.ld&&(c.ld=0)):0>b&&0>c.ld&&0>a&&(c.ld+=a))},(a,b)=>{a.Ig(b)},a=>a.Qc(),!1,!0,(a,b,d)=>{a.ld=0;switch(a.M.Rc()){case "relative":a.M.Sd();var c=Up(a.M.da).ic,e=a.m().Qc(),g=e;for(var k of c)g=k.wa(),g=a.M.$f(g),g=e+g,g=Oq.X(g,0,1);a.Cu=e-g;a.Cu=Math.round(100*(a.Cu+ +Number.EPSILON))/100;g=e;for(e=c.length-1;0<=e;e--)k=c[e].wa(),k=a.M.$f(k),g-=k,g=Oq.X(g,0,1);a.Bu=g;a.Bu=Math.round(100*(a.Bu+Number.EPSILON))/100}c=1===a.il.Sc();if(("relative"===a.M.Rc()||c)&&b.bg()&&$q(b)){c=[];for(b=b.Ca();b;)c.push(b),b=b.Ca();c.reverse();b=(l,n,p)=>{l=rp(n.bb(),l.Z());if(!l)return 0;p=l.Id(p);if(!p)return 0;p=Up(p.da);return p?(p=p.jj())?p.Gb():0:0};g=c[0].Ea.nD;g+=b(c[0],d,"offsetOpacity");for(e=1;e{switch(a.M.Rc()){case "relative":a.ld= +0;const b=a.m();let d=b.Qc();d=Math.round(100*(d+Number.EPSILON))/100;gp(a.M.bb())?(b.Ig(d+a.Cu),a.Wb=0):(b.Ig(d-a.Bu),a.Wb=$p(a.zb()))}});Qq("offsetOriginX",(a,b)=>{a.Lj+=+b},(a,b)=>{a.Lj=+b},a=>a.zg(),!1);Qq("offsetOriginY",(a,b)=>{a.Mj+=+b},(a,b)=>{a.Mj=+b},a=>a.Ag(),!1);Qq("offsetZElevation",(a,b)=>{a.uf(a.Na()+b)},(a,b)=>a.uf(b),a=>a.Na(),!0); +Qq("offsetScaleX",(a,b,d,c)=>{if(0!==b){var e=0>a.K()?-1:1;"relative"===c.M.Rc()&&a.bg()&&Tq(a)?(b*=d.Cg()*e,isNaN(c.Bk)&&Pq.get("offsetWidth").qL(a,1,d,c,!0),a.Cl(b/c.Bk,!0)):a.Cl(d.Cg()*e*b)}},(a,b,d)=>{a.Ae(d.Cg()*b)},(a,b)=>{const d=0>a.K()?-1:1;if(Tq(a)){var c=a.Ca(),e=rp(b.bb(),c.Z());e?c=c.K()/e.Cg():(e=c.Z().ma,c=e.Bh()?c.K()/e.Cg():1);return a.K()*d/(b.Cg()*c)}return a.K()*d/b.Cg()},!1); +Qq("offsetScaleY",(a,b,d,c)=>{if(0!==b){var e=0>a.I()?-1:1;"relative"===c.M.Rc()&&a.bg()&&Vq(a)?(b*=d.Bg()*e,isNaN(c.Bk)&&Pq.get("offsetHeight").qL(a,1,d,c,!0),Xq(a,b/c.Bk,!0)):Xq(a,d.Bg()*e*b)}},(a,b,d)=>{a.Re(d.Bg()*b)},(a,b)=>{const d=0>a.I()?-1:1;if(Vq(a)){var c=a.Ca(),e=rp(b.bb(),c.Z());e?c=c.I()/e.Bg():(e=c.Z().ma,c=e.Bh()?c.I()/e.Bg():1);return a.I()*d/(b.Bg()*c)}return a.I()*d/b.Bg()},!1); +function ar(a,b,d,c){var e=a.M.ij();e="default"===e?"continuous":e;if("discrete"!==e||d){if("discrete"===e&&c&&(d=a.M.bb().wa(),!a.M.dA(d)))return;d=xq(a);c=a.ig();e=a.m();var g=a.M.xb;switch(a.M.Pe()){case "behavior":d.fg(c,b);break;case "effect":d[c]=b;break;case "instance-variable":d.to(c,b);break;case "plugin":d.fg(c,b,mq(a.zb()));break;case "world-instance":a.kI(e,b,g);break;case "audio":a.BQ.call(a.zb(),e,b,g)}}} +function br(a,b,d,c){switch(a.M.da.Sc()){case "angle":b=Oq.lf(b)}var e=(b.toString().split(".")[1]||"").length;b=a.Pm();if(0===e)if(a.dD)e=Math.round(b);else if(a.DH)switch(a.M.da.Sc()){case "angle":e=Oq.Pa(Math.round(Oq.lf(b)));break;default:e=Math.round(100*(b+Number.EPSILON))/100}else e=b;else e=a.dD?Number(Oq.toFixed(b,e)):b;a.Jl(e-b,d,c)} +class cr extends Oq.pb.Fg{constructor(a){super(a);this.Bu=this.Cu=this.ld=this.Wb=0;this.Bk=this.jJ=NaN;this.BQ=this.DQ=this.CQ=this.eI=this.FJ=this.kI=this.mI=this.lI=null;this.DH=this.dD=!1;this.il=Oq.jq(this.M.bb(),Oq.vq)?new Oq.pb.Fg.qV(this):new Oq.pb.Fg.pV(this);const b=this.M.da.Mc;switch(this.M.Pe()){case "world-instance":a=Pq.get(b);this.lI=a.O_;this.mI=a.qL;this.kI=a.e_;this.dD=a.round;this.DH=a.E_;this.eI=a.init;this.FJ=a.reset;break;case "audio":this.CQ=a.lM,this.DQ=a.TW,this.BQ=a.BS, +this.dD=!0,this.DH=!1}}j(){this.kI=this.mI=this.lI=this.il=null;this.Bk=NaN;super.j()}Bl(){return this.il.Bl()}rk(){this.FJ&&this.FJ(this)}Uc(){var a=this.il.Uc();"number"===typeof a&&(this.Wb=a);this.eI&&(a=this.m(),this.eI(this,a,this.M.xb))}gg(){const a=this.il.gg();"number"===typeof a&&(this.Wb=a)}pf(){return this.Pm()}bk(){return this.yq()!==this.pf()}ck(){return Oq.sf(this.Qj)?!1:this.Qj!==this.pf()}hs(){this.il.hs()}$p(a,b,d,c,e,g,k,l){return this.il.$p(a,b,d,c,e,g,k,l)}gs(){this.il.gs()}Pm(){const a= +xq(this),b=this.ig(),d=this.m(),c=this.M.xb;switch(this.M.Pe()){case "behavior":return a.Ec(b);case "effect":return a[b];case "instance-variable":return Nq(a,b);case "plugin":return a.Ec(b);case "world-instance":return this.lI(d,c);case "audio":return this.CQ.call(this.zb(),d,c)}}Jl(a){var b=xq(this),d=this.ig(),c=this.m();const e=this.M.xb;switch(this.M.Pe()){case "behavior":b.mF(d,a);break;case "effect":b[d]+=a;break;case "instance-variable":if(0!==a){d|=0;b=b.og;if(0>d||d>=b.length)throw new RangeError("invalid instance variable"); +c=b[d];if("number"===typeof c)b[d]="number"===typeof a?b[d]+a:b[d]+parseFloat(a);else{if("boolean"===typeof c)throw Error("can not set offset of boolean variable");if("string"===typeof c)throw Error("can not set offset of string variable");throw Error("unknown instance variable type");}}break;case "plugin":b.mF(d,a,mq(this.zb()));break;case "world-instance":this.mI(c,a,e,this);break;case "audio":this.DQ.call(this.zb(),c,a,e,this)}}Ks(a,b,d,c,e,g,k,l){this.il.Ks(a,b,d,c,e,g,k,l)}pa(){return Object.assign(super.pa(), +{v:this.Wb,a:this.ld,fod:this.Cu,bod:this.Bu})}ra(a){a&&(super.ra(a),this.Wb=a.v,this.ld=a.a,this.Cu=Oq.Fc(a.fod)?a.fod:0,this.Bu=Oq.Fc(a.bod)?a.bod:0)}}Oq.pb.Fg.FM=cr;"use strict";class dr{constructor(a){this.zD=!1;this.bd=0;this.AH=this.YC=!1;this.Ua=a;for(let b=0,d=this.Ua.length;bvq(a,()=>0,()=>$p(a.zb())),()=>{})}gg(){}Bl(){switch(this.$e.Id().Rc()){case "relative":return!1;case "absolute":return!0}}hs(){var a=this.$e.Id();const b=a.da.Mc;switch(a.Rc()){case "absolute":if(a.Dq)a.Dq.Tc();else{const d=a.bb(),c=a.Z(),e=a.zb();(a=fp(d,c,e,b,a))&&1a||(p=p.$f(a),n.Nv(k),n.YC=l,n.zD=!0,n.oe(n.Gb()+(b-p)))}else ar(n,b,l,k)}}gs(){const a=this.$e;var b=this.$e.Id();switch(b.Rc()){case "absolute":b.Dq&&(b=b.Dq,b.zD&&ar(a,b.Gb(),b.YC,b.AH))}}Ks(a,b,d,c,e,g){const k=this.$e;c||(b&&a===b.wa()?br(k,bp(b),b,d):d&&a===d.wa()?br(k,bp(d),b,d):0===g-e&& +br(k,bp(b),b,d))}}self.B.pb.Fg.pV=er;"use strict"; +class fr{constructor(a){this.$e=a}j(){this.$e=null}Sc(){return 1}Uc(){const a=this.$e;a.tt=!0;return this.KA(a.yq())}gg(){const a=this.$e;if(a.yq()!==a.JA())return a.tt=!0,this.KA(a.JA())}Bl(){return!1}hs(){}$p(a,b,d,c,e,g,k){const l=this.$e,n=l.Wb;switch(l.Id().Rc()){case "relative":l.Jl(b-n,d,c);g&&this.Ks(a,d,c,e,n,b,!1,k);break;case "absolute":if(l.tt)l.tt=!1,l.Jl(n,d,c);else if(0===a&&0===l.Id().bb().qc())ar(l,b,!0,!1);else if(l.Jl(b-n,d,c),g){g=this.Ks;var p=this.$e;const w=p.m().Z();var r= +p.Id().F().Jb;p=0;for(const v of Do(r))if(0===v.Sc()){a:{for(const y of v.Ya)if(dp(y)&&w===y.Z()){r=!0;break a}r=!1}r&&p++}else 1===v.Sc()&&v.Z()===w&&p++;g.call(this,a,d,c,e,n,b,1>=p,k)}}l.Wb=b}gs(){}KA(a){return a-this.$e.pf()}Ks(a,b,d,c,e,g){const k=this.$e;c?b&&a===b.wa()?br(k,bp(b),b,d):d&&a===d.wa()?br(k,bp(d),b,d):d||br(k,bp(b),b,d):b&&a===b.wa()?br(k,bp(b),b,d):d&&a===d.wa()?br(k,bp(d),b,d):0===g-e&&br(k,bp(b),b,d)}}self.B.pb.Fg.qV=fr;"use strict";const gr=self.B,hr=self.wm; +gr.pb.Ev=class{constructor(){}static Nm(a,b,d,c){let e;switch(c){case "behavior":e=b.Ec(a);break;case "effect":e=b[a];break;case "instance-variable":e=Nq(b,a);break;case "plugin":e=b.Ec(a)}return e===d?!1:!0}static Ia(a,b,d,c){if(!d){var e=c.da;e=c.Sd().jj(e);return bp(e)}let g=c.ij();"default"===g&&(g="continuous");"combo"===c.da.Sc()&&(g="discrete");if("discrete"===g)return bp(b);if("continuous"===g||"step"===g){const l=c.bb().tv();"step"===g&&0!==l&&(e=1/l,a=Math.floor(a*e)/e);e=bp(b);const n= +bp(d),p=ap(b,"cubic-bezier"),r=ap(d,"cubic-bezier");var k=p&&p.Hy&&r&&r.xB;if(!k&&e===n)return e;const w=b.wa();d=d.wa();"step"===g&&0!==l&&(a=gr.X(a,w,d));a=gr.normalize(a,w,d);b=b.eo();k?(k=d-w,b=hr.Dm(b)(k*a,0,1,k),b=hr.Dm("cubicbezier")(b,e,e+p.Gy,n+r.Qw,n)):b=hr.Dm(b)((d-w)*a,e,n-e,d-w);return"integer"===c.da.Sc()?Math.floor(b):b}}};"use strict";const ir=self.B; +ir.pb.Dz=class{constructor(){}static Nm(a,b,d,c){let e;switch(c){case "behavior":e=b.Ec(a);break;case "effect":e=b[a];break;case "instance-variable":e=Nq(b,a);break;case "plugin":e=b.Ec(a)}return e===d?!1:!0}static Ia(a,b,d,c){if(!d)return b=c.da,b=c.Sd().jj(b),bp(b);var e=c.ij();"default"===e&&(e="continuous");"combo"===c.da.Sc()&&(e="discrete");if("discrete"===e)return bp(b);if("continuous"===e||"step"===e){var g=c.bb().tv();"step"===e&&0!==g&&(c=1/g,a=Math.floor(a*c)/c);const k=b.wa(),l=d.wa(); +c=bp(b);d=bp(d);"step"===e&&0!==g&&(a=ir.X(a,k,l));if(e=ap(b,"angle")){g=e.GJ;if(c===d&&0===g)return c;a=ir.normalize(a,k,l);b=self.wm.Dm(b.eo())(a,0,1,1);switch(e.vH){case "closest":return ir.uK(c,d,b,g);case "clockwise":return ir.g_(c,d,b,g);case "anti-clockwise":return ir.f_(c,d,b,g)}}else{if(c===d)return c;a=ir.normalize(a,k,l);b=self.wm.Dm(b.eo());return ir.uK(c,d,b(a,0,1,1))}}}};"use strict"; +self.B.pb.Fz=class{constructor(){}static Nm(a,b,d,c){let e;switch(c){case "behavior":e=b.Ec(a);break;case "effect":e=b[a];break;case "instance-variable":e=Nq(b,a);break;case "plugin":e=b.Ec(a)}return!!e===!!d?!1:!0}static Ia(a,b,d,c){return d?bp(b)?1:0:(a=c.da,a=c.Sd().jj(a),bp(a)?1:0)}};"use strict";const jr=self.B,kr=[0,0,0],lr=[0,0,0],mr=[0,0,0]; +jr.pb.Jz=class{constructor(){}static Nm(a,b,d,c){let e;switch(c){case "behavior":e=b.Ec(a);break;case "effect":e=b[a];break;case "instance-variable":e=Nq(b,a);break;case "plugin":e=b.Ec(a)}Array.isArray(d)?(kr[0]=d[0],kr[1]=d[1],kr[2]=d[2]):(ic(mr,d),kr[0]=Math.floor(255*mr.ib),kr[1]=Math.floor(255*mr.mb),kr[2]=Math.floor(255*mr.gb));Array.isArray(e)?(lr[0]=e[0],lr[1]=e[1],lr[2]=e[2]):(ic(mr,e),lr[0]=Math.floor(255*mr.ib),lr[1]=Math.floor(255*mr.mb),lr[2]=Math.floor(255*mr.gb));return kr[0]!==lr[0]|| +kr[1]!==lr[1]||kr[2]!==lr[2]?!0:!1}static Ia(a,b,d,c){if(!d)return b=c.da,b=c.Sd().jj(b),b=bp(b),kr[0]=b[0],kr[1]=b[1],kr[2]=b[2],kr;var e=c.ij();"default"===e&&(e="continuous");if("discrete"===e)return b=bp(b),kr[0]=b[0],kr[1]=b[1],kr[2]=b[2],kr;if("continuous"===e||"step"===e){var g=c.bb().tv();"step"===e&&0!==g&&(c=1/g,a=Math.floor(a*c)/c);c=b.wa();var k=d.wa(),l=bp(b);d=bp(d);"step"===e&&0!==g&&(a=jr.X(a,c,k));g=jr.normalize(a,c,k);a=l[0];e=l[1];l=l[2];const n=d[0],p=d[1];d=d[2];b=self.wm.Dm(b.eo()); +c=k-c;k=c*g;kr[0]=a===n?a:b(k,a,n-a,c);kr[1]=e===p?e:b(k,e,p-e,c);kr[2]=l===d?l:b(k,l,d-l,c);return kr}}};"use strict";self.B.pb.FA=class{constructor(){}static Nm(a,b,d,c){let e;switch(c){case "behavior":e=b.Ec(a);break;case "effect":e=b[a];break;case "instance-variable":e=Nq(b,a);break;case "plugin":e=b.Ec(a)}return e===d?!1:!0}static Ia(a,b,d,c){return d?bp(b):(a=c.da,a=c.Sd().jj(a),bp(a))}};"use strict";const nr=self.B; +function or(a,b,d,c,e){let g;if("function"===typeof c)switch(a){case "load":g=new c(null,e);break;case "create":g=new c(b,e);break;case "create-including-disabled":g=new c(b,e)}else if("object"===typeof c)switch(c=c.map.get(b[c.YR]),a){case "load":g=new c(null,e);break;case "create":g=new c(b,e);break;case "create-including-disabled":g=new c(b,e)}switch(a){case "load":g.ra(b);d.push(g);break;case "create":if("function"===typeof g.Am&&!g.Am()){g.j();break}d.push(g);break;case "create-including-disabled":d.push(g)}} +function pr(a,b,d,c){if(b)for(const e of b)or("create",e,a,d,c)}function qr(a,b,d,c){a.length?b.forEach((e,g)=>{a[g].ra(e)}):b.forEach(e=>{or("load",e,a,d,c)})}nr.sX=class{constructor(){this.Ny=new Map}j(){for(const a of this.Ny.values())a.j();this.Ny.clear();this.Ny=null}Kb(a){a=new nr.DN(a);this.Ny.set(a.na(),a)}U(a){return this.Ny.get(a)}};"use strict";const rr=self.B; +rr.DN=class{constructor(a){this.Ja="";this.Hr=NaN;this.Jy=0;this.Of=this.Hf="default";this.gy=this.Ox=!1;this.Br=1;this.bj=null;this.mD="";this.tD=!1;this.yD=!0;a&&(this.Ja=a[0],this.Hr=a[1],this.Jy=a[2],this.Hf=a[3],this.Of=a[4],this.Ox=!!a[6],this.gy=!!a[7],this.Br=a[8],this.mD=a[9],this.tD=!!a[10],this.yD=!!a[11],this.bj=new rr.EN(a[5],this))}j(){this.bj.j();this.bj=null}hq(){this.bj||(this.bj=new rr.EN(null,this));return this.bj}na(){return this.Ja}EA(a){this.Ja=a}qc(){return this.Hr}Gs(a){this.Hr= +a}tv(){return this.Jy}RF(a){this.Jy=a}ij(){return this.Hf}qk(a){this.Hf=a}Rc(){return this.Of}Fl(a){this.Of=a}fq(){return this.Ox}DA(a){this.Ox=a}qs(){return this.gy}NF(a){this.gy=a}ni(){return this.Br}OF(a){this.Br=a}SE(){return this.mD}hA(){return this.tD}UE(){return this.yD}pa(){return{trackDataJson:this.bj.pa(),name:this.Ja,totalTime:this.Hr,step:this.Jy,interpolationMode:this.Hf,resultMode:this.Of,loop:this.Ox,pingPong:this.gy,repeatCount:this.Br,startOnLayout:this.mD,transformWithSceneGraph:!!this.tD, +useSystemTimescale:this.yD}}ra(a){a&&(this.hq().ra(a.trackDataJson),this.Ja=a.name,this.Hr=a.totalTime,this.Jy=a.step,this.Hf=a.interpolationMode,this.Of=a.resultMode,this.Ox=a.loop,this.gy=a.pingPong,this.Br=a.repeatCount,this.mD=a.startOnLayout,this.tD=!!a.transformWithSceneGraph,this.yD=!!a.useSystemTimescale)}};"use strict";const sr=self.B; +class tr{constructor(a,b){this.bj=b;this.Kh=this.YB=null;this.Xl=this.Wl=NaN;this.Of=this.Hf="default";this.Vd=!1;this.Nc=this.Ej=null;this.pd="";this.iu=null;this.TJ=0;this.Nx=this.bj.kc.qc();this.Ba=0;this.Ja="";a&&(a[0]&&(this.YB=a[0],this.Wl=a[0][2],this.Xl=a[0][1]),this.Hf=a[1],this.Of=a[2],this.Vd=!!a[3],a[6]&&(this.pd=a[6]),a[7]&&(this.iu=a[7],this.TJ=a[7][0],this.Nx=a[7][1]),a[8]&&(this.Kh=a[8]),a[8]&&(this.Kh=a[8]),a[9]&&(this.Ba=a[9]),a[10]&&(this.Ja=a[10]),this.Ej=new sr.zM(a[4],this), +this.Nc=new sr.aN(a[5],this))}j(){this.bj=this.YB=null;this.Ej&&(this.Ej.j(),this.Ej=null);this.Nc&&(this.Nc.j(),this.Nc=null);this.iu=null}hq(){return this.bj}mi(){this.Ej||(this.Ej=new sr.zM(null,this));return this.Ej}Sd(){this.Nc||(this.Nc=new sr.aN(null,this));return this.Nc}PE(){return this.Xl}JF(a){this.Xl=a}rv(){return this.Wl}FF(a){this.Wl=a}ij(){return this.Hf}qk(a){this.Hf=a}Rc(){return this.Of}Fl(a){this.Of=a}Am(){return this.Vd}Hg(a){this.Vd=!!a}yg(){return this.pd}Dg(){return this.TJ}Cm(){return this.Nx}CA(a){this.Nx= +a}Cg(){return this.Kh[0]}LF(a){this.Kh||(this.Kh=[]);this.Kh[0]=a}Bg(){this.Kh||(this.Kh=[]);return this.Kh[1]}KF(a){this.Kh||(this.Kh=[]);this.Kh[1]=a}Sc(){return this.Ba}na(){return this.Ja}pa(){return{keyframeDataJson:this.Ej.pa(),propertyTrackDataJson:this.Nc.pa(),instanceData:this.YB,additionalInstanceData:this.Kh,instanceUid:this.Wl,objectClassIndex:this.Xl,interpolationMode:this.Hf,resultMode:this.Of,enabled:this.Vd,id:this.pd,nestedData:this.iu,type:this.Ba,name:this.Ja}}ra(a){a&&(this.YB= +a.instanceData,this.Wl=a.instanceUid,this.Xl=a.objectClassIndex,this.Hf=a.interpolationMode,this.Of=a.resultMode,this.Vd=a.enabled,this.pd=a.id,this.Ba=a.type?a.type:0,this.Ja=a.name?a.name:"",this.Nx=this.bj.kc.qc(),a.nestedData&&(this.iu=a.nestedData,this.TJ=this.iu[0],this.Nx=this.iu[1]),a.additionalInstanceData&&(this.Kh=a.additionalInstanceData),this.mi().ra(a.keyframeDataJson),this.Sd().ra(a.propertyTrackDataJson))}}function*up(a){for(const b of a.Dp)yield b} +function vp(a){const b=new tr(null,a);a.Dp.push(b);return b}function Gp(a,b){b=b.mi().$c;for(let d=b.length-1;0<=d;d--){const c=b[d];if(c.wa()<=a)return c}}sr.EN=class{constructor(a,b){this.kc=b;this.Dp=[];pr(this.Dp,a,tr,this)}j(){this.kc=null;for(const a of this.Dp)a.j();sr.D(this.Dp);this.Dp=null}pa(){return{trackDataItemsJson:this.Dp.map(a=>a.pa())}}ra(a){a&&qr(this.Dp,a.trackDataItemsJson,tr,this)}};"use strict";const ur=self.B;function Up(a){a.bl||(a.bl=new ur.$M(null,a));return a.bl} +class vr{constructor(a,b){this.Nc=b;this.Dy="";this.Ba=this.Mc=this.Sf=null;this.HC=this.JC=NaN;this.Of=this.Hf="default";this.Vd=!1;this.bl=null;this.dB=!0;a&&(this.Dy=a[0][0],this.Sf=a[0].slice(1),this.Mc=a[1],this.Ba=a[2],this.JC=a[3],this.HC=a[4],this.Hf=a[5],this.Of=a[6],this.Vd=!!a[7],this.bl=new ur.$M(a[8],this),this.dB=a[9])}j(){this.bl.j();this.Sf=this.Nc=this.bl=null}Sd(){return this.Nc}Pe(){return this.Dy}QF(a){this.Dy=a}Sc(){return this.Ba}Sv(a){this.Ba=a}HF(a){this.JC=a}GF(a){this.HC= +a}ij(){return this.Hf}qk(a){this.Hf=a}Rc(){return this.Of}Fl(a){this.Of=a}Am(){return this.Vd}Hg(a){this.Vd=!!a}BE(){return!!this.dB}pa(){return{propertyKeyframeDataJson:this.bl.pa(),sourceAdapterId:this.Dy,sourceAdapterArguments:this.Sf,property:this.Mc,type:this.Ba,min:this.JC,max:this.HC,interpolationMode:this.Hf,resultMode:this.Of,enabled:this.Vd,canHavePropertyKeyframes:this.dB}}ra(a){a&&(this.Dy=a.sourceAdapterId,this.Sf=a.sourceAdapterArguments,this.Mc=a.property,this.Ba=a.type,this.JC=a.min, +this.HC=a.max,this.Hf=a.interpolationMode,this.Of=a.resultMode,this.Vd=a.enabled,this.dB=a.canHavePropertyKeyframes,Up(this).ra(a.propertyKeyframeDataJson))}}function*Np(a){for(const b of a.op)yield b}function Op(a){const b=new vr(null,a);a.op.push(b);return b}function Sp(a,b){return Up(b).ic[0]}function Wp(a,b){b=Up(b).ic;const d=b.length;for(let c=0;c=a)return e}} +ur.aN=class{constructor(a,b){this.nb=b;this.op=[];pr(this.op,a,vr,this)}j(){this.nb=null;for(const a of this.op)a.j();ur.D(this.op);this.op=null}jj(a){return Up(a).ic.at(-1)}dA(a,b){b=Up(b).ic;const d=b.length;for(let c=0;ca.pa())}}ra(a){a&&qr(this.op,a.propertyTrackDataItemsJson,vr,this)}};"use strict";const wr=self.B; +class xr{constructor(a,b){this.Ej=b;this.Cc=-1;this.Jk="noease";this.Kk=!1;this.Px=this.ff=null;a&&(this.Cc=a[0],this.Jk=a[1],this.Kk=!!a[2],this.ff=(a=a[3])?a.split(" "):[],this.Px=new Set(this.ff.map(d=>d.toLowerCase())),this.Ze=null)}j(){this.Ej=null;wr.D(this.ff);this.ff=null;this.Px.clear();this.Ze=this.Px=null}mi(){return this.Ej}Fs(a){this.Ze=a}wa(){return this.Cc}Gh(a){this.Cc=a;yr(this.Ej)}eo(){return this.Jk}eg(a){this.Jk=a}Am(){return this.Kk}Hg(a){this.Kk=!!a}Qv(a){this.ff=a?a.split(" "): +[];this.Px=new Set(this.ff.map(b=>b.toLowerCase()))}pa(){return{time:this.Cc,ease:this.Jk,enable:this.Kk,tags:this.ff}}ra(a){a&&(this.Cc=a.time,this.Jk=a.ease,this.Kk=a.enable,this.ff=a.tags,this.Px=new Set(this.ff.map(b=>b.toLowerCase())))}}function Pp(a){const b=new xr(null,a);a.$c.push(b);yr(a);return b}function zr(a,b){for(const d of a.$c){if(!b(d))continue;const c=a.$c.indexOf(d);-1!==c&&(d.j(),a.$c.splice(c,1))}Ar(a);yr(a)} +function yr(a){a.$c.sort((b,d)=>b.wa()-d.wa());for(let b=0;bb.wa()-d.wa())}wr.zM=class{constructor(a,b){this.nb=b;this.$c=[];pr(this.$c,a,xr,this);yr(this)}j(){this.nb=null;for(const a of this.$c)a.j();wr.D(this.$c);this.$c=null}pa(){return{keyframeDataItemsJson:this.$c.map(a=>a.pa())}}ra(a){a&&(qr(this.$c,a.keyframeDataItemsJson,xr,this),yr(this))}};"use strict";const Br=self.B; +function ap(a,b){if(a.Ck){if(a.Sm||null===a.Sm)return a.Sm;var d=a.Ck.Eq;if(!d)return a.Sm=null,a.Sm;var c=d.length;for(let e=0;ec.wa()-e.wa());for(var d=0;dc.wa()-e.wa());for(a=0;ab.wa()-d.wa())} +Br.$M=class{constructor(a,b){this.da=b;this.ic=[];this.np=[];pr(this.ic,a,Cr,this);b=this.np;var d=Cr;if(a)for(const c of a)or("create-including-disabled",c,b,d,this);Dr(this)}j(){this.da=null;for(const a of this.ic)a.j();Br.D(this.ic);this.ic=null;for(const a of this.np)a.j();Br.D(this.np);this.np=null}jj(){return this.ic[this.ic.length-1]}eA(){return this.np}pa(){const a=this.np;return{propertyKeyframeDataItemsJson:this.ic.map(b=>b.pa()),propertyKeyframeDataItemsIncludingDisabledJson:a.map(b=>b.pa())}}ra(a){a&& +(qr(this.ic,a.propertyKeyframeDataItemsJson,Cr,this),qr(this.np,a.propertyKeyframeDataItemsIncludingDisabledJson,Cr,this),Dr(this))}};"use strict";const Fr=self.B;class Gr{constructor(a,b){this.Ck=b;this.pd=a[0];this.gn=a[1]}j(){this.gn=this.Ck=null}yg(){return this.pd}pa(){return{id:this.pd,data:this.gn}}ra(a){a&&(this.pd=a.id,this.gn=a.data)}} +class Hr extends Gr{constructor(a,b){super(a,b);this.Gy=this.gn[0];this.Hy=!!this.gn[1];this.Qw=this.gn[2];this.xB=!!this.gn[3]}j(){super.j()}pa(){return Object.assign(super.pa(),{startAnchor:this.Gy,startEnable:!!this.Hy,endAnchor:this.Qw,endEnable:!!this.xB})}ra(a){a&&(super.ra(a),this.Gy=a.startAnchor,this.Hy=!!a.startEnable,this.Qw=a.endAnchor,this.xB=!!a.endEnable)}} +class Ir extends Gr{constructor(a,b){super(a,b);this.vH=this.gn[0];this.GJ=this.gn[1]}j(){super.j()}pa(){return Object.assign(super.pa(),{direction:this.vH,revolutions:this.GJ})}ra(a){a&&(super.ra(a),this.vH=a.direction,this.GJ=a.revolutions)}} +Fr.IS=class{constructor(a){this.Eq=[];pr(this.Eq,a,{YR:0,map:new Map([["cubic-bezier",Hr],["angle",Ir]])},this)}j(){for(const a of this.Eq)a.j();Fr.D(this.Eq);this.Eq=null}pa(){return{addonDataItemsJson:this.Eq.map(a=>a.pa())}}ra(a){a&&qr(this.Eq,a.addonDataItemsJson,{YR:"id",map:new Map([["cubic-bezier",Hr],["angle",Ir]])},this)}};"use strict";const Jr=self.B;let Kr=0;function Lr(a,b){a.Zx||(a.Zx=[]);a.Zx.push(b)} +function Mr(a,b,d){for(const c of a.Ya)for(const e of c.Ua)e.da.Mc===d&&(a=Sp(e.Sd(),e.da),a.oe(b),Zp(a,b))}function Nr(a,b){for(const d of a.Ya)for(const c of d.Ua)if(c.da.Mc===b)return c}function Or(a,b){for(const e of b)b=Nr(a,e),Mr(a,b.pf(),e);if(gp(a)){var d=a.qc()-a.wa();a.Gs(d);for(var c of a.Ya)c.CA(d);kp(a,0)}else{c=a.wa();a.Gs(c);for(d of a.Ya)d.CA(c);kp(a,c)}a.Uc(!0)}function Pr(a,b,d){d=Nr(a,d);d=d.Sd().jj(d.da);d.Gh(a.qc());d.oe(b);Zp(d,b)} +function Qr(a){for(const b of a.Ya){const d=c=>{c=c.wa();const e=a.qc();return 0!==c&&c!==e};zr(b.nb.mi(),d);b.Lz(d)}} +function Rr(a){var b=a.Ne.Jb,d=new Jr.DN;if(a.json){d.ra(a.json.tweenDataItemJson);var c=new Jr.vq(d,b);c.ra(a.json);return c}b=new Jr.vq(d,b);Jr.lk(a.Yu)||(a.Yu=[a.Yu]);b.pd=a.id;b.Qv(a.Xr);b.WB=a.Qu;b.kt=a.Zu;b.DA(a.loop);b.NF(a.Xu);b.Gs(a.time);b.RF(0);b.qk("default");b.Fl(a.Yu[0].tm);b.OF(a.Vr);d=b.FL();d.FF(a.instance.Yb);d.qk("default");d.Fl(a.Yu[0].tm);d.Hg(!0);d.JF(a.instance.G().Ha());var e=a.instance.ma,g=e.Bh()?e.Cg():a.instance.m().K();e=e.Bh()?e.Bg():a.instance.m().I();d.LF(g);d.KF(e); +g=Pp(d.nb.mi());g.Gh(0);g.eg("noease");g.Hg(!0);g.Qv("");g=Pp(d.nb.mi());g.Gh(a.time);g.eg("noease");g.Hg(!0);g.Qv("");for(c of a.Yu)g=d.EL(),g.QF(c.$u),g.da.Sf=c.D0,g.da.Mc=c.wg,g.zN(c.type),g.HF(NaN),g.GF(NaN),g.qk("default"),g.Fl(c.tm),g.Hg(!0),e=g.Cz(),e.Sv(c.valueType),e.Gh(0),e.eg(c.Xj),e.Hg(!0),e.oe(c.ak),Zp(e,c.ak),e=g.Cz(),e.Sv(c.valueType),e.Gh(a.time),e.eg(c.Xj),e.Hg(!0),e.oe(c.kf),Zp(e,c.kf),g.zb();return b} +Jr.vq=class extends Jr.wo{constructor(a,b){super(`tween-${Kr++}`,a,b);this.pd="";this.kt=!1;this.WB="start-value";this.xb=this.cQ=this.Zx=this.Zc=null}aM(a){const b=Jr.A(Jr.Event,"tweenstatereleased");b.Uea=this;a.dispatchEvent(b)}Sc(){return 1}QL(){for(const a of up(this.kc.hq()))this.Ya.push(Jr.aG.Ma(this,a));this.xb=this.Ya[0]}FL(){var a=vp(this.kc.hq());a=Jr.aG.Ma(this,a);this.Ya.push(a);this.xb=this.Ya[0];return a}Id(){return this.xb.Ua[0]}zN(){}Z(){var a=this.Ya;if(a&&a.length&&(this.xb=a=a[0])){var b= +a.Z();return a.Zb()?b:void 0}}yg(){return this.pd}SM(){if(this.cQ)for(const a of this.cQ)a(this);if(!this.Sg)for(const a of this.Ya)a.ck()}$L(){if(!this.kn&&(this.kn=!0,this.Zx))for(const a of this.Zx)a(this)}Gh(a){Qr(this);super.Gh(a)}Qm(a){Jr.Fc(a)||(a=this.qc());this.hc=0>a?0:a>=this.qc()?this.qc():a;this.xb.rk()}Uc(a){if(!this.So&&"current-state"===this.WB)for(const b of this.Ya)b.bk();super.Uc(a)}jd(a=!1){super.jd(a);if(!this.Sg)for(const b of this.Ya)b.tq()}Tc(a=!0,b=!1){Qr(this);super.Tc(a, +b)}bw(){if(this.cc)return!0;const a=this.Z();if(a&&a.G().rf())return!1;Mo(this.Jb,this);this.Tc(!1,!0);return!0}Se(a,b,d){this.Zc||(this.Zc=this.Z());if(!this.Zc||yp(this.Zc))this.jd(!0),this.Jo=this.g.$i;else if(b=this.Zc.Yd,-1!==b&&(a=d*b),0!==a||0!==this.St){this.St=a;d=this.hc+a*this.fd;a=this.kc.Hr;this.hc=0>d?0:d>=a?a:d;b=d=!1;var c=this.fq(),e=this.qs();c||e?c&&!e?0=a&&(this.Qm(0),b=!0):0>=this.hc&&(this.Qm(a),b=!0):!c&&e?0=a&&(kp(this,a),this.Fh(-1*this.fd), +b=!0,1===this.Bc?this.Ce=this.hc&&(kp(this,0),this.Fh(-1*this.fd),b=!0,1===this.Bc?this.Ce=a&&(kp(this,a),this.Fh(-1*this.fd),b=!0,this.Bc++,Jr.wrap(this.Bc,0,2)):0>=this.hc&&(kp(this,0),this.Fh(-1*this.fd),b=!0,this.Bc++,Jr.wrap(this.Bc,0,2))):0=a&&(this.Ce=this.hc&&(this.Ce< +this.ni()?(this.Ce++,this.Qm(a),b=!0):(kp(this,0),d=!0));d?(this.xb.Nv(),this.jd(!0),this.Jo=this.g.$i):(this.xb.Ia(this.hc,!0,!1,b,this.lg,!1),this.lg&&(this.lg=!1))}}pa(){const a=super.pa();return Object.assign(a,{tweenDataItemJson:this.kc.pa(),id:this.pd,destroyInstanceOnComplete:this.kt,initialValueMode:this.WB})}ra(a){a&&(this.kc.ra(a.tweenDataItemJson),super.ra(a),this.pd=a.id,this.kt=a.destroyInstanceOnComplete,this.WB=a.initialValueMode)}static IsPlaying(a){return a.IsPlaying()}static Bv(a){return a.Bv()}}; +"use strict";const Sr=self.B;function Tr(a){1===a.Ua.length?a.Vw=a.Ua[0]:(a.Vw=a.Ua[0],a.KJ=a.Ua[1])} +Sr.aG=class extends Sr.GA{constructor(a,b){super(a,b);this.KJ=this.Vw=null}static Ma(a,b){return Sr.A(Sr.aG,a,b)}PL(){for(const a of Np(this.nb.Sd()))this.Ua.push(Sr.$F.Ma(this,a));Tr(this)}EL(){var a=Op(this.nb.Sd());a=Sr.$F.Ma(this,a);this.Ua.push(a);Tr(this);return a}Uc(){Ap(this);if(this.Zb()||!dp(this)){var a=gp(this.bb())?0:this.Cm();for(const b of this.Ua)b.Uc(a),0===this.sg&&1===b.sg&&(this.sg=1),0===this.jc&&1===b.jc&&(this.jc=1);this.Yh=0;this.Ua.some(b=>b.Yh)&&(this.Yh=1);this.Yk=Fp(this, +a);this.Po=this.er=!1;this.Ia(a)}}Yp(){}Ia(a,b,d=!1,c=!1,e,g=!1,k=!1){this.Zc||this.Z();if(this.Zc){if(yp(this.Zc)||g&&this.G().rf())return!1;this.KJ?(this.Vw.Ia(a,d,c,k),this.KJ.Ia(a,d,c,k)):this.Vw.Ia(a,d,c,k);0!==this.Vw.sg&&(this.Ta||(this.Ta=this.Zc.m()),this.Ta&&wk(this.Ta))}}Xp(){}ra(a){super.ra(a);Tr(this)}};"use strict";const Ur=self.B; +Ur.$F=class extends Ur.pb{constructor(a,b){super(a,b);this.vw=!1}static Ma(a,b){return Ur.A(Ur.$F,a,b)}Ia(a,b=!1,d=!1,c=!1){if(this.vw){var e=this.ic[0];var g=this.ic[1]}else{if(b)e=this.Nc.uh(a,this.da);else{if(this.Cd){g=this.bb();const k=this.Cd.Ze;e=this.Cd.wa();g=k?k.wa():g.qc();if(a<=e||a>=g)this.Cd=this.Nc.uh(a,this.da)}else this.Cd=this.Nc.uh(a,this.da);e=this.Cd}g=e.Ze}this.Rf.Ia(a,e,g,b,d,c)}Cz(){const a=Xp(Up(this.da));this.Cd=null;this.vw=2>=Tp(this).length;return a}Lz(a){this.Cd=null; +Yp(Up(this.da),a);this.vw=2>=Tp(this).length}pa(){return{sourceAdapterJson:this.zb().pa(),basic:this.vw}}ra(a){a&&(this.zb().ra(a.sourceAdapterJson),this.vw=a.basic)}};"use strict";const Vr=self.B,Wr=self.wm;function Xr(a){a.iy.clear();for(let d=0;dthis.Ia(c,e,g,k))}static Ma(a){return Vr.A(Vr.ZF,a)}j(){for(const a of this.ai)a.j();Vr.D(this.ai);this.ai=null;this.iy.clear();this.iy=null;this.SQ.clear();this.SQ=null}Ia(a,b,d,c){var e=a/c;if(this.MP)return 0===c?b+d:Wr.nV(a,b,d,c); +0===c&&(e=1);a:{for(a=this.ai.length-1;0<=a;a--)if(c=this.ai[a],c.bi<=e){a=c;break a}a=void 0}c=a.Ze;if(!c){a:{for(a=this.ai.length-1;0<=a;a--)if(c=this.ai[a],c.bithis.NA(b.instance)}j(){this.uF();if(this.Xi){for(const a of this.Xi.values())a.clear();this.Xi.clear()}this.g=this.Xi=null}Ma(a){this.Xi||(this.Xi=new Map);if(a){var b=a[0][16][0],d=a[1];this.Xi.has(d)||this.Xi.set(d,new Map);this.Xi.get(d).set(b,a)}}uE(){const a=this.g.fb();a&&a.addEventListener("instancedestroy",this.Jt)}uF(){const a=this.g.fb();a&&a.removeEventListener("instancedestroy",this.Jt)}NA(a){this.nn&& +this.nn.has(a)&&this.nn.delete(a)}};"use strict";const ds=self.B; +ds.FT=class{constructor(a){this.g=a;this.vt=new ds.ET;this.zj=new Map;this.Be=null;this.Qo=[]}j(){this.vt.j();this.vt=null;ds.D(this.Qo);this.Qo=null;this.zj.clear();this.g=this.Be=this.zj=null}F(){return this.g}Ma(a){this.vt.Kb(a)}XE(){return this.vt.XE()}pa(){return{flowchartJsonObjects:[...this.zj.values()].map(a=>a.pa()),currentFlowchartTag:this.Be?this.Be.Wi:null}}ra(a){if(a){var b=new Map;for(const k of a.flowchartJsonObjects){var d=k.flowchartTag;if(this.zj.has(d)){var c=this.zj.get(d);c.ra(k); +b.set(d,c)}else{a:{c=k.flowchartName;var e=k.startNodeTag;d=k.flowchartTag;var g=k.pluginUID;const l=this.vt.U(c);if(l)if(this.zj.has(d))console.warn(`[Flowcharts] there already is a flowchart with the tag '${d}'`);else{c=new ds.IT(c,d,e,l,this,g);this.zj.set(d,c);d=c;break a}else console.warn(`[Flowcharts] no flowchart found with name '${c}'`);d=void 0}b.set(k.flowchartTag,d)}}for(const [k,l]of this.zj.entries())b.has(k)||l.j();this.zj.clear();this.zj=b;(a=this.zj.get(a.currentFlowchartTag))&&a!== +this.Be&&(this.Be&&!this.Be.yo()&&(b=this.Be.cA().Z(),this.Be.Eu++,this.Qo.push(this.Be),this.g.oa(ds.C.dk.J.A6,b),this.Qo.pop(),es(this.Be)),(this.Be=a)&&!this.Be.yo()&&(a=this.Be.cA().Z(),this.Be.Eu++,this.Qo.push(this.Be),this.g.oa(ds.C.dk.J.E6,a),this.g.oa(ds.C.dk.J.wV,a),this.g.oa(ds.C.dk.J.YV,a),this.Qo.pop(),es(this.Be)))}}};"use strict";const fs=self.B;function es(a){a.Eu--;if(0===a.Eu&&a.YI){var b=a.mg;a.YI=!0;0e=k);a.ZC.push([b,d,c,e]);return g} +function*xt(a){if(yt(a.g))throw Error("should not be in breakpoint");const b=a.g.hb;for(;a.ZC.length;){const [d,c,e,g]=a.ZC.shift(),k=yield*a.Xv(b,d,c,e);g(k)}}async function zt(a){for(const b of xt(a))await ut(a.g,b)}function At(a){for(let b=0,d=a.length;bb.xy);for(const b of a)b.j()} +async function It(a){if(a.$h.length){var b=a.Zf(),d=!1;a.Dn++;for(let c=0,e=a.$h.length;c"promise"!==b.Ba).map(b=>b.pa())}function Mt(a){for(;a;)if(a=a.gq(),a instanceof jt.cq)return a;return null} +jt.wT=class extends jt.ua{constructor(a){super();this.g=a;this.Os=[];this.gD=new Map;this.TG=[];this.QH=new Map;this.fH=new Map;this.kH=new Map;this.RA=new Map;this.cO=new Map;this.Rw=new Map;this.JZ=0;this.SG=[];this.xY=[];this.OP=[];this.Bt=new Map;this.Jw=new Map;this.Wd=jt.A(jt.xT,this);this.de=jt.A(jt.hV,this);this.$g=jt.A(jt.kV,this);this.cK=[];this.$C=[];this.ZC=[];this.bB=this.De=this.Dn=0;this.$h=[];this.Wm=[];self.c3_callFunction=(b,d)=>this.MA(b,d)}j(){to(this);this.Wd.j();this.Wd=null; +this.de.j();this.de=null;jt.D(this.$C);jt.D(this.ZC);this.g=null;jt.D(this.Os);this.gD.clear()}Ma(a){a=jt.A(jt.vT,this,a);this.Os.push(a);this.gD.set(a.na().toLowerCase(),a)}ac(){for(var a of this.Jw.values())if(a.L&&a.L.La)for(var b of a.L.jn)if(Nt(b,a.Ao)){a.VH=!0;break}for(const d of this.Bt.values())d.ac();for(const d of this.Jw.values())d.ac();for(const d of this.Os)d.ac();for(const d of this.Os)io(d);for(const d of this.cK)d.ac(!1);jt.D(this.cK);a=this.de;a.XB=this.OP;b=a.XB.slice(0);a.vb.push(b); +a.qa=0;a.Gk=b}F(){return this.g}Hd(){return this.Wd}Zf(){return at(this.Hd())}Tb(){return this.Zf().Tb()}th(){const a=this.Zf();return Ot(a.Tb(),a.Ve)}kv(){const a=this.Zf();return Pt(a.Tb(),a.Te)}iw(a,b,d,c){let e=!1;if(!a.$a())return vt(this,b,d,c);this.De++;for(const g of zo(a))if(a=g.nd){this.g.dn.push(g);for(const k of a.qB){const l=k.iw(b,d,c);e=e||l}a=a.iw(b,d,c);e=e||a;st(this.g)}this.De--;return e}*Xv(a,b,d,c){let e=!1;if(!a.$a())return vt(this,b,d,c);this.De++;for(const g of zo(a))if(a= +g.nd){this.g.dn.push(g);for(const k of a.qB){const l=yield*k.Xv(b,d,c);e=e||l}a=yield*a.Xv(b,d,c);e=e||a;st(this.g)}this.De--;return e}pa(){const a={};for(var b of this.TG)a[b.eb.toString()]=b.xs();b={};for(const [e,g]of this.kH){var d=g.pa();d&&(b[e.toString()]=d)}d={};for(const [e,g]of this.RA){var c=g.pa();c&&(d[e.toString()]=c)}c={};for(const [e,g]of this.Rw)g.Bb||!g.rf()&&!g.Mi||(c[e.toString()]=g.Gb());return{groups:a,cnds:b,acts:d,vars:c,waits:Lt(this)}}ra(a){var b=a.groups;for(const [e,g]of Object.entries(b))(b= +(b=this.fH.get(parseInt(e,10)))&&b.Tk?b:null)&&b.Ds(g);b=a.cnds;var d=new Map;for(const [e,g]of Object.entries(b))d.set(parseInt(e,10),g);for(const [e,g]of this.kH)g.ra(d.get(e)||null);b=a.acts;d=new Map;for(const [e,g]of Object.entries(b))d.set(parseInt(e,10),g);for(const [e,g]of this.RA)g.ra(d.get(e)||null);b=a.vars;for(const [e,g]of Object.entries(b))(b=this.Rw.get(parseInt(e,10))||null)&&b.oe(g);a=a.waits;to(this);for(const e of a){a:if(a=this.F(),d=this.fH.get(e.ev)||null){var c=0;if(e.hasOwnProperty("act")){b= +this.RA.get(e.act)||null;if(!b){a=null;break a}c=b.Ha()}b=Qt.A(Qt.sN,this);b.Cc=e.t;b.Ba=-1===b.Cc?"signal":"timer";b.yy=e.st;b.Ot=e.s;b.Lk=d;b.Te=c;for(const g of e.sm)(d=ao(a,g))&&b.Ke.push(d);if(Array.isArray(e.dsm))for(const g of e.dsm)if(d=ao(a,g))b.Ef||(b.Ef=new Set),b.Ef.add(d);for(const [g,k]of Object.entries(e.sols))if(d=ao(a,parseInt(g,10)))c=Qt.A(Qt.CN,null),c.ra(this,k),b.Cr.set(d,c);a=b}else a=null;a&&this.$h.push(a)}}MA(a,b){Array.isArray(b)||(b=[]);a=this.Bt.get(a.toLowerCase().toLowerCase())|| +null;if(!a)return null;if(!a.Rb())return Rt(a);var d=a.Ug;if(b.lengthb||b>=a.Ic.length)throw new RangeError("invalid condition index");return a.Ic[b]}function Pt(a,b){b=Math.floor(b);if(0>b||b>=a.tc.length)throw new RangeError("invalid action index");return a.tc[b]} +function cu(a,b){b.Cf=a;const d=a.Ic;let c=0===d.length;for(let e=0,g=d.length;ed.Wf());b.yK=a.tc.every(d=>d.Wf());b.zK=a.Uj.every(d=>d.Wf());b.mR=b.lR&&b.yK&&b.zK} +function su(a){return a.df&&a.df instanceof ju.cq||a.Ic.some(b=>b.mq())}function tu(a){a.pC=!0;a.Ac&&tu(a.Ac)}function uu(a){return a.Lc&&a.Lc.LR&&a.Lc.jz}function vu(a,b){b=Math.floor(b);return 0<=b&&be.U(0)),b.de.Va(),Iu(a.df,d)):Ju(a.df,d):c&&b.de.Va()} +function*Ku(a,b,d,c,e){let g,k;if(uu(a)||wu(a.g))yield a;const l=0a instanceof ju.dv)}za(a){a.Cf=this;this.gC||(a.Oo=!1);if(this.Ge){const d=this.Ic;let c=0===d.length;for(let e=0,g=d.length;ed=e);a.rw.set(b,{resolve:d,hL:0});return[b,c]} +function Nu(a,b){const d=a.rw.get(b);0===d.hL&&(d.resolve(),a.rw.delete(b));a.Hw=-1}function Xt(a,b){a.NH=0;a.Zq=b[0];a.cl=b[1];a.Ug=b[2].map(d=>Wt.dv.Ma(a.nd,a,d));a.qd=b[3];a.pI=b[4];a.Vg=b[5]}function Yt(a,b){a.NH=1;a.Ao=b[1];a.L=fm(a.g,b[2]);qu(a.L,a.cd.Ke);a.Zq=a.L.na()+"."+a.Ao;a.cl=b[3];a.Ug=b[4].map(d=>Wt.dv.Ma(a.nd,a,d));a.qd=b[5];a.pI=b[6];a.Vg=b[7];a.L.tO.set(a.Ao.toLowerCase(),a)}function Wu(a){return a.Ug.map(b=>b.Gb())}function Xu(a,b){a.Hw=b;a.rw.get(b).hL--} +function*Yu(a,b,d){var c=new Map,e=[];for(const g of a.L.aa().ta()){const k=g.G();if(Nt(k,a.Ao)){const l=c.get(k);Array.isArray(l)?l.push(g):c.set(k,[g])}else e.push(g)}0this.oe(e);this.PZ=()=>this.Gb();this.$O=!this.Ac||this.Mi||this.Bb;this.bd=this.Ab;this.VI=-1;2===this.Ba&&(this.bd=this.bd?1:0);this.rf()||this.Mi||this.Bb||(c.OP.push(this.Ab),this.VI=c.JZ++);c.Rw.set(this.eb,this);this.rf()?c.SG.push(this): +c.xY.push(this)}static Ma(a,b,d){return Zu.A(Zu.dv,a,b,d)}ac(){if(!(this.rf()||this.Mi||this.Bb||this.qZ)){const a=Mt(this);a&&a.hI.push(this)}}na(){return this.Ja}gk(){return this.Fx}Ca(){return this.Ac}gq(){return this.Ca()}rf(){return!this.Ca()}mo(){return 0===this.Ba}pi(){return 1===this.Ba}qA(){return!1}Jd(){return $u}za(){this.rf()||this.Mi||this.Bb||this.oe(this.Ab)}Wf(){return!0}*ob(a){this.za(a)}oe(a){this.mo()?"number"!==typeof a&&(a=parseFloat(a)):this.pi()?"string"!==typeof a&&(a=a.toString()): +2===this.Ba&&(a=a?1:0);this.$O?this.bd=a:this.de.ns()[this.VI]=a}Gb(){return this.$O?this.bd:this.de.ns()[this.VI]}};"use strict";const av=self.B,bv=[];function Pu(a){let b=a.Ca();for(;b;){if(b instanceof av.vl&&b.Tk&&!b.xs()){a.Ib=!1;return}b=b.Ca()}a.Ib=!0} +av.VL=class extends av.ua{constructor(a,b,d){super();const c=a.Aa();this.nd=a;this.Ka=c;this.g=a.F();this.Ac=b;this.mx=null;this.lZ=d[1];this.Ib=!0}static Ma(a,b,d){return av.A(av.VL,a,b,d)}ac(){this.mx=this.Ka.gD.get(this.lZ.toLowerCase())||null;this.nd.xQ.push(this);let a=this.Ca();for(;a;)a instanceof av.vl&&a.Tk&&a.mB.push(this),a=a.Ca();Pu(this);this.g.Ob&&this.nd.al.children.push(this.mx.al)}Ca(){return this.Ac}Jd(){return bv}za(){const a=!!this.Ca(),b=this.g.kd;a&&Bt(b);this.mx.za();a&&Dt(b)}*ob(){const a= +!!this.Ca(),b=this.g.kd;a&&Bt(b);yield*this.mx.ob();a&&Dt(b)}Wf(){return!1}};"use strict";const cv=self.B;cv.ks=class extends cv.ua{constructor(a){super();this.ub=a;this.g=a.F()}ac(){}};class dv extends cv.ks{constructor(a,b){super(a);this.he=this.g.uv();this.Ra=Vu(this.g,b[1]);if(this.Ra===cv.C.cb.Qb.random||this.Ra===cv.C.cb.Qb.n_)this.ub.hf=!0}eq(){return ev(this.he,this.Ra,this.he)}} +class fv extends cv.ks{constructor(a,b){super(a);this.At=null;this.Zq=b[1];this.ub.hf=!0}ac(){const a=this.g.Aa();this.At=a.Bt.get(this.Zq.toLowerCase())||null;this.Zq=null;const b=this.At.xe();this.lH=[...(new Set([...this.ub.xe().Td(),...b.Td()]))];this.lH=mt(a,this.lH)}eq(){const a=this.At;if(a.Rb())return cv.vl.prototype.zF.bind(a.xe(),this.lH,a.Vg,a.cl,Rt(a));const b=Rt(a);return()=>b}}function gv(a,b){if(a>=b)return a%b;0>a&&(a<=-b&&(a%=b),0>a&&(a+=b));return a} +function hv(a,...b){const d=a.L,c=Us(d.aa());var e=c.length;if(0===e)return a.ny?"":0;e=gv(a.ub.qu,e);at(a.Wd).AB=d;return a.Ra.apply(c[e].ma,b)}class iv extends cv.ks{constructor(a,b){super(a);this.L=fm(this.g,b[1]);this.Ra=Vu(this.g,b[2]);this.ny=!!b[3];this.Wd=this.g.Aa().Hd();jv(this.ub,this.L)}eq(){return ev(this.L.ab(),this.Ra,this.L.ik().ma)}}function kv(a){const b=Us(a.L.aa()),d=b.length;return 0===d?a.ny?"":0:b[gv(a.ub.qu,d)].og[a.d_]} +class lv extends cv.ks{constructor(a,b){super(a);this.L=fm(this.g,b[1]);this.d_=b[3];this.ny=!!b[2];jv(this.ub,this.L)}}class mv extends cv.ks{constructor(a,b){super(a);this.L=fm(this.g,b[1]);this.Od=this.L.Ss.get(b[2].toLowerCase())||null;this.sj=Mp(this.L,b[2]);this.Ra=Vu(this.g,b[3]);this.ny=!!b[4];this.Wd=this.g.Aa().Hd();jv(this.ub,this.L)}}class nv extends cv.ks{constructor(a,b){super(a);this.Oh=null;this.BH=b[1]}ac(){this.Oh=this.g.Aa().Rw.get(this.BH)||null}}"use strict";const ov=self.B; +function jv(a,b){a.hf||!b||b.ab().sn||(a.hf=!0)}ov.tf=class extends ov.ua{constructor(a,b,d){super();this.ub=a;this.qa=d;this.Ba=b;this.U=null;this.Bb=this.hf=!1}static Ma(a,b,d){const c=b[0];return ov.A([pv,qv,rv,sv,tv,uv,vv,pv,sv,sv,wv,xv,rv,yv,qv,zv,Bv,Cv,Dv,Ev,Fv,Gv][c],a,c,d,b)}ac(){}Ha(){return this.qa}F(){return this.ub.F()}xe(){return this.ub.xe()}};function Zt(a){a=self.XS[a];if(!a)throw Error("invalid expression number");return a} +function Hv(a,b){if(0>b||b>=a.ju.length)throw new RangeError("invalid numbered node");return a.ju[b]}class pv extends ov.tf{constructor(a,b,d,c){super(a,b,d);this.qu=0;a=c[1];this.CH=a[0];this.ju=[];this.Sw=null;for(let e=1,g=a.length;e[e[0].Yb,e[1].Yb,e[2]]));a[b]=c}return{ex:a}}ra(a){this.Xb&&(this.Xb.clear(),this.Xb=null);if(a){var b=this.g,d=a.ex;if(d){a=this.Em();a.clear();for(const [c,e]of Object.entries(d))d=e,"collmemory"===c&&(d=Iv.A(Iv.Gv,e.map(g=>[xp(b,g[0]),xp(b,g[1]),g[2]]).filter(g=>g[0]&&g[1]))),a.set(c,d)}}}};"use strict";const Tv=self.B; function Uv(a,b){for(let d=0,c=a.length;d>8:0;this.Ld=this.L=this.Qa=null;this.qj=-1;this.ge=null;this.Ts="";this.Do=this.aH=null;this.ob=this.za=Wv;this.Fa=[];this.Db=[];this.Tm=!1;this.Sj=this.Xb=null;const c=(d=-3===b[0])?b[2]:b[5];this.Jc=a.Ob||d?{cz:c[0],sg:c[1],index:c[2]}:null;-1===b[0]?(this.ge=a.ov(),this.Qa=Vu(a,b[1])):-2===b[0]?this.Ts=b[1]:d?(this.Qa=Vu(a, -b[1]),this.za=this.sF,this.ob=this.dT,this.Js=1):(this.L=fm(a,b[0]),this.ca&4?(this.Ts=b[1],this.aH=fm(a,b[2])):(b[2]&&(this.Ld=this.L.Os.get(b[2].toLowerCase())||null,this.qj=Mp(this.L,b[2])),this.Qa=Vu(a,b[1])));if(7===b.length){b=b[6];for(var e of b)this.Fa.push(Tv.qf.La(this,e,this.Fa.length)),this.Db.push(0)}0===this.Fa.length&&(this.Db=this.Fa=Vv);0!==(this.ca&1)&&(e=this.cd,e.Je=e.g.jd,tu(this.cd));this.cd.Aa().LA.set(this.eb,this)}static La(a,b,d){return Tv.A(Tv.uz,a,b,d)}$b(){for(var a of this.Fa)a.$b(), -a.gf&&(this.Tm=!0);if(this.ge)this.Zv(this.ge,this.ge,this.uG),this.ob=this.bG;else if(this.Ts)this.ca&4?Yv(this):$v(this),this.Ts="",this.aH=null;else if(this.za===this.sF){a=this.Qa;const b=ot(this.cd);this.Qa=a.bind(null,this.g.Ok,b)}else this.Ld?this.ni()?(this.za=this.HN,this.ob=this.EX):(this.za=this.GN,this.ob=this.DX):this.L.ab().rn?(this.xG(),this.ob=this.aG):this.ni()?(this.za=this.KN,this.ob=this.IX):3===this.Js?(this.za=this.LN,this.ob=this.JX):this.Fa.length?this.Fa.every(b=>b.gf)?(this.za= -this.JN,this.ob=this.HX):this.Tm?(this.za=this.NN,this.ob=this.LX):this.Fa.every(b=>b.Bb)?(Uv(this.Fa,this.Db),this.za=this.sG,this.ob=this.CN):(this.za=this.MN,this.ob=this.KX):(this.za=this.sG,this.ob=this.CN)}xG(){const a=this.L.ab(),b=this.L.fk().ma;this.Zv(a,b,this.tG)}Zv(a,b,d){const c=this.Qa,e=this.Fa;if(0===e.length)this.za=ev(a,c,b);else if(1===e.length){const g=e[0];if(g.Bb)this.za=Ov(a,c,b,g.U(0));else{const k=ev(a,c,b);this.za=function(){return k(g.U(0))}}}else if(2===e.length){const g= -e[0],k=e[1];if(g.Bb&&k.Bb)this.za=Pv(a,c,b,g.U(0),k.U(0));else{const l=ev(a,c,b);this.za=function(){return l(g.U(0),k.U(0))}}}else if(3===e.length){const g=e[0],k=e[1],l=e[2];if(g.Bb&&k.Bb&&l.Bb)this.za=Qv(a,c,b,g.U(0),k.U(0),l.U(0));else{const n=ev(a,c,b);this.za=function(){return n(g.U(0),k.U(0),l.U(0))}}}else this.za=d}ni(){return 1===this.Js}G(){return this.L}we(){return this.cd}F(){return this.g}Ga(){return this.qa}UL(){return this.Jc.index}Uf(){return!Mv(this)&&!wu(this.g)&&!this.Jc.sg}Dm(){this.Xb|| -(this.Xb=new Map);return this.Xb}qv(){this.Sj||(this.Sj=new Map);return this.Sj}uG(){const a=this.Db;Uv(this.Fa,a);return this.Qa.apply(this.ge,a)}*bG(){if(Mv(this)||wu(this.g))yield this;if(this.Jc.sg){const a=this.Db;Uv(this.Fa,a);return yield*this.Qa.apply(this.ge,a)}return this.za()}tG(){const a=this.Db;Uv(this.Fa,a);return this.Qa.apply(this.L.fk().ma,a)}*aG(){if(Mv(this)||wu(this.g))yield this;if(this.Jc.sg){const a=this.Db;Uv(this.Fa,a);return yield*this.Qa.apply(this.L.fk().ma,a)}return this.za()}sG(){const a= -this.Db,b=this.L.aa().ta();for(let d=0,c=b.length;da.ka||0>a.ia||a.ba>b.J()||a.$>b.I()}function hw(a,b,d){const c=this.aa(),e=c.ta();if(!e.length)return!1;let g=e[0];var k=g.m();let l=g,n=aw.iR(k.fa(),k.ga(),b,d);for(let p=1,r=e.length;pn)n=k,l=g;$s(c,l);return!0}function iw(a){const b=this.m();b.fa()!==a&&(b.Eh(a),wk(b))}function jw(a){const b=this.m();b.ga()!==a&&(b.wi(a),wk(b))} -function kw(a,b){const d=this.m();if(d.fa()!==a||d.ga()!==b)d.El(a,b),wk(d)}function lw(a,b){if(a&&(a=mw(a,this.T))){var [d,c]=a.Am(b);b=this.m();if(b.fa()!==d||b.ga()!==c)b.El(d,c),wk(b)}}function ow(a){if(0!==a){var b=this.m();gn(b,pw(b)*a,qw(b)*a);wk(b)}}function rw(a,b){if(0!==b){var d=this.m();a=aw.Oa(a);gn(d,Math.cos(a)*b,Math.sin(a)*b);wk(d)}}function sw(){return this.m().fa()}function tw(){return this.m().ga()}function uw(){return vj(this.g,this.T)} -function vw(a,b){return aw.compare(this.m().J(),a,b)}function ww(a,b){return aw.compare(this.m().I(),a,b)}function xw(a){const b=this.m();b.J()!==a&&(b.ye(a),wk(b))}function yw(a){const b=this.m();b.I()!==a&&(b.Qe(a),wk(b))}function zw(a,b){const d=this.m();if(d.J()!==a||d.I()!==b)d.ec(a,b),wk(d)}function Aw(){return this.m().J()}function Bw(){return this.m().I()}function Cw(){return xk(this.m()).ba}function Dw(){return xk(this.m()).$}function Ew(){return xk(this.m()).ka} -function Fw(){return xk(this.m()).ia}function Gw(){const a=xk(this.m());return(a.ba+a.ka)/2}function Hw(){const a=xk(this.m());return(a.$+a.ia)/2}function Iw(a,b){return aw.Mr(this.m().Da(),aw.Oa(b))<=aw.Oa(a)}function Jw(a){return aw.rg(this.m().Da(),aw.Oa(a))}function Kw(a,b){a=aw.Oa(a);b=aw.Oa(b);const d=this.m().Da();return aw.rg(b,a)?aw.rg(d,a)&&!aw.rg(d,b):!(!aw.rg(d,a)&&aw.rg(d,b))}function Lw(a){const b=this.m();a=aw.Bd(aw.Oa(a));isNaN(a)||b.Da()===a||(b.Zd(a),wk(b))} -function Mw(a){if(!isNaN(a)&&0!==a){var b=this.m();b.Zd(b.Da()+aw.Oa(a));wk(b)}}function Nw(a){if(!isNaN(a)&&0!==a){var b=this.m();b.Zd(b.Da()-aw.Oa(a));wk(b)}}function Ow(a,b){const d=this.m(),c=d.Da();a=aw.lK(c,aw.Oa(b),aw.Oa(a));isNaN(a)||c===a||(d.Zd(a),wk(d))}function Pw(a,b,d){const c=this.m(),e=c.Da();b-=c.fa();d-=c.ga();a=aw.lK(e,Math.atan2(d,b),aw.Oa(a));isNaN(a)||e===a||(c.Zd(a),wk(c))} -function Qw(a,b){const d=this.m(),c=d.Da();a-=d.fa();b-=d.ga();b=Math.atan2(b,a);isNaN(b)||c===b||(d.Zd(b),wk(d))}function Rw(){return aw.kf(this.m().Da())}function Sw(a,b){return aw.compare(aw.SR(100*this.m().Oc()),a,b)}function Tw(){return this.m().Id()}function Uw(a){const b=this.m();a=2===a?!b.Id():0!==a;b.Id()!==a&&(b.Hg(a),this.g.N())}function Vw(a){a=aw.X(a/100,0,1);const b=this.m();if($q(b)){if(b.Ea.Yl===a)return}else if(b.Oc()===a)return;b.Fg(a);this.g.N()} -function Ww(a){hc(bw,a);a=this.m();ec(a.Xa,bw)||(Jq(a,bw),this.g.N())}function Xw(){const a=this.m().Xa;return aw.qA(a.ib,a.mb,a.gb,a.Wa)}function Yw(){return aw.SR(100*this.m().Oc())}function Zw(a){return a?this.m().O()===a:!1}function $w(a){const b=this.aa(),d=b.ta();if(!d.length)return!1;let c=d[0];for(let e=1,g=d.length;er||p===r&&yk(l)>yk(n))c=k}else if(p{Oc(v,F.instance)}));b=a.aa();k=c.aa().ta();l=null;for(let F=0;F{Oc(v,F.instance)}));b=a.aa();k=c.aa().ta();l=null;for(let F=0;Fa||2>b||!isFinite(a)||!isFinite(b)?(Xx(d),wk(d)):Yx(d,a,b)} -function Zx(a,b,d,c,e,g,k,l){const n=this.m();n.lN(a,b,{mode:0===d?"absolute":"relative",x:c,y:e,Tp:g,eS:k,iS:l})&&wk(n)}function $x(){const a=this.m();return ay(a)?by(a).Sl:0}function cy(){const a=this.m();return ay(a)?by(a).lm:0}function dy(a){const b=this.m();a=2===a?!b.Id():0!==a;b.Id()!==a&&b.Hg(a)}function ey(a,b){fy(this,"set-css-style",{prop:gy.NS(a),val:b})}function hy(a,b){fy(this,"set-attribute",{name:a,val:""+b})}function iy(a){fy(this,"remove-attribute",{name:a})} -function jy(){Bk(this,{focus:!0})}function ky(){Bk(this,{focus:!1})}function ly(){return this.rH}function my(a){ny(this,0!==a)}function oy(){return this.mg}function py(a,b,d){return aw.compare(Nq(this.Z(),a),b,d)}function qy(a){return!!Nq(this.Z(),a)}function ry(){return this.Z().os()} -function sy(a,b){const d=this.aa(),c=d.ta();if(!c.length)return!1;const e=this.Ka;let g=null,k=0;for(let n=0,p=c.length;nk)k=l,g=r}$s(d,g);return!0} -function ty(a){if(this.g.qh().Rk){{const c=this.aa();if(c.kb){c.kb=!1;Ss(c);var b=this.ta();for(let e=0,g=b.length;e{a.Jt=!0}).catch(d=>{console.warn("[C3 runtime] Promise rejected in 'Wait for previous actions to complete': ",d);a.Jt=!0})}function Ny(a,b){b.rG(a.Ik,a.Se);for(const [d,c]of a.yr.entries())c.rG(d.aa());a.Bf&&et(b,[...a.Bf]);if(b=a.Xm)Iu(b,a.Rg),b.$H.map((d,c)=>d.me(a.DH[c])),b.ni()&&Xu(b,a.jw)} -Qt.gN=class extends Qt.ua{constructor(a){super();this.Ja=a;this.Ba="";this.Bc=-1;this.oy="";this.Jt=!1;this.Ik=null;this.Se=0;this.Je=[];this.Bf=null;this.yr=new Map;this.Xm=null;this.jw=-1;this.DH=this.Rg=null;this.ny=!1}j(){this.Ba="";this.Bc=-1;this.oy="";this.DH=this.Rg=this.Xm=this.Ik=null;this.jw=-1;Qt.D(this.Je);this.Bf&&(this.Bf.clear(),this.Bf=null);for(const a of this.yr.values())a.j();this.yr.clear()}uk(){var a=this.Ja,b=a.F().jd,d=a.Xf();this.Ik=d.Tb();this.Se=d.Se+1;if(d=Mt(this.Ik))this.Xm= -d,this.Rg=Wu(d),this.DH=d.$H.map(c=>c.Gb()),d.ni()&&(d.kw.get(d.Aw).YK++,this.jw=d.Aw);for(const c of b)if(b=c.aa(),!b.kb||this.Ik.Je.includes(c))this.Je.push(c),this.yr.set(c,Qt.A(Qt.qN,b));a=Et(a);this.Bf=0d.eb),dsm:this.Bf?[...this.Bf].map(d=>d.eb):null,sols:a};vu(this.Ik,this.Se)&&(b.act=Pt(this.Ik,this.Se).eb);for(const [d,c]of this.yr)a[d.eb.toString()]= -c.pa();return b}};"use strict";const Py=self.B;Py.qN=class extends Py.ua{constructor(a){super();this.L=null;this.iC=!0;this.H=[];a&&(this.L=a.G(),this.iC=a.kb,Py.Dd(this.H,a.H))}j(){this.L=null;Py.D(this.H)}rG(a){a.kb=!!this.iC;Py.Dd(a.H,this.H)}nq(a){Py.ci(this.H,a)}pa(){return{sa:this.iC,insts:this.H.map(a=>a.Yb)}}ra(a,b){a=a.F();this.iC=!!b.sa;Py.D(this.H);for(const d of b.insts)(b=xp(a,d))&&this.H.push(b)}};"use strict";const Qy=self.B; -function Ry(a,b){let d=a.get(b);d||(d=new Map,a.set(b,d));return d}function ev(a,b,d){if(!d)throw Error("missing 'this' binding");let c=a.$N.get(b);if(c)return c;c=b.bind(d);a.$N.set(b,c);return c}function Ov(a,b,d,c){if(!d)throw Error("missing 'this' binding");a=Ry(a.rY,b);let e=a.get(c);if(e)return e;e=b.bind(d,c);a.set(c,e);return e}function Pv(a,b,d,c,e){if(!d)throw Error("missing 'this' binding");a=Ry(a.sY,b);a=Ry(a,c);let g=a.get(e);if(g)return g;g=b.bind(d,c,e);a.set(e,g);return g} -function Qv(a,b,d,c,e,g){if(!d)throw Error("missing 'this' binding");a=Ry(a.tY,b);a=Ry(a,c);a=Ry(a,e);let k=a.get(g);if(k)return k;k=b.bind(d,c,e,g);a.set(g,k);return k}function Sy(a,b){if(!a.rn)throw Error("must be single-global plugin");a.DJ=b} -Qy.kj=class extends Qy.ua{constructor(a){super();this.g=a.Me;this.rn=!!a.ER;this.Vd=!!a.N_;this.hZ=!!a.M_;this.qZ=!!a.Z_;this.UY=!!a.C_;this.zQ=!!a.q0;this.HZ=!!a.p0;this.cP=!!a.J_;this.DJ=null;this.$N=new Map;this.rY=new Map;this.sY=new Map;this.tY=new Map}j(){this.g=null}F(){return this.g}Fc(){}lo(){return this.hZ}xv(){return this.qZ}PE(){return this.UY}fk(){if(!this.rn)throw Error("must be single-global plugin");return this.DJ.fk()}};"use strict";const Ty=self.B; -function Uy(a,b,d){Vy(a.g,a.Ko,b,c=>{const e=a.aI.get(c.elementId);d(e,c)})}Ty.F8=class extends Ty.kj{constructor(a,b){super(a);this.Ko=b;this.tZ=0;this.aI=new Map;Uy(this,"elem-focused",d=>{d.rH=!0});Uy(this,"elem-blurred",d=>{d&&(d.rH=!1)})}j(){super.j()}};"use strict";const Wy=self.B; -Wy.Cl=class extends Wy.ua{constructor(a){super();this.L=a;this.g=a.F();this.Lj=a.ab()}j(){this.Lj=this.g=this.L=null}G(){return this.L}F(){return this.g}ab(){return this.Lj}oc(){return this.L.oc()}Fc(){}hs(){}sE(){}qE(){}mo(){}Fm(){}oA(){}hF(){}Zf(){return null}Fz(a,b,d){a=Wy.A(Wy.Event,a,b);a.TK=this;d&&Object.assign(a,d);this.G().nh(a)}};"use strict";const Xy=self.B;function Yy(a,b){for(const [d,c]of b)a.mE(d,c)}function Zy(a,b,d){$c(a.g,a.Ko,b,d)}function $y(a,b,d){return xj(a.g,a.Ko,b,d)} -function az(a,b,d){a.g.Bg()?Zy(a,b,d):window.c3_runtimeInterface._OnMessageFromRuntime({type:"event",component:a.Ko,handler:b,data:d,responseId:null})} -Xy.no=class extends Xy.ua{constructor(a,b){super();this.T=a;this.Ko=b;this.g=a.F();this.L=this.T.G();this.jb=this.L.jb;this.Hn=this.In=null;this.Tk=this.sn=!1;this.hg=null;this.Du=!1}j(){this.Du=!0;this.wo();this.Is();this.Hn=this.In=null;this.hg&&(this.hg.j(),this.hg=null);this.jb=this.L=this.g=this.T=null}vo(){return this.Du}Z(){return this.T}F(){return this.g}G(){return this.L}ab(){return this.jb.ab()}ns(){return Dj(this.T)}oa(a){return this.g.oa(a,this.T,null)}$d(a){return this.g.$d(a,this.T, -null)}mE(a,b){Vy(this.g,this.Ko,a,b)}Re(){}Ov(){}Ig(){this.sn||(this.In||(this.In=()=>this.Re()),this.g.fb().addEventListener("tick",this.In),this.sn=!0)}wo(){this.sn&&(this.g.fb().removeEventListener("tick",this.In),this.sn=!1)}KA(){this.Tk||(this.Hn||(this.Hn=()=>this.Ov()),this.g.fb().addEventListener("tick2",this.Hn),this.Tk=!0)}Is(){this.Tk&&(this.g.fb().removeEventListener("tick2",this.Hn),this.Tk=!1)}Tc(){return null}dc(){}Pc(){}Gg(){}eF(a,b,d){if(0!==b){var c=this.Pc(a);if("number"!==typeof c)throw Error("expected number"); -this.Gg(a,c+b,d)}}Zf(){return null}Fz(a,b,d){if(this.T.oe){var c=this.ns();a=Xy.A(Xy.Event,a,b);a.instance=c;d&&Object.assign(a,d);c.dispatchEvent(a)}}};"use strict";const bz=self.B;function cz(a){if(!a.ju){a.ju=()=>a.xs();a.WC=()=>a.FM();var b=a.g.fb();b.addEventListener("renderercontextlost",a.ju);b.addEventListener("renderercontextrestored",a.WC)}} -bz.Ev=class extends bz.no{constructor(a,b){super(a,b);this.Sa=a.m();this.WC=this.ju=null}j(){if(this.ju){const a=this.g.fb();a.removeEventListener("renderercontextlost",this.ju);a.removeEventListener("renderercontextrestored",this.WC);this.WC=this.ju=null}this.Sa=null;super.j()}xs(){}FM(){}m(){return this.Sa}xh(){return!1}zg(){if(!this.xh())throw Error("original size not known");const a=this.ji();if(a)return a.J()}yg(){if(!this.xh())throw Error("original size not known");const a=this.ji();if(a)return a.I()}ji(){return null}Rz(){var a= -this.ji();return a&&(a=a.Hd())?[a.J(),a.I()]:[100,100]}Sz(){const a=this.ji();return a?a.$f():null}jA(){const a=this.ji();return a?a.To:!1}Am(){const a=this.T.m();return[a.fa(),a.ga(),Vm(a)]}pq(){return!0}};"use strict";const gy=self.B,dz=gy.A(gy.Rect);function fy(a,b,d){d||(d={});d.elementId=a.rB;Zy(a,b,d)}function Bk(a,b){b||(b={});b.elementId=a.rB;az(a,"focus",b)}function ez(a,b){b=!!b;a.aP!==b&&(a.aP=b,fy(a,"set-visible",{isVisible:b}))} -gy.E8=class extends gy.Ev{constructor(a,b){super(a,b);a=this.ab();b=a.tZ++;a.aI.set(b,this);this.rB=b;this.aP=!0;this.kY=this.rH=!1;this.lY=-.2;this.Qt=gy.A(gy.Rect,0,0,-1,-1);a=this.g.W;this.wP=a.Lp;this.vP=a.Kp;this.rP=this.qP=-1;this.Ig()}j(){this.ab().aI.delete(this.rB);fy(this,"destroy");this.rB=-1;super.j()}Re(){if(!yp(this.Z())){var a=this.m(),b=a.O(),d=xk(a),[c,e]=an(b,d.ba,d.$),[g,k]=an(b,d.ka,d.ia);d=this.g.W;var l=d.yc,n=d.fc;if(a.Id()&&b.Id()){const p=this.g.W.Uz();("Android"!==gy.V.Jd|| -"scale-inner"!==p&&"scale-outer"!==p&&"crop"!==p)&&(0>=g||0>=k||c>=l||e>=n)?ez(this,!1):(dz.set(c,e,g,k),l=d.Lp,n=d.Kp,d=b.Ww,Jm(a.Cj),a=a.PO,dz.Cd(this.Qt)&&this.wP===l&&this.vP===n&&this.qP===d&&this.rP===a?ez(this,!0):(this.Qt.xa(dz),this.wP=l,this.vP=n,this.qP=d,this.rP=a,ez(this,!0),l=null,this.kY&&(l=b.bk()+this.lY),fy(this,"update-position",{left:Math.round(this.Qt.ba),top:Math.round(this.Qt.$),width:Math.round(this.Qt.width()),height:Math.round(this.Qt.height()),htmlIndex:d,htmlZIndex:a,fontSize:l})))}else ez(this, -!1)}}};"use strict";const fz=self.B,Ik=self.fU;fz.cN=class extends fz.ua{constructor(a){super();this.g=a.Me;this.TI=fz.A(fz.rE);this.EC=fz.A(fz.rE);this.Xw=null;this.CZ=a.dea||null}j(){this.EC.j();this.TI.j();this.g=null}F(){return this.g}Fc(){}ZL(){return Qc(this.TI)}xi(a){this.EC.Kb(a)}wq(a){this.EC.Yn(a)}ta(){return Qc(this.EC)}};"use strict";const gz=self.B; -gz.eN=class extends gz.ua{constructor(a){super();this.g=a.F();this.Ld=a;this.L=a.G();this.Ck=a.Zn();this.Ck.TI.Kb(this.L)}j(){this.Ck=this.L=this.Ld=this.g=null}Fc(){}ph(){return this.Ld}G(){return this.L}F(){return this.g}Zn(){return this.Ck}};"use strict";const hz=self.B; -hz.dN=class extends hz.ua{constructor(a){super();this.ow=a;this.Ko=void 0;this.T=a.T;this.g=a.F();this.Ld=a.ph();this.jb=this.Ld.jb;this.gP=this.Tk=this.sn=!1;this.hg=null}j(){this.wo();this.Is();this.gP&&(this.g.Eq.Ah(this),this.gP=!1);this.hg&&(this.hg.j(),this.hg=null);this.jb=this.Ld=this.g=this.T=this.ow=null}Zn(){return this.Ld.Zn()}G(){return this.T.G()}m(){return this.T.m()}F(){return this.g}ph(){return this.Ld}ns(){return this.ow.ns()}oa(a){return this.g.oa(a,this.T,this.Ld)}$d(a){return this.g.$d(a, -this.T,this.Ld)}Re(){}Ov(){}Ig(){this.sn||(this.g.Bo.Kb(this),this.sn=!0)}wo(){this.sn&&(this.g.Bo.Ah(this),this.sn=!1)}KA(){this.Tk||(this.g.Co.Kb(this),this.Tk=!0)}Is(){this.Tk&&(this.g.Co.Ah(this),this.Tk=!1)}mE(a,b){Vy(this.g,this.Ko,a,b)}Tc(){return null}dc(){}Pc(){}Gg(){}eF(a,b){if(0!==b){var d=this.Pc(a);if("number"!==typeof d)throw Error("expected number");this.Gg(a,d+b)}}Zf(){return null}Fz(a,b,d){if(this.ow.oe){var c=this.ns();a=hz.A(hz.Event,a,b);a.xba=c;a.instance=c.instance;d&&Object.assign(a, -d);c.dispatchEvent(a)}}};"use strict";const iz=self.B;iz.C={};iz.Pb={};function jz(a,b){const d=Vu(a.g,b[0]);if(!d)throw Error("missing plugin");iz.rS(b,d);b=iz.A(d,{Me:a.g,ER:b[1],N_:b[2],M_:b[5],C_:b[8],Z_:b[9],q0:b[13],p0:b[14],J_:b[17]});b.Fc();a.iY.push(b);a.lJ.set(d,b)}function kz(a){a.ge=iz.A(iz.C.cb,{Me:a.g,ER:!0});a.ge.Fc()}iz.$V=class extends iz.ua{constructor(a){super();this.g=a;this.iY=[];this.lJ=new Map;this.ge=null;this.fY=[];this.WG=new Map;this.lP=this.oQ=null}ov(){return this.ge}}; -"use strict";const lz=self.B,mz=new Set;function nz(a){a.Fq&&(URL.revokeObjectURL(a.Fq),a.Fq="")}function oz(a,b){a.jm=b[0];a.ku=b[1];a.mr=b[2];a.nr=b[3];a.P=b[4];a.R=b[5];a.To=b[6];a.Uw=!0}function pz(a,b,d){if(a.pe)throw Error("already got asset");d=Object.assign({},d,{url:a.jm,size:a.bo()});a.pe=b.mA(d)} -async function qz(a,b){b||(b=await zl(a.pe));const d=lz.ii(a.P,a.R),c=d.getContext("2d");a.To?(c.rotate(Math.PI/-2),c.translate(-a.R,0),c.drawImage(b,a.mr,a.nr,a.R,a.P,0,0,a.R,a.P)):c.drawImage(b,a.mr,a.nr,a.P,a.R,0,0,a.P,a.R);return d}async function rz(a,b){if(a.Fq)return a.Fq;b=await qz(a,b);b=await lz.Az(b);a.Fq=URL.createObjectURL(b);return a.Fq} -lz.fA=class extends lz.ua{constructor(){super();this.GH=0;this.jm="";this.R=this.P=this.nr=this.mr=this.ku=0;this.Uw=this.To=!1;this.pe=null;this.gm="";this.Ui=lz.A(lz.Rect);this.rr=lz.A(lz.Kd);this.Fq="";new self.cM(this);mz.add(this)}j(){this.kk();this.pe=null;mz.delete(this);nz(this)}static xs(){for(const a of mz)a.gm="",a.Ui.set(0,0,0,0),a.rr.pl(a.Ui)}bo(){return this.ku}J(){return this.P}I(){return this.R}aF(){return this.pe&&this.pe.aF()}async vs(a,b){if(!this.pe)throw Error("no asset");if(this.gm)throw Error("already loaded texture"); -var d=this.GH;this.gm="loading";a=await this.pe.vs(a,b);if(this.GH!==d)return null;if(!a)return this.gm="",null;this.gm="loaded";this.Uw||(this.P=a.J(),this.R=a.I(),this.Uw=!0);this.Ui.set(this.mr,this.nr,this.mr+(this.To?this.R:this.P),this.nr+(this.To?this.P:this.R));this.Ui.dj(a.J(),a.I());this.rr.pl(this.Ui);if(this.To){d=this.rr;b=d.yb;const c=d.wb;d.yb=d.cc;d.wb=d.mc;d.cc=d.wc;d.mc=d.xc;d.wc=d.uc;d.xc=d.vc;d.uc=b;d.vc=c}return a}kk(){this.gm&&(this.pe&&this.pe.kk(),this.gm="",this.Ui.set(0, -0,0,0),this.rr.pl(this.Ui))}Hd(){return this.pe&&"loaded"===this.gm?this.pe.Hd():null}$f(){return this.Ui}qs(){return this.rr}};"use strict";const sz=self.B;function tz(a,b,d){return Promise.all(a.Yc.map(c=>c.oc().vs(b,d)))}function uz(a){for(const b of a.Yc)b.oc().kk()}function vz(a,b){b=Math.floor(b);if(0>b||b>=a.Yc.length)throw new RangeError("invalid frame");return a.Yc[b]} -sz.zS=class extends sz.ua{constructor(a){super();this.Ia=a[0];this.EZ=a[1];this.nx=!!a[2];this.xr=a[3];this.gQ=a[4];this.gZ=!!a[5];this.eb=a[6];this.Yc=a[7].map(b=>sz.A(sz.yS,b));this.VY=new self.bU(this)}j(){for(const a of this.Yc)a.j();sz.D(this.Yc)}na(){return this.Ia}gk(){return this.EZ}li(){return this.xr}};"use strict";const wz=self.B;function xz(a,b){b=Math.floor(b);return 0>b||b>=a.PB.length?null:a.PB[b]} -wz.yS=class extends wz.ua{constructor(a){super();this.Oh=wz.A(wz.fA);oz(this.Oh,a);this.Gw=a[7];this.TP=wz.A(wz.uo,a[8],a[9]);this.PB=a[10].map(d=>wz.A(wz.rU,this,d));this.WH=new Map;for(var b of this.PB)this.WH.set(b.na().toLowerCase(),b);this.Iq=null;b=a[11];6<=b.length&&(this.Iq=wz.A(wz.Yp,b));this.Vi=a[12]?a[12]:"";this.WY=new self.cU(this)}j(){this.Iq&&(this.Iq.j(),this.Iq=null);this.Oh.j();this.Oh=null}oc(){return this.Oh}wg(){return this.TP.Y}xg(){return this.TP.S}jv(){return this.PB.length}}; -"use strict";const yz=self.B;yz.rU=class extends yz.ua{constructor(a,b){super();this.Ia=b[0];this.mJ=yz.A(yz.uo,b[1],b[2])}j(){}na(){return this.Ia}fa(){return this.mJ.Y}ga(){return this.mJ.S}};"use strict";const Sv=self.B,zz=self.fj,Az=self.uv;function*Cj(a){yield*a.H;yield*Lx(a.g,a)}function Zn(a){return Bz(a,Sv.Pb.J6)}function go(a){if(a.Xq&&!a.Ka){var b=a.H,d=0;for(let c=b.length;dd.name===b)}function Cp(a,b){b=Math.floor(b);if(0>b||b>=a.Pk.length)throw new RangeError("invalid instance variable index");return a.Pk[b].name}function Dp(a,b){b=Math.floor(b);if(0>b||b>=a.Pk.length)throw new RangeError("invalid instance variable index");return a.Pk[b].type}function Mp(a,b){a=a.VG.get(b.toLowerCase());return"undefined"===typeof a?-1:a} -function Lu(a){if(a.lI&&!a.Ka){go(a);var b=a.aa(),d=b.H,c=b.kb,e=a.g.Xf();e=e&&e.Tb()&&e.Tb().Fe;for(const l of a.Kh.Xl)if(l!==a){go(l);var g=l.aa();g.kb=!!c;if(!c){var k=g.H;Sv.D(k);for(const n of d)k.push(Cz(l,fo(n)));if(e){k=b.rb;g=g.rb;Sv.D(g);for(const n of k)g.push(Cz(l,fo(n)))}}}}}function Nt(a,b){return(a=a.gO.get(b.toLowerCase()))&&a.Qb()?a:null}function Rv(a,b){return a.xB[b]}function mw(a,b){a=a.aa().ta();return 0b.Sr)}function Iz(a,b){return a.Pk.findIndex(d=>d.Sr===b)}function nk(a){return a.Pk.map(b=>b.P_)}function Jz(a){return a.Na&&0({Sr:k[0],type:k[1],name:k[2],P_:a.dk(k[3])}));this.pY=d[4];this.LY=d[5];this.Vd=this.Lj.Vd;this.Nb=Sv.A(Sv.Event.fb);this.Na=null;const [e,g]=Oz(a.Ci);this.ww=Sv.A(Sv.KW,e,g);this.gw=!0;this.hw=!1;this.yB=this.hn=null;this.Hi=-1;this.xH= -this.xB=this.mt=this.wH=this.Gi=null;this.lI=!1;this.Kh=null;this.YN=d[8].map(k=>Sv.xL.La(this,k));this.UA=[];this.Os=new Map;this.VG=new Map;this.JQ=new Set;this.gO=new Map;this.cl=Sv.A(Sv.IW,this);this.PA=this.OA=this.tc=this.Oh=this.Kh=this.Lq=null;this.uu=0;this.Xb=new Map;this.Sj=new Map;this.H=[];this.Xq=!0;this.Lj.PE()&&(this.Na=Sv.A(Sv.Zp,this,d[12]));d[6]&&(this.Oh=Sv.A(Sv.fA),oz(this.Oh,d[6]));if(d[7]){this.tc=d[7].map(k=>Sv.A(Sv.zS,k));this.OA=new Map;this.PA=new Map;for(const k of this.tc)this.OA.set(k.na().toLowerCase(), -k),this.PA.set(k.eb,k)}this.Ka?(this.hn=[],this.yB=new Set,this.Hi=this.g.tO++):(this.Gi=[],this.wH=new Set,this.mt=[],this.xB=[],this.xH=[]);this.jb=Sv.A(c.Fh,this,d[15]);this.bI=this.Zw=null;this.ff=Sv.A(Sv.Event.fb);if(b=this.jb.Zf()){if(this.Zw=new b(this),!(this.Zw instanceof Az))throw new TypeError("script interface class must derive from IObjectClass");}else this.Zw=new Az(this);this.g.uD&&!this.Ka&&!this.rI&&this.Vd||this.Fc();this.Lj.rn&&(Sy(this.Lj,this),Dz(this,d));this.wC=null}static La(a, -b,d){return Sv.A(Sv.nA,a,b,d)}j(){this.Nb.j();this.Nb=null;this.Oh&&(this.Oh.j(),this.Oh=null);if(this.tc){for(const a of this.tc)a.j();Sv.D(this.tc);this.OA.clear();this.PA.clear()}this.wC=null;this.cl.j();this.cl=null;this.Xb.clear();this.Sj.clear();this.g=this.Kh=null}Ec(){return this.lI}fb(){return this.Nb}Fc(){this.Ka||this.jb.Fc()}mo(a){if(this.Ka)return Promise.resolve();this.uu++;return 1===this.uu?this.jb.mo(a)||Promise.resolve():Promise.resolve()}Fm(){if(!this.Ka){this.uu--;if(0>this.uu)throw Error("released textures too many times"); -0===this.uu&&this.jb.Fm()}}oA(){if(this.Ka)throw Error("not applicable to family");this.jb.oA()}hF(a){return this.Ka?Promise.resolve():this.jb.hF(a)}F(){return this.g}ab(){return this.Lj}na(){return this.Ia}dk(){return this.yx}Ga(){return this.qa}nf(){return this.dZ}PE(){return this.Lj.PE()}aa(){return this.cl.aa()}oc(){return this.Oh}fk(){if(!this.Lj.rn)throw Error("not a single-global plugin");return this.H[0]}ta(){return this.H}*bz(){yield*this.H}xi(a){this.H.push(a)}hs(a){this.jb.hs(a)}Dm(){this.Xb|| -(this.Xb=new Map);return this.Xb}qv(){this.Sj||(this.Sj=new Map);return this.Sj}pa(){const a={instances:this.H.map(b=>b.Tc())};this.Xb&&this.Xb.size&&(a.ex=Sv.QF(this.Xb));return a}ra(a){this.Xb&&(this.Xb.clear(),this.Xb=null);var b=a.ex;b&&(this.Xb=Sv.DE(b));b=this.H;a=a.instances;for(let d=0,c=Math.min(b.length,a.length);db.Vd)}Pz.XS=class extends Pz.ua{constructor(a,b){super();this.g=a;this.Xl=b;for(const d of this.Xl)d.lI=!0,d.Kh=this}j(){this.g=null}F(){return this.g}};"use strict";const ok=self.B,Qz=self.fj,Rz=self.mi,Sz=[];let Tz=0; -const Uz=new WeakMap,Vz=new WeakMap; -function Dj(a){var b;if(!(b=a.oe)){b=a.Sa?self.ss:Rz;const d=a.ma.Zf(),c=a.He.bI,e=c||d||b;Rz.uk(a);a.oe=new e;Rz.uk(null);if(d&&!(a.oe instanceof b))throw new TypeError(`script interface class '${d.name}' does not extend the right base class '${b.name}'`);if(c&&!(a.oe instanceof(d||b)))throw new TypeError(`setInstanceClass(): class '${c.name}' does not extend the right base class - check it extends the right class, e.g. globalThis.InstanceType.MyObjectName`);b=a.oe}return b} -function Gj(a){const b=new Set;b.add(a);const d=a.m();if(d&&d.Pe())for(const c of a.Tj())if(b.add(c),c.Ec())for(const e of c.qd)b.add(e);if(a.Ec())for(const c of a.qd)b.add(c);for(const c of b.values())no(c)}function pk(a){const b=a.Wd;return-1===b?a.F().Wd:b}function lo(a){var b=a.m();if(b&&(b=Wz(b)))for(const d of b)if(b=xp(a.g,d[2])){const c=d[3];a.hi(b,{Xr:!!(c>>0&1),Yr:!!(c>>1&1),Sp:!!(c>>2&1),Rp:!!(c>>3&1),Ur:!!(c>>4&1),Ju:!!(c>>5&1),Zr:!!(c>>6&1),Vr:!!(c>>7&1),Wr:!!(c>>8&1)})}} -function mo(a,b,d){if(b=b.get(a))for(const c of b.sceneGraphJson.children){b=d.get(c.index);if(!b)continue;const e=c.flags;a.hi(b,{Xr:!!(e>>0&1),Yr:!!(e>>1&1),Sp:!!(e>>2&1),Rp:!!(e>>3&1),Ur:!!(e>>4&1),Ju:!!(e>>5&1),Zr:!!(e>>6&1),Vr:!!(e>>7&1),Wr:!!(e>>8&1)})}}function no(a){a.He.bI&&Dj(a);if(Xz(a,"instancecreate")){const b=a.G(),d=new ok.Event("instancecreate");d.instance=Dj(a);b.nh(d);for(const c of b.Gi)c.nh(d);a.g.nh(d)}a.g.oa(a.ab().constructor.K.mV,a,null)} -function fo(a){go(a.He);return a.VH}function yp(a){return 0!==(a.ca&1)}function hq(a,b){a=a.vd;for(let d=0,c=a.length;db||b>=a.length)throw new RangeError("invalid instance variable");return a[b]}function bu(a){for(const b of a.qd)Vs(b.G().aa(),b)}function Mx(a,b){b.Ka?(a=a.G(),b=b.yB.has(a)):b=a.G()===b;return b}function Yz(a,b){0{k=k||g.G();const l=b.get(k);l?l.add(g):b.set(k,new Set([g]))};e(a,d);if(a.Ec())for(const g of a.qd)e(g);if(c)for(const g of a.Tj())e(g)}function cA(a){if(!a.ab().zQ)throw Error("object does not support scene graph");} -function dA(a,b){a=a.m();if(!a)return[];const d=b.na();return a.ke().map(c=>c.Z()).filter(c=>c.G().na()===d)}function eA(a,b){a=a.qd;if(null===a||0===a.length)return!1;for(const d of a)if(d.G()===b)return d;return null}function Xz(a,b){const d=a.G();if(d.ff.gn.has(b))return!0;for(const c of d.Gi)if(c.ff.gn.has(b))return!0;return a.g.ff.gn.has(b)?!0:!1} -ok.Instance=class extends ok.ua{constructor(a){super();this.g=a.Me;this.He=a.UK;this.oe=this.ma=this.Sa=null;this.VH=0;this.Yb=a.uid;this.bQ=Tz++;this.ca=0;this.vd=this.lg=Sz;var b=this.He.UA;0ok.A(ok.xz,{Me:this.g,mK:d,instance:this,index:c})));this.qd=this.He.Ec()?[]:null;this.Wd=-1;this.Nb=null;b=this.ab();b.xv()&&(this.ca|=4);if(b.Vd)if(this.Sa=ok.A(ok.yX,this,a.WD),a.kS)this.Sa.wh(a.kS);else{fA(this.Sa);const [d,c]=Lz(this.He);this.Sa.ec(d,c);Jz(this.G())&&gA(this.Sa.Df)}a.xR? -Yz(this,a.xR):Zz(this)}j(){this.oe&&(this.oe.Xv(),this.oe=null);if(0a||!isFinite(a))a=0;this.Wd=a;Jz(this.G())&&hA(this.g,this,!0)}fb(){this.Nb||(this.Nb=ok.A(ok.Event.fb));return this.Nb}oh(a){this.ma.oh(a)}Fc(a){this.ma.Fc(a)}Em(){return 0!==(this.ca&2)}oG(){this.ca|=1}xv(){return 0!==(this.ca&4)}ji(){return this.ma.ji()}Rz(){return this.ma.Rz()}Sz(){return this.ma.Sz()}jA(){return this.ma.jA()}Am(a){return this.ma.Am(a)}G(){return this.He}pq(){return this.ma.pq()}ag(){return null!== -this.Ca()}Ca(){var a=this.m();return a?(a=a.Ca())?a.Z():null:null}co(){var a=this.m();return a?(a=a.co())?a.Z():null:null}*Ru(){const a=this.m();if(a)for(const b of a.Ru())yield b.Z()}OE(a){if(!a)return!1;for(const b of this.children())if(b===a)return!0;return!1}Pe(){const a=this.m();return a?a.Pe():!1}ke(){const a=this.m();return a?a.ke().map(b=>b.Z()):[]}*children(){const a=this.m();if(a)for(const b of a.children())yield b.Z()}*Tj(){const a=this.m();if(a)for(const b of a.Tj())yield b.Z()}Qz(){const a= -this.m();return a?a.Qz():0}Kz(){const a=this.m();return a?a.Kz():0}Pz(a){const b=this.m();return b?(a=b.Pz(a))?a.Z():null:null}hi(a,b){cA(this);cA(a);this.m().hi(a.m(),b||{})}Al(a){const b=this.m();b&&b.Al(a.m())}cv(){const a=this.m();return a?a.cv():!1}os(){var a=this.g.Xi;a=a?a.mn?(a=a.mn.get(this))?a:"":"":"";return a}Ec(){return null!==this.qd}ab(){return this.He.ab()}SX(a){const b=this.lg[a];return 0===Dp(this.He,a)?!!b:b}po(a,b){a|=0;const d=this.lg;if(0>a||a>=d.length)throw new RangeError("invalid instance variable"); -switch(Dp(this.He,a)){case 0:d[a]=b?1:0;break;case 1:d[a]="number"===typeof b?b:parseFloat(b);break;case 2:d[a]="string"===typeof b?b:b.toString();break;default:throw Error("unknown instance variable type");}}Dm(){let a=Uz.get(this);if(a)return a;a=new Map;Uz.set(this,a);return a}qv(){let a=Vz.get(this);if(a)return a;a=new Map;Vz.set(this,a);return a}Tc(a="full"){const b={};"full"===a?b.uid=this.Yb:b.c3=!0;if("visual-state"!==a){var d=Uz.get(this);d&&d.size&&(b.ex=ok.QF(d));-1!==this.Wd&&(b.mts=this.Wd); -if(0d||d>=this.lg.length)){var c=k;null===c&&(c=NaN);this.lg[d]=c}}if(this.ab().Vd){d=a.w;var e=d.l;this.Sa.O().eb!==e&&(c=this.Sa.O(),(e=On(c.pc(),e))?(Xn(this.Sa,e),c.wq(this,!0),e.xi(this,!0),hm(e,this),wk(this.Sa)):"full"===b&&bn(this.g,this));this.Sa.ra(d,b)}if("visual-state"!== -b&&(d=a.behs))for(const [g,k]of Object.entries(d))d=hq(this,parseInt(g,10)),0>d||d>=this.vd.length||this.vd[d].dc(k);(a=a.data)&&this.ma.dc(a,b)}nh(a){if(this.oe){var b=Dj(this);a.instance=b;var d=this.g;(d=d.Ob&&!Hj(d.Aa()))&&Qz.OF();b.dispatchEvent(a);d&&Qz.pE()}}};"use strict";const iA=self.B; -function uo(a){let b;b=0|Number(0!==(a.ca&8388608))<<8;b|=Number($q(a))<<7;b|=Number(0!==(a.ca&32768))<<6;b|=Number(a.cv())<<5;b|=Number(0!==(a.ca&16384))<<4;b|=Number(Vq(a))<<3;b|=Number(Tq(a))<<2;b|=Number(jA(a))<<1;return b|=Number(kA(a))<<0}function Uq(a){return 0===a.iD?Number.EPSILON:a.iD}function Wq(a){return 0===a.fD?Number.EPSILON:a.fD}function lA(a,b){a.Yl=a.ub.Oc();a.hD=a.Yl;a.zc=b;a.LC=b?b.Da():0} -function mA(a){a.Pe()&&a.$i&&1!==a.Zs.length&&a.Zs.sort((b,d)=>{b=a.$i.get(b.Z());d=a.$i.get(d.Z());return iA.Dc(b)&&iA.Dc(d)?b-d:0})}function nA(a){if(Tq(a.ub)){var b=a.zc;a=b.J();let d=Uq(b.Ea);0===a&&(a=Number.EPSILON);return d===Number.EPSILON&&a===Number.EPSILON?1:d===Number.EPSILON&&a!==Number.EPSILON&&(b=b.Z().ma,b.xh())?1+a/b.zg():a/d}return 1} -function uA(a){if(Vq(a.ub)){var b=a.zc;a=b.I();let d=Wq(b.Ea);0===a&&(a=Number.EPSILON);return d===Number.EPSILON&&a===Number.EPSILON?1:d===Number.EPSILON&&a!==Number.EPSILON&&(b=b.Z().ma,b.xh())?1+a/b.yg():a/d}return 1}function vA(a){return{sw:a.iD,sh:a.fD,sx:a.ou,sy:a.pu,psa:a.LC,oo:a.Yl,so:a.hD}}function wA(a,b){return a.Zs.map(d=>xA(d,d,b))} -function xA(a,b,d){a=a.Z();const c={};c.uid=a.Yb;let e="";kA(b)&&(e+="x");jA(b)&&(e+="y");Tq(b)&&(e+="w");Vq(b)&&(e+="h");0!==(b.ca&16384)&&(e+="a");0!==(b.ca&32768)&&(e+="z");b.cv()&&(e+="d");$q(b)&&(e+="o");0!==(b.ca&8388608)&&(e+="v");c.f=e;c.offsets={x:b.Y,y:b.S,z:b.rd,w:b.Ke,h:b.De,a:b.Wa,sgi:b.Ea?vA(b.Ea):null};c.data=yA(a);c.oci=a.G().Ga();"state"===d?(c.inst=a.Tc(),c.instIndex=NaN):(c.instIndex=a.G().ta().indexOf(a),c.inst=null);return c} -function yA(a){let b=a.m().O().ZH.get(a.Yb);if(!b)return null;b=JSON.parse(JSON.stringify(b));const d=[];for(const c of[...a.ke()]){const e=c.m();d.push([e.pc().eb,e.O().Ga(),c.Yb,uo(e),c.G().Ec()?1:0,yk(e),yA(c)])}iA.ik(b[0][14])?b[0][14][1]=d:(b[0][14]=[],b[0][14][0]=511,b[0][14][1]=d,b[0][14][2]=yk(a.m()));return b} -function zA(a){const b={};b.Xr=a.includes("x");b.Yr=a.includes("y");b.Sp=a.includes("w");b.Rp=a.includes("h");b.Ur=a.includes("a");b.Zr=a.includes("z");b.Ju=a.includes("d");b.Vr=a.includes("o");b.Wr=a.includes("v");return b}function AA(a,b){if(iA.Dc(a.instIndex))return fm(b,a.oci).wC[a.instIndex];if(iA.oi(a.inst))return JSON.parse(a.inst);if(a.inst)return a.inst}function BA(a,b,d,c,e=!0){a.ub.hi(b,zA(d.f))&&e&&(c.has(b)||CA(b,d.offsets),c.add(b));mA(a)} -function DA(a,b){return a.filter(d=>d.G().na()===b.na()).length}function EA(a,b){if(iA.Dc(b.oci)){var d=a.ub;a=d.F();if(b.data)d=fn(a,b.data,d.O(),!1,0,0,!1,!0);else{const c=fm(a,b.oci);d=Ej(a,c,d.O(),0,0,!0)}if(d)return b=AA(b,a),d.dc(b),b=d.m(),Xl(b.O(),d,!0),b}} -iA.nW=class extends iA.ua{constructor(a){super();this.ub=a;this.zc=null;this.Zs=[];this.iD=a.J();this.fD=a.I();this.pu=this.ou=1;this.LC=0;this.Yl=1;this.hD=a.Oc();this.$i=this.he=null}j(){this.$i=this.he=this.zc=null;iA.D(this.Zs)}Ca(){return this.zc}Pe(){return 0=b.le()/mm(b)?a=!1:(nm(b,d,FA),a=Cc(FA,xk(a))));return a}function tn(a,b){var d=xk(a);const c=d.ba,e=d.ka,g=d.$;d=d.ia;const k=Vm(a);a=k+a.ul();return nf(c,g,k,e,d,a,b.xP)&&nf(c,g,k,e,d,a,b.FQ)&&nf(c,g,k,e,d,a,b.hQ)&&nf(c,g,k,e,d,a,b.ZN)&&nf(c,g,k,e,d,a,b.UI)&&nf(c,g,k,e,d,a,b.uO)} -function Vm(a){return a.O().Ma()+a.Ma()}function Yl(a){a=PA.get(a);return Yq.Dc(a)?a:NaN}function Xn(a,b,d){(d=d&&a.Cj!==b)&&cn(a);a.Cj=b;d&&RA(a);0!==a.Ma()&&(a.Cj.Sm=!0)}function Rq(a,b,d=!1){b=+b;d?a.Y+=b:kA(a)?a.Eh(a.fa()+b):a.Y+=b}function Sq(a,b,d=!1){b=+b;d?a.S+=b:jA(a)?a.wi(a.ga()+b):a.S+=b}function Tq(a){return 0!==(a.ca&4096)}function Vq(a){return 0!==(a.ca&8192)}function Xq(a,b,d){b=+b;d?a.De+=b:Vq(a)?a.Qe(a.I()+b):a.De+=b;Zq(a)}function $q(a){return 0!==(a.ca&4194304)} -function fw(a){const b=a.O();if(om(b))return tn(a,Zm(b));const d=b.pc();return Tm(a,qm(b),Sm(d),d.Tg)}function pw(a){WA(a);return a.hH}function qw(a){WA(a);return a.CJ}function Jq(a,b){ec(a.Xa,b)||($b(Iq,b),Iq.a=a.Oc(),XA(a))}function Xx(a){a.Hj&&(a.Hj.jL.j(),a.Hj.bS.j(),a.Hj=null,YA(a))}function Yx(a,b,d){b=Math.floor(b);d=Math.floor(d);if(!a.Z().ab().HZ)throw Error("object does not support mesh");Xx(a);a.Hj={jL:Yq.A(Yq.ea.rM,b,d),bS:Yq.A(Yq.ea.rM,b,d),MK:null}} -function ay(a){return null!==a.Hj}function by(a){if(!ay(a))throw Error("no mesh");return a.Hj.jL}function Nz(a){if(0!==(a.ca&16)&&a.jk()&&0===(a.ca&256)){var b=xk(a),d=a.L.ww,c=a.eB;FA.set(d.rk(b.ba),d.sk(b.$),d.rk(b.ka),d.sk(b.ia));c.Cd(FA)||(b=a.T,c===KA?(d.Lm(b,null,FA),a.eB=Yq.A(Yq.Rect,FA)):(d.Lm(b,c,FA),c.xa(FA)),a.ca&=-17)}}function fA(a){a.Y=0;a.S=0;a.rd=0;a.Ke=0;a.De=0;a.Af=0;a.Wa=0;a.CJ=0;a.hH=1;a.Ij=0;a.Jj=0;ZA(a)}function Wz(a){return(a=OA.get(a))?a.rK:null} -function kA(a){return 0!==(a.ca&1024)}function jA(a){return 0!==(a.ca&2048)}function CA(a,b){b&&(a.Y=b.x,a.S=b.y,a.rd=b.z,a.Ke=b.w,a.De=b.h,a.Wa=b.a,b.sgi&&a.Ea&&a.Ea.ra(b.sgi),Zq(a),wk(a))}function $A(a){a.Ea&&(a.Ea.j(),a.Ea=null)}function aB(a){a.he&&(a.he.length=0);a.he=null;a.$i=null;const b=a.Ca();b&&aB(b);a.Iy=-1}function XA(a){var b=Iq;a.Xa.Cd(b)||(a.Xa===IA?(a.Xa=Yq.A(Yq.lb,b),a.Jq=Yq.A(Yq.lb,b),gc(a.Jq)):fc(b,1,1,1,1)?(a.Xa=IA,a.Jq=IA):(a.Xa.set(b),a.Jq.set(b),gc(a.Jq)),ZA(a))} -function ZA(a){if(NA){var b=a.g.Pa();a.Ar&&Mf(b,a.Ar);var d=0!==(a.ca&524288)?b.dD||"":b.eD||"",c=a.tl(),e=a.Jq,g=a.Ma();const k=Nf(d,c,e,g);let l=b.By.get(k);l||(l=pf.A(pf.ea.OW,b,d,c,e,g),b.By.set(k,l));++l.Ad;a.Ar=l}}function bB(a,b){Tq(a)&&0>a.co().J()&&(b=Yq.Bd(Yq.WQ(b,a.co().Da()+Math.PI)));Vq(a)&&0>a.co().I()&&(b=Yq.WQ(b,a.co().Da()));return b}function cB(a){return 0!==(a.ca&16384)&&a.lo()?Yq.Bd(cB(a.Ca())+a.Wa):a.Wa} -function dB(a){return 0!==(a.ca&16384)?bB(a,cB(a.Ca())-a.Ea.LC):0}function eB(a){ZA(a);if(a.Pe()){a=a.ke();for(let b=0,d=a.length;bb)throw new RangeError("invalid depth");a.Af=b}function WA(a){const b=a.ca;if(0!==(b&262144)){var d=a.Da();a.CJ=Math.sin(d);a.hH=Math.cos(d);a.ca=b&-262145}} -function gB(a){if(a.Pe()){a=a.ke();for(let d=0,c=a.length;dMath.abs(ca)&&1E-7>Math.abs(E)&&Math.sign(N)===Math.sign(C);(!(1E-7>Math.abs(N)&&1E-7>Math.abs(C)&&Math.sign(ca)===Math.sign(E)||da)&&.001a||a>=b.length?null:b[a]}rs(){return this.Xa===IA}Dg(a){a|=0;if(0>a||31>26}O(){return this.Cj}pc(){return this.O().pc()}Id(){return 0!==(this.ca&1)}Hg(a){un(this,1,a);if(this.Pe())for(const b of this.ke())0!==(b.ca&8388608)&&b.Hg(a)}jk(){return 0!==(this.ca&8)}HF(a,b){un(this,32,a);this.dl&&this.dl.clear();if(b.trim()){this.dl|| -(this.dl=new Set);for(const d of b.split(" "))d&&this.dl.add(d.toLowerCase())}else this.dl=null}lN(a,b,d){a=Math.floor(a);b=Math.floor(b);var c=d.mode||"absolute";if(!LA.has(c))throw Error("invalid mode");c="relative"===c;let e=d.x,g=d.y;const k=d.Tp;let l="number"===typeof d.eS?d.eS:c?0:-1;d="number"===typeof d.iS?d.iS:c?0:-1;if(!ay(this))return!1;const n=by(this),p=cg(n,a,b);if(null===p)return!1;let r=!1;"number"===typeof k&&p.Ma()!==k&&(p.rf(k),r=!0);c&&(e+=a/(n.Sl-1),g+=b/(n.lm-1));-1!==l||c? -(c&&(l+=a/(n.Sl-1)),l=Yq.X(l,0,1)):l=p.bh;-1!==d||c?(c&&(d+=b/(n.lm-1)),d=Yq.X(d,0,1)):d=p.eh;if(p.fa()===e&&p.ga()===g&&p.bh===l&&p.eh===d)return r;p.Eh(e);p.wi(g);p.bh=l;p.eh=d;YA(this);return!0}Em(){return this.T.Em()}tv(){return 0!==(this.ca&64)}pa(a){const b={x:this.fa(),y:this.ga(),w:this.J(),h:this.I(),l:this.O().eb,zi:yk(this)};0!==this.Ma()&&(b.ze=this.Ma());0!==this.Da()&&(b.a=cB(this));this.rs()||(b.c=this.Xa.toJSON());.5!==this.wg()&&(b.oX=this.wg());.5!==this.xg()&&(b.oY=this.xg());0!== -this.tl()&&(b.bm=this.tl());this.Id()||(b.v=this.Id());this.jk()||(b.ce=this.jk());0!==(this.ca&4)&&(b.be=0!==(this.ca&4));this.Df&&(b.fx=this.Df.pa());const d=0!==(this.ca&32);d&&(b.sfi=d);this.dl&&(b.sft=[...this.dl].join(" "));this.Ea&&"visual-state"!==a&&(b.sgi=this.Ea.pa(a),OA.has(this)&&(b.sgcd=OA.get(this).rK,b.sgzid=OA.get(this).rL));ay(this)&&(b.mesh=by(this).Tc());return b}aw(){aB(this);nB(this);kB(this,null);if(this.Ea){var a=this.Ea,b=this.$i;a.he=this.he;a.$i=b}}Hs(a){"visual-state"!== -a&&nB(this)}vk(a,b="full",d=null){a.hasOwnProperty("sgi")&&"visual-state"!==b&&0===(this.ca&256)&&this.Ea.vk(a.sgi,d)}pG(a,b="full"){a.hasOwnProperty("sgi")&&"visual-state"!==b&&0===(this.ca&256)&&(a=this.Ea,a.he=null,a.$i=null,aB(this),wk(this))}ra(a,b){NA=!1;this.Eh(a.x);this.wi(a.y);this.ye(a.w);this.Qe(a.h);this.cj=a.zi|0;this.rf(a.hasOwnProperty("ze")?a.ze:0);this.Zd(a.hasOwnProperty("a")?a.a:0);a.hasOwnProperty("c")?sc(Iq,a.c):a.hasOwnProperty("o")?($b(Iq,this.Xa),Iq.a=a.o):Xb(Iq,1,1,1,1);XA(this); -this.Ij=+(a.hasOwnProperty("oX")?a.oX:.5);this.Jj=+(a.hasOwnProperty("oY")?a.oY:.5);this.Dg(a.hasOwnProperty("bm")?a.bm:0);this.Hg(a.hasOwnProperty("v")?a.v:!0);pB(this,a.hasOwnProperty("ce")?a.ce:!0);var d=a.hasOwnProperty("be")?a.be:!1;un(this,4,d);this.HF(a.hasOwnProperty("sfi")?a.sfi:!1,a.hasOwnProperty("sft")?a.sft:"");this.Df&&a.hasOwnProperty("fx")&&this.Df.ra(a.fx);if(!a.hasOwnProperty("sgi")&&"visual-state"!==b&&this.he)for(var c of this.he)yp(c)||bn(this.g,c);a.hasOwnProperty("sgi")&&"visual-state"!== -b&&(kB(this,null),c=this.Ea,c.ra(a.sgi),d=this.$i,c.he=this.he,c.$i=d,a.sgcd&&Yq.Dc(a.sgzid)&&OA.set(this,{rK:a.sgcd,rL:a.sgzid}));a.hasOwnProperty("mesh")?(d=a.mesh,Yx(this,d.cols,d.rows),by(this).dc(d)):Xx(this);wk(this);NA=!0;ZA(this);"visual-state"!==b&&(b=this.g,d=this.Z(),d.m()&&(b.UB.set(d,a),b.hx.push(d)))}};"use strict";const tB=self.B; -tB.xL=class extends tB.ua{constructor(a,b){super();const d=a.F(),c=d.jp,e=Vu(d,b[1]);if(!c.WG.has(e)){const g=Vu(c.g,b[1]);if(!g)throw Error("missing behavior");const k=iz.A(g,{Me:c.g});k.Fc();c.fY.push(k);c.WG.set(g,k);!c.oQ&&iz.Pb.k0&&k instanceof iz.Pb.k0?c.oQ=k:!c.lP&&iz.Pb.Q_&&k instanceof iz.Pb.Q_&&(c.lP=k)}this.g=d;this.L=a;this.Ck=c.WG.get(e)||null;this.jb=null;this.gx=e.Instance;this.eb=b[2];this.Ia=b[0];this.yx=this.g.dk(b[3]);this.jb=tB.A(e.Fh,this);this.Fc()}static La(a,b){return tB.A(tB.xL, -a,b)}j(){this.Ck=this.g=null;this.jb.j();this.gx=this.jb=null}Fc(){this.jb.Fc()}F(){return this.g}G(){return this.L}Zn(){return this.Ck}na(){return this.Ia}dk(){return this.yx}};"use strict";const uB=self.B,vB=self.SE; -uB.xz=class extends uB.ua{constructor(a){super();this.g=a.Me;this.Ld=a.mK;this.Ck=this.Ld.Zn();this.T=a.instance;this.qa=a.index;this.oe=this.ma=null;this.Ck.xi(this.T)}j(){this.oe&&(this.oe.Xv(),this.oe=null);this.Ck.wq(this.T);this.ma.j();this.T=this.Ck=this.Ld=this.g=this.ma=null}CA(a){if(this.ma)throw Error("already got sdk instance");this.ma=uB.A(this.Ld.gx,this,a)}F(){return this.g}ph(){return this.Ld}Zn(){return this.Ck}fg(){return this.qa}Tc(){return this.ma.Tc()}dc(a){return this.ma.dc(a)}static MF(a, -b){var d=a.T,c=b.T;const e=d.G().Ga(),g=c.G().Ga();if(e!==g)return e-g;d=d.bQ;c=c.bQ;return d!==c?d-c:a.ow.fg()-b.ow.fg()}ns(){var a;if(!(a=this.oe)){const b=(a=this.ma.Zf())||vB;vB.uk(this);this.oe=new b;vB.uk(null);if(a&&!(this.oe instanceof vB))throw new TypeError(`script interface class '${a.name}' does not extend the right base class '${vB.name}'`);a=this.oe}return a}};"use strict";const wB=self.B;function Ep(a,b){return a.qB.get(b.toLowerCase())||null} -function xB(a,b){b=Math.floor(+b);if(0>b||b>=a.Ai.length)throw new RangeError("invalid effect type index");return a.Ai[b]} -wB.Zp=class extends wB.ua{constructor(a,b){super();this.ub=a;this.Ai=[];this.Hh=[];this.qB=new Map;this.xd=[];this.Qg=[];this.LG=new Set;this.fu=!0;for(const d of b)a=wB.A(wB.HL,this,d,this.Ai.length),this.Ai.push(a),this.qB.set(a.na().toLowerCase(),a),3<=d.length&&this.xd.push(this.nG(a,d[2]));this.F().IG.add(this)}j(){this.F().IG.delete(this);for(const a of this.Qg)a.j();wB.D(this.Qg);wB.D(this.Ai);wB.D(this.Hh);this.qB.clear();wB.D(this.xd);this.ub=null}Gl(a){for(const b of this.LG)b.Gl(a)}nG(a, -b){a.Ib=!!b[0];a=b.slice(1);for(let d=0,c=a.length;da||a>=this.xd.length)return null;a=this.xd[a];return 0> -b||b>=a.length?null:a[b]}Fv(a,b,d){if(0>a||a>=this.xd.length)return!1;const c=this.xd[a];if(0>b||b>=c.length)return!1;const e=c[b];if(e instanceof wB.lb){if(ec(e,d))return!1;$b(e,d)}else{if(e===d)return!1;c[b]=d}a({name:a.na(),active:a.Ib,params:this.xd[a.Ga()].map(wB.Zp.fN)}))}dc(a){for(const b of a)if(a=Ep(this,b.name))a.Ib=!!b.active,this.xd[a.Ga()]=b.params.map(wB.Zp.qM);this.Gh();this.dw()}};"use strict";const Gz=self.B; -Gz.HL=class extends Gz.ua{constructor(a,b,d){super();this.Na=a;this.Ud=b[0];this.Ia=b[1];this.qa=d;this.Nd=null;this.Ib=!0}j(){this.Nd=this.Na=null}Gl(a){a=a.my.get(this.Ud)||null;if(!a)throw Error("failed to find shader program '"+this.Ud+"'");this.Nd=a}na(){return this.Ia}vG(a){this.qa=a}Ga(){return this.qa}F(){return this.Na.F()}vh(){return this.Nd}};"use strict";const yB=self.B; -function gA(a){for(const c of a.Na.gj()){var b=a.xd,d=b.push;const e=[];for(let g=0,k=c.Nd.Gr.length;g{c=c.Ho;const e=c.m();d.vi(e.JE());Pf(d,Vm(e));c.oh(d);Pf(d,0)},sR:d=>{const c=d.Sz(),[e,g]=d.Rz();return{XR:c,YR:e,WR:g}},PD:d=>this.FA(d)});this.yo=[];this.Hh=[];this.fu=!0;this.xd=[];this.Qg=[];this.Gl(a.F().Pa());for(let d=0,c=this.Na.gj().length;db.J()||0>b.I();const e=a.jA();if(this.WI||d!==this.Vy||c!==this.QQ||b!==this.SQ||e!==this.TQ||this.Cf.Ox)cj(this.Cf,this.Hh.map(g=>g.vh()),{Ku:this.Hh.map(g=>g.Ga()),wK:!d||a.xv(),yR:c,UD:e,DR:b}),this.WI=!1,this.Vy=d,this.QQ=c,this.SQ=b,this.TQ=e}WL(a){return this.xd[a]}FA(a){return aa||a>=this.xd.length)return null;a=this.xd[a];return 0>b|| -b>=a.length?null:a[b]}Fv(a,b,d){if(0>a||a>=this.xd.length)return!1;const c=this.xd[a];if(0>b||b>=c.length)return!1;const e=c[b];if(e instanceof yB.lb){if(ec(e,d))return!1;$b(e,d)}else{if(e===d)return!1;c[b]=d}a({name:a.na(), -active:this.yo[a.Ga()],params:this.xd[a.Ga()].map(wB.Zp.fN)}))}ra(a){for(const b of a)if(a=Ep(this.Na,b.name))this.yo[a.Ga()]=b.active,this.xd[a.Ga()]=b.params.map(wB.Zp.qM);this.Gh();this.dw()}};"use strict";const zB=self.B,AB=[],BB=zB.A(zB.Yp),CB=zB.A(zB.Yp),DB=zB.A(zB.Kd);zB.A(zB.Rect);zB.A(zB.Rect);let EB=null,GB=null,HB=null; -function zx(a,b,d,c){a=a?1!==a.$e||1!==a.bf:!1;if(b.Ka)for(const e of b.hn)a||e.hw?zB.nm(c,e.ta()):(Mz(e),e.ww.sA(d,c));else a||b.hw?zB.nm(c,b.ta()):(Mz(b),b.ww.sA(d,c))} -function Ax(a,b){if(!a||!b||a===b)return!1;a=a.m();b=b.m();if(!a.jk()||!b.jk())return!1;var d=a.O(),c=b.O();if(d===c||d.$e===c.$e&&d.bf===c.bf&&d.ad===c.ad&&d.Oj===c.Oj&&d.wf===c.wf&&d.th()===c.th()&&d.uh()===c.uh())b=IB(a,b);else if(d=a.Em(),c=b.Em(),d&&!c)b=JB(a,b);else if(c&&!d)b=JB(b,a);else if(c||d)b=!1;else{c=a.O();d=b.O();BB.xa(VA(a));CB.xa(VA(b));var e=BB.re;for(let g=0,k=e.length;gg.ka||p.$+n>g.ia)&&(DB.pl(p),DB.offset(l,n),Fc(DB,k)))if(a){var x=void 0!==e?e:VA(b);let C=d,E=c;void 0!==e&&(C=b.fa(),E=b.ga());if(r=r.PT()){if(Mc(r,x,C-(l+p.ba),E-(n+p.$)))return zB.D(AB),!0}else if(Kc(BB,DB,0,0),Mc(BB,x,C,E))return zB.D(AB), -!0}else if(x=r.PT()){if(Kc(BB,k,0,0),Mc(x,BB,-(l+p.ba),-(n+p.$)))return zB.D(AB),!0}else return zB.D(AB),!0}zB.D(AB);return!1} -function JB(a,b){var d=a.O(),c=b.O();EB||(EB=zB.A(zB.Yp));GB||(GB=zB.A(zB.Rect));HB||(HB=zB.A(zB.Kd));var e=b.fa(),g=b.ga();const [k,l]=an(c,e,g),[n,p]=pm(d,k,l);d=n-e;g=p-g;GB.xa(xk(b));GB.offset(d,g);if(!Cc(xk(a),GB))return!1;HB.xa(TA(b));HB.offset(d,g);if(!Fc(TA(a),HB))return!1;EB.xa(VA(b));c=EB.re;for(let r=0,x=c.length;r{let v=k.get(x);"undefined"===typeof v&&(v=km(x),k.set(x,v));return v};if(e.kb){e.kb=!1;zB.D(e.H);g&&zB.D(e.rb);for(var n of b.ta()){a=n.m();var p=a.O(),r=!1;if(l(p)&&fw(a)){const [x,v]=pm(p,d,c,Vm(a));r=zk(a,x,v)}r?e.H.push(n):g&&e.rb.push(n)}}else{n=!1;g?0===a.g.Xf().Ue&&!e.rb.length&&e.H.length?a=e.H:(a=e.rb,n=!0):a=e.H;p=0;for(let x=0,v=a.length;xb)throw Error("invalid HTML layer count");if(a.Ng.length!==b){d={count:b,immediate:d,marginLeft:a.Ym,marginTop:a.Zm,styleWidth:a.yc,styleHeight:a.fc};d=a.Bg()?await xj(a.g,"canvas","set-html-layer-count",d):self.c3_runtimeInterface._OnSetHTMLLayerCount(d);if(bQB.V.zz&&(console.warn("[Construct] Disabling WebGL 2 because this device appears to be affected by crbug.com/934823. Install software updates to avoid this."),b.KK=1);"standard"===a.g.$s?b.alpha=!0:(b.alpha=!1,b.JK=!0);a.Le=QB.A(QB.ea.wX,a.Ng[0].canvas,b);await a.Le.gA()} -async function bC(a){await a.Gl();await YB(a.g);console.log("[Construct] WebGPU device restored")}async function cC(a){if(a.ZC){const b=[];for(const [d,c]of Object.entries(a.ZC))c.src=c.z0,b.push(gi(a.bi,Object.assign({qL:Mg(),name:d},c)));await Promise.all(b)}} -async function dC(a){if(a.ZC){const b=[];for(const [d,c]of Object.entries(a.ZC)){let e;if(c.uR&&2<=a.Le.Rb)c.src=c.uR,e=Ng();else{if(!c.tR)throw Error(`shader '${d}' does not support WebGL 1`);c.src=c.tR;e=Mg()}b.push(gi(a.Le,Object.assign({qL:e,name:d},c)))}await Promise.all(b);a.Le.Xo=null;Kf(a.Le)}a.Le.Cc&&(a.JB=QB.A(QB.ea.xN,a.Le))}function eC(a){return a.Gt?a.JY:a.Uz()}function fC(a,b){if(!RB.has(b))throw Error("invalid fullscreen mode");a.CO=b;a=a.g.hb;Ao(a);Bo(a)} -function gC(a,b){if(!SB.has(b))throw Error("invalid fullscreen scaling quality");a.fK=b;Ao(a.g.hb)}function hC(a){switch(a){case 0:return"off";case 1:return"crop";case 2:return"scale-inner";case 3:return"scale-outer";case 4:return"letterbox-scale";case 5:return"letterbox-integer-scale";default:throw Error("invalid fullscreen mode");}}function iC(a,b){const d=a.fc,c=a.yc/2,e=d/2;ii(b,a.mB);a=Jf(b,c,e,b.le(d),c,e,d);li(b,a)} -function*jC(a){for(const b of zo(a.g.hb))for(const d of b.Wc){const c=a.DI.get(d);c&&(yield c)}} -function kC(a){if(a.bD){var b=a.Ng[0].canvas,d=a.mQ,c=QB.X(Math.floor(d.ba),0,b.width),e=QB.X(Math.floor(d.$),0,b.height),g=d.width();g=0===g?b.width-c:QB.X(Math.floor(g),0,b.width-c);d=d.height();d=0===d?b.height-e:QB.X(Math.floor(d),0,b.height-e);if((0!==c||0!==e||g!==b.width||d!==b.height)&&0{a.ty&&URL.revokeObjectURL(a.ty);a.ty=URL.createObjectURL(k);a.qy=null;a.nQ(a.ty)});a.bD="";a.EJ=1}} -async function lC(a){var b=(new URL("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHdpZHRoPSIxNzAwLjc5MDA0cHgiIGhlaWdodD0iMTcwMC43OTAwNHB4IiB2aWV3Qm94PSIyODcgMzE3IDExMjUgMTEyNSINCgkgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTcwMC43OTAwNCAxNzAwLjc5MDA0IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnIGlkPSJsb2dvIj4NCgk8Zz4NCgkJPGc+DQoJCQk8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI0ZGRkZGRiIgZD0iTTM1NC45Nzc1NCwxMTk1LjYyMzA1DQoJCQkJYzExLjM4NDc3LDAsMjIuMDEyNywzLjIzNzMsMzEuMDE3NTgsOC44Mzc4OWMxLjk0NjI5LDEuMjEwOTQsMi41ODQ5NiwzLjc0OTAyLDEuNDM4NDgsNS43MzQzOGwtNC45MzI2Miw4LjU0MTk5DQoJCQkJYy0zLjI3ODMyLDUuNjc5NjktMTAuMDMzMiw4LjM3Njk1LTE2LjMxNzM4LDYuNTAwOThjLTIuNzY0NjUtMC44MjUyLTUuNjkzMzYtMS4yNjg1NS04LjcyNjU2LTEuMjY4NTUNCgkJCQljLTE2LjgyOTEsMC0zMC40NzI2NiwxMy42NDM1NS0zMC40NzI2NiwzMC40NzI2NmMwLDE2LjgyODEzLDEzLjY0MzU1LDMwLjQ3MjY2LDMwLjQ3MjY2LDMwLjQ3MjY2DQoJCQkJYzMuMDMzMiwwLDUuOTYxOTEtMC40NDMzNiw4LjcyNjU2LTEuMjY4NTVjNi4yOTQ5Mi0xLjg3OTg4LDEzLjAzMzIsMC44MTE1MiwxNi4zMTczOCw2LjUwMDk4bDQuOTMxNjQsOC41NDE5OQ0KCQkJCWMxLjE0NzQ2LDEuOTg4MjgsMC41MTA3NCw0LjUyMzQ0LTEuNDM4NDgsNS43MzQzOGMtOS4wMDM5MSw1LjYwMTU2LTE5LjYzMTg0LDguODM3ODktMzEuMDE2Niw4LjgzNzg5DQoJCQkJYy0zMi40ODUzNSwwLTU4LjgxOTM0LTI2LjMzNDk2LTU4LjgxOTM0LTU4LjgxOTM0QzI5Ni4xNTgyLDEyMjEuOTU3MDMsMzIyLjQ5MjE5LDExOTUuNjIzMDUsMzU0Ljk3NzU0LDExOTUuNjIzMDUNCgkJCQlMMzU0Ljk3NzU0LDExOTUuNjIzMDV6IE03MDMuMjE0ODQsMTI1OS4xNzU3OGMtMTQuNTU5NTctOS44MTczOC0yMC4yMDMxMy0yMC4wMzIyMy0yMC4yMDMxMy0zMy4wODAwOA0KCQkJCWMwLTE4LjQ4OTI2LDE1LjcxNDg0LTI5Ljc2MzY3LDM4LjI2NjYtMjkuNzYzNjdjOS42NTcyMywwLDE4LjcyMTY4LDIuNTQyOTcsMjYuNTU5NTcsNi45OTQxNA0KCQkJCWMyLjA0OTgsMS4xNjQwNiwyLjc2MTcyLDMuNzgzMiwxLjU4MzAxLDUuODI0MjJsLTMuNDE3OTcsNS45MTk5MmMtMy4yNDcwNyw1LjYyNDAyLTkuOTA4Miw4LjMzMTA1LTE2LjE1MzMyLDYuNTQ4ODMNCgkJCQljLTIuNzIzNjMtMC43NzYzNy01LjU5ODYzLTEuMTkyMzgtOC41NzEyOS0xLjE5MjM4Yy0xMC40OTAyMywwLTExLjU5ODYzLDkuNTc2MTctNC44NTc0MiwxNC4xMjMwNWwyMy42ODY1MiwxNS45NzY1Ng0KCQkJCWM5Ljk5MDIzLDYuNzM4MjgsMTUuODk1NTEsMTcuMDY2NDEsMTUuODk1NTEsMjguNzE4NzVjMCwxOC43ODYxMy0xNS4wMDY4NCwzMy4zMDc2Mi0zOC4yNjc1OCwzMy4zMDc2Mg0KCQkJCWMtOS41MjI0NiwwLTE4LjU4Nzg5LTEuOTU3MDMtMjYuODE1NDMtNS40OTAyM2MtNy43ODEyNS0zLjMzOTg0LTEwLjkzMzU5LTEyLjc4MjIzLTYuNjk3MjctMjAuMTE4MTZsMy40ODczLTYuMDQxOTkNCgkJCQljMS4yMTM4Ny0yLjA5OTYxLDMuOTMxNjQtMi43NTk3Nyw1Ljk3NDYxLTEuNDU2MDVjNi44NTkzOCw0LjM4MjgxLDE2LjQ5MDIzLDcuNTk0NzMsMjQuNzU4NzksNy41OTQ3Mw0KCQkJCWMxMC41NDU5LDAsMTEuMzI4MTMtOS45NTg5OCwzLjc2NzU4LTE1LjA1NzYyTDcwMy4yMTQ4NCwxMjU5LjE3NTc4TDcwMy4yMTQ4NCwxMjU5LjE3NTc4eiBNOTg0LjYzMDg2LDEyMDIuMDAwOTgNCgkJCQljMC0yLjM0NzY2LDEuOTAzMzItNC4yNTE5NSw0LjI1MTk1LTQuMjUxOTVoOS45MjE4OGM3LjgyNzE1LDAsMTQuMTcyODUsNi4zNDU3LDE0LjE3Mjg1LDE0LjE3MzgzdjU3LjQwMTM3DQoJCQkJYzAsOC42MTAzNSw2Ljk4MDQ3LDE1LjU5MDgyLDE1LjU5MDgyLDE1LjU5MDgyczE1LjU5MDgyLTYuOTgwNDcsMTUuNTkwODItMTUuNTkwODJ2LTU3LjQwMTM3DQoJCQkJYzAtNy44MjgxMyw2LjM0NTctMTQuMTczODMsMTQuMTcyODUtMTQuMTczODNoOS45MjA5YzIuMzQ4NjMsMCw0LjI1MTk1LDEuOTA0Myw0LjI1MTk1LDQuMjUxOTV2NjcuMzIzMjQNCgkJCQljMCwyNC4yNjU2My0xOS42NzA5LDQzLjkzNzUtNDMuOTM2NTIsNDMuOTM3NXMtNDMuOTM3NS0xOS42NzE4OC00My45Mzc1LTQzLjkzNzVWMTIwMi4wMDA5OEw5ODQuNjMwODYsMTIwMi4wMDA5OHoNCgkJCQkgTTQ2Ni44NjkxNCwxMTk1LjYyMzA1YzMyLjQ4NDM4LDAsNTguODE4MzYsMjYuMzMzOTgsNTguODE4MzYsNTguODE5MzRjMCwzMi40ODQzOC0yNi4zMzM5OCw1OC44MTkzNC01OC44MTgzNiw1OC44MTkzNA0KCQkJCWMtMzIuNDg2MzMsMC01OC44MTkzNC0yNi4zMzQ5Ni01OC44MTkzNC01OC44MTkzNEM0MDguMDQ5OCwxMjIxLjk1NzAzLDQzNC4zODI4MSwxMTk1LjYyMzA1LDQ2Ni44NjkxNCwxMTk1LjYyMzA1DQoJCQkJTDQ2Ni44NjkxNCwxMTk1LjYyMzA1eiBNNDY2Ljg2OTE0LDEyMjUuMDMzMmMtMTYuMjQzMTYsMC0yOS40MTAxNiwxMy4xNjY5OS0yOS40MTAxNiwyOS40MDkxOA0KCQkJCXMxMy4xNjY5OSwyOS40MDgyLDI5LjQxMDE2LDI5LjQwODJjMTYuMjQxMjEsMCwyOS40MDgyLTEzLjE2NjAyLDI5LjQwODItMjkuNDA4MlM0ODMuMTEwMzUsMTIyNS4wMzMyLDQ2Ni44NjkxNCwxMjI1LjAzMzINCgkJCQlMNDY2Ljg2OTE0LDEyMjUuMDMzMnogTTU1Ni43MzI0MiwxMzExLjEzNDc3Yy0yLjM0NzY2LDAtNC4yNTE5NS0xLjkwMjM0LTQuMjUxOTUtNC4yNXYtOTQuOTYxOTENCgkJCQljMC03LjgyODEzLDYuMzQ1Ny0xNC4xNzM4MywxNC4xNzM4My0xNC4xNzM4M2gzLjk1ODk4YzQuNjI1LDAsOC45NTg5OCwyLjI1Njg0LDExLjYxMTMzLDYuMDQ1OWw0MS4xMjIwNyw1OC43NDcwN3YtNTAuNjE5MTQNCgkJCQljMC03LjgyODEzLDYuMzQ1Ny0xNC4xNzM4MywxNC4xNzI4NS0xNC4xNzM4M2g5LjkyMTg4YzIuMzQ3NjYsMCw0LjI1MTk1LDEuOTA0Myw0LjI1MTk1LDQuMjUxOTV2OTQuOTYwOTQNCgkJCQljMCw3LjgyOTEtNi4zNDU3LDE0LjE3Mjg1LTE0LjE3MzgzLDE0LjE3Mjg1aC0zLjk1ODk4Yy00LjYyNSwwLTguOTU4OTgtMi4yNTU4Ni0xMS42MTEzMy02LjA0NDkybC00MS4xMjIwNy01OC43NDYwOXY1MC42MTgxNg0KCQkJCWMwLDcuODI5MS02LjM0NTcsMTQuMTcyODUtMTQuMTcyODUsMTQuMTcyODVINTU2LjczMjQyTDU1Ni43MzI0MiwxMzExLjEzNDc3eiBNMTIxNS4wMjA1MSwxMjExLjkyMjg1DQoJCQkJYzAtNy44MjgxMyw2LjM0NTctMTQuMTczODMsMTQuMTcyODUtMTQuMTczODNoNTAuMzE1NDNjMi4zNDg2MywwLDQuMjUxOTUsMS45MDQzLDQuMjUxOTUsNC4yNTE5NXY1LjY2OTkyDQoJCQkJYzAsNy44MjcxNS02LjM0NTcsMTQuMTcyODUtMTQuMTcyODUsMTQuMTcyODVoLTYuMDI0NDF2NzUuMTE4MTZjMCw3LjgyOTEtNi4zNDU3LDE0LjE3Mjg1LTE0LjE3Mjg1LDE0LjE3Mjg1aC05LjkyMTg4DQoJCQkJYy0yLjM0ODYzLDAtNC4yNTE5NS0xLjkwMjM0LTQuMjUxOTUtNC4yNXYtODUuMDQxMDJoLTE1Ljk0NDM0Yy0yLjM0ODYzLDAtNC4yNTE5NS0xLjkwMzMyLTQuMjUxOTUtNC4yNTE5NVYxMjExLjkyMjg1DQoJCQkJTDEyMTUuMDIwNTEsMTIxMS45MjI4NXogTTc3Ni40NDkyMiwxMjExLjkyMjg1YzAtNy44MjgxMyw2LjM0NTctMTQuMTczODMsMTQuMTczODMtMTQuMTczODNoNTAuMzE0NDUNCgkJCQljMi4zNDk2MSwwLDQuMjUxOTUsMS45MDQzLDQuMjUxOTUsNC4yNTE5NXY1LjY2OTkyYzAsNy44MjcxNS02LjM0NTcsMTQuMTcyODUtMTQuMTcxODgsMTQuMTcyODVoLTYuMDI1Mzl2NzUuMTE4MTYNCgkJCQljMCw3LjgyOTEtNi4zNDU3LDE0LjE3Mjg1LTE0LjE3Mjg1LDE0LjE3Mjg1aC05LjkyMDljLTIuMzQ5NjEsMC00LjI1MTk1LTEuOTAyMzQtNC4yNTE5NS00LjI1di04NS4wNDEwMmgtMTUuOTQ1MzENCgkJCQljLTIuMzQ3NjYsMC00LjI1MTk1LTEuOTAzMzItNC4yNTE5NS00LjI1MTk1VjEyMTEuOTIyODVMNzc2LjQ0OTIyLDEyMTEuOTIyODV6IE05MjkuNjA0NDksMTI3Mi4wMjI0NmwyNi45NTgwMSwzMi4xMjc5Mw0KCQkJCWMyLjMxNDQ1LDIuNzU3ODEsMC4zNDM3NSw2Ljk4NDM4LTMuMjU2ODQsNi45ODQzOGgtMTkuNzA1MDhjLTQuMTg5NDUsMC04LjE2NTA0LTEuODUxNTYtMTAuODU3NDItNS4wNjA1NWwtMjIuNjgxNjQtMjcuMDMxMjUNCgkJCQl2MjcuODQxOGMwLDIuMzQ3NjYtMS45MDMzMiw0LjI1LTQuMjUxOTUsNC4yNWgtOS45MjA5Yy03LjgyNzE1LDAtMTQuMTcyODUtNi4zNDM3NS0xNC4xNzI4NS0xNC4xNzI4NXYtODUuMDM5MDYNCgkJCQljMC03LjgyODEzLDYuMzQ1Ny0xNC4xNzM4MywxNC4xNzI4NS0xNC4xNzM4M2gyOS43NjM2N2MyMi43MDAyLDAsNDEuMTAyNTQsMTcuMTMzNzksNDEuMTAyNTQsMzguMjY4NTUNCgkJCQlDOTU2Ljc1NDg4LDEyNTIuNTkwODIsOTQ1LjQzNjUyLDEyNjYuNzAyMTUsOTI5LjYwNDQ5LDEyNzIuMDIyNDZMOTI5LjYwNDQ5LDEyNzIuMDIyNDZ6IE05MDAuMDYxNTIsMTIyMS44NDM3NXYzMi41OTg2M2g4LjUwMzkxDQoJCQkJYzEwLjk1ODk4LDAsMTkuODQyNzctNy4yOTc4NSwxOS44NDI3Ny0xNi4yOTg4M2MwLTkuMDAxOTUtOC44ODM3OS0xNi4yOTk4LTE5Ljg0Mjc3LTE2LjI5OThIOTAwLjA2MTUyTDkwMC4wNjE1MiwxMjIxLjg0Mzc1eg0KCQkJCSBNMTE1OC4zNTkzOCwxMTk1LjYyMzA1YzExLjM4NDc3LDAsMjIuMDEyNywzLjIzNzMsMzEuMDE3NTgsOC44Mzc4OWMxLjk0NzI3LDEuMjEwOTQsMi41ODQ5NiwzLjc0OTAyLDEuNDM4NDgsNS43MzQzOA0KCQkJCWwtNC45MzI2Miw4LjU0MTk5Yy0zLjI3ODMyLDUuNjc5NjktMTAuMDMzMiw4LjM3Njk1LTE2LjMxNzM4LDYuNTAwOThjLTIuNzY0NjUtMC44MjUyLTUuNjkzMzYtMS4yNjg1NS04LjcyNTU5LTEuMjY4NTUNCgkJCQljLTE2LjgyOTEsMC0zMC40NzI2NiwxMy42NDM1NS0zMC40NzI2NiwzMC40NzI2NmMwLDE2LjgyODEzLDEzLjY0MzU1LDMwLjQ3MjY2LDMwLjQ3MjY2LDMwLjQ3MjY2DQoJCQkJYzMuMDMyMjMsMCw1Ljk2MDk0LTAuNDQzMzYsOC43MjU1OS0xLjI2ODU1YzYuMjk1OS0xLjg3OTg4LDEzLjAzMzIsMC44MTE1MiwxNi4zMTgzNiw2LjUwMDk4bDQuOTMwNjYsOC41NDE5OQ0KCQkJCWMxLjE0NzQ2LDEuOTg4MjgsMC41MTA3NCw0LjUyMzQ0LTEuNDM3NSw1LjczNDM4Yy05LjAwNDg4LDUuNjAxNTYtMTkuNjMyODEsOC44Mzc4OS0zMS4wMTc1OCw4LjgzNzg5DQoJCQkJYy0zMi40ODUzNSwwLTU4LjgxOTM0LTI2LjMzNDk2LTU4LjgxOTM0LTU4LjgxOTM0QzEwOTkuNTQwMDQsMTIyMS45NTcwMywxMTI1Ljg3NDAyLDExOTUuNjIzMDUsMTE1OC4zNTkzOCwxMTk1LjYyMzA1eiIvPg0KCQkJPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiMwMEZGREEiIGQ9Ik0xMzE4LjE5NzI3LDEyMDYuMDMyMjMNCgkJCQljMC03LjgyODEzLDYuMzQ1Ny0xNC4xNzM4MywxNC4xNzI4NS0xNC4xNzM4M2MyMC42NTYyNSwwLDQxLjMxMjUsMCw2MS45Njg3NSwwYzMuNDI5NjksMCw1LjQ1MDIsMy44ODA4NiwzLjQ4MzQsNi42OTA0Mw0KCQkJCWwtMTkuMjk2ODgsMjcuNTY3MzhjMTUuNTQyOTcsOC4zNzU5OCwyNi4xMDY0NSwyNC44MDA3OCwyNi4xMDY0NSw0My42OTUzMWMwLDI3LjM5NzQ2LTIyLjIwODk4LDQ5LjYwNjQ1LTQ5LjYwNjQ1LDQ5LjYwNjQ1DQoJCQkJYy0xNi42ODg0OCwwLTMxLjQ1MTE3LTguMjQwMjMtNDAuNDQzMzYtMjAuODc1OThjLTEuNDUwMi0yLjAzOTA2LTAuODMxMDUtNC44OTk0MSwxLjMzNTk0LTYuMTUyMzRsMTAuOTc3NTQtNi4zMzc4OQ0KCQkJCWM0Ljg4MTg0LTIuODE4MzYsMTAuOTc5NDktMi40NzU1OSwxNS41MTQ2NSwwLjg3MzA1YzMuNTI4MzIsMi42MDU0Nyw3Ljg5MTYsNC4xNDY0OCwxMi42MTUyMyw0LjE0NjQ4DQoJCQkJYzExLjc0MjE5LDAsMjEuMjU5NzctOS41MTg1NSwyMS4yNTk3Ny0yMS4yNTk3N3MtOS41MTc1OC0yMS4yNTk3Ny0yMS4yNTk3Ny0yMS4yNTk3N2gtMTUuMjE3NzcNCgkJCQljLTMuNDI5NjksMC01LjQ1MDItMy44ODA4Ni0zLjQ4NDM4LTYuNjkwNDNsMTguMTM1NzQtMjUuOTA4MmgtMzIuMDA5NzdjLTIuMzQ4NjMsMC00LjI1MTk1LTEuOTAzMzItNC4yNTE5NS00LjI1MTk1VjEyMDYuMDMyMjN6DQoJCQkJIi8+DQoJCTwvZz4NCgkJPGc+DQoJCQk8Zz4NCgkJCQk8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI0RBRThGNyIgZD0iTTg1MC4zOTU1MSw4NTcuNTkxOA0KCQkJCQljLTUwLjM1NjQ1LDAtOTQuMzI1Mi0yNy4zNTY0NS0xMTcuODUyNTQtNjguMDIwNTFsLTgwLjAzMDI3LDQ2LjIwNDFjLTQuNjU1MjcsMi42ODk0NS02LjEzMTg0LDguNzE4NzUtMy4yNDkwMiwxMy4yNTU4Ng0KCQkJCQljNDIuMjM3Myw2Ni40ODYzMywxMTYuNTMzMiwxMTAuNjA3NDIsMjAxLjEzMTg0LDExMC42MDc0MmM4OC4xMjU5OCwwLDE2NS4wNzEyOS00Ny44NzUsMjA2LjI0MzE2LTExOS4wMzYxM2wtODAuNDg3My00Ni40Njk3Mw0KCQkJCQljLTQuMzEzNDgtMi40OTAyMy05LjgwMTc2LTEuMjA1MDgtMTIuNTcwMzEsMi45MzU1NUM5MzkuMTc1NzgsODMzLjU2MjUsODk3LjU5MTgsODU3LjU5MTgsODUwLjM5NTUxLDg1Ny41OTE4DQoJCQkJCUw4NTAuMzk1NTEsODU3LjU5MTh6IE0xMTM2LjcyMTY4LDU1Ni4yMTc3N2M0LjYxNDI2LTIuNjYzMDksNi4xMTAzNS04LjYxOTE0LDMuMzEyNS0xMy4xNTEzNw0KCQkJCQljLTU5LjkxNTA0LTk3LjAzMDI3LTE2Ny4yMjQ2MS0xNjEuNjk0MzQtMjg5LjYzODY3LTE2MS42OTQzNGMtMTI1Ljg5MzU1LDAtMjM1LjgxMzQ4LDY4LjM5MjU4LTI5NC42MzM3OSwxNzAuMDQ5OA0KCQkJCQlsODAuMzc2OTUsNDYuNDA2MjVjNC4zOTc0NiwyLjUzOTA2LDEwLjAwMTk1LDEuMTQ5NDEsMTIuNzEwOTQtMy4xNDU1MQ0KCQkJCQljNDIuMTY0MDYtNjYuODUxNTYsMTE2LjY2ODk1LTExMS4yNjM2NywyMDEuNTQ1OS0xMTEuMjYzNjdjODguMTI1OTgsMCwxNjUuMDcxMjksNDcuODc1OTgsMjA2LjI0MzE2LDExOS4wMzYxMw0KCQkJCQlMMTEzNi43MjE2OCw1NTYuMjE3Nzd6Ii8+DQoJCQkJPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiNBNUJBQzgiIGQ9Ik04NTAuMzk1NTEsOTU5LjYzODY3DQoJCQkJCWMtODQuNTk4NjMsMC0xNTguODk0NTMtNDQuMTIxMDktMjAxLjEzMTg0LTExMC42MDc0MmMtMi44NzY5NS00LjUzMDI3LTEuMzk5NDEtMTAuNTcwMzEsMy4yNDkwMi0xMy4yNTU4Nmw4MC4wMzAyNy00Ni4yMDQxDQoJCQkJCWMtMTEuNTgxMDUtMjAuMDE2Ni0xOC4yMDk5Ni00My4yNTQ4OC0xOC4yMDk5Ni02OC4wNDE5OWMwLTc0Ljc4NTE2LDYwLjU1NzYyLTEzNi4wNjI1LDEzNi4wNjI1LTEzNi4wNjI1DQoJCQkJCWM0Ny4xOTYyOSwwLDg4Ljc4MDI3LDI0LjAyOTMsMTEzLjE4NTU1LDYwLjUyMjQ2YzIuNzY0NjUsNC4xMzM3OSw4LjI2MzY3LDUuNDIxODgsMTIuNTcwMzEsMi45MzU1NWw4MC40ODczLTQ2LjQ2OTczDQoJCQkJCWMtNDEuMTcxODgtNzEuMTYwMTYtMTE4LjExNzE5LTExOS4wMzYxMy0yMDYuMjQzMTYtMTE5LjAzNjEzYy04NC44NzY5NSwwLTE1OS4zODE4NCw0NC40MTIxMS0yMDEuNTQ1OSwxMTEuMjYzNjcNCgkJCQkJYy0yLjcwNjA1LDQuMjkxMDItOC4zMTgzNiw1LjY4MTY0LTEyLjcxMDk0LDMuMTQ1NTFsLTgwLjM3Njk1LTQ2LjQwNjI1DQoJCQkJCWMtMjguOTUyMTUsNTAuMDQwMDQtNDUuNTIzNDQsMTA4LjEzOTY1LTQ1LjUyMzQ0LDE3MC4xMDc0MmMwLDE4Ni45NjM4NywxNTEuMzk0NTMsMzQwLjE1NzIzLDM0MC4xNTcyMywzNDAuMTU3MjMNCgkJCQkJYzEyMi40MTQwNiwwLDIyOS43MjM2My02NC42NjQwNiwyODkuNjM4NjctMTYxLjY5NTMxYzIuNzk0OTItNC41MjYzNywxLjI5NDkyLTEwLjQ5MDIzLTMuMzEyNS0xMy4xNTEzN2wtODAuMDgzMDEtNDYuMjM3Mw0KCQkJCQlDMTAxNS40NjY4LDkxMS43NjM2Nyw5MzguNTIxNDgsOTU5LjYzODY3LDg1MC4zOTU1MSw5NTkuNjM4Njd6Ii8+DQoJCQk8L2c+DQoJCQk8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iIzAwRkZEQSIgZD0iTTExMzcuMTg1NTUsNzU4LjExMzI4di03My4xNjc5N2wtNjMuMzY1MjMsMzYuNTgzOTgNCgkJCQlMMTEzNy4xODU1NSw3NTguMTEzMjhMMTEzNy4xODU1NSw3NTguMTEzMjh6IE0xMDI2LjU3NjE3LDcwNS4xNjQwNmwxMjAuMDU4NTktNjkuMzE2NDENCgkJCQljMTIuNTY4MzYtNy4yNTU4NiwyOC4zNDQ3MywxLjg1MjU0LDI4LjM0NTcsMTYuMzY2MjF2MTM4LjYzMDg2Yy0wLjAwMDk4LDE0LjUxMjctMTUuNzc3MzQsMjMuNjIyMDctMjguMzQ1NywxNi4zNjYyMQ0KCQkJCWwtMTIwLjA1ODU5LTY5LjMxNjQxQzEwMTQuMDI4MzIsNzMwLjY0OTQxLDEwMTQuMDI4MzIsNzEyLjQwOTE4LDEwMjYuNTc2MTcsNzA1LjE2NDA2eiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPC9zdmc+DQo=", -a.g.yJ)).toString();b=await QB.wm(b);b=await mC(a.g,b);return await Hi(a.Pa(),b,{jz:"high"})}async function nC(a,b){b=(new URL(b,a.g.yJ)).toString();b=await QB.wm(b);return await Hi(a.Pa(),b,{jz:"high"})} -function oC(a,b){const d=a.Pa();2===b?(a.Xh=QB.A(QB.ea.nF,a.Pa()),rh(a.Xh,"Arial"),a.Xh.vF(16),wh(a.Xh,"center"),xh(a.Xh,"center"),a.Xh.ec(300,200)):0===b?(b=a.g.Xt)&&b.vs(d).catch(c=>console.warn("[C3 runtime] Failed to create texture for loading logo: ",c)):4===b&&(lC(a).then(c=>{"done"===a.el?Dg(d,c):a.$g.gz=c}).catch(c=>console.warn("Failed to load splash image: ",c)),nC(a,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAABABAMAAACekdKMAAAAMFBMVEUAAAByfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYYgo7vbAAAAD3RSTlMAmd137hFVqjO7zCKIRGZ881JRAAAFY0lEQVR42u2aPW/bVhSGn1iiPizZ8D+QgSJBNglFmiboQA0NUKAD1XotYA0BOspAkZnqx24vnTrIQNCpg4QkQMcYKDoW9j9w5y6qLNqWFDlvh3tJUa6ddHBhAuS7SKBIQffhuee851CQKVOmTJkyZcqUKXmqa8O+uyNlABKsFRmdP0o5AOle2gHoWdoBzFrpBHACwPeetJNmAFSlt6kGwGH0LqUAVqRuqgHkpEaqAVRkfvOWr+Dh9Rc4j6VvwnrhPNAbgK2ezj+yx7Z6GjUuASi4Ch4lHQAGwBeRK1rROQAdUx5K0hE4NUkaAdS02ZEuoms2wkCSgvYSgFJfkn6CobkSPG0mEcAOrHnGFOxAToHNjk/MygLgO/PxL0BN9yRdQKlufMQAoCdJGi8BOJYknXTJ269cu9HtdqNb4Ni6oimUbFb0dAZQ1DmULJ+TFtT0qQHwg73mLlCMfFUMQPR5VWrbmttNHICC1KDiSZ+w3pMOwFPDhP4IYFtv4ZX0nIorbUBNmjWAiqdZg5fmNFd6jvPhJQDjAV9LI0r28IpmycsBZalNWfoRWJcuoKY9c7cCkwpOwdcIqNT1BmrSgQkNbQAvpAGOF+aHOIBpCxhKR/TVBNjVOHkAOgrg2N6aoU7sklmVidtD7bNm/fIrjaBmk+Sxea142iBnTyguAfjZZscNXLOdXFM8EgVgXRpDz/6yonTEts6AXdV1APTVoKigFSXEmj3XN0kSV01WFQwAHC8O4Mhagye8NgHS137SALzsS3dxwhtXkQ4oaw64eqomOFKXbc2xJbFLTX8DOHYnsKsJu2Gdu8IIuTqjrMB8eyM5ACIFXQo2S5t7lNMM6AdFTaCgADqahHW8EQIohBk9rzEdE+JXAtjVmHWpDTmplUAA96Ea/bJDnVKSWjgaFTSHqubgmjVDXQchgFy4wBXNcXV6LYC8RjbEypomcCAyBopRShxqAn21yenM8WawqjOoKVbmLYBFndeImsnyVwJY1RR8NW1FTRiA6UNTCsP6fKwLONQBZTXx1WVbT0KbtwygvAxg81oAZU0xe2QYxkmyrDDx2DzWBXTUZFs7dNQwHUEMwN4VAKb47wOQ1wj8Gx0+/Y8A8powVJtt7XOoxn8A8N4IqCrA8cJUmzgAl3JAUWN8tSjqDX0NwI/XbwugGLe178oBK7bBaBesm0gggOUqwLrOHe8c1jV2NAMOw/XFAFRth2dr/burANS1cSc0C8kDsB7zAZvgKCjoLTiaFqwpmvwLQC7e2b3PB4CrZj48KXkAKktOEPr6VqeAr680udzEWACluK0LreJ1ThBe6+w4HkfJAhD1AtbAu3qgPcDVX2oCK9bqxwFQ1+fRsVW7va/uBZpAWaND652TCGBoM1rHHN6VmQlsq6cdE+4mC75oLAC49prKB1zTDd6NukHIKahbIkkEsGrmAQWZbZqXNLClrg04dTP4KnjnCwBfmgkZT7WD45k94C8BmA3MPGBgeqcbfQBxwwDsRMi3N7Iqc3dzsuVhV5ofkevpJOoGKUn6Ax5L92F49USoayZCls08uQDiM0ETCWPb8k7DMmH02SICGC7ayVhnsABwEpsZQkfxUpI4ALGpsFn4xCbHcVjnwgnvAkBh0U6CbzqrXgzA1E6FB9YOJGcacgUAfl36t0Ro/SIDUDEL/D1WBcJr5q0oRoJ2LQZgZJ4LPIu2RCPJAJafDLm2Yr2OHmQ4H0vzBksA2PKl38L3fY0aLAFYejK0ZpJhelVKzkj8dlRNzkj8dpRP0DTkVjTUXroB9PVnqtefS9I05BZU8NOdAyUl5q8RtwUg6KYcwP1Up8CanpMpU6ZMmTLdgP4BRYsi23xEdOAAAAAASUVORK5CYII=").then(c=> -{"done"===a.el?Dg(d,c):a.$g.mz=c}).catch(c=>console.warn("Failed to load splash image: ",c)),nC(a,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAABABAMAAACekdKMAAAAMFBMVEUAAAByfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYYgo7vbAAAAD3RSTlMAdxHdu4hmVZnuRMwzqiLYE4y2AAAFw0lEQVR42u2Yy+9LQRTHp6Xq0VIkXkFvwkYslAWJiGJj2a6sJJe/oF3YWGElEQmxkYi4ErFWNpatWFmIx9Lm1sJCLKgqraqv82h726l6hOuRzDf53TtnOr+ZOZ+ZOffca5ycnJycnJycnJycnJycnJz+pi7g2G9osxjvzX8qB8ABcAAcgH8XwDa85dspNOiaRDuAR4U0PnHtDuyy7IJRJS6gvVmL6TywVkp4ZxIhulUxFvlaXQTrgEHbnMDH5XRjlXCdb+uAnc2ojWgFFTYBZ8e9tzcaswAk6v/3K4sPfPNRFj87IXj+KXQUS9m2jXoH1lMuLq2DtEcAtNMBT9PjanFq7ySAhbABVEAaeDaAwkk2D7GRqctAMQJIq2sBauLnB/VxCfqKpWrbRhSC1W5SMQ9RTgBUwKpF1ccmAIQ2gCxE+20Au9nSESvDgeIDkJSBMpA9vgyXdsj0H0GORL3n2fbwPOKoSQS4Q2cBOGzSJbQYAHDbZEI+rEuBcyZRlF71fIP/x0wBuIBOw6xH3xu2GQFAP2cegmvSwHkeqBZjECzB46UXD3bg8UKJCT6QYzgDY9uiU7hC11doERq6MAZ2CPJ7ipEulOrteDcB4KOZBpBG7zrV1JGzATzmIdnrl/go3bRiBJBHlZc+6ItjuQQ+yFLz8Gka2LZFRVTFGdoQJQ0LPodHnXkS8AjlRWkBLwKQswAs0PDzGpcsAAMNuG+5WgdqxwjgEcp8qcBjN5oZdPhEvOfhU/hsbJuVloWV6WWgp2IBLxXQNEwLDfKqoMXrEQBjATiFA3qePlgAZJRl+EStdaAQjfgALOC1zfeX8ALV+7S69JdALWjxHGqztmxyMnTD6OOBWvAdGDkn60c6vrI5H4CPnOJsWQDe8G0hIU0MB8ojFx+AFAeqeitLy5FkL3w0yNNcSOx3oDxjjxaH9XxldZluY5NBfwrAQvQbRjQXAO8UqVq5dh6A7HCgWzgdFwBdgOX4lMZbTndkWWkDN07Bk+zItllLdHm1+FkLwBSADNDf8B0AnGOp5gFYgJEexwcgGQx4iyeD9ybFkWsbDZbv0+2Y8XvGtqMpWsUimpMAzA1AUrj5ALjm2wCoONKB+ACYsEeDlU04MMs4imeJQqljslSuD4xl/zgAsx6ku/8DgDwaO9AwFU56qhzOPiXpKCzCpSSdb8v+CQDmXshb99cARAPFCOA1chWaFXlP55yn2FqEgiFvOSzYtmiJzisKB7MxQPS8iO63YsD3AHDv8QPgjR92eKuf9vts1wdZjvZhN4XajD35FNDiR7ln0LYBaILY+OZT4DsA+BkTP4AUrgXkxSJcDFps+72X7EGlx6mBbU/lAbdQjvKA7hSAlSuHxdw0gORsHrAUnXkAUuj+AQAZdHGRp9bShX2ECz1JRSk4zNhRJqj5SZQJfpgCUNS2eRsAP/usTDAxPxFKA834AZgAOM1z6qGgxxpdmUDQNjP25LtAsojxu0AehSkAF6RLXWR/EkAdVYEevQtswVtpMwuAB1JGh2jbxQcgBKrig/qSxTD6o2Nm7fttSY6uUnErV+jb4CJyaArAI5luJkCDOy5HAPISSB5A3wYbhJERahvtPALAAw2EI9Vzsh2TTuk23qEceN9d4vVVv227hNroe0CRi/o9IKTZTQFIAc/M8jwGEiouG2/042u8u25uAuPvAavRH7XhzqcBpICdRpssRa+aNLFoh2JeyBzU08fih/ht20WZXghW34s+/ZQnAKhzojsSH4CC/sjARPKamLXacOfTAIwfNSkCbROLluG9Tm2gdl3PY178tu2SBIpFQ6fHH//2GAvAogCkjtGDEAFQYPsu6DdBqw11bgFIF8dNHsQGIEFRSDOe0RS9YYJk23JMrw+/Cr9bFX0VXmNsACbhA088qXhBrMYAlq8Gjhh//FX4YNSGO7cASO9n9B99AuHk5OTk5OTk5OTk5OTk5OTk5OT0VX0B7+fX+9cwWYYAAAAASUVORK5CYII=").then(c=> -{"done"===a.el?Dg(d,c):a.$g.sz=c}).catch(c=>console.warn("Failed to load splash image: ",c)))}function pC(a){$c(a.g,"runtime","hide-cordova-splash")}function qC(a){if(-1!==a.Kf){var b=a.Pa();b.Nv();a.Kf=-1;var d=a.g.tb.LH,c=a.g.Wt;3!==c&&(iC(a,b),Ai(b),oi(b),Kf(b),pi(b,null));if(0===c)rC(a,d);else if(1===c)sC(a,d,120,0);else if(2===c)tC(a,d);else if(3!==c)if(4===c)uC(a,d);else throw Error("invalid loader style");b.gs();a.Kf=requestAnimationFrame(()=>qC(a))}} -function vC(a){a.Fx=Date.now();a.g.fb().addEventListener("loadingprogress",a.II);a.Kf=requestAnimationFrame(()=>qC(a));3!==a.g.Wt&&pC(a)} -async function wC(a){const b=a.Pa();a.bp=1;const d=a.g.Wt;4===d&&await a.sQ;a.FJ=null;a.sQ=null;-1!==a.Kf&&(cancelAnimationFrame(a.Kf),a.Kf=-1);a.g.fb().removeEventListener("loadingprogress",a.II);a.II=null;a.Xh&&(a.Xh.j(),a.Xh=null);var c=a.g;c.Xt&&(c.Xt.j(),c.Xt=null);b.Nv();a.$g.gz&&(Dg(b,a.$g.gz),a.$g.gz=null);a.$g.mz&&(Dg(b,a.$g.mz),a.$g.mz=null);a.$g.sz&&(Dg(b,a.$g.sz),a.$g.sz=null);Ai(b);b.gs();a.el="done";a.Oo=b.zj;3===d&&pC(a)} -function rC(a,b){const d=a.Pa();var c=a.g.Xt;if(c)if(c=c.Hd()){var e=c.J(),g=c.I(),k=a.yc/2,l=a.fc/2,n=e/2;g/=2;var p=k-n,r=l-g;k+=n;l+=g;VB.set(p,r,k,r,k,l,p,l);pi(d,c);d.Kd(VB);sC(a,b,e,g+16)}else sC(a,b,120,0);else sC(a,b,120,0)}function sC(a,b,d,c){const e=a.Pa();Lf(e,e.xy);b?ni(e,1,0,0,1):ni(e,.118,.565,1,1);b=a.yc/2;const g=a.fc/2,k=d/2;wc(Wf,b-k,g-4+c,Math.floor(d*a.bp),8);e.Rect(Wf);wc(Wf,b-k,g-4+c,d,8);Wf.offset(-.5,-.5);yc(Wf,.5,.5);ni(e,0,0,0,1);Vf(e);yc(Wf,1,1);ni(e,1,1,1,1);Vf(e)} -function tC(a,b){b?(b=a.Xh,Yb(hh,1,0,0),b.vi(hh)):(b=a.Xh,Yb(hh,.6,.6,.6),b.vi(hh));a.Xh.qk(Math.round(100*a.bp)+"%");var d=a.yc/2,c=a.fc/2;b=d-150;var e=c-100;d+=150;c+=100;VB.set(b,e,d,e,d,c,b,c);b=a.Pa();pi(b,a.Xh.Hd());wi(b,VB,a.Xh.$f())} -function uC(a,b){const d=a.Pa(),c=a.$g.gz,e=a.$g.mz,g=a.$g.sz,k=Date.now();0===a.HJ&&(a.Fx=k);const l=a.g.ko()||a.g.bZ&&!xC(a.g),n=l?0:200,p=l?0:3E3;let r=1;"fade-in"===a.el?r=Math.min((k-a.Fx)/300,1):"fade-out"===a.el&&(r=Math.max(1-(k-a.GJ)/300,0));Lf(d,d.xy);ni(d,.231*r,.251*r,.271*r,r);Wf.set(0,0,a.yc,a.fc);d.Rect(Wf);const x=Math.ceil(a.yc),v=Math.ceil(a.fc);let y;256=p&&1<=a.bp&&(a.el="fade-out",a.GJ=k);("fade-out"===a.el&&k-a.GJ>=300+n||l&&1<=a.bp&&500>k-a.Fx)&&a.FJ()} -QB.QS=class extends QB.ua{constructor(a){super();this.g=a;this.Ng=[];this.iP=!1;this.bi=this.Le=null;this.HH="high-performance";this.eP=!1;this.Zm=this.Ym=this.Lg=this.Mg=this.fc=this.yc=this.Kp=this.Lp=0;this.Np="normalized";this.wO=0;this.jK=1;this.hK=1E4;this.jt=!0;this.ld=this.wd=this.AQ=0;this.JY=this.CO="letterbox-scale";this.IY=this.HY=0;this.mB=TB.create();this.Ki=this.fK="high";this.Gt=!1;this.Ms=[];this.Ry=new Set;this.ZC=self.C3_Shaders;this.Hw=QB.A(QB.ea.hT,{qR:()=>[this.wl(),this.vl()], -rR:()=>{const b={gi:this.g.pd};"low"===this.Ki&&(b.width=this.wl(),b.height=this.vl());return this.av(b)},OR:b=>{this.mq(b)},getTime:()=>wj(this.F()),NR:()=>this.F().N()});this.Nh=this.Oo=0;this.yt=NaN;this.JB=null;this.DI=new Map;this.Sw=NaN;this.yD=new Map;this.bD="";this.EJ=1;this.mQ=QB.A(QB.Rect);this.ty="";this.nQ=this.qy=null;this.Fx=0;this.Kf=-1;this.bp=0;this.II=b=>this.bp=b.progress;this.Xh=null;this.$g={gz:null,mz:null,sz:null};this.GJ=this.tQ=this.HJ=0;this.el="fade-in";this.FJ=null;this.sQ= -new Promise(b=>this.FJ=b)}async ii(a){var b=a.canvas;this.Ng.push({canvas:b,fR:null});Vy(this.g,"runtime","window-resize",c=>{const e=this.g;if(null===e.yd){var g=c.devicePixelRatio;this.Bg()&&(self.devicePixelRatio=g);null===e.yd&&(e.Ol=g);this.Gt=!!c.isFullscreen;this.ec(c.innerWidth,c.innerHeight);e.N();g=new QB.Event("window-resize");g.data=c;ld(e.fb(),g);c=new QB.Event("resize");c.Oba=this.yc;c.Nba=this.fc;c.Xba=this.Mg;c.Wba=this.Lg;e.nh(c);e.Ob&&(yt(e)||self.fj.B4())&&e.oq()}});Vy(this.g,"runtime", -"fullscreenchange",c=>{this.Gt=!!c.isFullscreen;this.ec(c.innerWidth,c.innerHeight,!0);this.g.N()});Vy(this.g,"runtime","fullscreenerror",c=>{this.Gt=!!c.isFullscreen;this.ec(c.innerWidth,c.innerHeight,!0);this.g.N()});b.addEventListener("webglcontextlost",c=>{console.log("[Construct] WebGL context lost");c.preventDefault();this.Ms=[];this.Ry.clear();this.Hw.yh();this.Le.yh();this.g.IA()});b.addEventListener("webglcontextrestored",()=>XB(this));this.Gt=!!a.isFullscreen;var d=navigator.gpu&&this.iP; -b=!1;if(d)try{await ZB(this,!0)}catch(c){$B("WebGPU",c),this.bi=null}if(!this.Pa())try{await aC(this,!0)}catch(c){$B("WebGL",c),this.Le=null}this.Pa()||(b=!0);if(!this.Pa()&&d)try{await ZB(this,!1)}catch(c){$B("WebGPU",c),this.bi=null}if(!this.Pa())try{await aC(this,!1)}catch(c){$B("WebGL",c),this.Le=null}d=this.Pa();if(!d)throw Error("failed to acquire a renderer - check WebGL or WebGPU is supported");d.MH=!!b;this.bi&&(this.bi.tda=()=>{console.log("[Construct] WebGPU device lost");this.Ms=[];this.Ry.clear(); -this.Hw.yh();this.g.IA()},this.bi.uda=()=>bC(this));"normalized"===this.Np?d.Np=!1:(d.Np=!0,d.wF(this.wO));this.ec(a.windowInnerWidth,a.windowInnerHeight,!0);await this.Gl()}async Gl(){this.bi?await cC(this):this.Le&&await dC(this);const a=this.Pa();a.AF(this.jt);a.Cc&&(this.yt=0);for(const b of this.g.IG){for(const d of b.gj())d.Gl(a);b.Gl(a);b.Gh()}}j(){this.Le=this.g=null;this.Ng.length=0}Bg(){return this.g.Bg()}ec(a,b,d=!1){a=Math.floor(a);b=Math.floor(b);if(0>=a||0>=b)throw Error("invalid size"); -if(this.Lp!==a||this.Kp!==b||d){this.Lp=a;this.Kp=b;d=eC(this);if("letterbox-scale"===d){var c=this.g.xm(),e=this.g.Pi,g=this.g.Oi,k=e/g;a/b>k?(this.yc=Math.round(b*k),this.fc=b,this.Ym=Math.floor((a-this.yc)/2),this.Zm=0):(this.yc=a,this.fc=Math.round(a/k),this.Ym=0,this.Zm=Math.floor((b-this.fc)/2));this.Mg=Math.round(this.yc*c);this.Lg=Math.round(this.fc*c);yC(this.g,e,g)}else"letterbox-integer-scale"===d?(c=this.g.xm(),1!==c&&(a+=1,b+=1),e=this.g.Pi,g=this.g.Oi,k=e/g,k=a/b>k?b*k*c/e:a/k*c/g,1< -k?k=Math.floor(k):1>k&&(k=1/Math.ceil(1/k)),this.Mg=Math.round(e*k),this.Lg=Math.round(g*k),this.yc=this.Mg/c,this.fc=this.Lg/c,this.Ym=Math.max(Math.floor((a-this.yc)/2),0),this.Zm=Math.max(Math.floor((b-this.fc)/2),0),yC(this.g,e,g)):"off"===d?(c=this.g.xm(),this.yc=this.g.fh,this.fc=this.g.hf,this.Mg=Math.round(this.yc*c),this.Lg=Math.round(this.fc*c),this.Gt?(this.Ym=Math.floor((a-this.yc)/2),this.Zm=Math.floor((b-this.fc)/2)):this.Zm=this.Ym=0,yC(this.g,this.g.fh,this.g.hf)):(c=this.g.xm(),this.yc= -a,this.fc=b,this.Mg=Math.round(this.yc*c),this.Lg=Math.round(this.fc*c),this.Zm=this.Ym=0,a=this.bk(),yC(this.g,this.yc/a,this.fc/a));"high"===this.fK?(this.wd=this.Mg,this.ld=this.Lg,this.Ki="high"):("off"===eC(this)?(a=this.g.fh,b=this.g.hf):(a=this.g.Pi,b=this.g.Oi),this.Mgd&&(this.ld=this.wd/a)):"scale-outer"===d&&(d=a/b,a=this.Lp/ -this.Kp,a>d?this.wd=this.ld*a:ac||"scale-inner"===a&&e{var g=a;g=Object.assign({},zg,g);return"nearest"!==g.gi!==e.$E()||!!g.alpha!==e.Ls||!!g.depth!==e.Af||2<=e.ya.Rb&&!!g.TD!==e.ox?!1:"number"===typeof g.width||"number"===typeof g.height?!e.ZB&&e.J()===Math.floor(g.width)&&e.I()===Math.floor(g.height):e.ZB});let c;-1!==d?(c=b[d],b.splice(d,1)):c=Ii(this.Pa(),a);this.Ry.add(c); -return c}mq(a){if(!this.Ry.has(a))throw Error("render target not in use");this.Ry.delete(a);this.Ms.push(a)}Vz(){return this.yt}pN(a,b,d,c,e,g){this.bD=a;this.EJ=b;wc(this.mQ,d,c,e,g);return this.qy?this.qy:this.qy=new Promise(k=>{this.nQ=k})}};"use strict";const Y=self.B,zC=self.fj,AC={messagePort:null,runtimeBaseUrl:"",headless:!1,hasDom:!0,isInWorker:!1,useAudio:!0,projectData:"",exportType:""};let BC=!0; -function $c(a,b,d,c){a.Kx.postMessage({type:"event",component:b,handler:d,data:c,responseId:null},void 0)}function vj(a,b){return b&&-1!==b.Wd?a.Oq*b.Wd:a.Fw}function wj(a){return a.HB.U()}function xj(a,b,d,c){const e=a.sZ++,g=new Promise((k,l)=>{a.Vx.set(e,{resolve:k,reject:l})});a.Kx.postMessage({type:"event",component:b,handler:d,data:c,responseId:e},void 0);return g} -function Ej(a,b,d,c,e,g,k){if(k&&a.Xi){const l=bs(a.Xi,b,k);if(l)return b=fn(a,l,d,!1,c,e,!1,g,void 0,g),cs(a.Xi,b,k),b}return fn(a,b,d,!1,c,e,!1,g,void 0,g)}function Ij(a){if(a.LB){for(const b of a.Qo){const d=b.G();d.xi(b);for(const c of d.Gi)c.xi(b),c.Xq=!0}Y.D(a.Qo);a.Nb.ys(!0);for(const [b,d]of a.VB.entries())CC(a,b,d),d.clear();a.VB.clear();a.Nb.ys(!1);a.LB=!1;a.N()}}function fm(a,b){b=Math.floor(b);if(0>b||b>=a.jd.length)throw new RangeError("invalid index");return a.jd[b]} -function bn(a,b){if(!a.er.has(b)){var d=b.G(),c=a.VB.get(d);if(c){if(c.has(b))return;c.add(b)}else c=new Set,c.add(b),a.VB.set(d,c);a.Ob&&zC.u4(b);b.oG();a.LB=!0;if(b.Ec())for(const e of b.qd)bn(a,e);for(const e of b.children())e.cv()&&bn(a,e);0Y.Xy(N)):null;b&&C&&C[13]&&(E.ca|=2);E.CA(g,r);a.Qo.push(E);a.LB=!0;a.Ob&&zC.t4(E);return E}function V(a){return a.cn.length?a.cn.at(-1):a.Za()}function qn(a){return a.Ob&&!!a.Pa().Cc&&qn(zC)}function ao(a,b){return a.YI.get(b)||null}function bo(a){a.dr.clear();for(const b of a.jd)if(!b.Ka)for(const d of b.ta())a.dr.set(d.Yb,d)}function EC(a,b){return"low"===a.W.Ki||b.pi()&&(a.Sy||a.jl)} -function xp(a,b){if(a.Aj)throw Error("cannot call while loading state - wait until afterload event");return a.dr.get(b)||null}function st(a){if(!a.cn.length)throw Error("layout stack empty");a.cn.pop()}function ut(a,b){return a.Ff?ut(zC,b):Promise.resolve()}function yt(a){return a.Ob?yt(zC):!1}function iu(a){return a.Ob&&iu(zC)}function wu(a){return a.Ff?zC.P1():!1}function Qu(a,b){b?a.mH--:a.mH++;a.Ff=a.Ob&&a.uY&&0===a.mH} -function Vu(a,b){b=Math.floor(b);a=a.HC;if(0>b||b>=a.length)throw Error("invalid object reference");return a[b]}function*Lx(a,b){for(const d of a.Qo)b.Ka?vy(d.G(),b)&&(yield d):d.G()===b&&(yield d)}function Fy(a){a.UB=new WeakMap;Y.D(a.hx)}function Gy(a,b="full",d=null){a.hx.sort(a.JW);for(const c of a.hx)c.vk(a.UB.get(c),b,d);for(const c of a.hx)c.pG(a.UB.get(c),b,d);Fy(a)} -function Vy(a,b,d,c){let e=a.qH.get(b);e||(e=new Map,a.qH.set(b,e));if(e.has(d))throw Error(`[Runtime] Component '${b}' already has handler '${d}'`);e.set(d,c)}function hA(a,b,d){d?a.Ft.has(b)||(d=Y.A(Y.wv),d.yE(a.HB),a.Ft.set(b,d)):a.Ft.delete(b)}function yC(a,b,d){if(a.fh!==b||a.hf!==d)a.fh=b,a.hf=d,a=a.hb,Ao(a),Bo(a)}async function YB(a){await Sn(a.Za(),null,a.Pa());a.Nb.dispatchEvent(Y.A(Y.Event,"renderercontextrestored"));FC(a,!1);a.N()} -async function mC(a,b){var d=d||2048;var c=c||2048;return a.Bg()?(await xj(a,"runtime","raster-svg-image",{blob:b,imageWidth:2048,imageHeight:2048,surfaceWidth:d,surfaceHeight:c,imageBitmapOpts:void 0})).imageBitmap:await self.C3_RasterSvgImageBlob(b,2048,2048,d,c)}function xC(a){return"cordova"===a.Pl} -async function GC(a){const b=Y.A(Y.Bv);var d=[];const c=new Map;for(const e of a.tc)for(const g of e.Yc){const k=g.oc().pe;c.has(k)||(c.set(k,null),d.push(b.Kb(async()=>{const l=await zl(k);c.set(k,l)})))}await Promise.all(d);d=[];for(const e of a.tc)for(const g of e.Yc)d.push(b.Kb(async()=>{var k=g.oc();const l=c.get(k.pe);k=await qz(k,l);return{m_:await createImageBitmap(k)}}));a=await Promise.all(d);for(const e of c.values())e instanceof ImageBitmap&&e.close&&e.close();return{CK:a}} -async function HC(a,b){return await a.nE("OpusDecode",{arrayBuffer:b},[b])} -function IC(a,b){if(a.hP){var d=b.component,c=b.handler,e=b.data,g=b.dispatchOpts,k=!(!g||!g.dispatchRuntimeEvent);g=!(!g||!g.dispatchUserScriptEvent);var l=b.responseId;if("runtime"===d&&(k&&(b=new Y.Event(c),b.data=e,ld(a.Nb,b)),g)){b=new Y.Event(c,!0);for(const [n,p]of Object.entries(e))b[n]=p;a.nh(b)}if(b=a.qH.get(d))if(b=b.get(c)){k=null;try{k=b(e)}catch(n){console.error(`Exception in '${d}' handler '${c}':`,n);null!==l&&JC(a,l,!1,""+n);return}null!==l&&(k&&k.then?k.then(n=>JC(a,l,!0,n)).catch(n=> -{console.error(`Rejection from '${d}' handler '${c}':`,n);JC(a,l,!1,""+n)}):JC(a,l,!0,k))}else k||g||console.warn(`[Runtime] No DOM handler '${c}' for component '${d}'`);else k||g||console.warn(`[Runtime] No DOM event handlers for component '${d}'`)}else a.eK.push(b)}function JC(a,b,d,c){a.Kx.postMessage({type:"result",responseId:b,isOk:d,result:c})} -async function KC(a){if(!a.tb.yQ["audio/webm; codecs=opus"]){var b=null;try{b=a.uI&&a.tb.Ro?await il(a.tb,a.SP,"buffer"):await a.tb.Zu(a.SP)}catch(d){console.info("Failed to fetch Opus decoder WASM; assuming project has no Opus audio.",d);return}b?a.wx.Dt.postMessage({type:"_send_buffer",buffer:b,id:"opus-decoder-wasm"},[b]):a.wx.Dt.postMessage({type:"_send_blob",blob:null,id:"opus-decoder-wasm"});await LC(a,[a.wZ])}} -async function MC(a,b){b=b.project;a.RC=b[0];a.aQ=b[16];a.rJ=b[31];var d=b[39]||"loading-logo.png";a.Sk=!!b[9];a.Pi=a.fh=b[10];a.Oi=a.hf=b[11];MB(a.Ci,a.Pi,a.Oi);a.JC=a.Pi/2;a.KC=a.Oi/2;a.$s=b[36];a.GB=b[37];"low-latency"===a.$s&&"Android"===Y.V.Jd&&("cordova"===a.Pl||"playable-ad"===a.Pl||"instant-games"===a.Pl)&&77>=Y.V.zz&&(console.warn("[C3 runtime] Desynchronized (low-latency) compositing is enabled, but is disabled in the Android WebView <=77 due to crbug.com/1008842. Reverting to synchronized (standard) compositing."), -a.$s="standard");a.jl=!!b[40];a.pd=b[14];a.Sy=b[15];a.LQ=b[42];a.aK=b[17];a.uD=!!b[18];a.Wt=b[19];a.Qx=b[21];a.VP=b[22];const c=a.tb;dl(c,b[45]);pl(c,b[7],b[25]);c.IP=b[8];c.RO=b[28];$k.Dd(c.gK,b[29]);c.gK.length&&c.yC.push(nl(c));if(0===a.Wt){let n="";a.ko()?el(c,d)&&(n=gl(c,d)):n="flat"===c.Ii?c.RO+d:d;n&&(a.Xt=c.mA({url:n}))}a.W&&(fC(a.W,hC(b[12])),gC(a.W,b[23]?"high":"low"),a.W.AF(0!==b[24]),a.W.HH=b[34],a.W.AQ=b[41],a.W.iP=!!b[13],a.W.Np=b[30],WB(a.W,b[46],b[47]),a.W.wO=b[26],a.W.eP=!!b[48]); -(d=b[43])&&await NC(a,d);kz(a.jp);a.HC=self.AL();for(var e of b[2])jz(a.jp,e);a.HC=self.AL();OC(a);for(var g of b[3])e=Y.nA.La(a,a.jd.length,g),a.jd.push(e),a.Rx.set(e.na().toLowerCase(),e),a.YI.set(e.eb,e);for(const n of b[4])Ez(a.jd[n[0]],n);for(var k of b[27])g=k.map(n=>a.jd[n]),a.gY.push(Y.A(Y.XS,a,g));for(const n of a.jd)Fz(n);for(const n of b[5])a.hb.La(n);if(k=b[1])if(k=yo(a.hb,k))a.hb.zB=k;for(var l of b[33])a.Jb.La(l);for(const n of b[35])a.QJ.La(n);for(const n of b[44])a.Xi.La(n);as(a.Xi)|| -(a.Xi.j(),a.Xi=null);for(const n of b[49])a.jg.La(n);a.jg.QE()||(a.jg.j(),a.jg=null);PC(a);for(const n of b[6])a.Ja.La(n);a.Ja.$b();QC(a);Y.D(a.HC);Ij(a);l="any";b=b[20];1===b?l="portrait":2===b&&(l="landscape");$c(a,"runtime","set-target-orientation",{targetOrientation:l})}async function RC(a,b){a.W&&(await a.W.ii(b),oC(a.W,a.Wt))}async function SC(a,b){try{await b(a.Ok)}catch(d){console.error("[C3 runtime] Error in runOnStartup function: ",d)}} -async function NC(a,b){const d=b.format;"image-sequence"===d?a.yd=new self.S1(a,b):"image-sequence-gif"===d?a.yd=new self.R1(a,b):"webm"===d?a.yd=new self.U1(a,b):"mp4"===d&&(a.yd=new self.T1(a,b));a.GB="unlimited-frame";fC(a.W,"off");a.Ol=1;self.devicePixelRatio=1;await xj(a,"runtime","set-exporting-to-video",{message:a.yd.W3(0),duration:a.yd.Gw})}function OC(a){for(const b of self.MS){const d=Y.first(Object.keys(b));a.kP.push(d)}} -function PC(a){const b={};for(const d of a.jd)b[d.dk()]={value:d.Zw,enumerable:!0,writable:!1};Object.create(Object.prototype,b);a.Ok=new self.kU(a);a.KQ={tick:TC(a,"tick")}}function QC(a){const b={};for(const d of a.Aa().JG)b[d.dk()]=pt(d);Object.defineProperties(a.Ok.A_,b)}function UC(a,b){a.MA.push(b)} -async function LC(a,b){b=await Promise.all(b.map(async d=>{const c=Y.iA(d)&&(new URL(d)).origin!==location.origin,e=xC(a)&&a.tb.Ro;return c||e||a.ko()||"playable-ad"===a.Pl?(d=await a.tb.wm(d),URL.createObjectURL(d)):Y.us(d)?(new URL(d,a.yJ)).toString():d}));a.wx.Dt.postMessage({type:"_import_scripts",scripts:b})}function VC(a){a.oa(Y.C.cb.K.BV,null,null);$c(a,"runtime","register-sw")}function*WC(a){for(const b of a.jd)b.Ka||(yield*b.bz())} -function DC(a,b,d,c,e,g,k,l){var n=(n=OA.get(c))?n.rL:NaN;var p=Wz(c);c=b.m();PA.set(c,n);if(p){"undefined"===typeof g&&(g=d[0]);"undefined"===typeof k&&(k=d[1]);n=new Set;c=d[0];d=d[1];for(const E of p){var r=E[0],x=E[1],v=E[2];p=E[3];var y=!!E[4];const F=E[5];var C=E[6];x=C?C:(a.hb.Cx.get(r)||null).O(x).ZH.get(v);r=fm(a,x[1]);v=!!eA(b,r);C=n.has(r);v&&!C&&y?(y=eA(b,r),v=g+x[0][0]-c,x=k+x[0][1]-d,y.m().El(v,x),x=y.m(),PA.set(x,F),b.hi(y,{Xr:!!(p>>0&1),Yr:!!(p>>1&1),Sp:!!(p>>2&1),Rp:!!(p>>3&1),Ur:!!(p>> -4&1),Ju:!!(p>>5&1),Zr:!!(p>>6&1),Vr:!!(p>>7&1),Wr:!!(p>>8&1)}),n.add(r)):(r=fn(a,x,e,!1,g+x[0][0]-c,k+x[0][1]-d,!1,!0,b,l),y=r.m(),PA.set(y,F),b.hi(r,{Xr:!!(p>>0&1),Yr:!!(p>>1&1),Sp:!!(p>>2&1),Rp:!!(p>>3&1),Ur:!!(p>>4&1),Ju:!!(p>>5&1),Zr:!!(p>>6&1),Vr:!!(p>>7&1),Wr:!!(p>>8&1)}))}}} -function CC(a,b,d){for(const e of d){var c=a.Pq.instancedestroy;c.instance=e;a.Nb.dispatchEvent(c);a.dr.delete(e.Yb);a.Ft.delete(e);if(c=e.m())oB(c),cn(c),c.oG();a.er.add(e);a.ZI--}Y.ci(b.ta(),d);b.Xq=!0;a.WB.add(b);0===b.ta().length&&(b.hw=!1);for(const e of b.Gi)Y.ci(e.ta(),d),e.Xq=!0,a.WB.add(e);if(b.ab().Vd){a=new Set([...d].map(e=>e.m().O()));for(const e of a)0!==d.size&&0a.qu&&(a.qu=0);b=a.iq();!d&&b?(console.log("[Construct] Suspending"),-1!==a.Kf&&(self.cancelAnimationFrame(a.Kf),a.Kf=-1),-1!==a.Bn&&(Y.PS(a.Bn),a.Bn=-1),a.Nb.dispatchEvent(Y.A(Y.Event,"suspend")),a.oa(Y.C.cb.K.LV,null,null)):d&&!b&&(console.log("[Construct] Resuming"),d=performance.now(),a.rC=d,a.Sq=d,a.EB=0,a.Qw=0,a.zC=0,a.un=0,a.Nb.dispatchEvent(Y.A(Y.Event,"resume")),a.oa(Y.C.cb.K.HV,null,null),yt(a)||a.Re(d))}} -function XC(a){const b=a.KZ;"vsync"===a.GB?-1===a.Kf&&(a.Kf=self.requestAnimationFrame(b.JR)):"unlimited-tick"===a.GB?(-1===a.Bn&&(a.Bn=Y.oF(b.s0)),-1===a.Kf&&(a.Kf=self.requestAnimationFrame(b.h0))):-1===a.Bn&&(a.Bn=Y.oF(b.JR))}function*YC(a){Nd(a.Bo,!0);for(const b of a.Bo){const d=b.Re();Y.io(d)&&(yield*d)}Nd(a.Bo,!1)}function*ZC(a){Nd(a.Eq,!0);for(const b of a.Eq)Y.io()&&(yield*void 0);Nd(a.Eq,!1)}function*$C(a){Nd(a.Co,!0);for(const b of a.Co){const d=b.Ov();Y.io(d)&&(yield*d)}Nd(a.Co,!1)} -async function aD(a){const b=a.Ja,d=a.Ob;Ij(a);Fj(b,!0);a.cn.push(a.Za());d&&zC.Es();if(a.Ff)await It(b);else if(b.Yh.length){var c=b.Xf(),e=!1;b.Cn++;for(let k=0,l=b.Yh.length;kd++;)await jD(a,b.Qi)} -async function kD(a){const b=a.Ja,d=a.Nb,c=a.Pq,e=a.Ob,g=a.Ff;e&&zC.Es();if(g)await tt(b,a.hb);else{var k=a.hb;for(const l of b.Ks)l.At=!1;b.Cn++;for(const l of zo(k))if(k=l.md)b.g.cn.push(l),k.za(),st(b.g);b.Cn--}e&&zC.tS();zB.D(a.Ci.by);lD(a);a.oI=!1;Fj(b,!0);e&&zC.Es();if(g)await cD(a,$C(a));else{Nd(a.Co,!0);for(const l of a.Co)l.Ov();Nd(a.Co,!1)}e&&zC.qS();e&&zC.Es();g?await cD(a,md(a.Nb,c.tick2)):d.dispatchEvent(c.tick2);e&&zC.uS();Fj(b,!1);g&&await zt(b)} -async function cD(a,b){if(b)for(const d of b)await ut(a,d)}function lD(a){if(0!==a.er.size){var b=a.Nb;b.ys(!0);for(var d of a.WB)d.cl.nq(a.er);a.WB.clear();d=a.Ja;var c=a.er;for(const e of d.Yh)e.nq(c);for(const e of a.er)e.j();a.er.clear();b.ys(!1)}} -async function jD(a,b){const d=a.Nb,c=a.hb.Za();await ro(c);if(b!==c&&a.Pa())for(const e of c.Yi)e.nf()||b.Zq.has(e)||(e.Fm(),c.Yi.delete(e));c===b&&to(a.Ja);zB.D(a.Ci.by);lD(a);d.dispatchEvent(a.Pq.beforelayoutchange);Y.Wu.kN(!0);await Sn(b,c,a.Pa());Y.Wu.kN(!1);await io(b,!1);d.dispatchEvent(a.Pq.layoutchange);a.N();a.oI=!0;Ij(a);a.yd&&Pp(a.yd.nb.ki())}function mD(a){var b=a.Pa();a=a.hf;return b.Np?1:a/(2*b.ru)/b.le(a)} -function nD(a,b){if(!a.QO.has(b)){var d=()=>{Ne(a.Gn,b)};a.QO.set(b,d);b.fb().addEventListener("animationframeimagechange",d)}d=Me(a.Gn,b);d.OH||Re(d).then(()=>a.N());return d}async function eD(a,b){const d=await oD(a);try{await pD(a).setItem(b,d),console.log("[Construct] Saved state to storage ("+d.length+" chars)"),a.ir=d,await a.$d(Y.C.cb.K.IV,null),a.ir=""}catch(c){console.error("[Construct] Failed to save state to storage: ",c),await a.$d(Y.C.cb.K.JV,null)}} -function fD(a){a.iy="";a.Ex="";a.Vt=null}async function gD(a,b){try{const d=await pD(a).getItem(b);if(!d)throw Error("empty slot");console.log("[Construct] Loaded state from storage ("+d.length+" chars)");await hD(a,d);a.ir=d;await a.$d(Y.C.cb.K.DM,null);a.ir=""}catch(d){console.error("[Construct] Failed to load state from storage: ",d),await a.$d(Y.C.cb.K.EM,null)}} -async function hD(a,b){var d=a.hb;b=JSON.parse(b);if(b.c2save)throw Error("C2 saves are incompatible with C3 runtime");if(!b.c3save)throw Error("not valid C3 save data");if(1l||l>=k.length)throw Error("missing sibling instance");r.qd.push(k[l])}}a.Jb.ra(b.timelines);a.jg&&a.jg.ra(b.flowcharts);Ao(d);Bo(d);a.Nb.dispatchEvent(Y.A(Y.Event,"afterload"));Gy(a);for(var [n]of Object.entries(b.types))if(d=ao(a,parseInt(n,10)))d.wC=null;n=TC(a,"load");n.saveData=b.user_script_data;await a.um(n);a.N()} -function pD(a){a.zJ||(a.zJ=localforage.tK({name:"c3-savegames-"+a.rJ,description:a.RC}));return a.zJ} -async function oD(a){const b={c3save:!0,version:1,rt:{time:wj(a),timeRaw:a.Rw.U(),walltime:a.Jr.U(),timescale:a.Wd,tickcount:a.Zi,next_uid:a.Qx,running_layout:a.Za().eb,start_time_offset:Date.now()-a.sp},types:{},layouts:{},events:a.Ja.pa(),timelines:a.Jb.pa(),flowcharts:a.jg?a.jg.pa():null,user_script_data:null};for(var d of a.jd)d.Ka||Bz(d,Sv.Pb.dF)||(b.types[d.eb.toString()]=d.pa());for(const c of a.hb.nj)b.layouts[c.eb.toString()]=c.pa();d=TC(a,"save");d.saveData=null;await a.um(d);b.user_script_data= -d.saveData;return JSON.stringify(b)}function TC(a,b){b=Y.A(Y.Event,b,!1);b.Me=a.Ok;return b}function qD(a){a.mO||(a.mO=!0,$c(a,"runtime","enable-device-orientation"))}function rD(a){a.lO||(a.lO=!0,$c(a,"runtime","enable-device-motion"))} -Y.bN=class extends Y.ua{constructor(a){a=Object.assign({},AC,a);super();this.Kx=a.messagePort;this.yJ=a.runtimeBaseUrl;this.fZ=!!a.isInWorker;BC=a.ife;this.Pl=a.exportType;this.uI=!!a.isiOSCordova;this.bZ=!!a.isFBInstantAvailable;this.wZ=a.opusWasmScriptUrl;this.SP=a.opusWasmBinaryUrl;this.Ff=this.uY=this.Ob=!("preview"!==this.Pl||!a.isDebug);this.mH=0;this.MA=[];this.eY=[];this.rJ=this.aQ=this.RC="";this.Oi=this.Pi=0;this.Ol=self.devicePixelRatio;this.Wt=this.hf=this.fh=this.KC=this.JC=0;this.uD= -!1;this.Rh=!0;this.aK=this.LQ=this.Sy=!1;this.Xt=null;this.tb=Y.A(Y.DS,this,a);this.hb=Y.A(Y.TU,this);this.Ja=Y.A(Y.lT,this);this.jp=Y.A(Y.$V,this,a.wrapperComponentIds);this.Ci=Y.A(Y.RS,this);this.Jb=Y.A(Y.eX,this);this.QJ=Y.A(Y.gX,this);this.Xi=Y.A(Y.VW,this);this.jg=Y.A(Y.uT,this);this.Gn=Y.A(Y.YW,{x_:b=>{const d=[];for(const c of b.tc)for(const e of c.Yc)b=e.oc(),d.push({source:e,width:b.J(),height:b.I(),tag:e.Vi});return{CK:d}},w_:b=>GC(b)});this.QO=new Map;this.jd=[];this.Rx=new Map;this.YI= -new Map;this.tO=0;this.gY=[];this.IG=new Set;this.cn=[];this.Qo=[];this.VB=new Map;this.LB=!1;this.Qx=this.ZI=0;this.dr=new Map;this.er=new Set;this.WB=new Set;this.HC=[];this.kP=[];this.W=null;this.jl=!1;this.GB="vsync";this.$s="standard";this.pd="trilinear";this.Sk=!1;this.VI=!0;this.sI=this.VP=!1;this.yd=null;this.KZ={JR:b=>{this.Bn=this.Kf=-1;this.Re(b)},s0:b=>{this.Bn=-1;this.Re(b,!1,"skip-render")},h0:()=>{this.Kf=-1;this.oq()}};this.Bn=this.Kf=-1;this.wp=this.Zi=0;this.OO=this.dC=this.MB=!1; -this.oI=!0;this.qu=0;this.am=()=>Math.random();this.Fw=this.Oq=this.rC=this.sp=0;this.Wd=1;this.LP=30;this.HB=Y.A(Y.wv);this.Rw=Y.A(Y.wv);this.Jr=Y.A(Y.wv);this.Ft=new Map;this.EB=-1;this.zC=this.un=this.Qw=this.Sq=0;this.Aj=!1;this.Ex=this.iy="";this.Vt=null;this.ir="";this.zJ=this.qJ=null;this.Nb=Y.A(Y.Event.fb);this.qH=new Map;this.Vx=new Map;this.sZ=0;this.hP=this.lO=this.mO=!1;this.eK=[];this.Pq={pretick:Y.A(Y.Event,"pretick",!1),tick:Y.A(Y.Event,"tick",!1),tick2:Y.A(Y.Event,"tick2",!1),instancedestroy:Y.A(Y.Event, -"instancedestroy",!1),beforelayoutchange:Y.A(Y.Event,"beforelayoutchange",!1),layoutchange:Y.A(Y.Event,"layoutchange",!1)};this.Pq.instancedestroy.instance=null;this.ff=Y.A(Y.Event.fb);this.KQ=null;this.Bo=Y.A(Y.lq,Y.xz.MF);this.Eq=Y.A(Y.lq,Y.xz.MF);this.Co=Y.A(Y.lq,Y.xz.MF);this.wx=Y.A(Y.OU,this,a.jobScheduler);a.canvas&&(this.W=Y.A(Y.QS,this));this.Kx.onmessage=b=>this._OnMessageFromDOM(b.data);Vy(this,"runtime","visibilitychange",b=>{b=b.hidden;FC(this,b);b||this.N()});Vy(this,"runtime","wrapper-extension-message", -b=>{if(-1!==b.asyncId){const d=b.asyncId;this.Vx.get(d).resolve(b.params);this.Vx.delete(d)}else IC(this,{component:"wrapper-extension:"+b.componentId,handler:b.messageId,data:b.params,responseId:null})});Vy(this,"runtime","opus-decode",b=>HC(this,b.arrayBuffer));Vy(this,"runtime","get-remote-preview-status-info",()=>{const b=this.Pa();return{fps:this.Qw,cpu:this.zC,gpu:this.Vz(),layout:this.Za()?this.Za().na():"",renderer:b.pi()?b.Oy:b.TL()}});Vy(this,"runtime","js-invoke-function",b=>this.GA(b)); -Vy(this,"runtime","go-to-last-error-script",self.goToLastErrorScript);Vy(this,"runtime","offline-audio-render-completed",b=>{this.yd.o6(b)});this.Nb.addEventListener("window-blur",b=>{this.ko()&&this.VP&&!Y.V.hq&&!b.data.parentHasFocus&&(FC(this,!0),this.sI=!0)});this.Nb.addEventListener("window-focus",()=>{this.sI&&(FC(this,!1),this.sI=!1)});this.Jb.oE();this.Xi.oE();this.Ok=null;this.YO=new WeakMap;this.xw={keyboard:null,HR:null,mL:null};this.UB=new WeakMap;this.hx=[]}static La(a){return Y.A(Y.bN, -a)}j(){Y.D(this.jd);this.Rx.clear();this.YI.clear();this.hb.j();this.hb=null;this.Ja.j();this.Ja=null;this.jp.j();this.jp=null;this.tb.j();this.tb=null;this.Ci.j();this.Ci=null;this.Jb.j();this.Jb=null;this.QJ.j();this.QJ=null;this.Xi.j();this.Xi=null;this.jg.j();this.jg=null;this.Gn.j();this.Gn=null;this.W&&(this.W.j(),this.W=null);this.Nb.j();this.Nb=null}_OnMessageFromDOM(a){var b=a.type;if("event"===b)IC(this,a);else if("result"===b){b=a.responseId;const d=a.isOk;a=a.result;const c=this.Vx.get(b); -d?c.resolve(a):c.reject(a);this.Vx.delete(b)}else throw Error(`unknown message '${b}'`);}async wh(a){this.Ob?await zC.wh(this):self.fj&&self.fj.s4(this);var [b]=await Promise.all([this.tb.NL("data.json"),KC(this),this.wx.wh()]);await MC(this,b);await RC(this,a);this.ko()||console.info("Made with Construct, the game and app creator :: https://www.construct.net");this.rv()?(b=this.rv(),console.info(`[C3 runtime] Hosted in ${this.Bg()?"worker":"DOM"}, rendering with WebGL ${b.Rb} [${b.Oy}] (${b.UN.desynchronized? -"desynchronized":"standard"} compositing)`)):this.fq()&&console.info(`[C3 runtime] Hosted in ${this.Bg()?"worker":"DOM"}, rendering with WebGPU [${this.fq().TL()}]`);this.Pa().MH&&console.warn("[C3 runtime] The renderer indicates a major performance caveat. Software rendering may be in use. This can result in significantly degraded performance.");this.hP=!0;for(const d of this.eK)IC(this,d);Y.D(this.eK);this.W&&vC(this.W);for(const d of a.runOnStartupFunctions)this.MA.push(SC(this,d));await Promise.all([ml(this.tb), -...this.MA]);Y.D(this.MA);if(this.tb.LH)this.W&&pC(this.W);else return this.W&&await wC(this.W),await kd(this.Nb,new Y.Event("beforeruntimestart")),await this.Nv(),this.Kx.postMessage({type:"runtime-ready"}),this}async Nv(){this.MB=!0;this.sp=Date.now();if(this.uD){for(var a of this.jd)a.Ka||a.rI||!a.Vd||a.Fc();ml(this.tb).then(()=>{this.Rh=!1;VC(this)})}else this.Rh=!1;this.tb.KO=!0;this.Ob&&zC.D8(BC);for(const b of this.hb.nj)po(b);null!==this.yd&&await this.yd.wh({width:this.W.Mg,height:this.W.Lg}); -a=xo(this.hb);await Sn(a,null,this.Pa());await io(a,!0);this.Sq=performance.now();this.uD||VC(this);(await xj(this,"runtime","before-start-ticking")).isSuspended&&null===this.yd?this.qu++:this.Re()}dk(a){a=Math.floor(a);const b=this.kP;if(0>a||a>=b.length)throw Error("invalid prop reference");return b[a]}Bg(){return this.fZ}Aa(){return this.Ja}Ed(){return this.Ja.Ed()}Xf(){return this.Ja.Xf()}Tb(){return this.Ja.Tb()}qh(){return this.Ja.qh()}bv(){return this.Ja.bv()}ov(){return this.jp.ov()}fb(){return this.Nb}nh(a){a.Me= -this.Ok;const b=this.Ob&&!Hj(this.Ja);b&&zC.OF();this.ff.dispatchEvent(a);b&&zC.pE()}um(a){a.Me=this.Ok;return kd(this.ff,a)}xm(){return this.Ol}wl(){return this.W?this.W.wl():this.fh}vl(){return this.W?this.W.vl():this.hf}ms(){return this.W?this.W.ms():1}bk(){return this.W?this.W.bk():1}gv(){return this.W?this.W.gv():1}dv(){return this.W?this.W.dv():1}Nz(){return this.W?this.W.Nz():0}Oz(){return this.W?this.W.Oz():0}Uz(){return this.W?this.W.Uz():"off"}av(a){return this.W?this.W.av(a):null}mq(a){this.W&& -this.W.mq(a)}Vz(){return this.W?this.W.Vz():NaN}$E(){return"nearest"!==this.pd}Za(){return this.hb.Za()}mA(a){return this.tb.mA(a)}IA(){this.Nb.dispatchEvent(Y.A(Y.Event,"renderercontextlost"));FC(this,!0);for(var a of this.jd)!a.Ka&&0=this.yd.Gw)){this.yd.gs();return}this.iq()||c||XC(this);this.Zi++;this.wp++;this.dC=!1;this.un+=performance.now()-b}}N(){this.VI=!0}rv(){return this.W?this.W.rv():null}fq(){return this.W? -this.W.fq():null}Pa(){return this.W?this.W.Pa():null}oq(){const a=this.W;if(a&&!Fh(a.Pa())){var b=this.Pa(),d=!!b.Cc,c=d&&b.pi();d=d&&!1;if(c)for(var e of b.NA){var g=b.zj;for(var k of e.Ll){if(k.zj>=g)break;if(k.So)break;k.wE()}}if(this.VI||null!==this.yd){k=this.hb.Za();b.Nv();(e=this.Ob)&&zC.Es();this.VI=!1;g=null;c&&(g=Mh(a.JB),Qi(b,g));c=null;d&&(c=b.O$(2*(1+k.Wc.length)),b.zX(0));if(this.jl&&"low"===a.Ki){var l=a.wl(),n=a.vl();b.km&&(b.iI=!1,ji(b,l,n))}else b.km&&(b.iI=!0,ji(b,b.P,b.R));l=this.Pa(); -Kf(l);ri(l);ni(l,1,1,1,1);Ji(l,null);pi(l,null);Ci(l,this.jl);EC(this,l)&&vo(k,l);n=k.hv();for(var p=1;p=v.Ng.length||(r=v.Ng[0].canvas,x=v.Ng[x].fR,x.globalCompositeOperation="copy",x.drawImage(r,0,0))}EC(this,l)||vo(k,l);Ji(l,k.Ve);l.Od(Rn(k));k.g.jl&&Bi(l);n=Km(k,0);sn(k,l,k.Ve,n,!0);k.Fs()&&(Ci(l,!1),n=k.Ve,p=k.g,0===k.Na.Hh.length? -(Ji(l,null),Kf(l),Li(l,n),Mi(l,n),p.mq(n)):(xn.set(0,0,p.fh,p.hf),k.ck().oq(l,null,{sK:k,pm:3,devicePixelRatio:k.g.dv(),IK:k.g.gv()*k.ad,HK:k.Da(),ez:xn,MD:null,DK:!0})));k.Ve=null;g&&Ri(b,g);d&&(b.zX(1),d=this.W,d.yD.set(d.bi.zj,c));b.gs();e&&(zC.T0(),zC.Laa());a&&kC(a)}else b.zj++}}oa(a,b,d){if(!this.MB)return!1;var c=!this.dC&&!(0a)a=0;this.Wd=a}mN(a){this.LP=Y.X(a,1,120)}ko(){return"preview"===this.Pl}le(a){return this.Pa().le(a|| -this.hf)}cF(a){this.Vt=a}JW(a,b){return a.m().Iy-b.m().Iy}nE(a,b,d,c){return this.wx.nE(a,b,d,null,null,c)}GA(a){return this.Ja.GA(a.name,a.params)}};self.C3_CreateRuntime=Y.bN.La;self.C3_InitRuntime=(a,b)=>a.wh(b);"use strict";const sD=self.B; -function tD(a,b){var d=b.data,c=d.type;b=d.jobId;switch(c){case "result":d=d.result;c=a.Vo.get(b);if(!c)throw Error("invalid job ID");c.GD||c.resolve(d);a.Vo.delete(b);break;case "progress":d=d.progress;a=a.Vo.get(b);if(!a)throw Error("invalid job ID");!a.GD&&a.progress&&a.progress(d);break;case "error":d=d.error;c=a.Vo.get(b);if(!c)throw Error("invalid job ID");c.GD||c.reject(d);a.Vo.delete(b);break;case "ready":a.kx&&(a.kx=!1,a.xx++,a.xx=a.EP||a.kx||a.IO||vD(a)<=a.xx))try{a.kx=!0,(await xj(a.g,"runtime","create-job-worker")).outputPort.onmessage=b=>tD(a,b)}catch(b){a.IO=!0,a.kx=!1,console.error(`[Construct] Failed to create job worker; stopping creating any more (created ${a.xx} so far)`,b)}}function vD(a){let b=0;a=[...a.Vo.values()].sort((d,c)=>(d.LK||Infinity)-(c.LK||Infinity));for(const d of a)b<(d.LK||Infinity)&&b++;return b} -sD.OU=class extends sD.ua{constructor(a,b){super();this.g=a;this.Vo=new Map;this.uZ=0;this.Dt=b.inputPort;b.outputPort.onmessage=d=>tD(this,d);this.EP=b.maxNumWorkers;this.xx=1;this.IO=this.kx=!1}async wh(){}nE(a,b,d,c,e,g){d||(d=[]);if("number"===typeof g&&(g=Math.floor(g),0>=g))throw Error("invalid maxWorkerNum");const k=this.uZ++;a={type:a,isBroadcast:!1,maxWorkerNum:g,jobId:k,params:b,transferables:d};b=new Promise((l,n)=>{this.Vo.set(k,{resolve:l,progress:c,reject:n,GD:!1,LK:g})});e&&Ed(e,()=> -{const l=this.Vo.get(k);l&&(l.GD=!0,l.resolve=null,l.progress=null,l.reject=null,this.Dt.postMessage({type:"_cancel",jobId:k}))});this.Dt.postMessage(a,d);uD(this);return b}};self.C3_Shaders={}; -self.C3_Shaders.hsladjust={tR:"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nprecision mediump float;\nuniform float huerotate;\nuniform float satadjust;\nuniform float lumadjust;\nvec3 rgb_to_hsl(vec3 color)\n{\nvec3 hsl = vec3(0.0, 0.0, 0.0);\nfloat fmin = min(min(color.r, color.g), color.b);\nfloat fmax = max(max(color.r, color.g), color.b);\nfloat delta = fmax - fmin;\nhsl.z = (fmax + fmin) / 2.0;\nif (delta == 0.0)\n{\nhsl.x = 0.0;\nhsl.y = 0.0;\n}\nelse\n{\nif (hsl.z < 0.5)\nhsl.y = delta / (fmax + fmin);\nelse\nhsl.y = delta / (2.0 - fmax - fmin);\nfloat dR = (((fmax - color.r) / 6.0) + (delta / 2.0)) / delta;\nfloat dG = (((fmax - color.g) / 6.0) + (delta / 2.0)) / delta;\nfloat dB = (((fmax - color.b) / 6.0) + (delta / 2.0)) / delta;\nif (color.r == fmax)\nhsl.x = dB - dG;\nelse if (color.g == fmax)\nhsl.x = (1.0 / 3.0) + dR - dB;\nelse if (color.b == fmax)\nhsl.x = (2.0 / 3.0) + dG - dR;\nif (hsl.x < 0.0)\nhsl.x += 1.0;\nelse if (hsl.x > 1.0)\nhsl.x -= 1.0;\n}\nreturn hsl;\n}\nfloat hue_to_rgb(float f1, float f2, float hue)\n{\nif (hue < 0.0)\nhue += 1.0;\nelse if (hue > 1.0)\nhue -= 1.0;\nfloat ret;\nif ((6.0 * hue) < 1.0)\nret = f1 + (f2 - f1) * 6.0 * hue;\nelse if ((2.0 * hue) < 1.0)\nret = f2;\nelse if ((3.0 * hue) < 2.0)\nret = f1 + (f2 - f1) * ((2.0 / 3.0) - hue) * 6.0;\nelse\nret = f1;\nreturn ret;\n}\nvec3 hsl_to_rgb(vec3 hsl)\n{\nvec3 rgb = vec3(hsl.z);\nif (hsl.y != 0.0)\n{\nfloat f2;\nif (hsl.z < 0.5)\nf2 = hsl.z * (1.0 + hsl.y);\nelse\nf2 = (hsl.z + hsl.y) - (hsl.y * hsl.z);\nfloat f1 = 2.0 * hsl.z - f2;\nrgb.r = hue_to_rgb(f1, f2, hsl.x + (1.0 / 3.0));\nrgb.g = hue_to_rgb(f1, f2, hsl.x);\nrgb.b = hue_to_rgb(f1, f2, hsl.x - (1.0 / 3.0));\n}\nreturn rgb;\n}\nvoid main(void)\n{\nvec4 front = texture2D(samplerFront, vTex);\nvec3 rgb = rgb_to_hsl(front.rgb) + vec3((huerotate > 0.5 ? huerotate - 1.0 : huerotate), 0, (lumadjust - 1.0) * front.a);\nrgb.y *= satadjust;\nrgb = hsl_to_rgb(rgb);\ngl_FragColor = vec4(rgb, front.a);\n}",uR:"", -z0:"%%SAMPLERFRONT_BINDING%% var samplerFront : sampler;\n%%TEXTUREFRONT_BINDING%% var textureFront : texture_2d;\nstruct ShaderParams {\nhuerotate : f32,\nsatadjust : f32,\nlumadjust : f32\n};\n%%SHADERPARAMS_BINDING%% var shaderParams : ShaderParams;\n%%C3_UTILITY_FUNCTIONS%%\n%%FRAGMENTINPUT_STRUCT%%\n%%FRAGMENTOUTPUT_STRUCT%%\n@fragment\nfn main(input : FragmentInput) -> FragmentOutput\n{\nvar front : vec4 = textureSample(textureFront, samplerFront, input.fragUV);\nvar huerotate : f32 = shaderParams.huerotate;\nif (huerotate > 0.5)\n{\nhuerotate = huerotate - 1.0;\n}\nvar rgb : vec3 = c3_RGBtoHSL(front.rgb) + vec3(huerotate, 0.0, (shaderParams.lumadjust - 1.0) * front.a);\nrgb.y = rgb.y * shaderParams.satadjust;\nrgb = c3_HSLtoRGB(rgb);\nvar output : FragmentOutput;\noutput.color = vec4(rgb, front.a);\nreturn output;\n}", -YZ:!1,y0:!1,n_:0,o_:0,g_:!1,Y_:!1,d0:!0,UZ:!1,parameters:[["huerotate",0,"percent"],["satadjust",0,"percent"],["lumadjust",0,"percent"]]};"use strict";const wD=self.B;let xD=null,yD="",zD="",AD=[],BD="",CD="",DD="";const ED=wD.A(wD.BS);function FD(a,b){a=a[1];b=b[1];if("number"===typeof a&&"number"===typeof b)return a-b;a=""+a;b=""+b;return ab?1:0}function GD(a,b){xD&&a===yD&&b===zD||(xD=new RegExp(a,b),yD=a,zD=b);xD.lastIndex=0;return xD} -function HD(a,b,d){if(a===BD&&b===CD&&d===DD)return AD;const c=GD(b,d);AD=a.match(c);BD=a;CD=b;DD=d;return AD}async function ID(a,b,d){if(d.length){a.Yq+=d.length;var c=[];for(const e of d)c.push(Un(b,e));await wD.fW(c,()=>{a.ax++});a.ax++;a.ax===a.Yq&&(a.ax=0,a.Yq=0,a.g.oa(wD.C.cb.K.wV,null,null))}} -function*JD(a,b){var d=a.g.Aa();a=d.Ed();const c=at(a),e=c.Tb();var g=e.Gd(),k=dt(c);const l=a.Va(e);d=d.Xg;const n=d.Va();if(k)for(k=0;k=c&&!r.ed;--b)Ct(l),r.qa=b,yield*Eu(k,g,p),Dt(l);else for(l=d;l>=c&&!r.ed;--l)r.qa=l,yield*Eu(k,g,p);else if(n)for(b=d;b<=c&&!r.ed;++b)Ct(l),r.qa=b,yield*Eu(k,g,p),Dt(l);else for(l=d;l<=c&&!r.ed;++l)r.qa=l,yield*Eu(k,g,p);a.Ra();e.Ra();return!1} -function*MD(a,b){var d=b.aa();const c=d.ta();if(0===c.length)return!1;var e=a.g.Aa();a=e.Ed();const g=at(a),k=g.Tb(),l=k.Gd(),n=dt(g),p=a.Va(k);e=e.Xg;const r=e.Va(),x=b.Ec(),v=ED.Va();wD.Dd(v,c);if(n)for(let y=0,C=v.length;y=d+e)return b.set("Every_lastTime",d+e),c>=b.get("Every_lastTime")+.04&&b.set("Every_lastTime",c),b.set("Every_seconds",a),!0;c=b&&a<=d},M2(a,b,d){return SD.compare(a.Gb(),b,d)},u2(a){return!!a.Gb()},K2(a,b){const d=wj(this.g);return 0===a?(a=this.g.qh().Dm(),!a.get("CompareTime_executed")&&d>=b?(a.set("CompareTime_executed",!0),!0):!1):SD.compare(d,a,b)},O4(a){return isNaN(a)}, -xS(a,b,d){return SD.Mr(SD.Oa(a),SD.Oa(d))<=SD.Oa(b)},AU(a,b){return SD.rg(SD.Oa(a),SD.Oa(b))},yU(a,b,d){a=SD.Oa(a);b=SD.Oa(b);d=SD.Oa(d);return SD.rg(d,b)?SD.rg(a,b)&&!SD.rg(a,d):!(!SD.rg(a,b)&&SD.rg(a,d))},Z4(a,b){return"number"===typeof a?0===b:1===b},jT(a){return!!a},KV(a){return a.toLowerCase()===this.BJ.at(-1)},UV(a,b,d,c){if(!a)return!1;const e=ED.Va(),g=a.aa();SD.Dd(e,g.ta());g.kb&&SD.D(g.rb);const k=this.g.qh();let l=0;for(let n=0,p=e.length;n=c.length)return!1;$s(d,c[b]);Lu(a);return!0},U6(a){if(!a)return!1;const b= -a.aa(),d=b.ta(),c=Math.floor(this.g.am()*d.length);if(c>=d.length)return!1;$s(b,d[c]);Lu(a);return!0},TV(a){if(!a||!a.H.length)return!1;a.aa().kb=!0;Lu(a);return!0},S6(a,b,d){if(!a)return!1;const c=a.aa();var e=c.ta();const g=this.g.Tb().Fe,k=this.g.qh().Rk;c.kb?(SD.Dd(TD,e),Ss(c),c.kb=!1):g?(SD.Dd(TD,c.rb),SD.D(c.rb)):(SD.Dd(TD,c.H),SD.D(c.H));for(let l=0,n=TD.length;l=d&&!r.ed;--a)Ct(e),r.qa=a,Du(l,k,p),Dt(e);else for(e=b;e>= -d&&!r.ed;--e)r.qa=e,Du(l,k,p);else if(n)for(a=b;a<=d&&!r.ed;++a)Ct(e),r.qa=a,Du(l,k,p),Dt(e);else for(e=b;e<=d&&!r.ed;++e)r.qa=e,Du(l,k,p);g.Ra();c.Ra();d=!1}return d},RL(a){if(this.g.Ff)var b=MD(this,a);else{{const x=a.aa(),v=x.ta();if(0!==v.length){var d=this.g.Aa();b=d.Ed();var c=at(b),e=c.Tb(),g=e.Gd(),k=dt(c),l=b.Va(e);d=d.Xg;var n=d.Va(),p=a.Ec(),r=ED.Va();wD.Dd(r,v);if(k)for(let y=0,C=r.length;yb&&(b=0);if(a){a=a.aa().ta();for(const d of a)d.Lv(b)}},r8(a){if(a){a=a.aa().ta();for(const b of a)b.Wd=-1,Jz(b.G())&&hA(b.g,b,!1)}},VF(a){if(!(0> -a)){var b=Gt(this.g.Aa());b.Ba="timer";b.uk();b.Bc=wj(b.Ja.F())+a;return!0}},Vaa(a){var b=Gt(this.g.Aa());b.Ba="signal";b.uk();b.oy=a.toLowerCase();return!0},Uaa(){const a=this.g.Aa();var b=Gt(a);const d=Promise.all(a.Vm);a.Vm=[];Oy(b,d);return!0},D$(a){a=a.toLowerCase();this.BJ.push(a);this.g.oa(UD.C.cb.K.KV,null);this.BJ.pop();for(const b of this.g.Aa().Yh)"signal"===b.Ba&&b.oy===a&&(b.Jt=!0)},async pN(a,b,d,c,e,g){const k=this.g.W;k&&(this.N(),await k.pN(0===a?"image/png":"image/jpeg",b/100,d, -c,e,g),await this.g.$d(UD.C.cb.K.lV,null))},c9(a,b){if(!(0>=a||0>=b)){yC(this.g,a,b);$l(V(this.g));var d=this.g.W;if(d){if("off"!==eC(d)){var c=this.g;if(c.Pi!==a||c.Oi!==b)c.Pi=a,c.Oi=b,a=c.hb,Ao(a),Bo(a)}d.ec(d.Lp,d.Kp,!0);this.g.N()}}},r9(a){const b=this.g.W;b&&"off"!==eC(b)&&(gC(b,0!==a?"high":"low"),b.ec(b.Lp,b.Kp,!0))},qq(a){this.g.iy=a},w5(a){this.g.Ex=a},x5(a){this.g.cF(a)},s9(){},n8(){for(const a of this.g.hb.nj)a.gp={},a.gr=!0},e$(a){var b=this.g;a=0!==a;b.Sk!==a&&(b.Sk=a,Bo(b.hb),b.N())}, -mN(a){this.g.mN(a)},I$(a,b){if(a){var d=a.aa().ta(),c=V(this.g),e=a.Ka;a=a.Hi;for(let l=0,n=d.length;l=a||0>=b||!Number.isFinite(a)|| -!Number.isFinite(b)||this.g.Ci.iN(a,b)},Z3(a){if(!this.g.Rh){var b=this.g.hb;b.Qi||(b.Qi=a)}},TT(a){if(!this.g.Rh){var b=this.g.hb;!b.Qi&&(a=yo(b,a))&&(b.Qi=a)}},Y5(a){if(!this.g.Rh){var b=this.g.hb;if(!b.Qi){var d=b.nj,c=d.indexOf(b.Za());if(!a||0!==c)if(a||c!==d.length-1)b.Qi=d[c+(a?-1:1)]}}},o8(){if(!this.g.Rh){var a=this.g.hb;if(!a.Qi){a.Qi=a.Za();a=this.g.Aa();for(const b of a.KG)b.zs(b.nI)}}},I9(a,b){a&&a.Hg(b)},B9(a,b){a&&(a.It=!!b)},A9(a,b){a&&Tj(a,b)},C9(a,b){a&&a.Fg(b/100)},E9(a,b){a&&Uj(a, -b)},F9(a,b){a&&Vj(a,b)},u9(a,b){a&&a.Zd(UD.Oa(+b))},G9(a,b,d){a&&(Zj(a,!0),a.nk(b),a.pk(d))},q8(a){a&&Zj(a,!1)},D9(a,b,d){if(a&&(b/=100,d/=100,a.$e!==b||a.bf!==d)&&(a.$e=b,a.bf=d,am(a),a.g.N(),1!==a.$e||1!==a.bf))for(const c of a.H)c.G().hw=!0},J9(a,b){a&&a.rf(+b)},v9(a,b){a&&(hc($D,b),$D.X(),a=a.Wm,ec(a,$D)||($b(a,$D),this.N()))},H9(a,b){a&&Xj(a,b)},w9(a,b){a&&a.Dg(b)},x9(a,b,d){a&&(d=Ep(a.Na,d))&&(b=1===b,d.Ib!==b&&(d.Ib=!!b,a.Gh(),this.g.N()))},y9(a,b,d,c){if(a&&(a=a.Na,b=Ep(a,b))){d=Math.floor(d); -var e=Lg(b.vh(),d);e&&("color"===e?(hc($D,c),c=$D):"percent"===e&&(c/=100),a.Fv(b.Ga(),d,c)&&b.Ib&&this.g.N())}},z9(a,b){a&&Yj(a,b)},N9(a){V(this.g).qo(+a)},K9(a){V(this.g).Zd(UD.Oa(+a))},L9(a,b){const d=V(this.g);if(b=Ep(d.Na,b))a=1===a,b.Ib!==a&&(b.Ib=!!a,d.Gh(),this.g.N())},M9(a,b,d){const c=V(this.g).Na;if(a=Ep(c,a)){b=Math.floor(b);var e=Lg(a.vh(),b);e&&("color"===e?(hc($D,d),d=$D):"percent"===e&&(d/=100),c.Fv(a.Ga(),b,d)&&a.Ib&&this.g.N())}},O9(a,b){var d=V(this.g);a/=100;b/=100;if(d.vD!==a|| -d.wD!==b)d.vD=a,d.wD=b,d.Tg||(Gn(d),Hn(d),d.g.N())},yW(a){const b=V(this.g);0===a?Lj(b):Mj(b)},M8(a){V(this.g).nk(a)},N8(a){V(this.g).pk(a)},K8(a,b){const d=V(this.g);d.nk(a);d.pk(b)},L8(a){if(a&&(a=fx(a))&&(a=a.m())){var b=V(this.g);b.nk(a.fa());b.pk(a.ga())}},tL(a,b,d){const c=V(this.g);try{c.tL(a,b,d)}catch(e){console.warn("[Construct] Cannot add layer: ",e)}},sM(a,b,d){if(a){var c=V(this.g);try{c.sM(a,b,d)}catch(e){console.warn("[Construct] Cannot move layer: ",e)}}},TM(a){a&&V(this.g).TM(a)}, -lF(){V(this.g).lF()},async VU(a){const b=this.g.Za();b&&a&&!this.g.Rh&&await ID(this,b,a.Ka?a.hn:[a])},async v5(a){await UD.C.cb.$a.VU.call(this,this.g.Rx.get(a.toLowerCase())||null)},lX(a){const b=this.g.Za();if(b&&a){a=a.Ka?a.hn:[a];for(const d of a)0===d.H.length&&Vn(b,d)}},Daa(a){UD.C.cb.$a.lX.call(this,this.g.Rx.get(a.toLowerCase())||null)},Eaa(){const a=this.g.Za();if(a){var b=[...a.Yi];for(const d of b)0===d.H.length&&Vn(a,d)}},async t5(a){const b=this.g.Za();a&&b&&!this.g.Rh&&await ID(this, -b,[...a.Zq])},async u5(a){const b=this.g.Za();(a=yo(this.g.hb,a))&&b&&!this.g.Rh&&await ID(this,b,[...a.Zq])},Iv(a){var b=this.Td.uB;if(b=0===b.length?null:b.at(-1))switch(b.FO){case 1:"number"===typeof a&&b.Iv(a);break;case 2:"string"===typeof a&&b.Iv(a);break;case 3:b.Iv(a)}},I5(a,b,d){var c=OD(this,a.toLowerCase(),!0);const e=c.cE,g=b.toLowerCase();e.has(g)&&console.warn(`[Construct] Function map '${a}' string '${b}' already in map; overwriting entry`);(c=UD.first(e.values())||c.Op)&&0!==c.$k!== -(0!==d.$k)?console.error(`[Construct] Function map '${a}' string '${b}' function return type not compatible with other functions in the map; entry ignored`):e.set(g,d)},J5(a,b){const d=OD(this,a.toLowerCase(),!0);d.Op&&console.warn(`[Construct] Function map '${a}' already has a default; overwriting entry`);const c=UD.first(d.cE.values())||d.Op;c&&0!==c.$k!==(0!==b.$k)?console.error(`[Construct] Function map '${a}' default: function return type not compatible with other functions in the map; entry ignored`): -d.Op=b},W1(a,b,d){d=Math.floor(d);var c=OD(this,a.toLowerCase(),!1);if(c){var e=c.cE.get(b.toLowerCase());if(!e)if(c.Op)e=c.Op,d=0;else{console.warn(`[Construct] Call mapped function: no function associated with map '${a}' string '${b}'; call ignored (consider setting a default)`);return}if(e.Qb())if(0!==e.$k)console.warn(`[Construct] Call mapped function: map '${a}' string '${b}' has a return type so cannot be called`);else{var g=this.g,k=g.Aa().Tb();a=k.Qd();(b=0e&&(b=e)}return b},X(a,b,d){return aE.X(a,b,d)},ei(a,b,d,c){return aE.Qn(a,b,d,c)},angle(a,b,d,c){return aE.kf(aE.zD(a,b,d,c))},Nc(a,b,d){return aE.Nc(a,b,d)},jE(a,b,d){return aE.jE(a,b,d)}, -YD(a,b,d,c){return aE.YD(a,b,d,c)},gR(a,b,d,c,e){return aE.gR(a,b,d,c,e)},dR(a,b,d){return aE.dR(a,b,d)},sba(a,b){return aE.kf(aE.Mr(aE.Oa(a),aE.Oa(b)))},tba(a,b,d){return aE.kf(aE.kK(aE.Oa(a),aE.Oa(b),d))},uba(a,b,d){return aE.kf(aE.lK(aE.Oa(a),aE.Oa(b),aE.Oa(d)))},nea(a,b,d){b|=0;return(a|0)&~(1<d?a.substr(b):a.substr(b,d)},right(a,b){return"string"===typeof a?a.substr(Math.max(a.length-b,0)):""},trim(a){return"string"===typeof a?a.trim():""},zea(a,b,d){if("string"!==typeof a||"string"!==typeof d)return"";a=a.split(d);b=Math.floor(b);return 0>b||b>=a.length?"":a[b]},Aea(a,b){return"string"===typeof a&&"string"===typeof b&&a.length?a.split(b).length:0},find(a,b){return"string"===typeof a&&"string"=== -typeof b?a.search(new RegExp(aE.Xu(b),"i")):-1},dca(a,b){return"string"===typeof a&&"string"===typeof b?a.search(new RegExp(aE.Xu(b),"")):-1},replace(a,b,d){return"string"===typeof a&&"string"===typeof b&&"string"===typeof d?a.replace(new RegExp(aE.Xu(b),"gi"),d):"string"===typeof a?a:""},Oda(a,b,d){b=GD(b,d);return a?a.search(b):-1},Nda(a,b,d,c){b=GD(b,d);return a?a.replace(b,c):""},Mda(a,b,d){return(a=HD(a.toString(),b,d))?a.length:0},Lda(a,b,d,c){c=Math.floor(c);a=HD(a.toString(),b,d);return!a|| -0>c||c>=a.length?"":a[c]},Zea(a,b){let d=0>a?"-":"";0>a&&(a=-a);d+="0".repeat(Math.max(b-a.toString().length,0));return d+a.toString()},Iea(a){return encodeURIComponent(a)},Hea(a){return decodeURIComponent(a)},kR(){return this.g.Fw},wea(){return this.g.Wd},Wea(){return(Date.now()-this.g.sp)/1E3},Eea(){return Date.now()},time(){return wj(this.g)},uea(){return this.g.Zi},sda(){return this.g.ZI},r_(){return this.g.Qw},Mba(){return this.g.zC},Aca(){return this.g.Vz()},Yea(){return this.g.W.Mg},Xea(){return this.g.W.Lg}, -yda(){return this.g.Pi},xda(){return this.g.Oi},wda(){return this.g.Pi},vda(){return this.g.Oi},eea(){return V(this.g).th()},fea(){return V(this.g).uh()},dda(){return V(this.g).na()},eda(){return V(this.g).ad},bda(){return aE.kf(V(this.g).Da())},R_(){return V(this.g).J()},cda(){return V(this.g).I()},Lea(){return 100*tm(V(this.g))},Mea(){return 100*um(V(this.g))},Qea(a){return(a=V(this.g).O(a))?rm(a).ba:0},Uea(a){return(a=V(this.g).O(a))?rm(a).$:0},Tea(a){return(a=V(this.g).O(a))?rm(a).ka:0},Oea(a){return(a= -V(this.g).O(a))?rm(a).ia:0},Vea(a){return(a=V(this.g).O(a))?rm(a).width():0},Pea(a){return(a=V(this.g).O(a))?rm(a).height():0},Rea(a){return(a=V(this.g).O(a))?(a=rm(a),(a.ba+a.ka)/2):0},Sea(a){return(a=V(this.g).O(a))?(a=rm(a),(a.$+a.ia)/2):0},Dba(a,b,d){return(a=V(this.g).O(a))?pm(a,b,d)[0]:0},Eba(a,b,d){return(a=V(this.g).O(a))?pm(a,b,d)[1]:0},Xca(a,b,d){return(a=V(this.g).O(a))?an(a,b,d)[0]:0},Yca(a,b,d){return(a=V(this.g).O(a))?an(a,b,d)[1]:0},Zca(a,b,d,c){const e=V(this.g);a=e.O(a);b=e.O(b); -if(!a||!b||a===b)return d;const [g,k]=an(a,d,c);return pm(b,g,k)[0]},$ca(a,b,d,c){const e=V(this.g);a=e.O(a);b=e.O(b);if(!a||!b||a===b)return c;const [g,k]=an(a,d,c);return pm(b,g,k)[1]},Tca(a){return(a=V(this.g).O(a))?a.ad:0},Oca(a){return(a=V(this.g).O(a))?aE.kf(a.wf):0},Qca(a){return(a=V(this.g).O(a))?100*a.Oc():0},Uca(a){return(a=V(this.g).O(a))?a.Oj:0},Vca(a){return(a=V(this.g).O(a))?a.th():0},Wca(a){return(a=V(this.g).O(a))?a.uh():0},Rca(a){return(a=V(this.g).O(a))?100*a.$e:0},Sca(a){return(a= -V(this.g).O(a))?100*a.bf:0},ada(a){return(a=V(this.g).O(a))?a.Ma():0},Pca(a){return(a=V(this.g).O(a))?a.Ga():-1},Cba(){const a=this.g.W;return a?a.ty:""},U_(a){var b=this.Xg;if(!(0<=b.qa))return 0;if(a){a:{const d=b.vb;for(b=b.qa;0<=b;--b){const c=d[b];if(c.na()===a){a=c;break a}}a=null}return a?a.Ga():0}return b.js().Ga()},cea(){return this.g.ir},Aba(a,b,...d){var c=OD(this,a.toLowerCase(),!1);if(!c)return console.warn(`[Construct] Call mapped function: map name '${a}' not found; returning 0`),0; -let e=c.cE.get(b.toLowerCase());if(!e)if(c.Op)e=c.Op;else return console.warn(`[Construct] Call mapped function: no function associated with map '${a}' string '${b}'; returning 0 (consider setting a default)`),0;c=e.$k;const g=Rt(e);if(0===c)return console.warn(`[Construct] Call mapped function: map '${a}' string '${b}' has no return type so cannot be called from an expression; returning 0`),0;if(!e.Qb())return g;a=this.g.Aa().Tb().Qd();(b=0tz(d,a,b)))}Fm(){for(const a of this.tc)uz(a)}hs(a){cE.C.sf.OL(this,a)}};const dE=self.B,eE=self.Tf,fE=[];let gE=0;for(let a=0;6>a;a++)fE.push({vR:0,dE:NaN,eE:NaN,fE:NaN,gE:NaN,hE:NaN,iE:NaN,DD:NaN,ED:NaN,FD:NaN,AD:NaN,BD:NaN,CD:NaN,shape:0,hz:NaN,OK:NaN,enable:!1}); -function hE(a,b){return a.hz===b.hz?b.OK-a.OK:b.hz-a.hz}const iE=dE.A(dE.Kd);dE.A(dE.uo);function jE(a,b,d,c,e,g){a=c-a;b=e-b;d=g-d;return a*a+b*b+d*d}function kE(a,b,d,c,e,g,k,l,n,p,r){c=[dE.Nc(a,c,p),dE.Nc(b,e,p),dE.Nc(d,g,p)];const [x,v,y]=c;b=v+(l-b);d=y+(n-d);return[dE.Nc(x,x+(k-a),r),dE.Nc(v,b,r),dE.Nc(y,d,r)]}function lE(a,b,d){null!==d&&d.Ka&&(d=d.hn[0]);const c=a.Lw;c[b]!==d&&(c[b]=d,a.g.N())} -function mE(a,b,d,c,e,g,k,l,n,p,r,x,v,y){const C=fE[a];C.vR=a;C.dE=b;C.eE=d;C.fE=c;C.gE=e;C.hE=g;C.iE=k;C.DD=l;C.ED=n;C.FD=p;C.AD=r;C.BD=x;C.CD=v;C.shape=y;C.enable=!0;gE++} -function nE(a,b,d,c,e,g,k,l,n,p,r,x,v,y,C,E){var F=null,K=null,H=!1;Kf(b);F=a.Lw[d];if(null!==F){F=mw(F,a.Z());if(!F)return;d=F.ma;if(dE.C.Lb&&d instanceof dE.C.Lb.Instance){F=d.Hd();if(null===F)return;K=d.qs()}else if(dE.C.PF&&d instanceof dE.C.PF.Instance||dE.C.aV&&d instanceof dE.C.aV.Instance){let N=0,ca=0;H=a.Lr;switch(E){case 0:case 1:N=Math.hypot(k-c,l-e,(n-g)*H);ca=Math.hypot(p-k,r-l,(x-n)*H);break;case 2:N=Math.hypot(p-v,r-y,(x-C)*H);ca=Math.hypot(v-c,y-e,(C-g)*H);break;case 3:N=Math.hypot(p- -v,r-y,(x-C)*H);ca=Math.hypot(p-k,r-l,(x-n)*H);break;case 4:N=Math.hypot(p-v,r-y,(x-C)*H),ca=Math.hypot((v+p)/2-c,(y+r)/2-e,((C+x)/2-g)*H)}if(dE.C.PF&&d instanceof dE.C.PF.Instance){F=d.Hd();if(null===F)return;d.V1(N,ca,iE);H=!0;d.l$(b)}else{if(0!==E)return;d.aY((da,Ia)=>{da.dj(N,ca);var Wa=da.ba,Oa=da.$,Xa=da.ka;da=da.ia;const [pc,Xd,Yd]=kE(c,e,g,k,l,n,v,y,C,Wa,Oa),[vf,wf,xf]=kE(c,e,g,k,l,n,v,y,C,Xa,Oa),[Zd,yf,zf]=kE(c,e,g,k,l,n,v,y,C,Xa,da),[ek,fk,gk]=kE(c,e,g,k,l,n,v,y,C,Wa,da);fi(b);Wa=b.Cu;Oa= -b.ai;Xa=b.Ak+b.et;Wa[Oa++]=pc;Wa[Oa++]=Xd;Wa[Oa++]=Xa+Yd;Wa[Oa++]=vf;Wa[Oa++]=wf;Wa[Oa++]=Xa+xf;Wa[Oa++]=Zd;Wa[Oa++]=yf;Wa[Oa++]=Xa+zf;Wa[Oa++]=ek;Wa[Oa++]=fk;Wa[Oa++]=Xa+gk;b.ai=Oa;xc(Ia,b.vp,b.ue);b.ue+=8});d.pba(b,0,0,N,ca);d.aY(null);return}}else return}else{d=a.wB[d];K=vz(a.ew,d).oc();F=K.Hd();if(null===F)return;K=K.qs()}pi(b,F);3<=E||H?(H||iE.xa(K),3===E?(iE.yb=+iE.cc,iE.wb=+iE.wb):4===E&&(iE.yb=+((iE.yb+iE.cc)/2),iE.wb=+((iE.wb+iE.mc)/2)),Rf(b,c,e,g,k,l,n,p,r,x,v,y,C,iE)):Rf(b,c,e,g,k,l,n, -p,r,x,v,y,C,K)}function oE(a,b){a.m();b=Math.floor(b);return 0>b||5b||5N;N++)fE[N].enable= -!1;c&&mE(0,p,r,0,x,v,0,y,C,0,E,F,0,0);0===K?(g&&mE(2,p,r,H,E,F,H,E,F,0,p,r,0,0),k&&mE(3,y,C,H,x,v,H,x,v,0,y,C,0,0),l&&mE(4,x,v,H,p,r,H,p,r,0,x,v,0,0),d&&mE(5,E,F,H,y,C,H,y,C,0,E,F,0,0),e&&mE(1,p,r,H,x,v,H,y,C,H,E,F,H,0)):1===K?(c=(p+E)/2,e=(r+F)/2,n=(x+y)/2,K=(v+C)/2,g&&mE(2,c,e,H,c,e,H,E,F,0,p,r,0,4),k&&mE(3,n,K,H,n,K,H,x,v,0,y,C,0,4),l&&mE(4,n,K,H,c,e,H,p,r,0,x,v,0,0),d&&mE(5,c,e,H,n,K,H,y,C,0,E,F,0,0)):2===K?(g&&mE(2,x,v,H,y,C,H,E,F,0,p,r,0,0),k&&mE(3,y,C,H,x,v,H,x,v,0,y,C,0,0),l&&mE(4,x,v,H,x, -v,H,p,r,0,x,v,0,2),d&&mE(5,y,C,H,y,C,H,y,C,0,E,F,0,3)):3===K?(c=n.Or(),e=n.Pr(),g&&mE(2,c,e,H,c,e,H,E,F,0,p,r,0,4),k&&mE(3,c,e,H,c,e,H,x,v,0,y,C,0,4),l&&mE(4,c,e,H,c,e,H,p,r,0,x,v,0,4),d&&mE(5,c,e,H,c,e,H,y,C,0,E,F,0,4)):4===K?(g&&mE(2,x,v,H,x,v,H,E,F,0,p,r,0,2),k&&mE(3,x,v,H,x,v,H,x,v,0,y,C,0,3),l&&mE(4,x,v,H,x,v,H,p,r,0,x,v,0,2),d&&mE(5,x,v,H,x,v,H,y,C,0,E,F,0,3)):5===K&&(g&&mE(2,p,r,H,p,r,H,E,F,0,p,r,0,2),k&&mE(3,y,C,H,x,v,H,x,v,0,y,C,0,0),l&&mE(4,x,v,H,p,r,H,p,r,0,x,v,0,0),d&&mE(5,y,C,H,y,C,H, -y,C,0,E,F,0,3),e&&mE(1,p,r,H,x,v,H,y,C,H,E,F,0,1));if(1b;++b)g=fE[b],g.enable&&(g.hz=Math.min(jE(N,ca,da,g.dE,g.eE,g.fE),jE(N,ca,da,g.gE,g.hE,g.iE),jE(N,ca,da,g.DD,g.ED,g.FD),jE(N,ca,da,g.AD,g.BD,g.CD)),g.OK=jE(N,ca,da,(g.dE+g.gE+g.DD+g.AD)/4,(g.eE+g.hE+g.ED+g.BD)/4,(g.fE+g.iE+g.FD+g.CD)/4));fE.sort(hE)}for(b=0;6>b;++b)g=fE[b],g.enable&&nE(this,a,g.vR,g.dE,g.eE,g.fE,g.gE,g.hE,g.iE,g.DD,g.ED,g.FD,g.AD,g.BD,g.CD, -g.shape)}}pq(){return this.Fi[0]}jv(){return oE(this,0)}Am(a){return pE(this,0,a)}Tc(){return{s:this.bl,zh:this.kl,fv:this.Fi,fi:this.wB,fo:this.Lw.map(a=>a?a.eb:-1),zf:this.Lr}}dc(a){this.bl=a.s;this.kl=a.zh;fB(this.m(),this.kl);this.Fi=a.fv.slice(0);this.wB=a.fi.slice(0);a.hasOwnProperty("fo")&&(this.Lw=a.fo.map(b=>ao(this.g,b)));a.hasOwnProperty("zf")&&(this.Lr=a.zf)}Pc(){}Gg(){}Zf(){return self.hk}};const rE=new WeakMap,sE="box prism wedge pyramid corner-out corner-in".split(" "); -self.hk=class extends self.ss{constructor(){super();rE.set(this,self.mi.Fl().ma)}set shape(a){eE.Rd(a);a=sE.indexOf(a);if(-1===a)throw new TypeError("invalid shape");var b=rE.get(this);b.bl!==a&&(b.bl=a,b.g.N())}get shape(){return sE[rE.get(this).bl]}};const tE=self.B;tE.C.sf.K={I2(a){return this.bl===a},U2(a,b){return tE.compare(this.kl,a,b)},E4(a){return this.Fi[a]}}; -self.B.C.sf.$a={i$(a){this.bl!==a&&(this.bl=a,this.g.N())},A$(a){a=Math.max(a,0);this.kl!==a&&(this.kl=a,fB(this.m(),a),this.g.N())},k9(a,b){b=!!b;this.Fi[a]!==b&&(this.Fi[a]=b,this.g.N())},j9(a,b){const d=this.wB,c=this.Lw;if(d[a]!==b||null!==c[a])d[a]=b,c[a]=null,this.g.N()},B$(a){this.Lr!==a&&(this.Lr=a,this.g.N())},vW(a,b){lE(this,a,b)}}; -self.B.C.sf.Sb={AX(){return this.kl},mba(){return this.Lr},y3(a,b){return pE(this,a,b)[0]},z3(a,b){return pE(this,a,b)[1]},A3(a,b){return pE(this,a,b)[2]},x3(a){return oE(this,a)}};"use strict";const uE=self.B;uE.C.Wp=class extends uE.kj{constructor(a){super(a)}j(){super.j()}};const vE=self.B;vE.C.Wp.Fh=class extends vE.Cl{constructor(a){super(a)}j(){super.j()}Fc(){}Zf(){return self.aU}};self.aU=class extends self.uv{constructor(a){super(a)}};const wE=self.B,xE=self.Wj,yE=xE.qz,zE=xE.f0,AE=yE.create(); -function BE(a){yE.set(a.yj,0,0,-1);yE.set(a.al,1,0,0);yE.set(a.il,0,1,0)}function CE(a,b,d,c,e,g,k,l,n,p){const r=a.g.Za();Mn(r,!0);Nn(r,b,d,c,e,g,k,l,n,p);yE.set(a.yj,e-b,g-d,k-c);yE.normalize(a.yj,a.yj);yE.Yy(a.al,r.Vs,a.yj);yE.normalize(a.al,a.al);yE.Yy(a.il,a.yj,a.al);yE.normalize(a.il,a.il);yE.set(AE,0,0,1);zE.i0(a.bO,a.il,AE)} -wE.C.Wp.Instance=class extends wE.no{constructor(a){super(a);this.Ws=0;this.Gq=Math.PI/2;this.bO=zE.create();this.yj=yE.create();this.al=yE.create();this.il=yE.create();BE(this);this.g.fb().addEventListener("beforelayoutchange",()=>{this.Ws=0;this.Gq=Math.PI/2})}};self.B.C.Wp.K={};const DE=self.B; -DE.C.Wp.$a={XU(a,b,d,c,e,g,k,l,n){CE(this,a,b,d,c,e,g,k,l,n)},A5(a,b,d,c){c=DE.Oa(c);CE(this,a,b,d,a+Math.cos(c),b+Math.sin(c),d,0,0,1)},p8(){Mn(this.g.Za(),!1);BE(this)},g$(a,b,d,c){const e=this.g.Za();var g=e.Kg,k=e.rj;const l=e.Vs;let n=g[0],p=g[1];g=g[2];var r=k[0],x=k[1];k=k[2];0===c?(r-=n,x-=p,c=k-g,n=a,p=b,g=d,r=n+r,x=p+x,k=g+c):(r=a,x=b,k=d);Mn(e,!0);Nn(e,n,p,g,r,x,k,l[0],l[1],l[2])},R5(a,b,d){if(0!==a){var c=0,e=0,g=0;0===b?c=a:1===b?e=a:g=a;yE.set(AE,c,e,g);a=this.g.Za();b=a.Kg;c=a.rj;0!== -d&&1!==d||yE.add(b,b,AE);0!==d&&2!==d||yE.add(c,c,AE);Hn(a);a.g.N()}},Q5(a,b,d){if(0!==a){if(0===b){b=this.yj[0]*a;var c=this.yj[1]*a;a*=this.yj[2]}else 1===b?(b=this.il[0]*a,c=this.il[1]*a,a*=this.il[2]):(b=this.al[0]*a,c=this.al[1]*a,a*=this.al[2]);yE.set(AE,b,c,a);a=this.g.Za();b=a.Kg;c=a.rj;0!==d&&1!==d||yE.add(b,b,AE);0!==d&&2!==d||yE.add(c,c,AE);Hn(a);a.g.N()}},y8(a,b,d,c){a=DE.Oa(a);b=DE.Oa(b);d=DE.Oa(d);c=DE.Oa(c);if(0!==a||0!==b)d=Math.max(d,0),c=Math.min(c,wE.Oa(179.9)),this.Ws=wE.Bd(this.Ws+ -a),this.Gq=wE.X(this.Gq+b,d,c),yE.set(AE,Math.sin(this.Gq)*Math.cos(this.Ws),Math.sin(this.Gq)*Math.sin(this.Ws),Math.cos(this.Gq)),yE.aS(AE,AE,this.bO),c=this.g.Za(),a=c.Kg,d=c.Vs,Nn(c,a[0],a[1],a[2],a[0]+AE[0],a[1]+AE[1],a[2]+AE[2]/mD(this.g),d[0],d[1],d[2])}};const EE=self.B; -EE.C.Wp.Sb={X1(){return this.g.Za().Kg[0]},Z1(){return this.g.Za().Kg[1]},b2(){return this.g.Za().Kg[2]},E5(){return this.g.Za().rj[0]},F5(){return this.g.Za().rj[1]},G5(){return this.g.Za().rj[2]},Faa(){return this.il[0]},Gaa(){return this.il[1]},Haa(){return this.il[2]},L3(){return this.yj[0]},M3(){return this.yj[1]},N3(){return this.yj[2]},v8(){return this.al[0]},w8(){return this.al[1]},x8(){return this.al[2]},Y1(){return EE.kf(this.Ws)},a2(){return EE.kf(this.Gq)},B5(){const a=this.g.Za();return a.rj[0]- -a.Kg[0]},C5(){const a=this.g.Za();return a.rj[1]-a.Kg[1]},D5(){const a=this.g.Za();return a.rj[2]-a.Kg[2]},lba(){return mD(this.g)},j3(){return this.g.le()},Qaa(a){return(a=V(this.g).O(a))?pm(a,0,0,a.Ma())[0]:0},Raa(a){return(a=V(this.g).O(a))?pm(a,0,0,a.Ma())[1]:0},Saa(a){return(a=V(this.g).O(a))?pm(a,this.g.W.yc,0,a.Ma())[0]:0},Taa(a){return(a=V(this.g).O(a))?pm(a,this.g.W.yc,0,a.Ma())[1]:0},Oaa(a){a=V(this.g).O(a);if(!a)return 0;const b=this.g.W;return pm(a,b.yc,b.fc,a.Ma())[0]},Paa(a){a=V(this.g).O(a); -if(!a)return 0;const b=this.g.W;return pm(a,b.yc,b.fc,a.Ma())[1]},Maa(a){return(a=V(this.g).O(a))?pm(a,0,this.g.W.fc,a.Ma())[0]:0},Naa(a){return(a=V(this.g).O(a))?pm(a,0,this.g.W.fc,a.Ma())[1]:0},o5(a,b,d,c){return(a=V(this.g).O(a))?an(a,b,d,c)[0]:0},p5(a,b,d,c){return(a=V(this.g).O(a))?an(a,b,d,c)[1]:0},d2(a,b,d,c){return(a=V(this.g).O(a))?pm(a,b,d,c)[0]:0},e2(a,b,d,c){return(a=V(this.g).O(a))?pm(a,b,d,c)[1]:0},q5(a,b,d,c,e){const g=V(this.g);a=g.O(a);b=g.O(b);if(!a||!b||a===b)return d;const [k, -l]=an(a,d,c,e);return pm(b,k,l)[0]},r5(a,b,d,c,e){const g=V(this.g);a=g.O(a);b=g.O(b);if(!a||!b||a===b)return c;const [k,l]=an(a,d,c,e);return pm(b,k,l)[1]}};"use strict";const FE=self.B;FE.C.Touch=class extends FE.kj{constructor(a){super(a)}j(){super.j()}};const GE=self.B,HE=self.Tf;GE.C.Touch.Fh=class extends GE.Cl{constructor(a){super(a)}j(){super.j()}Fc(){}Zf(){return self.oU}};let IE=null; -self.oU=class extends self.uv{constructor(a){super(a);IE=a;a.F().xw.mL=this}requestPermission(a){HE.Rd(a);const b=IE.fk().ma;if("orientation"===a)return JE(b,0);if("motion"===a)return JE(b,1);throw Error("invalid type");}};const KE=self.B;function JE(a,b){az(a,"request-permission",{type:b});return new Promise((d,c)=>{a.MC.push({type:b,resolve:d,reject:c})})} -function LE(a,b){const d=b.result,c=b.type;a.RJ=c;b=a.MC.filter(e=>e.type===c);for(const e of b)e.resolve(d?"granted":"denied");a.MC=a.MC.filter(e=>e.type!==c);d?(a.oa(KE.C.Touch.K.FV),0===c?qD(a.g):rD(a.g)):a.oa(KE.C.Touch.K.EV)} -function ME(a,b,d){if("mouse"===b.pointerType)if(a.eC)a.eC=!1;else return;const c=performance.now();b=b.pointerId;const e=a.Xd.get(b);e&&(a.Au=e.te,a.pD=e.vg(),a.oa(KE.C.Touch.K.CV),a.oa(KE.C.Touch.K.HM),d||(d=NE(e,c),"single-tap"===d?(a.oa(KE.C.Touch.K.NV),a.tj=e.fa(),a.uj=e.ga(),a.oa(KE.C.Touch.K.OV)):"double-tap"===d&&(a.oa(KE.C.Touch.K.oV),a.tj=e.fa(),a.uj=e.ga(),a.oa(KE.C.Touch.K.pV))),e.j(),a.Xd.delete(b))} -function OE(a,b){b=Math.floor(b);for(const d of a.Xd.values()){if(0===b)return d;--b}return null}function PE(a,b,d){var c;if(c=0<=b&&0<=d)c=a.g,c=b<(c.W?c.W.yc:0);if(b=c)a=a.g,b=d<(a.W?a.W.fc:0);return b} -KE.C.Touch.Instance=class extends KE.no{constructor(a,b){super(a,"touch");this.Xd=new Map;this.eC=this.IQ=!1;this.IB=this.uj=this.tj=this.RJ=this.pD=this.Au=this.BG=this.AG=this.zG=this.EG=this.DG=this.CG=this.cJ=this.bJ=this.aJ=this.IC=0;this.MC=[];b&&(this.IQ=b[0]);this.mE("permission-result",d=>LE(this,d));a=this.F().fb();this.hg=new KE.Dz(KE.je.Wf(a,"pointerdown",d=>{a:{var c=d.data;if("mouse"===c.pointerType)if(this.IQ)this.eC=!0;else{d=void 0;break a}const l=c.pointerId;if(!this.Xd.has(l)){d= -c.pageX-this.g.Nz();c=c.pageY-this.g.Oz();var e=performance.now(),g=this.Xd.size;this.Au=g;this.pD=l;var k=KE.A(KE.C.Touch.fX);k.wh(e,d,c,l,g);this.Xd.set(l,k);this.oa(KE.C.Touch.K.DV);this.oa(KE.C.Touch.K.PV);this.tj=d;this.uj=c;this.oa(KE.C.Touch.K.IM)}d=void 0}return d}),KE.je.Wf(a,"pointermove",d=>{d=d.data;if("mouse"!==d.pointerType||this.eC){var c=this.Xd.get(d.pointerId);if(c){var e=performance.now();2>e-c.wa()||c.Lm(e,d.pageX-this.g.Nz(),d.pageY-this.g.Oz(),d.width,d.height,d.pressure)}}}), -KE.je.Wf(a,"pointerup",d=>ME(this,d.data,!1)),KE.je.Wf(a,"pointercancel",d=>ME(this,d.data,!0)),KE.je.Wf(a,"deviceorientation",d=>{d=d.data;"number"===typeof d.webkitCompassHeading?this.IC=d.webkitCompassHeading:d.absolute&&(this.IC=d.alpha);this.aJ=d.alpha;this.bJ=d.beta;this.cJ=d.gamma}),KE.je.Wf(a,"deviceorientationabsolute",d=>{this.IC=d.data.alpha}),KE.je.Wf(a,"devicemotion",d=>{d=d.data;const c=d.acceleration;c&&(this.CG=c.x,this.DG=c.y,this.EG=c.z);if(d=d.accelerationIncludingGravity)this.zG= -d.x,this.AG=d.y,this.BG=d.z}),KE.je.Wf(a,"tick2",()=>this.qG()))}j(){this.Xd.clear();super.j()}qG(){const a=performance.now();let b=0;for(const c of this.Xd.values()){c.wa()<=a-50&&(c.sC=a);var d=c.PH?!1:500<=a-c.sp&&!c.kC&&15>QE.Qn(c.jD,c.kD,c.Y,c.S)?c.PH=!0:!1;d&&(this.Au=c.te,this.pD=c.vg(),this.IB=b,this.oa(KE.C.Touch.K.uV),this.tj=c.fa(),this.uj=c.ga(),this.oa(KE.C.Touch.K.vV),this.IB=0);++b}}};const RE=self.B,UE=[]; -RE.C.Touch.K={PV(){return!0},HM(){return!0},I4(){return 0=a+1},uV(){return!0},NV(){return!0},oV(){return!0},vV(a){return a&& -PE(this,this.tj,this.uj)?LB(this.g.Ci,a,this.tj,this.uj):!1},OV(a){return a&&PE(this,this.tj,this.uj)?LB(this.g.Ci,a,this.tj,this.uj):!1},pV(a){return a&&PE(this,this.tj,this.uj)?LB(this.g.Ci,a,this.tj,this.uj):!1},FV(a){return this.RJ===a},EV(a){return this.RJ===a}};self.B.C.Touch.$a={B7(a){JE(this,a)}};const VE=self.B; -VE.C.Touch.Sb={raa(){return this.Xd.size},YF(a){const b=OE(this,this.IB);return b?WE(b,V(this.g),a,!0):0},BA(a){const b=OE(this,this.IB);return b?WE(b,V(this.g),a,!1):0},eba(a,b){return(a=OE(this,a))?WE(a,V(this.g),b,!0):0},gba(a,b){return(a=OE(this,a))?WE(a,V(this.g),b,!1):0},fba(a,b){return(a=this.Xd.get(a))?WE(a,V(this.g),b,!0):0},hba(a,b){return(a=this.Xd.get(a))?WE(a,V(this.g),b,!1):0},C0(){const a=OE(this,0);return a?a.fa():0},F0(){const a=OE(this,0);return a?a.ga():0},D0(a){return(a=OE(this, -a))?a.fa():0},G0(a){return(a=OE(this,a))?a.ga():0},E0(a){return(a=this.Xd.get(a))?a.fa():0},H0(a){return(a=this.Xd.get(a))?a.ga():0},K$(a){return(a=OE(this,a))?a.gk():0},L$(a){return(a=this.Xd.get(a))?a.gk():0},q1(a){return(a=OE(this,a))?VE.kf(a.Da()):0},s1(a){return(a=this.Xd.get(a))?VE.kf(a.Da()):0},V2(){qD(this.g);return this.IC},i1(){qD(this.g);return this.aJ},M1(){qD(this.g);return this.bJ},Q3(){qD(this.g);return this.cJ},J0(){rD(this.g);return this.zG},L0(){rD(this.g);return this.AG},N0(){rD(this.g); -return this.BG},I0(){rD(this.g);return this.CG},K0(){rD(this.g);return this.DG},M0(){rD(this.g);return this.EG},taa(){return this.Au},saa(){return this.pD},dba(a){return(a=this.Xd.get(a))?a.J():0},b4(a){return(a=this.Xd.get(a))?a.I():0},m7(a){return(a=this.Xd.get(a))?a.$P:0}};"use strict";const QE=self.B;let XE=-1E3,YE=-1E3,ZE=-1E4; -function NE(a,b){if(a.PH)return"";if(333>=b-a.sp&&!a.kC&&15>QE.Qn(a.jD,a.kD,a.Y,a.S)){if(666>=b-ZE&&25>QE.Qn(XE,YE,a.Y,a.S))return YE=XE=-1E3,ZE=-1E4,"double-tap";XE=a.Y;YE=a.S;ZE=b;return"single-tap"}return""}function WE(a,b,d,c){if("undefined"===typeof d){b=en(b,0);d=a.Y;var e=a.S;a=b.ad;const g=b.Oj,k=b.$e,l=b.bf,n=b.wf;b.ad=1;b.Oj=1;b.$e=1;b.bf=1;b.wf=0;am(b);d=pm(b,d,e);b.ad=a;b.Oj=g;b.$e=k;b.bf=l;b.wf=n;am(b);return d[c?0:1]}return(b=b.O(d))?pm(b,a.Y,a.S)[c?0:1]:0} -QE.C.Touch.fX=class extends QE.ua{constructor(){super();this.$P=this.R=this.P=this.uC=this.tC=this.S=this.Y=this.kD=this.jD=this.sC=this.Bc=this.sp=this.te=this.YP=0;this.kC=this.PH=!1}j(){}wh(a,b,d,c,e){this.YP=c;this.te=e;this.sp=this.sC=this.Bc=a;this.jD=b;this.kD=d;this.Y=b;this.S=d;this.tC=b;this.uC=d}Lm(a,b,d,c,e,g){this.sC=this.Bc;this.Bc=a;this.tC=this.Y;this.uC=this.S;this.Y=b;this.S=d;this.P=c;this.R=e;this.$P=g;!this.kC&&15<=QE.Qn(this.jD,this.kD,this.Y,this.S)&&(this.kC=!0)}vg(){return this.YP}wa(){return this.Bc}fa(){return this.Y}ga(){return this.S}gk(){const a= -QE.Qn(this.Y,this.S,this.tC,this.uC),b=(this.Bc-this.sC)/1E3;return 0{k?cF(a,b,d,k):(a.Wo=l.replace(/\r\n/g,"\n"),dF(a,b))}):cF(a,b,d,c)}else cF(a,b,d,c)}async function gF(a,b,d){const c=a.g.tb,e=a.Px;a.Px=null;try{if(e){const g=await il(c,d,"buffer");e.sW(g);a.Wo=""}else a.Wo=(await il(c,d,"text")).replace(/\r\n/g,"\n");a.Bx=0;dF(a,b)}catch(g){cF(a,b,d,g)}} -function hF(a,b,d,c,e){return new Promise(g=>{const k=n=>{fF(a,b,d,n);g()},l=a.Px;a.Px=null;try{const n=new XMLHttpRequest;n.onreadystatechange=()=>{if(4===n.readyState){a.Wo=l?"":(n.responseText||"").replace(/\r\n/g,"\n");a.Bx=n.status;if(400<=n.status)cF(a,b,d,n.status+n.statusText);else{const p=a.Wo.length||l&&n.response instanceof ArrayBuffer;a.fC&&!p||!a.fC&&0===n.status&&!p||(l&&l.sW(n.response),dF(a,b))}g()}};n.onerror=k;n.ontimeout=k;n.onabort=k;n.onprogress=p=>eF(a,b,p);n.open(c,d);0<=a.yp&& -"undefined"!==typeof n.timeout&&(n.timeout=a.yp);n.responseType=l?"arraybuffer":"text";e&&!a.FC.has("Content-Type")&&("string"!==typeof e?n.setRequestHeader("Content-Type","application/octet-stream"):n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"));for(const [p,r]of a.FC)try{n.setRequestHeader(p,r)}catch(x){console.error(`[Construct] AJAX: Failed to set header '${p}: ${r}': `,x)}a.FC.clear();if(a.GC){try{n.overrideMimeType(a.GC)}catch(p){console.error("[Construct] AJAX: failed to override MIME type: ", -p)}a.GC=""}a.XI&&(n.withCredentials=!0,a.XI=!1);e?n.send(e):n.send()}catch(n){k(n)}})} -bF.C.jh.Instance=class extends bF.no{constructor(a){super(a);this.Wo="";this.Bx=0;this.Nl="";this.pJ=0;this.yp=-1;this.FC=new Map;this.Px=null;this.GC="";this.XI=!1;this.OP=this.QP=this.PP=null;if(this.fC="nwjs"===this.g.Pl)this.PP=require("fs"),this.QP=require("path"),this.OP=this.QP.dirname((self.process||nw.process).execPath)+"\\"}j(){super.j()}Tc(){return{lastData:this.Wo,lastStatusCode:this.Bx}}dc(a){this.Wo=a.lastData;this.Bx=a.hasOwnProperty("lastStatusCode")?a.lastStatusCode:0;this.Nl=""; -this.pJ=0}};const iF=self.B;iF.C.jh.K={yM(a){return iF.ve(this.Nl,a)},hV(){return!0},rV(a){return iF.ve(this.Nl,a)},iV(){return!0},GV(a){return iF.ve(this.Nl,a)}};const jF=self.B; -jF.C.jh.$a={async Request(a,b){xC(this.g)&&jF.us(b)&&this.g.tb.Ro?await gF(this,a,b):this.g.ko()&&jF.us(b)?(b=gl(this.g.tb,b),await hF(this,a,b,"GET",null)):await hF(this,a,b,"GET",null)},async lW(a,b){xC(this.g)&&this.g.tb.Ro?await gF(this,a,b):await hF(this,a,gl(this.g.tb,b),"GET",null)},async h7(a,b,d,c){await hF(this,a,b,c,d)},async i7(a,b,d,c){d&&(d=fx(d,this.T))&&(d=d.ma.R3(),await hF(this,a,b,c,d))},m$(a){this.yp=1E3*a},t9(a,b){this.FC.set(a,b)},h$(a){a&&(a=fx(a,this.T))&&(this.Px=a.ma)},C6(a){this.GC= -a},y$(a){this.XI=!!a}};self.B.C.jh.Sb={RU(){return this.Wo},g5(){return this.Bx},eW(){return this.pJ},Tag(){return this.Nl}};"use strict";const kF=self.B,lF=[];kF.C.Audio=class extends kF.kj{constructor(a){super(a)}ZF(a){lF.push(a)}j(){super.j()}};const mF=self.B;mF.C.Audio.Fh=class extends mF.Cl{constructor(a){super(a)}j(){super.j()}Fc(){}Zf(){return self.eU}};self.eU=class extends self.uv{constructor(a){super(a)}};const nF=self.B,oF=["interactive","balanced","playback"]; -function uq(a){return null!==a.g.yd?"running":a.QG}function pF(a,b){const d=b.tickCount;a.dJ=b.outputLatency;const c=a.Th.filter(e=>e.hasOwnProperty("placeholder")&&(e.placeholder>d||-1===e.placeholder));a.Th=b.audioInstances;a.mC=b.analysers;0!!d):b?[b]:[]}function sF(a,b){for(const d of b){b=!1;for(const c of a)if(nF.ve(c,d)){b=!0;break}if(!b)return!1}return!0}function tF(a){a=Math.pow(10,a/20);return isFinite(a)?Math.max(Math.min(a,1),0):0}function uF(a,b){b=rF(a,b);for(const d of a.Th)if(sF(d.tags,b))return d;return null}function vF(a,b){const d=rF(a,b);return a.Th.some(c=>sF(c.tags,d)&&c.isPlaying)} -function wF(a,b,d,c,e,g){if(vF(a,d))return null;const k=a.aO.get(b);b={tags:rF(a,d),duration:k?k.duration:0,volume:g,isPlaying:!0,playbackTime:0,playbackRate:1,uid:-1,bufferOriginalUrl:b,bufferUrl:"",bufferType:"",isMusic:c,isLooping:e,isMuted:!1,resumePosition:0,pan:null,placeholder:-1};a.Th.push(b);return b} -function xF(a){return a.Th.filter(b=>-1!==b.uid).map(b=>xp(a.g,b.uid)).filter(b=>b).map(b=>{const d=b.m(),c=d.O().Da(),[e,g]=yF(d.fa(),d.ga(),-c,a.If[0],a.If[1]);return{uid:b.Yb,x:e,y:g,z:Vm(d),angle:d.Da()-c}})}function yF(a,b,d,c,e){if(0===d)return[a,b];const g=Math.sin(d);d=Math.cos(d);a-=c;b-=e;const k=a*g;a=a*d-b*g;b=b*d+k;return[a+c,b+e]}function zF(a,b,d){for(const c of a.mC)if(c.index===d&&nF.ve(c.tag,b))return c;return null} -function AF(a,b){for(const d of rF(a,b))b=d.toLowerCase(),a.pB.set(b,(a.pB.get(b)||0)+1)} -nF.C.Audio.Instance=class extends nF.no{constructor(a,b){super(a,"audio");this.Ni=0;this.SJ=[];this.pO=!0;this.hy=this.CQ=0;this.kJ=!1;this.nO=this.UP=1;this.If=[this.g.fh/2,this.g.hf/2,600];this.Zo=[0,0,-1];this.$o=[0,1,0];this.eQ=600;this.DP=1E4;this.iQ=1;this.Dj=null;this.xC=-1;this.bu=1;this.Sh=!1;this.jQ=0;this.QG="suspended";this.dJ=0;this.pB=new Map;this.nJ=this.oJ=0;this.aO=new Map;this.An=new Map;a="interactive";b&&(this.CQ=b[0],this.hy=b[1],this.kJ=b[2],a=oF[b[3]],this.pO=b[4],this.UP=b[5], -this.nO=b[6],this.If[2]=b[7],this.eQ=b[8],this.DP=b[9],this.iQ=b[10]);this.Th=[];this.Ot=[];this.mC=[];Yy(this,[["state",d=>pF(this,d)],["audiocontext-state",d=>{this.QG=d.audioContextState}],["fxstate",d=>{this.Ot=d.fxstate}],["trigger",d=>qF(this,d)],["buffer-metadata",d=>{this.aO.set(d.originalUrl,{duration:d.duration})}]]);b=this.F().fb();this.hg=new nF.Dz(nF.je.Wf(b,"instancedestroy",d=>{this.Dj===d.instance&&(this.Dj=null)}),nF.je.Wf(b,"afterload",()=>this.vk()),nF.je.Wf(b,"suspend",()=>{this.kJ|| -Zy(this,"set-suspended",{isSuspended:!0})}),nF.je.Wf(b,"resume",()=>{this.kJ||Zy(this,"set-suspended",{isSuspended:!1})}));UC(this.g,$y(this,"create-audio-context",{preloadList:sl(this.g.tb).map(d=>({originalUrl:d.b0,url:d.url,type:d.type,fileSize:d.fileSize})),isiOSCordova:this.g.uI,isSafari:"Safari"===nF.V.Ne,timeScaleMode:this.CQ,latencyHint:a,panningModel:this.UP,distanceModel:this.nO,refDistance:this.eQ,maxDistance:this.DP,rolloffFactor:this.iQ,listenerPos:this.If}).then(d=>{this.jQ=d.sampleRate; -this.QG=d.audioContextState;this.dJ=d.outputLatency}));this.Ig()}j(){this.Dj=null;super.j()}ZF(a){this.ab().ZF(a)}Re(){const a={timeScale:this.g.Wd,gameTime:this.g.Rw.U(),instPans:xF(this),tickCount:this.g.wp};if(this.Dj){const b=this.Dj.m();this.If[0]=b.fa();this.If[1]=b.ga();a.listenerPos=this.If;a.listenerOrientation=[...this.Zo,...this.$o]}Zy(this,"tick",a)}Tc(){return{isSilent:this.Sh,masterVolume:this.bu,listenerZ:this.If[2],listenerForwardVec:this.Zo,listenerUpVec:this.$o,listenerUid:this.Dj? -this.Dj.Yb:-1,remoteUrls:[...this.An.entries()],playing:this.Th.filter(a=>a.hasOwnProperty("placeholder")||3===this.hy?!1:a.isMusic&&1===this.hy?!1:a.isMusic||2!==this.hy?!0:!1),effects:this.Ot,analysers:this.mC}}dc(a){this.Sh=a.isSilent;this.bu=a.masterVolume;this.If[2]=a.listenerZ;this.Dj=null;this.xC=a.listenerUid;a.hasOwnProperty("listenerForwardVec")?this.Zo=a.listenerForwardVec:this.Zo=[0,0,-1];a.hasOwnProperty("listenerUpVec")?this.$o=a.listenerUpVec:this.$o=[0,1,0];this.An.clear();if(a.remoteUrls)for(const [b, -d]of a.remoteUrls)this.An.set(b,d);this.Th=a.playing;for(const b of this.Th)b.hasOwnProperty("tag")&&!b.hasOwnProperty("tags")&&(b.tags=[b.tag].filter(d=>!!d));this.Ot=a.effects;this.mC=a.analysers}vk(){if(-1!==this.xC&&(this.Dj=xp(this.g,this.xC),this.xC=-1,this.Dj)){var a=this.Dj.m();this.If[0]=a.fa();this.If[1]=a.ga()}for(var b of this.Th)(a=rl(this.g.tb,b.bufferOriginalUrl))?(b.bufferUrl=a.url,b.bufferType=a.type):b.bufferUrl=null;for(const d of Object.values(this.Ot))for(const c of d)c.hasOwnProperty("bufferOriginalUrl")&& -(b=rl(this.g.tb,c.bufferOriginalUrl))&&(c.bufferUrl=b.url,c.bufferType=b.type);Zy(this,"load-state",{saveLoadMode:this.hy,timeScale:this.g.Wd,gameTime:this.g.Rw.U(),listenerPos:this.If,listenerOrientation:[...this.Zo,...this.$o],isSilent:this.Sh,masterVolume:this.bu,playing:this.Th.filter(d=>null!==d.bufferUrl),effects:this.Ot})}}; -self.B.C.Audio.K={qV(a){return sF(this.SJ,rF(this,a))},sV(a){return sF(this.SJ,rF(this,a))},l7(){return this.nJ===this.oJ},g1(){return!0},V4(){return this.Sh},wU(){for(const a of this.Th)if(a.isPlaying)return!0;return!1},X4(a){return vF(this,a)}};const BF=self.B,CF="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" "); -BF.C.Audio.$a={Play(a,b,d,c,e){a=BF.C.Audio.$a.DN.call(this,a,b,d,c,e);this.ZF(a);return a},NM(a,b,d,c){BF.C.Audio.$a.DN.call(this,a,0,b,0,d,c)},async DN(a,b,d,c,e,g){if(!this.Sh){var k=a[1],l=rl(this.g.tb,a[0]);if(l){var n=this.Ni;this.Ni=0;var p=wF(this,a[0],e,k,0!==b,tF(d));try{await $y(this,"play",{originalUrl:a[0],url:l.url,type:l.type,isMusic:k,tags:rF(this,e),isLooping:0!==b,vol:tF(d),stereoPan:BF.X(c/100,-1,1),pos:g||0,off:n,trueClock:!!self.C3_GetAudioContextCurrentTime})}finally{p&&(p.placeholder= -this.g.wp)}}}},async Y6(a,b,d,c,e,g,k,l,n,p,r){if(!this.Sh){var x=a[1],v=rl(this.g.tb,a[0]);if(v){var y=this.Ni;this.Ni=0;var C=wF(this,a[0],r,x,0!==b,tF(d));try{await $y(this,"play",{originalUrl:a[0],url:v.url,type:v.type,isMusic:x,tags:rF(this,r),isLooping:0!==b,vol:tF(d),pos:0,off:y,trueClock:!!self.C3_GetAudioContextCurrentTime,panning:{x:c,y:e,z:g,angle:BF.Oa(k),innerAngle:BF.Oa(l),outerAngle:BF.Oa(n),outerGain:tF(p)}})}finally{C&&(C.placeholder=this.g.wp)}}}},async W6(a,b,d,c,e,g,k,l){if(!this.Sh&& -c&&(c=fx(c))&&c.m()){var n=c.m(),p=n.O().Da(),[r,x]=yF(n.fa(),n.ga(),-p,this.If[0],this.If[1]),v=a[1],y=rl(this.g.tb,a[0]);if(y){var C=this.Ni;this.Ni=0;var E=wF(this,a[0],l,v,0!==b,tF(d));try{await $y(this,"play",{originalUrl:a[0],url:y.url,type:y.type,isMusic:v,tags:rF(this,l),isLooping:0!==b,vol:tF(d),pos:0,off:C,trueClock:!!self.C3_GetAudioContextCurrentTime,panning:{x:r,y:x,z:Vm(n),angle:n.Da()-p,innerAngle:BF.Oa(e),outerAngle:BF.Oa(g),outerGain:tF(k),uid:c.Yb}})}finally{E&&(E.placeholder=this.g.wp)}}}}, -async a7(a,b,d,c,e,g){if(!this.Sh){a=1===a;var k=rl(this.g.tb,b)||this.An.get(b.toLowerCase());if(k){var l=this.Ni;this.Ni=0;var n=wF(this,b,g,a,0!==d,tF(c));try{await $y(this,"play",{originalUrl:b,url:k.url,type:k.type,isMusic:a,tags:rF(this,g),isLooping:0!==d,vol:tF(c),stereoPan:BF.X(e/100,-1,1),pos:0,off:l,trueClock:!!self.C3_GetAudioContextCurrentTime})}finally{n&&(n.placeholder=this.g.wp)}}}},async Z6(a,b,d,c,e,g,k,l,n,p,r,x){if(!this.Sh){a=1===a;var v=rl(this.g.tb,b)||this.An.get(b.toLowerCase()); -if(v){var y=this.Ni;this.Ni=0;var C=wF(this,b,x,a,0!==d,tF(c));try{await $y(this,"play",{originalUrl:b,url:v.url,type:v.type,isMusic:a,tags:rF(this,x),isLooping:0!==d,vol:tF(c),pos:0,off:y,trueClock:!!self.C3_GetAudioContextCurrentTime,panning:{x:e,y:g,z:k,angle:BF.Oa(l),innerAngle:BF.Oa(n),outerAngle:BF.Oa(p),outerGain:tF(r)}})}finally{C&&(C.placeholder=this.g.wp)}}}},async X6(a,b,d,c,e,g,k,l,n){if(!this.Sh&&!this.Sh&&e&&(e=fx(e))&&e.m()){var p=e.m(),r=p.O().Da(),[x,v]=yF(p.fa(),p.ga(),-r,this.If[0], -this.If[1]);a=1===a;var y=rl(this.g.tb,b)||this.An.get(b.toLowerCase());if(y){var C=this.Ni;this.Ni=0;var E=wF(this,b,n,a,0!==d,tF(c));try{await $y(this,"play",{originalUrl:b,url:y.url,type:y.type,isMusic:a,tags:rF(this,n),isLooping:0!==d,vol:tF(c),pos:0,off:C,trueClock:!!self.C3_GetAudioContextCurrentTime,panning:{x,y:v,z:Vm(p),angle:p.Da()-r,innerAngle:BF.Oa(g),outerAngle:BF.Oa(k),outerGain:tF(l),uid:e.Yb}})}finally{E&&(E.placeholder=this.g.wp)}}}},S9(a,b){Zy(this,"set-looping",{tags:rF(this,a), -isLooping:0===b})},Y9(a,b){Zy(this,"set-muted",{tags:rF(this,a),isMuted:0===b})},ro(a,b){Zy(this,"set-volume",{tags:rF(this,a),vol:tF(b)})},D3(a,b,d,c){Zy(this,"fade-volume",{tags:rF(this,a),vol:tF(b),duration:d,stopOnEnd:0===c})},k$(a,b){Zy(this,"set-stereo-pan",{tags:rF(this,a),p:BF.X(b/100,-1,1)})},async j7(a){const b=a[1],d=rl(this.g.tb,a[0]);d&&(this.oJ++,await $y(this,"preload",{originalUrl:a[0],url:d.url,type:d.type,isMusic:b}),this.nJ++)},async k7(a,b){a=1===a;const d=rl(this.g.tb,b)||this.An.get(b.toLowerCase()); -d&&(this.oJ++,await $y(this,"preload",{originalUrl:b,url:d.url,type:d.type,isMusic:a}),this.nJ++)},Ch(a,b){Zy(this,"set-playback-rate",{tags:rF(this,a),rate:Math.max(b,0)})},hd(a){Zy(this,"stop",{tags:rF(this,a)})},R$(){Zy(this,"stop-all")},b$(a,b){Zy(this,"set-paused",{tags:rF(this,a),paused:0===b})},P8(a,b){Zy(this,"seek",{tags:rF(this,a),pos:b})},j$(a){2===a&&(a=this.Sh?1:0);a=0===a;this.Sh!==a&&(this.Sh=a,Zy(this,"set-silent",{isSilent:a}))},U9(a){a=tF(a);this.bu!==a&&(this.bu=a,Zy(this,"set-master-volume", -{vol:a}))},U0(a,b,d,c,e,g,k){b=CF[b];AF(this,a);Zy(this,"add-effect",{type:"filter",tags:rF(this,a),params:[b,d,c,e,g,BF.X(k/100,0,1)]})},R0(a,b,d,c){AF(this,a);Zy(this,"add-effect",{type:"delay",tags:rF(this,a),params:[b,tF(d),BF.X(c/100,0,1)]})},V0(a,b,d,c,e,g){AF(this,a);Zy(this,"add-effect",{type:"flanger",tags:rF(this,a),params:[b/1E3,d/1E3,c,e/100,BF.X(g/100,0,1)]})},a1(a,b,d,c,e,g,k){AF(this,a);Zy(this,"add-effect",{type:"phaser",tags:rF(this,a),params:[b,d,c,e,g,BF.X(k/100,0,1)]})},Q0(a,b, -d,c){const e=rl(this.g.tb,b[0]);e&&(AF(this,a),Zy(this,"add-effect",{type:"convolution",tags:rF(this,a),bufferOriginalUrl:b[0],bufferUrl:e.url,bufferType:e.type,params:[0===d,BF.X(c/100,0,1)]}))},X0(a,b){AF(this,a);Zy(this,"add-effect",{type:"gain",tags:rF(this,a),params:[tF(b)]})},d1(a,b){AF(this,a);Zy(this,"add-effect",{type:"stereopan",tags:rF(this,a),params:[BF.X(b/100,-1,1)]})},$0(a){AF(this,a);Zy(this,"add-effect",{type:"gain",tags:rF(this,a),params:[0]})},e1(a,b,d){AF(this,a);Zy(this,"add-effect", -{type:"tremolo",tags:rF(this,a),params:[b,BF.X(d/100,0,1)]})},c1(a,b,d){AF(this,a);Zy(this,"add-effect",{type:"ringmod",tags:rF(this,a),params:[b,BF.X(d/100,0,1)]})},S0(a,b,d,c,e,g){AF(this,a);Zy(this,"add-effect",{type:"distortion",tags:rF(this,a),params:[Math.pow(10,b/20),Math.pow(10,d/20),c,Math.pow(10,e/20),BF.X(g/100,0,1)]})},P0(a,b,d,c,e,g){AF(this,a);Zy(this,"add-effect",{type:"compressor",tags:rF(this,a),params:[b,d,c,e/1E3,g/1E3]})},O0(a,b,d){AF(this,a);Zy(this,"add-effect",{type:"analyser", -tags:rF(this,a),params:[b,d]})},v7(a){a=rF(this,a);for(const b of a)this.pB.set(b.toLowerCase(),0);Zy(this,"remove-effects",{tags:a});this.Ot={}},Fv(a,b,d,c,e,g){Zy(this,"set-effect-param",{tags:rF(this,a),index:Math.floor(b),param:d,value:c,ramp:e,time:g})},P9(a){a&&(a=fx(a))&&a.m()&&(this.Dj=a)},R9(a){this.If[2]=a},Q9(a,b,d,c,e,g){this.Zo[0]=a;this.Zo[1]=b;this.Zo[2]=-d;this.$o[0]=c;this.$o[1]=e;this.$o[2]=-g},J8(a){this.Ni=Math.max(a,0)},Baa(a){const b=a[1];(a=rl(this.g.tb,a[0]))&&Zy(this,"unload", -{url:a.url,type:a.type,isMusic:b})},Caa(a,b){a=1===a;(b=rl(this.g.tb,b)||this.An.get(b.toLowerCase()))&&Zy(this,"unload",{url:b.url,type:b.type,isMusic:a})},Aaa(){Zy(this,"unload-all")},b1(a,b,d){this.An.set(d.toLowerCase(),{url:a,type:b})}}; -self.B.C.Audio.Sb={o3(a){return(a=uF(this,a))?a.duration:0},ZV(a){return(a=uF(this,a))?a.playbackTime:0},YV(a){return(a=uF(this,a))?a.playbackRate:0},rX(a){return(a=uF(this,a))?Math.log(Math.max(Math.min(a.volume,1),0))/Math.log(10)*20:0},L5(){return Math.log(Math.max(Math.min(this.bu,1),0))/Math.log(10)*20},q3(a){return this.pB.get(a.toLowerCase())||0},l1(a,b){return(a=zF(this,a,Math.floor(b)))?a.binCount:0},j1(a,b,d){a=zF(this,a,Math.floor(b));if(!a)return 0;d=Math.floor(d);return 0>d||d>=a.binCount? -0:a.freqBins[d]},m1(a,b){return(a=zF(this,a,Math.floor(b)))?a.peak:0},n1(a,b){return(a=zF(this,a,Math.floor(b)))?a.rms:0},I8(){return this.jQ},g3(){return self.C3_GetAudioContextCurrentTime?self.C3_GetAudioContextCurrentTime():performance.now()/1E3},B6(){return this.dJ}};"use strict";const DF=self.B;DF.C.Lb=class extends DF.kj{constructor(a){super(a)}j(){super.j()}};const EF=self.B,FF=[];function GF(a){for(const b of Cj(a.L))HF(b.ma)} -EF.C.Lb.Fh=class extends EF.Cl{constructor(a){super(a);this.tc=a.tc}j(){EF.D(this.tc);super.j()}Fc(){for(const b of this.tc){var a=this.g;for(const d of b.Yc)pz(d.oc(),a)}}mo(a){const b={gi:this.g.pd};return Promise.all(this.tc.map(d=>tz(d,a,b)))}Fm(){for(const a of this.tc)uz(a)}oA(){GF(this)}hs(a){EF.C.Lb.OL(this,a)}sE(){FF.push({TK:null,eR:!1,bz:[]})}qE(){const a=FF.pop(),b=a.TK,d=a.eR;if(b){var c=new Map;for(const e of a.bz)bA(e,c,b,d);for(const [e,g]of c)Xs(e.aa(),g)}}}; -const IF=self.B,JF=self.Tf,KF=IF.A(IF.Rect),LF=IF.A(IF.Kd),MF=IF.A(IF.uo);function HF(a){const b=a.We.oc();a.ct=b.Hd();a.lH=b.$f();a.Bw=b.qs();a=a.m();un(a,65536,!0)}function NF(a,b){const d=a.We;var c=Kz(a.L,a.Hq);a.Hq="";!c||c===a.Mb&&aA(a.T,2)||(a.Mb=c,$z(a.T,1,0<=c.gk()),a.vj=Math.abs(c.gk()),a.bt=c.gQ,a.Hb=IF.X(a.Hb,0,a.Mb.Yc.length-1),1===a.eO&&(a.Hb=0),$z(a.T,2,!0),a.Mk=a.zo.U(),c=vz(a.Mb,a.Hb),OF(a,d,c,b))} -function PF(a){const b=a.We;var d=a.Hb;a.Hb=IF.X(Math.floor(a.vw),0,a.Mb.Yc.length-1);a.vw=-1;d!==a.Hb&&(d=vz(a.Mb,a.Hb),OF(a,b,d),a.Mk=a.zo.U())}function QF(a,b){a.Hb=b?0:a.Mb.Yc.length-1;$z(a.T,2,!1);a.NG=a.Mb.na();$z(a.T,4,!0);a.Fz("animationend",!1,{animationName:a.NG});a.oa(IF.C.Lb.K.gV);a.oa(IF.C.Lb.K.fV);$z(a.T,4,!1);a.Jl=0} -function OF(a,b,d,c){if(b!==d){var e=a.m(),g=b.oc();b=d.oc();var k=g.J();g=g.I();var l=b.J(),n=b.I();c&&c.a0?c.a0(e,k,g,l,n):(k!==l&&e.ye(e.J()*(l/k)),g!==n&&e.Qe(e.I()*(n/g)));e.Ij=+d.wg();e.Jj=+d.xg();rB(e,d.Iq);wk(e);a.We=d;a.ct=b.Hd();a.lH=b.$f();a.Bw=b.qs();d=a.Z().vd;for(let p=0,r=d.length;pb||b>=c)return[0,0];d=d.re;return[d[2*b]+a.fa(),d[2*b+1]+a.ga()]} -IF.C.Lb.Instance=class extends IF.Ev{constructor(a,b){super(a);let d=!0,c="",e=0,g=!0;b&&(d=!!b[0],c=b[1],e=b[2],g=b[3]);this.Mb=Kz(this.L,c)||this.L.tc[0];this.Hb=IF.X(e,0,this.Mb.Yc.length-1);this.We=vz(this.Mb,this.Hb);b=this.We.oc();this.ct=b.Hd();this.lH=b.$f();this.Bw=b.qs();cz(this);$z(a,2,!0);$z(a,1,0<=this.Mb.gk());this.vj=Math.abs(this.Mb.gk());this.bt=this.Mb.gQ;this.zo=IF.A(IF.wv);this.Jl=this.Mk=0;this.NG="";this.vw=-1;this.Hq="";this.eO=0;a=this.m();this.XA=TA(a);a.Hg(d);pB(a,g);a.Ij= -+this.We.wg();a.Jj=+this.We.xg();rB(a,this.We.Iq);wk(a);1===this.L.tc.length&&1===this.L.tc[0].Yc.length||0===this.vj||this.Ig()}j(){this.zo=this.ct=this.We=this.Mb=null;super.j()}ji(){return this.We.oc()}xh(){return!0}xs(){this.ct=null}FM(){HF(this)}oh(a){var b=this.ct;null!==b&&(pi(a,b),b=this.m(),ay(b)?this.eG(b,a):this.fG(b,a))}fG(a,b){var d=this.XA;this.g.Sk&&(d=qB(a,d));a=d;d=this.Bw;fi(b);vi(b,a);d.ih(b.vp,b.ue);b.ue+=8}eG(a,b){const d=sB(a);if(0!==(a.ca&65536)){QA(a,KF,LF,!1);let c=LF;this.g.Sk&& -(c=qB(a,c));dg(d,by(a),c,this.Bw);un(a,65536,!1)}d.oh(b)}Re(){this.Hq&&NF(this);0<=this.vw&&PF(this);const a=this.vj;if(aA(this.T,2)&&0!==a){this.zo.Kb(vj(this.g,this.T));var b=this.zo.U(),d=this.We,c=d.Gw/a;if(!(b=k&&(p?($z(this.T,1,!1),this.Hb=k-2):n?this.Hb=g:(this.Jl++,this.Jl>=l?QF(this,!1):this.Hb=g));0>this.Hb&&(p?(this.Hb=1,$z(this.T,1,!0),n||(this.Jl++,this.Jl>=l&& -QF(this,!0))):n?this.Hb=g:(this.Jl++,this.Jl>=l?QF(this,!0):this.Hb=g));this.Hb=IF.X(this.Hb,0,k-1);c=vz(e,this.Hb);b>this.Mk+c.Gw/a&&(this.Mk=b);OF(this,d,c)}}else this.wo()}Hd(){return this.ct}$f(){return this.lH}qs(){return this.Bw}jv(){return this.We.jv()}Am(a){const b=this.We,d=this.m();if("string"===typeof a)a=b.WH.get(a.toLowerCase())||null;else if("number"===typeof a)a=xz(b,a-1);else throw new TypeError("expected string or number");let c=Vm(d);if(!a)return[d.fa(),d.ga(),c];MF.xa(a.mJ);if(ay(d)){const [e, -g,k]=gg(by(d),MF.Y,MF.S);MF.set(e,g);c+=k}MF.offset(-b.wg(),-b.xg());MF.scale(d.J(),d.I());MF.rotate(d.Da());MF.offset(d.fa(),d.ga());return[MF.Y,MF.S,c]}Tc(){const a={a:this.Mb.eb};0!==this.Mk&&(a.fs=this.Mk);var b=this.zo.U();0!==b&&(a.at=b);0!==this.Hb&&(a.f=this.Hb);0!==this.vj&&(a.cas=this.vj);1!==this.Jl&&(a.ar=this.Jl);0!==this.bt&&(a.rt=this.bt);aA(this.T,2)||(a.ap=aA(this.T,2));aA(this.T,1)||(a.af=aA(this.T,1));b=this.m();b.jk()&&(a.ce=b.jk());return a}dc(a){var b=this.G();if(!b.tc)throw Error("no animations"); -if(b=b.PA.get(a.a)||null)this.Mb=b;this.Mk=a.hasOwnProperty("fs")?a.fs:0;this.zo.Set(a.hasOwnProperty("at")?a.at:0);b=a.hasOwnProperty("f")?a.f:0;this.Hb=IF.X(b,0,this.Mb.Yc.length-1);this.vj=a.hasOwnProperty("cas")?a.cas:0;this.Jl=a.hasOwnProperty("ar")?a.ar:1;b=a.hasOwnProperty("rt")?a.rt:0;this.bt=IF.X(b,0,this.Mb.Yc.length-1);b=a.hasOwnProperty("ap")?!!a.ap:!0;$z(this.T,2,b);b=a.hasOwnProperty("af")?!!a.af:!0;$z(this.T,1,b);this.We=b=vz(this.Mb,this.Hb);HF(this);const d=this.m();d.Ij=+b.wg(); -d.Jj=+b.xg();rB(d,b.Iq);pB(d,!!a.ce);aA(this.T,2)&&this.Ig()}Pc(a){const b=this.m();switch(a){case 3:return b.jk();case 2:return IF.X(this.Hb,0,this.Mb.Yc.length-1);case 1:return this.Mb.na()}}Gg(a,b,d){var c=this.m();switch(a){case 3:pB(c,!!b);break;case 2:$z(this.T,2,!1);a=this.Mb.Yc.length-1;c=b=IF.X(b,0,a);b=vz(this.Mb,this.Hb);const e=vz(this.Mb,c);OF(this,b,e,d);this.Hb=IF.X(c,0,a);break;case 1:this.Hq=b,NF(this,d),1this.m().J()},G4(){return 0>this.m().I()},KM(){return!0},QV(){return!0},jk(){return this.m().jk()}};const WF=self.B; -WF.C.Lb.$a={J$(a,b,d,c){if(a&&b){var [e,g]=this.Am(d);if(d=Ej(this.g,a,b,e,g,c))c&&Xl(b,d),a.ab().lo()&&(b=d.m(),b.Zd(this.m().Da()),wk(b)),b=this.g.Aa(),Fj(b,!0),Gj(d),Fj(b,!1),a!==this.g.bv().G()&&(b=FF.at(-1),b.TK=a,b.eR=c,b.bz.push(d))}},T$(){$z(this.T,2,!1)},N$(a){$z(this.T,2,!0);this.Mk=this.zo.U();1===a&&0!==this.Hb&&(this.vw=0,aA(this.T,4)||PF(this));this.Ig()},rW(a,b){this.Hq=a;this.eO=b;this.Ig();aA(this.T,4)||NF(this)},W8(a){SF(this,a)},Y8(a){this.vj=Math.abs(a);$z(this.T,1,0<=a);0d.J()?-1:1;const e=0>d.I()?-1:1;c*=b.J()*a;a=b.I()*a*e;if(d.J()!==c||d.I()!==a)d.ec(c,a),wk(d)},async y5(a,b){const d=this.We.oc(),c=this.m(),e=this.g,g=this.jb;if(d.jm===a)0===b&&(c.ec(d.J(),d.I()),wk(c)),this.oa(WF.C.Lb.K.KM); -else{var k=WF.A(WF.fA);try{if(k.pe)throw Error("already loaded asset");k.jm=a;const l={};lz.iA(a)&&(l.fz="remote");pz(k,e,l);await tl(k.pe);if(!k.aF())throw Error("image failed to load");if(this.vo()){k.j();return}await k.vs(e.Pa(),{gi:e.pd})}catch(l){console.error("Load image from URL failed: ",l);this.vo()||this.oa(WF.C.Lb.K.QV);return}if(this.vo())k.j();else{if(k===d)throw Error("cannot replace with self");d.GH++;d.kk();d.jm=k.jm;d.ku=k.ku;d.mr=k.mr;d.nr=k.nr;d.P=k.P;d.R=k.R;d.To=k.To;d.Uw=k.Uw; -d.pe=k.pe;d.gm=k.gm;d.Ui=k.Ui;d.rr=k.rr;nz(d);GF(g);g.G().fb().dispatchEvent(new WF.Event("animationframeimagechange"));e.N();0===b&&(c.ec(d.J(),d.I()),wk(c));await this.$d(WF.C.Lb.K.KM)}}},e9(a){pB(this.m(),a)},HF(a,b){this.m().HF(0===a,b)},jN(a){this.m().Dg(a);this.g.N()}}; -self.B.C.Lb.Sb={t1(){return this.Hb},v1(){return this.We.Vi},u1(){return this.Mb.Yc.length},w1(){return this.Mb.na()},z1(){return aA(this.T,1)?this.vj:-this.vj},A6(){return this.Mb.gk()},j4(a){return this.Am(a)[0]},l4(a){return this.Am(a)[1]},m4(a){return this.Am(a)[2]},i4(){return this.jv()},n4(){return this.ji().J()},h4(){return this.ji().I()},c7(a){return TF(this,a)[0]},d7(a){return TF(this,a)[1]},b7(){return VA(this.m()).re.length/2}};"use strict";const XF=self.B;XF.C.Im=class extends XF.kj{constructor(a){super(a)}j(){super.j()}}; -const YF=self.B;YF.C.Im.Fh=class extends YF.Cl{constructor(a){super(a);this.Fb=YF.A(self.LW)}j(){super.j()}Fc(){pz(this.oc(),this.g)}mo(a){return this.oc().vs(a,{gi:this.g.pd})}Fm(){this.oc().kk()}};const ZF=self.B,$F=self.Tf,aG=ZF.A(ZF.uo),bG=["left","center","right"],cG=["top","center","bottom"]; -function dG(a){const b=a.fe;if(b){b.tF(a.ne);b.qk(a.Ua);b.KF(a.Rf?"word":"character");var d=bG[a.dd];if(!eG.has(d))throw Error("invalid alignment");b.dd!==d&&(b.dd=d,b.Hl());d=cG[a.Mc];if(!fG.has(d))throw Error("invalid alignment");b.Mc!==d&&(b.Mc=d,b.Hl());d=a.$m;b.En!==d&&(b.En=d,b.td());b.As(a.Md)}}function gG(a,b){a.Ml!==b&&(a.Ml=b,a.fe.qo(a.Ml),a.g.N())}function hG(a,b){if(a.$m!==b){a.$m=b;b=a.fe;var d=a.$m;b.En!==d&&(b.En=d,b.td());a.g.N()}} -ZF.C.Im.Instance=class extends ZF.Ev{constructor(a,b){super(a);this.Ua="";this.ne=!0;this.Jh=this.xf=16;this.Fo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>";var d="";this.Ml=1;this.Mc=this.dd=this.Md=this.$m=0;this.Rf=!0;this.np=!1;this.fe=this.Ie=null;this.ie=this.bj=-1;this.gl=0;b&&(this.Ua=b[0],this.ne=b[1],this.xf=b[2],this.Jh=b[3],this.Fo=b[4],d=b[5],this.Ml=b[6],this.$m=b[7],this.Md=b[8],this.dd=b[9],this.Mc=b[10],this.Rf=0=== -b[11],this.m().Hg(b[12]),this.np=!!b[14]);var c=this.jb;b=this.xf;a=this.Jh;var e=this.Fo;const g=c.oc();c=c.Fb;c.ye(g.J());c.Qe(g.I());c.vA(b);iG(c,a);jG(c,e);kG(c,d);lG(c);this.fe=ZF.A(self.NW,this.jb.Fb);b=this.m();this.fe.ec(b.J(),b.I());dG(this);this.Qm();b=this.T;b.ca|=32}j(){this.uf();this.Ie&&(this.Ie.j(),this.Ie=null);this.fe.j();this.fe=null;super.j()}yi(){const a=this.m();this.fe.ec(a.J(),a.I());this.fe.qo(this.Ml)}Qm(){if(this.np){let a=this.Ua;this.ne&&(a=a.replace(me,""));this.Ie?this.Ie.qk(a): -this.Ie=ZF.A(ZF.hN,this.g,a)}else this.Ie&&(this.Ie.j(),this.Ie=null)}oh(a){var b=this.L.oc(),d=b.Hd();if(d){pi(a,d);d=this.m();var c=TA(d),e=this.fe;e.qo(this.Ml);var g=d.KE();e.jy!==g&&(e.jy=g,e.td());this.g.Sk&&(c=qB(d,c));e.ec(d.J(),d.I());g=e.Fb;b=b.$f();if(!g.fm.Cd(b)){g.fm.xa(b);for(const k of g.Eo.values())mG(k)}e.vi(d.Xa);e.oh(a,c.yb,c.wb,d.Da())}}Tc(){const a={t:this.Ua,ebbc:this.ne,csc:this.Ml,csp:this.$m,lh:this.Md,ha:this.dd,va:this.Mc,w:this.Rf,cw:this.jb.Fb.xf,ch:this.jb.Fb.Jh,cs:this.jb.Fb.Fo, -sd:this.jb.Fb.nu};-1!==this.ie&&(a.tw={st:this.bj,en:this.ie,l:this.gl});return a}dc(a){this.uf();this.Ua=a.t;this.ne=a.ebbc;this.Ml=a.csc;this.$m=a.csp;this.Md=a.lh;this.dd=a.ha;this.Mc=a.va;this.Rf=a.w;if(a.hasOwnProperty("tw")){var b=a.tw;this.bj=b.st;this.ie=b.en;this.gl=a.l}b=this.jb.Fb;b.vA(a.cw);iG(b,a.ch);jG(b,a.cs);kG(b,a.sd);dG(this);this.Qm();-1!==this.ie&&this.Ig()}Pc(a){switch(a){case 0:return this.Ua;case 1:return this.ne;case 2:return this.jb.Fb.xf;case 3:return this.jb.Fb.Jh;case 4:return this.jb.Fb.Fo; -case 5:return this.jb.Fb.nu;case 6:return this.Ml;case 7:return this.$m;case 8:return this.Sv();case 9:return this.dd;case 10:return this.Mc;case 11:return this.Rf?1:0}}Gg(a,b){switch(a){case 0:this.xk(b);break;case 1:if(this.ne===!!b)break;this.ne=!!b;dG(this);break;case 2:this.jb.Fb.vA(b);break;case 3:iG(this.jb.Fb,b);break;case 4:jG(this.jb.Fb,b);break;case 5:kG(this.jb.Fb,b);break;case 6:gG(this,b);break;case 7:hG(this,b);break;case 8:this.xq(b);break;case 9:this.Yv(b);break;case 10:this.yq(b); -break;case 11:this.$v(0===b)}}xk(a){this.Ua!==a&&(this.Ua=a,this.fe.qk(a),this.Qm(),this.g.N())}yG(a,b){this.xk(a);this.bj=this.g.Jr.U();this.ie=this.bj+b/pk(this.Z());this.gl=ZF.$S(a.replace(me,""));this.fe.rq(0);this.Ig()}uf(){this.ie=this.bj=-1;this.gl=0;this.fe.rq(-1);this.wo()}gG(){-1!==this.ie&&(this.uf(),this.oa(ZF.C.Im.K.zv),this.g.N())}xq(a){this.Md!==a&&(this.Md=a,this.fe.As(this.Md),this.g.N())}Sv(){return this.Md}Yv(a){this.dd!==a&&(this.dd=a,dG(this),this.g.N())}yq(a){this.Mc!==a&&(this.Mc= -a,dG(this),this.g.N())}$v(a){a=!!a;this.Rf!==a&&(this.Rf=a,dG(this),this.g.N())}wG(a){this.np=!!a;this.Qm()}kG(){this.yi();return zh(this.fe)}jG(){this.yi();return this.fe.ME()}Tv(a,b){this.yi();const d=this.m();aG.set(a-d.fa(),b-d.ga());aG.rotate(-d.Da());aG.offset(d.J()*d.wg(),d.I()*d.xg());if(a=this.fe.RE(aG.Y,aG.S))if(a=Ie(a,"tag"))return a.nc;return""}lG(a,b,d){return(b=this.Tv(b,d))&&ZF.ve(a,b)}Nm(a,b){this.yi();b=Math.floor(b);a=this.fe.CE(a,b);if(!a)return null;b=this.m();aG.set(a.Ri,a.Si); -aG.offset(-b.J()*b.wg(),-b.I()*b.xg());aG.rotate(b.Da());aG.offset(b.fa(),b.ga());return{x:aG.Y,y:aG.S,width:a.J(),height:a.I()}}iG(a){this.yi();return this.fe.zE(a)}Re(){var a=this.g.Jr.U();a>=this.ie?(this.uf(),this.oa(ZF.C.Im.K.zv),this.g.N()):(a=ZF.PR(this.bj,this.ie,a,this.gl),a=Math.floor(a),a!==this.fe.Lh&&(this.fe.rq(a),this.g.N()))}Zf(){return self.dM}};const nG=new WeakMap,oG=new Map([["top",0],["center",1],["bottom",2]]); -self.dM=class extends self.ss{constructor(){super();nG.set(this,self.mi.Fl().ma)}get text(){return nG.get(this).Ua}set text(a){$F.Rd(a);const b=nG.get(this);b.uf();b.xk(a)}set lineHeight(a){$F.xe(a);nG.get(this).xq(a)}get lineHeight(){return nG.get(this).Sv()}set verticalAlign(a){$F.Rd(a);a=oG.get(a);if("undefined"===typeof a)throw Error("invalid mode");nG.get(this).yq(a)}get verticalAlign(){return cG[nG.get(this).Mc]}};const pG=self.B; -pG.C.Im.K={US(a,b){return b?this.Ua===a:pG.ve(this.Ua,a)},lM(){return-1!==this.ie},zv(){return!0},ZT(a,b,d){return this.lG(a,b,d)}}; -self.B.C.Im.$a={qk(a){this.uf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);this.xk(a.toString())},AS(a){this.uf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);(a=a.toString())&&this.xk(this.Ua+a)},vN(a,b){this.uf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);this.yG(a.toString(),b)},uN(){this.gG()},qo(a){gG(this,a)},d9(a){hG(this,a)},As(a){this.xq(a)},vA(a,b){var d=!1;const c=this.jb.Fb;for(const e of a)if(" "===e)d=b,0>d&&(d=-1),c.Dn!==d&&(c.Dn=d,0<=c.Dn&&(c.zt= -!0)),d=!0;else if(a=qG(c,e))a.nB=b,d=!0;if(d){c.zt=!0;for(const e of c.Dq)e.td()}this.g.N()},jN(a){this.m().Dg(a);this.g.N()},wW(a){this.Yv(a)},BW(a){this.yq(a)},EW(a){this.$v(0===a)},AW(a){this.wG(a)}}; -self.B.C.Im.Sb={j2(a){return(a=qG(this.jb.Fb,a))?rG(a):this.jb.Fb.xf},g2(){return this.Jh},h2(){return this.Ml},i2(){return this.$m},UU(){return this.Md},Text(){return this.Ua},XV(){return this.ne?this.Ua.replace(me,""):this.Ua},$W(){return this.kG()},WW(){return this.jG()},PW(a,b){return this.Tv(a,b)},QW(a){return this.iG(a)},TW(a,b){return(a=this.Nm(a,b))?a.x:0},UW(a,b){return(a=this.Nm(a,b))?a.y:0},SW(a,b){return(a=this.Nm(a,b))?a.width:0},RW(a,b){return(a=this.Nm(a,b))?a.height:0}};"use strict"; -const sG=self.B;function rG(a){return 0>a.nB?a.Fb.xf:a.nB}function mG(a){var b=a.Fb.J();let d=a.Fb.I();a.fm.xa(a.cQ);a.fm.dj(b,d);b=a.fm;a=a.Fb.$f();b.ba=vc.Nc(a.ba,a.ka,b.ba);b.$=vc.Nc(a.$,a.ia,b.$);b.ka=vc.Nc(a.ba,a.ka,b.ka);b.ia=vc.Nc(a.$,a.ia,b.ia)}self.MW=class{constructor(a,b,d,c){b=a.xf;let e=a.Jh;this.Fb=a;this.cQ=new sG.Rect(d,c,d+b,c+e);this.fm=new sG.Rect;this.nB=-1;mG(this)}j(){this.fm=this.cQ=this.Fb=null}$f(){return this.fm}};"use strict"; -const tG=self.B,uG=new tG.Rect,vG=new tG.Kd,nc=new tG.lb,eG=new Set(["left","center","right"]),fG=new Set(["top","center","bottom"]),wG=new Set(["word","character"]);function xG(a,b){a=a.trim();const d=parseFloat(a);return isFinite(d)?a.endsWith("%")?b*d/100:d:0}let yG=null;function zG(a){yG||(yG=tG.ii(32,32).getContext("2d"));yG.fillStyle=a;return yG.fillStyle} -self.NW=class{constructor(a){this.Fb=a;this.bn=this.gg=0;this.Ua="";this.Ee=!1;this.Bk=null;this.Yd=tG.A(tG.tq);this.Kr="word";this.tu=this.Mp=!1;this.dd="left";this.Mc="top";this.jy=this.ad=1;this.Md=this.En=0;this.Xa=tG.A(tG.lb);this.Lh=-1;this.Ei=0;this.Jx=b=>this.Vv(b);this.Fb.Dq.add(this)}j(){this.Fb.Dq.delete(this);this.Jx=this.Xa=null;this.Yd.Od();this.Bk=this.Fb=this.Yd=null}Vv(a){if(a.xl())return{width:0,height:0};var b=a.Te,d=Ie(a,"scale"),c=(d?parseFloat(d.nc):this.ad)*this.jy;d=Ie(a,"scalex"); -d=(d?parseFloat(d.nc):1)*c;a=Ie(a,"scaley");a=this.Fb.Jh*(a?parseFloat(a.nc):1)*c+this.Md;const e=this.Fb;c=e.xf*d;const g=this.En;if(e.zt){let l=0,n=0;for(var k of b){b=c;const p=qG(e,k);p?b=rG(p)*d:" "===k&&(b=(0>e.Dn?e.xf:e.Dn)*d);n+=b;++l}return{width:n+l*g,height:a}}k=b.length;return{width:c*k+Math.max(k,0)*g,height:a}}Hl(){this.tu=!0}td(){this.Hl();this.Mp=!0;this.Yd.Od()}ec(a,b){0>=a||0>=b||this.gg===a&&this.bn===b||(this.gg!==a?this.td():this.Hl(),this.gg=a,this.bn=b)}rq(a){this.Lh=Math.floor(a)}RE(a, -b){yh(this);const d=this.Yd.Hf;for(const c of d)if(b>c.Si&&b=e.Ri&&ag+k.I(),0)-b;"center"===this.Mc?a=Math.max(Math.floor(this.bn/2-c/2),0):"bottom"===this.Mc&&(a=Math.floor(this.bn-c));for(let g=0,k=d.length;gthis.bn-(e-b))break;0<=a&&this.mG(c,a);a+=e}}mG(a,b){let d=0;"center"===this.dd?d=Math.max(Math.floor((this.gg-a.J())/2),0): -"right"===this.dd&&(d=Math.max(Math.floor(this.gg-a.J()),0));a.Gm(d);a.Hm(b);for(const g of a.ej())if(!g.xl()){a=d;var c=b,e=Ie(g,"offsetx");a+=e?xG(e.nc,g.I()):0;e=Ie(g,"offsety");c+=e?xG(e.nc,g.I()):0;g.Gm(a);g.Hm(c);d+=g.J()}}oh(a,b,d,c){yh(this);this.Ei=0;var e=tG.Xy(this.Yd.Hf);const g=Math.sin(c);c=Math.cos(c);for(const p of e){e=a;var k=b,l=d,n=p.Si;if(Number.isFinite(p.Ri)&&Number.isFinite(n)){n=p.I();for(const r of p.ej())this.dG(e,r,k,l,g,c,n)}}}dG(a,b,d,c,e,g,k){let l=b.Ri,n=b.Si;if(Number.isFinite(l)&& -Number.isFinite(n)){var p=b.Te,r=b.J();if(-1!==this.Lh){if(this.Ei>=this.Lh)return;this.Ei+p.length>this.Lh&&(p=p.slice(0,this.Lh-this.Ei),r=this.Vv(b).width);this.Ei+=p.length}var x=Ie(b,"background");if(!(tG.UE(p)&&!x||Ie(b,"hide"))){var v=Ie(b,"scale"),y=(v?parseFloat(v.nc):this.ad)*this.jy;v=Ie(b,"scalex");v=(v?parseFloat(v.nc):1)*y;var C=Ie(b,"scaley");y*=this.Fb.Jh*(C?parseFloat(C.nc):1);n+=k-this.Md-y;x&&(Lf(a,a.xy),mc(zG(x.nc)),dc(nc,1),a.vi(nc),uG.set(l,n,l+r,n+y),uG.ka>this.gg&&(uG.ka=+this.gg), -Ec(vG,uG,e,g),vG.offset(d,c),a.Kd(vG),Kf(a));(k=Ie(b,"color"))?(mc(zG(k.nc)),dc(nc,this.Xa.Wa)):nc.xa(this.Xa);(b=Ie(b,"opacity"))&&dc(nc,nc.Wa*parseFloat(b.nc)/100);gc(nc);a.vi(nc);b=this.Fb.xf*v;k=Math.abs(this.En);for(const E of p)if(p=qG(this.Fb,E)){r=rG(p)*v;if(l+r>this.gg+k+1E-5)break;uG.set(l,n,l+b,n+y);Ec(vG,uG,e,g);vG.offset(d,c);wi(a,vG,p.$f());l+=r+this.En}else p=this.Fb,l+=(0>p.Dn?p.xf:p.Dn)*v+this.En}}}tF(a){a=!!a;this.Ee!==a&&(this.Ee=a,this.td())}qk(a){this.Ua!==a&&(this.Ua=a,this.td())}KF(a){if(!wG.has(a))throw Error("invalid word wrap mode"); -this.Kr!==a&&(this.Kr=a,this.td())}qo(a){this.ad!==a&&(this.ad=a,this.td())}KE(){return this.jy}As(a){this.Md=a;this.td()}Fg(a){a=tG.X(a,0,1);this.Xa.a=a}vi(a){this.Xa.Cd(a)||this.Xa.xa(a)}ME(){yh(this);const a=this.Md;return this.Yd.Hf.length*(this.Fb.Jh*this.ad+a)-a}};"use strict";const AG=self.B,BG={width:256,height:256,cR:16,bR:16,characterSet:""};function iG(a,b){b=Math.floor(b);if(0>=b)throw Error("invalid size");a.Jh!==b&&(a.Jh=b,a.cp=!0)}function jG(a,b){a.Fo!==b&&(a.Fo=b,a.cp=!0)} -function kG(a,b){if(a.nu!==b&&(a.nu=b,a.cp=!0,a.yy=null,a.nu.length))try{a.yy=JSON.parse(a.nu)}catch(d){a.yy=null}} -function lG(a){if(a.cp){CG(a);var b=AG.NF(a.Fo),d=Math.floor(a.P/a.xf),c=d*Math.floor(a.R/a.Jh);for(let e=0,g=b.length;e=c);++e){let k=b[e];a.Eo.has(k)||a.Eo.set(k,AG.A(self.MW,a,k,e%d*a.xf,Math.floor(e/d)*a.Jh))}a.zt=!1;a.Dn=-1;if(Array.isArray(a.yy))for(let e of a.yy)if(Array.isArray(e)&&2===e.length&&(b=e[0],d=e[1],"number"===typeof b&&isFinite(b)&&"string"===typeof d&&b!==a.xf))for(let g of d)(d=a.Eo.get(g))?(d.nB=b,a.zt=!0):" "===g&&(a.Dn=b,a.zt=!0);a.cp=!1;for(let e of a.Dq)e.td()}} -function qG(a,b){lG(a);return a.Eo.get(b)||null}function CG(a){for(let b of a.Eo.values())b.j();a.Eo.clear()} -self.LW=class{constructor(a){a=Object.assign({},BG,a);if(0>=a.width||0>=a.height||0>=a.cR||0>=a.bR)throw Error("invalid size");this.P=a.width;this.R=a.height;this.xf=a.cR;this.Jh=a.bR;this.Fo=a.characterSet;this.nu="";this.yy=null;this.zt=!1;this.Dn=-1;this.fm=new AG.Rect(0,0,1,1);this.Eo=new Map;this.cp=!0;this.Dq=new Set}j(){this.fm=null;CG(this);this.Eo=null;this.Dq&&this.Dq.clear();this.Dq=null}ye(a){a=Math.floor(a);if(0>=a)throw Error("invalid size");this.P!==a&&(this.P=a,this.cp=!0)}J(){return this.P}Qe(a){a= -Math.floor(a);if(0>=a)throw Error("invalid size");this.R!==a&&(this.R=a,this.cp=!0)}I(){return this.R}$f(){return this.fm}vA(a){a=Math.floor(a);if(0>=a)throw Error("invalid size");this.xf!==a&&(this.xf=a,this.cp=!0)}};"use strict";const DG=self.B;DG.C.Wn=class extends DG.kj{constructor(a){super(a)}j(){super.j()}};const EG=self.B;EG.C.Wn.Fh=class extends EG.Cl{constructor(a){super(a)}j(){super.j()}Fc(){}};const FG=self.B,GG=self.mi; -function HG(a,b,d){if(ba.length)if("function"===typeof d)for(var c=a.length;cFG.ri(this.Hc,()=>FG.ri(this.Ic,0)))}j(){this.ud=null;super.j()}lf(a,b,d){a=Math.floor(a);b=Math.floor(b);d=Math.floor(d);return 0<=a&&aa&&(a=0);0>b&&(b=0);0>d&&(d=0);if(this.Vb!==a||this.Hc!==b||this.Ic!==d){this.Vb=a;this.Hc=b;this.Ic=d;var c=this.ud;HG(c,a,()=>FG.ri(b,()=>FG.ri(d,0)));for(let e=0;eFG.ri(d,0));for(let g=0;gb?1:0} -PG.C.Wn.$a={Od(a){const b=this.Vb,d=this.Hc,c=this.Ic,e=this.ud;for(let g=0;gPG.ri(g,b)),0===a?k.push(c):k.unshift(c),this.Vb++;else if(1===d){for(e=0;eQG(g[0][0],k[0][0]));else if(1===a)for(d=0;dQG(g[0],k[0]));else for(a=0;aa)){var d=this.Vb,c=this.Hc,e=this.Ic,g=this.ud;if(0===b)a>=d||(g.splice(a,1),this.Vb--);else if(1===b){if(!(a>=c)){for(c=0;c=e)){for(b=0;bb)){var c=this.Vb,e=this.Hc,g=this.Ic,k=this.ud;if(0===d)b>c||(k.splice(b,0,PG.ri(e,()=>PG.ri(g,a))),this.Vb++);else if(1===d){if(!(b>e)){for(e=0;eg)){for(d=0;d>8:0;this.Od=this.L=this.Ra=null;this.sj=-1;this.he=null;this.Xs="";this.Go=this.iH=null;this.ob=this.za=Wv;this.Ga=[];this.Db=[];this.Um=!1;this.Vj=this.Xb=null;const c=(d=-3===b[0])?b[2]:b[5];this.Lc=a.Ob||d?{jz:c[0],ug:c[1],index:c[2]}:null;-1===b[0]?(this.he=a.uv(),this.Ra=Vu(a,b[1])):-2===b[0]?this.Xs=b[1]:d?(this.Ra=Vu(a, +b[1]),this.za=this.AF,this.ob=this.oT,this.Ns=1):(this.L=fm(a,b[0]),this.ca&4?(this.Xs=b[1],this.iH=fm(a,b[2])):(b[2]&&(this.Od=this.L.Ss.get(b[2].toLowerCase())||null,this.sj=Mp(this.L,b[2])),this.Ra=Vu(a,b[1])));if(7===b.length){b=b[6];for(var e of b)this.Ga.push(Tv.tf.Ma(this,e,this.Ga.length)),this.Db.push(0)}0===this.Ga.length&&(this.Db=this.Ga=Vv);0!==(this.ca&1)&&(e=this.cd,e.Ke=e.g.kd,tu(this.cd));this.cd.Aa().RA.set(this.eb,this)}static Ma(a,b,d){return Tv.A(Tv.Bz,a,b,d)}ac(){for(var a of this.Ga)a.ac(), +a.hf&&(this.Um=!0);if(this.he)this.fw(this.he,this.he,this.CG),this.ob=this.jG;else if(this.Xs)this.ca&4?Yv(this):$v(this),this.Xs="",this.iH=null;else if(this.za===this.AF){a=this.Ra;const b=ot(this.cd);this.Ra=a.bind(null,this.g.Rk,b)}else this.Od?this.oi()?(this.za=this.TN,this.ob=this.TX):(this.za=this.SN,this.ob=this.SX):this.L.ab().sn?(this.FG(),this.ob=this.iG):this.oi()?(this.za=this.WN,this.ob=this.XX):3===this.Ns?(this.za=this.XN,this.ob=this.YX):this.Ga.length?this.Ga.every(b=>b.hf)?(this.za= +this.VN,this.ob=this.WX):this.Um?(this.za=this.ZN,this.ob=this.$X):this.Ga.every(b=>b.Bb)?(Uv(this.Ga,this.Db),this.za=this.AG,this.ob=this.ON):(this.za=this.YN,this.ob=this.ZX):(this.za=this.AG,this.ob=this.ON)}FG(){const a=this.L.ab(),b=this.L.ik().ma;this.fw(a,b,this.BG)}fw(a,b,d){const c=this.Ra,e=this.Ga;if(0===e.length)this.za=ev(a,c,b);else if(1===e.length){const g=e[0];if(g.Bb)this.za=Ov(a,c,b,g.U(0));else{const k=ev(a,c,b);this.za=function(){return k(g.U(0))}}}else if(2===e.length){const g= +e[0],k=e[1];if(g.Bb&&k.Bb)this.za=Pv(a,c,b,g.U(0),k.U(0));else{const l=ev(a,c,b);this.za=function(){return l(g.U(0),k.U(0))}}}else if(3===e.length){const g=e[0],k=e[1],l=e[2];if(g.Bb&&k.Bb&&l.Bb)this.za=Qv(a,c,b,g.U(0),k.U(0),l.U(0));else{const n=ev(a,c,b);this.za=function(){return n(g.U(0),k.U(0),l.U(0))}}}else this.za=d}oi(){return 1===this.Ns}G(){return this.L}xe(){return this.cd}F(){return this.g}Ha(){return this.qa}eM(){return this.Lc.index}Wf(){return!Mv(this)&&!wu(this.g)&&!this.Lc.ug}Em(){this.Xb|| +(this.Xb=new Map);return this.Xb}wv(){this.Vj||(this.Vj=new Map);return this.Vj}CG(){const a=this.Db;Uv(this.Ga,a);return this.Ra.apply(this.he,a)}*jG(){if(Mv(this)||wu(this.g))yield this;if(this.Lc.ug){const a=this.Db;Uv(this.Ga,a);return yield*this.Ra.apply(this.he,a)}return this.za()}BG(){const a=this.Db;Uv(this.Ga,a);return this.Ra.apply(this.L.ik().ma,a)}*iG(){if(Mv(this)||wu(this.g))yield this;if(this.Lc.ug){const a=this.Db;Uv(this.Ga,a);return yield*this.Ra.apply(this.L.ik().ma,a)}return this.za()}AG(){const a= +this.Db,b=this.L.aa().ta();for(let d=0,c=b.length;da.ka||0>a.ia||a.ba>b.K()||a.$>b.I()}function hw(a,b,d){const c=this.aa(),e=c.ta();if(!e.length)return!1;let g=e[0];var k=g.m();let l=g,n=aw.uR(k.fa(),k.ga(),b,d);for(let p=1,r=e.length;pn)n=k,l=g;$s(c,l);return!0}function iw(a){const b=this.m();b.fa()!==a&&(b.Hh(a),wk(b))}function jw(a){const b=this.m();b.ga()!==a&&(b.xi(a),wk(b))} +function kw(a,b){const d=this.m();if(d.fa()!==a||d.ga()!==b)d.Gl(a,b),wk(d)}function lw(a,b){if(a&&(a=mw(a,this.T))){var [d,c]=a.Bm(b);b=this.m();if(b.fa()!==d||b.ga()!==c)b.Gl(d,c),wk(b)}}function ow(a){if(0!==a){var b=this.m();gn(b,pw(b)*a,qw(b)*a);wk(b)}}function rw(a,b){if(0!==b){var d=this.m();a=aw.Pa(a);gn(d,Math.cos(a)*b,Math.sin(a)*b);wk(d)}}function sw(){return this.m().fa()}function tw(){return this.m().ga()}function uw(){return vj(this.g,this.T)} +function vw(a,b){return aw.compare(this.m().K(),a,b)}function ww(a,b){return aw.compare(this.m().I(),a,b)}function xw(a){const b=this.m();b.K()!==a&&(b.Ae(a),wk(b))}function yw(a){const b=this.m();b.I()!==a&&(b.Re(a),wk(b))}function zw(a,b){const d=this.m();if(d.K()!==a||d.I()!==b)d.ec(a,b),wk(d)}function Aw(){return this.m().K()}function Bw(){return this.m().I()}function Cw(){return xk(this.m()).ba}function Dw(){return xk(this.m()).$}function Ew(){return xk(this.m()).ka} +function Fw(){return xk(this.m()).ia}function Gw(){const a=xk(this.m());return(a.ba+a.ka)/2}function Hw(){const a=xk(this.m());return(a.$+a.ia)/2}function Iw(a,b){return aw.Qr(this.m().Da(),aw.Pa(b))<=aw.Pa(a)}function Jw(a){return aw.tg(this.m().Da(),aw.Pa(a))}function Kw(a,b){a=aw.Pa(a);b=aw.Pa(b);const d=this.m().Da();return aw.tg(b,a)?aw.tg(d,a)&&!aw.tg(d,b):!(!aw.tg(d,a)&&aw.tg(d,b))}function Lw(a){const b=this.m();a=aw.Ed(aw.Pa(a));isNaN(a)||b.Da()===a||(b.ae(a),wk(b))} +function Mw(a){if(!isNaN(a)&&0!==a){var b=this.m();b.ae(b.Da()+aw.Pa(a));wk(b)}}function Nw(a){if(!isNaN(a)&&0!==a){var b=this.m();b.ae(b.Da()-aw.Pa(a));wk(b)}}function Ow(a,b){const d=this.m(),c=d.Da();a=aw.vK(c,aw.Pa(b),aw.Pa(a));isNaN(a)||c===a||(d.ae(a),wk(d))}function Pw(a,b,d){const c=this.m(),e=c.Da();b-=c.fa();d-=c.ga();a=aw.vK(e,Math.atan2(d,b),aw.Pa(a));isNaN(a)||e===a||(c.ae(a),wk(c))} +function Qw(a,b){const d=this.m(),c=d.Da();a-=d.fa();b-=d.ga();b=Math.atan2(b,a);isNaN(b)||c===b||(d.ae(b),wk(d))}function Rw(){return aw.lf(this.m().Da())}function Sw(a,b){return aw.compare(aw.dS(100*this.m().Qc()),a,b)}function Tw(){return this.m().hd()}function Uw(a){const b=this.m();a=2===a?!b.hd():0!==a;b.hd()!==a&&(b.hg(a),this.g.N())}function Vw(a){a=aw.X(a/100,0,1);const b=this.m();if($q(b)){if(b.Ea.Zl===a)return}else if(b.Qc()===a)return;b.Ig(a);this.g.N()} +function Ww(a){hc(bw,a);a=this.m();ec(a.Xa,bw)||(Jq(a,bw),this.g.N())}function Xw(){const a=this.m().Xa;return aw.wA(a.ib,a.mb,a.gb,a.Wa)}function Yw(){return aw.dS(100*this.m().Qc())}function Zw(a){return a?this.m().O()===a:!1}function $w(a){const b=this.aa(),d=b.ta();if(!d.length)return!1;let c=d[0];for(let e=1,g=d.length;er||p===r&&yk(l)>yk(n))c=k}else if(p{Oc(v,F.instance)}));b=a.aa();k=c.aa().ta();l=null;for(let F=0;F{Oc(v,F.instance)}));b=a.aa();k=c.aa().ta();l=null;for(let F=0;Fa||2>b||!isFinite(a)||!isFinite(b)?(Xx(d),wk(d)):Yx(d,a,b)} +function Zx(a,b,d,c,e,g,k,l){const n=this.m();n.xN(a,b,{mode:0===d?"absolute":"relative",x:c,y:e,Wp:g,qS:k,uS:l})&&wk(n)}function $x(){const a=this.m();return ay(a)?by(a).Tl:0}function cy(){const a=this.m();return ay(a)?by(a).mm:0}function dy(a){const b=this.m();a=2===a?!b.hd():0!==a;b.hd()!==a&&b.hg(a)}function ey(a,b){fy(this,"set-css-style",{prop:gy.ZS(a),val:b})}function hy(a,b){fy(this,"set-attribute",{name:a,val:""+b})}function iy(a){fy(this,"remove-attribute",{name:a})} +function jy(){Bk(this,{focus:!0})}function ky(){Bk(this,{focus:!1})}function ly(){return this.zH}function my(a){this.Aq(0!==a)}function ny(){return this.qd}function oy(a,b,d){return aw.compare(Nq(this.Z(),a),b,d)}function py(a){return!!Nq(this.Z(),a)}function qy(){return this.Z().ts()} +function ry(a,b){const d=this.aa(),c=d.ta();if(!c.length)return!1;const e=this.La;let g=null,k=0;for(let n=0,p=c.length;nk)k=l,g=r}$s(d,g);return!0} +function sy(a){if(this.g.th().Uk){{const c=this.aa();if(c.kb){c.kb=!1;Ss(c);var b=this.ta();for(let e=0,g=b.length;e{a.Ot=!0}).catch(d=>{console.warn("[C3 runtime] Promise rejected in 'Wait for previous actions to complete': ",d);a.Ot=!0})}function My(a,b){b.zG(a.Lk,a.Te);for(const [d,c]of a.Cr.entries())c.zG(d.aa());a.Ef&&et(b,[...a.Ef]);if(b=a.Ym)Iu(b,a.Ug),b.hI.map((d,c)=>d.oe(a.LH[c])),b.oi()&&Xu(b,a.qw)} +Qt.sN=class extends Qt.ua{constructor(a){super();this.Ka=a;this.Ba="";this.Cc=-1;this.yy="";this.Ot=!1;this.Lk=null;this.Te=0;this.Ke=[];this.Ef=null;this.Cr=new Map;this.Ym=null;this.qw=-1;this.LH=this.Ug=null;this.xy=!1}j(){this.Ba="";this.Cc=-1;this.yy="";this.LH=this.Ug=this.Ym=this.Lk=null;this.qw=-1;Qt.D(this.Ke);this.Ef&&(this.Ef.clear(),this.Ef=null);for(const a of this.Cr.values())a.j();this.Cr.clear()}yk(){var a=this.Ka,b=a.F().kd,d=a.Zf();this.Lk=d.Tb();this.Te=d.Te+1;if(d=Mt(this.Lk))this.Ym= +d,this.Ug=Wu(d),this.LH=d.hI.map(c=>c.Gb()),d.oi()&&(d.rw.get(d.Hw).hL++,this.qw=d.Hw);for(const c of b)if(b=c.aa(),!b.kb||this.Lk.Ke.includes(c))this.Ke.push(c),this.Cr.set(c,Qt.A(Qt.CN,b));a=Et(a);this.Ef=0d.eb),dsm:this.Ef?[...this.Ef].map(d=>d.eb):null,sols:a};vu(this.Lk,this.Te)&&(b.act=Pt(this.Lk,this.Te).eb);for(const [d,c]of this.Cr)a[d.eb.toString()]= +c.pa();return b}};"use strict";const Oy=self.B;Oy.CN=class extends Oy.ua{constructor(a){super();this.L=null;this.oC=!0;this.H=[];a&&(this.L=a.G(),this.oC=a.kb,Oy.Gd(this.H,a.H))}j(){this.L=null;Oy.D(this.H)}zG(a){a.kb=!!this.oC;Oy.Gd(a.H,this.H)}qq(a){Oy.ei(this.H,a)}pa(){return{sa:this.oC,insts:this.H.map(a=>a.Yb)}}ra(a,b){a=a.F();this.oC=!!b.sa;Oy.D(this.H);for(const d of b.insts)(b=xp(a,d))&&this.H.push(b)}};"use strict";const Py=self.B; +function Qy(a,b){let d=a.get(b);d||(d=new Map,a.set(b,d));return d}function ev(a,b,d){if(!d)throw Error("missing 'this' binding");let c=a.lO.get(b);if(c)return c;c=b.bind(d);a.lO.set(b,c);return c}function Ov(a,b,d,c){if(!d)throw Error("missing 'this' binding");a=Qy(a.FY,b);let e=a.get(c);if(e)return e;e=b.bind(d,c);a.set(c,e);return e}function Pv(a,b,d,c,e){if(!d)throw Error("missing 'this' binding");a=Qy(a.GY,b);a=Qy(a,c);let g=a.get(e);if(g)return g;g=b.bind(d,c,e);a.set(e,g);return g} +function Qv(a,b,d,c,e,g){if(!d)throw Error("missing 'this' binding");a=Qy(a.HY,b);a=Qy(a,c);a=Qy(a,e);let k=a.get(g);if(k)return k;k=b.bind(d,c,e,g);a.set(g,k);return k}function Ry(a,b){if(!a.sn)throw Error("must be single-global plugin");a.NJ=b} +Py.lj=class extends Py.ua{constructor(a){super();this.g=a.Ne;this.sn=!!a.QR;this.Xd=!!a.c0;this.vZ=!!a.b0;this.EZ=!!a.o0;this.hZ=!!a.R_;this.LQ=!!a.H0;this.VZ=!!a.G0;this.oP=!!a.Z_;this.NJ=null;this.lO=new Map;this.FY=new Map;this.GY=new Map;this.HY=new Map}j(){this.g=null}F(){return this.g}rc(){}po(){return this.vZ}Dv(){return this.EZ}WE(){return this.hZ}ik(){if(!this.sn)throw Error("must be single-global plugin");return this.NJ.ik()}};"use strict";const Sy=self.B; +function Ty(a,b,d){Uy(a.g,a.No,b,c=>{const e=a.iI.get(c.elementId);d(e,c)})}Sy.AW=class extends Sy.lj{constructor(a){super(a);this.No="button";this.HZ=0;this.iI=new Map;Ty(this,"elem-focused",b=>{b.zH=!0});Ty(this,"elem-blurred",b=>{b&&(b.zH=!1)})}j(){super.j()}};"use strict";const Vy=self.B; +Vy.pk=class extends Vy.ua{constructor(a){super();this.L=a;this.g=a.F();this.Oj=a.ab()}j(){this.Oj=this.g=this.L=null}G(){return this.L}F(){return this.g}ab(){return this.Oj}oc(){return this.L.oc()}rc(){}ms(){}yE(){}wE(){}qo(){}Gm(){}uA(){}pF(){}qf(){return null}bv(a,b,d){a=Vy.A(Vy.Event,a,b);a.cL=this;d&&Object.assign(a,d);this.G().qh(a)}};"use strict";const Wy=self.B;function Xy(a,b){for(const [d,c]of b)a.sE(d,c)}function Yy(a,b,d){$c(a.g,a.No,b,d)}function Zy(a,b,d){return xj(a.g,a.No,b,d)} +function $y(a,b,d){a.g.Eg()?Yy(a,b,d):window.c3_runtimeInterface._OnMessageFromRuntime({type:"event",component:a.No,handler:b,data:d,responseId:null})} +Wy.ro=class extends Wy.ua{constructor(a,b){super();this.T=a;this.No=b;this.g=a.F();this.L=this.T.G();this.jb=this.L.jb;this.In=this.Jn=null;this.Wk=this.tn=!1;this.kg=null;this.Iu=!1}j(){this.Iu=!0;this.zo();this.Ms();this.In=this.Jn=null;this.kg&&(this.kg.j(),this.kg=null);this.jb=this.L=this.g=this.T=null}yo(){return this.Iu}Z(){return this.T}F(){return this.g}G(){return this.L}ab(){return this.jb.ab()}ss(){return Dj(this.T)}oa(a){return this.g.oa(a,this.T,null)}Ud(a){return this.g.Ud(a,this.T, +null)}sE(a,b){Uy(this.g,this.No,a,b)}Se(){}Uv(){}Lg(){this.tn||(this.Jn||(this.Jn=()=>this.Se()),this.g.fb().addEventListener("tick",this.Jn),this.tn=!0)}zo(){this.tn&&(this.g.fb().removeEventListener("tick",this.Jn),this.tn=!1)}QA(){this.Wk||(this.In||(this.In=()=>this.Uv()),this.g.fb().addEventListener("tick2",this.In),this.Wk=!0)}Ms(){this.Wk&&(this.g.fb().removeEventListener("tick2",this.In),this.Wk=!1)}Hc(){return null}$b(){}Ec(){}fg(){}mF(a,b,d){if(0!==b){var c=this.Ec(a);if("number"!==typeof c)throw Error("expected number"); +this.fg(a,c+b,d)}}qf(){return null}bv(a,b,d){if(this.T.qe){var c=this.ss();a=Wy.A(Wy.Event,a,b);a.instance=c;d&&Object.assign(a,d);c.dispatchEvent(a)}}};"use strict";const az=self.B;function bz(a){if(!a.ou){a.ou=()=>a.Bs();a.bD=()=>a.RM();var b=a.g.fb();b.addEventListener("renderercontextlost",a.ou);b.addEventListener("renderercontextrestored",a.bD)}} +az.Kv=class extends az.ro{constructor(a,b){super(a,b);this.Ta=a.m();this.bD=this.ou=null}j(){if(this.ou){const a=this.g.fb();a.removeEventListener("renderercontextlost",this.ou);a.removeEventListener("renderercontextrestored",this.bD);this.bD=this.ou=null}this.Ta=null;super.j()}Bs(){}RM(){}m(){return this.Ta}Bh(){return!1}Cg(){if(!this.Bh())throw Error("original size not known");const a=this.li();if(a)return a.K()}Bg(){if(!this.Bh())throw Error("original size not known");const a=this.li();if(a)return a.I()}li(){return null}Xz(){var a= +this.li();return a&&(a=a.Kd())?[a.K(),a.I()]:[100,100]}Yz(){const a=this.li();return a?a.ag():null}pA(){const a=this.li();return a?a.Wo:!1}Bm(){const a=this.T.m();return[a.fa(),a.ga(),Vm(a)]}sq(){return!0}};"use strict";const gy=self.B,cz=gy.A(gy.Rect);function fy(a,b,d){d||(d={});d.elementId=a.Pw;Yy(a,b,d)}function Bk(a,b){b||(b={});b.elementId=a.Pw;$y(a,"focus",b)} +function dz(a,b){if(!yp(a.Z())){var d=a.m(),c=d.O(),e=xk(d),[g,k]=an(c,e.ba,e.$),[l,n]=an(c,e.ka,e.ia);e=a.g.W;var p=e.zc,r=e.fc;if(d.hd()&&c.hd()){const w=a.g.W.$z();("Android"!==gy.V.Ld||"scale-inner"!==w&&"scale-outer"!==w&&"crop"!==w)&&(0>=l||0>=n||g>=p||k>=r)?ez(a,!1):(cz.set(g,k,l,n),p=e.Op,r=e.Np,e=c.Ft,d=fz(d),!b&&cz.Fd(a.Vt)&&a.IP===p&&a.HP===r&&a.CP===e&&a.DP===d?ez(a,!0):(a.Vt.xa(cz),a.IP=p,a.HP=r,a.CP=e,a.DP=d,ez(a,!0),b=null,a.uw&&(b=c.ek()+a.AY),fy(a,"update-position",{left:Math.round(a.Vt.ba), +top:Math.round(a.Vt.$),width:Math.round(a.Vt.width()),height:Math.round(a.Vt.height()),htmlIndex:e,htmlZIndex:d,fontSize:b})))}else ez(a,!1)}}function ez(a,b){b=!!b;a.tI!==b&&(a.tI=b,fy(a,"set-visible",{isVisible:b}))}function gz(a){a.CI||(a.CI=!0,Promise.resolve().then(()=>{a.CI=!1;fy(a,"update-state",a.LE())}))} +gy.zW=class extends gy.Kv{constructor(a){super(a,"button");a=this.ab();const b=a.HZ++;a.iI.set(b,this);this.Pw=b;this.tI=!0;this.uw=this.zH=!1;this.AY=-.2;this.Vt=gy.A(gy.Rect,0,0,-1,-1);a=this.g.W;this.IP=a.Op;this.HP=a.Np;this.DP=this.CP=-1;this.CI=!1;this.Lg()}j(){this.ab().iI.delete(this.Pw);fy(this,"destroy");this.Pw=-1;super.j()}Se(){dz(this,!1)}LE(){}};"use strict";const hz=self.B,Ik=self.qU; +hz.oN=class extends hz.ua{constructor(a){super();this.g=a.Ne;this.cJ=hz.A(hz.xE);this.KC=hz.A(hz.xE);this.hx=null;this.QZ=a.uea||null}j(){this.KC.j();this.cJ.j();this.g=null}F(){return this.g}rc(){}jM(){return Qc(this.cJ)}yi(a){this.KC.Kb(a)}zq(a){this.KC.ao(a)}ta(){return Qc(this.KC)}};"use strict";const iz=self.B;iz.qN=class extends iz.ua{constructor(a){super();this.g=a.F();this.Od=a;this.L=a.G();this.Fk=a.bo();this.Fk.cJ.Kb(this.L)}j(){this.Fk=this.L=this.Od=this.g=null}rc(){}rh(){return this.Od}G(){return this.L}F(){return this.g}bo(){return this.Fk}}; +"use strict";const jz=self.B; +jz.pN=class extends jz.ua{constructor(a){super();this.xw=a;this.No=void 0;this.T=a.T;this.g=a.F();this.Od=a.rh();this.jb=this.Od.jb;this.sP=this.Wk=this.tn=!1;this.kg=null}j(){this.zo();this.Ms();this.sP&&(this.g.Iq.Dh(this),this.sP=!1);this.kg&&(this.kg.j(),this.kg=null);this.jb=this.Od=this.g=this.T=this.xw=null}bo(){return this.Od.bo()}G(){return this.T.G()}m(){return this.T.m()}F(){return this.g}rh(){return this.Od}ss(){return this.xw.ss()}oa(a){return this.g.oa(a,this.T,this.Od)}Ud(a){return this.g.Ud(a, +this.T,this.Od)}Se(){}Uv(){}Lg(){this.tn||(this.g.Eo.Kb(this),this.tn=!0)}zo(){this.tn&&(this.g.Eo.Dh(this),this.tn=!1)}QA(){this.Wk||(this.g.Fo.Kb(this),this.Wk=!0)}Ms(){this.Wk&&(this.g.Fo.Dh(this),this.Wk=!1)}sE(a,b){Uy(this.g,this.No,a,b)}Hc(){return null}$b(){}Ec(){}fg(){}mF(a,b){if(0!==b){var d=this.Ec(a);if("number"!==typeof d)throw Error("expected number");this.fg(a,d+b)}}qf(){return null}bv(a,b,d){if(this.xw.qe){var c=this.ss();a=jz.A(jz.Event,a,b);a.Oba=c;a.instance=c.instance;d&&Object.assign(a, +d);c.dispatchEvent(a)}}};"use strict";const kz=self.B;kz.C={};kz.Pb={};function lz(a,b){const d=Vu(a.g,b[0]);if(!d)throw Error("missing plugin");kz.DS(b,d);b=kz.A(d,{Ne:a.g,QR:b[1],c0:b[2],b0:b[5],R_:b[8],o0:b[9],H0:b[13],G0:b[14],Z_:b[17]});b.rc();a.yY.push(b);a.vJ.set(d,b)}function mz(a){a.he=kz.A(kz.C.cb,{Ne:a.g,QR:!0});a.he.rc()}kz.lW=class extends kz.ua{constructor(a){super();this.g=a;this.yY=[];this.vJ=new Map;this.he=null;this.vY=[];this.dH=new Map;this.xP=this.AQ=null}uv(){return this.he}}; +"use strict";const nz=self.B,oz=new Set;function pz(a){a.Jq&&(URL.revokeObjectURL(a.Jq),a.Jq="")}function qz(a,b){a.km=b[0];a.pu=b[1];a.rr=b[2];a.tr=b[3];a.P=b[4];a.R=b[5];a.Wo=b[6];a.bx=!0}function rz(a,b,d){if(a.re)throw Error("already got asset");d=Object.assign({},d,{url:a.km,size:a.ho()});a.re=b.sA(d)} +async function sz(a,b){b||(b=await zl(a.re));const d=nz.ki(a.P,a.R),c=d.getContext("2d");a.Wo?(c.rotate(Math.PI/-2),c.translate(-a.R,0),c.drawImage(b,a.rr,a.tr,a.R,a.P,0,0,a.R,a.P)):c.drawImage(b,a.rr,a.tr,a.P,a.R,0,0,a.P,a.R);return d}async function tz(a,b){if(a.Jq)return a.Jq;b=await sz(a,b);b=await nz.Hz(b);a.Jq=URL.createObjectURL(b);return a.Jq} +nz.lA=class extends nz.ua{constructor(){super();this.OH=0;this.km="";this.R=this.P=this.tr=this.rr=this.pu=0;this.bx=this.Wo=!1;this.re=null;this.hm="";this.Vi=nz.A(nz.Rect);this.xr=nz.A(nz.Md);this.Jq="";new self.nM(this);oz.add(this)}j(){this.nk();this.re=null;oz.delete(this);pz(this)}static Bs(){for(const a of oz)a.hm="",a.Vi.set(0,0,0,0),a.xr.sl(a.Vi)}ho(){return this.pu}K(){return this.P}I(){return this.R}iF(){return this.re&&this.re.iF()}async zs(a,b){if(!this.re)throw Error("no asset");if(this.hm)throw Error("already loaded texture"); +var d=this.OH;this.hm="loading";a=await this.re.zs(a,b);if(this.OH!==d)return null;if(!a)return this.hm="",null;this.hm="loaded";this.bx||(this.P=a.K(),this.R=a.I(),this.bx=!0);this.Vi.set(this.rr,this.tr,this.rr+(this.Wo?this.R:this.P),this.tr+(this.Wo?this.P:this.R));this.Vi.ej(a.K(),a.I());this.xr.sl(this.Vi);if(this.Wo){d=this.xr;b=d.yb;const c=d.wb;d.yb=d.dc;d.wb=d.mc;d.dc=d.xc;d.mc=d.yc;d.xc=d.vc;d.yc=d.wc;d.vc=b;d.wc=c}return a}nk(){this.hm&&(this.re&&this.re.nk(),this.hm="",this.Vi.set(0, +0,0,0),this.xr.sl(this.Vi))}Kd(){return this.re&&"loaded"===this.hm?this.re.Kd():null}ag(){return this.Vi}us(){return this.xr}};"use strict";const uz=self.B;function vz(a,b,d){return Promise.all(a.Yc.map(c=>c.oc().zs(b,d)))}function wz(a){for(const b of a.Yc)b.oc().nk()}function xz(a,b){b=Math.floor(b);if(0>b||b>=a.Yc.length)throw new RangeError("invalid frame");return a.Yc[b]} +uz.LS=class extends uz.ua{constructor(a){super();this.Ja=a[0];this.SZ=a[1];this.xx=!!a[2];this.Br=a[3];this.sQ=a[4];this.uZ=!!a[5];this.eb=a[6];this.Yc=a[7].map(b=>uz.A(uz.KS,b));this.iZ=new self.mU(this)}j(){for(const a of this.Yc)a.j();uz.D(this.Yc)}na(){return this.Ja}jk(){return this.SZ}ni(){return this.Br}};"use strict";const yz=self.B;function zz(a,b){b=Math.floor(b);return 0>b||b>=a.UB.length?null:a.UB[b]} +yz.KS=class extends yz.ua{constructor(a){super();this.Qh=yz.A(yz.lA);qz(this.Qh,a);this.Nw=a[7];this.eQ=yz.A(yz.xo,a[8],a[9]);this.UB=a[10].map(d=>yz.A(yz.DU,this,d));this.dI=new Map;for(var b of this.UB)this.dI.set(b.na().toLowerCase(),b);this.Mq=null;b=a[11];6<=b.length&&(this.Mq=yz.A(yz.aq,b));this.Wi=a[12]?a[12]:"";this.jZ=new self.nU(this)}j(){this.Mq&&(this.Mq.j(),this.Mq=null);this.Qh.j();this.Qh=null}oc(){return this.Qh}zg(){return this.eQ.Y}Ag(){return this.eQ.S}qv(){return this.UB.length}}; +"use strict";const Az=self.B;Az.DU=class extends Az.ua{constructor(a,b){super();this.Ja=b[0];this.wJ=Az.A(Az.xo,b[1],b[2])}j(){}na(){return this.Ja}fa(){return this.wJ.Y}ga(){return this.wJ.S}};"use strict";const Sv=self.B,Bz=self.gj,Cz=self.Av;function*Cj(a){yield*a.H;yield*Lx(a.g,a)}function Zn(a){return Dz(a,Sv.Pb.a7)}function fo(a){if(a.br&&!a.La){var b=a.H,d=0;for(let c=b.length;dd.name===b)}function Cp(a,b){b=Math.floor(b);if(0>b||b>=a.Sk.length)throw new RangeError("invalid instance variable index");return a.Sk[b].name}function Dp(a,b){b=Math.floor(b);if(0>b||b>=a.Sk.length)throw new RangeError("invalid instance variable index");return a.Sk[b].type}function Mp(a,b){a=a.cH.get(b.toLowerCase());return"undefined"===typeof a?-1:a} +function Lu(a){if(a.uI&&!a.La){fo(a);var b=a.aa(),d=b.H,c=b.kb,e=a.g.Zf();e=e&&e.Tb()&&e.Tb().Ge;for(const l of a.Mh.Yl)if(l!==a){fo(l);var g=l.aa();g.kb=!!c;if(!c){var k=g.H;Sv.D(k);for(const n of d)k.push(Ez(l,eo(n)));if(e){k=b.rb;g=g.rb;Sv.D(g);for(const n of k)g.push(Ez(l,eo(n)))}}}}}function Nt(a,b){return(a=a.tO.get(b.toLowerCase()))&&a.Rb()?a:null}function Rv(a,b){return a.CB[b]}function mw(a,b){a=a.aa().ta();return 0b.Wr)}function Kz(a,b){return a.Sk.findIndex(d=>d.Wr===b)}function nk(a){return a.Sk.map(b=>b.e0)}function Lz(a){return a.Oa&&0({Wr:k[0],type:k[1],name:k[2],e0:a.gk(k[3])}));this.DY=d[4];this.ZY=d[5];this.Xd=this.Oj.Xd;this.Nb=Sv.A(Sv.Event.fb);this.Oa=null;const [e,g]=Qz(a.Di);this.Dw=Sv.A(Sv.YW,e,g);this.mw=!0;this.ow=!1;this.DB=this.jn=null;this.Ii=-1;this.FH= +this.CB=this.qt=this.EH=this.Hi=null;this.uI=!1;this.Mh=null;this.jO=d[8].map(k=>Sv.HL.Ma(this,k));this.$A=[];this.Ss=new Map;this.cH=new Map;this.VQ=new Set;this.tO=new Map;this.fl=Sv.A(Sv.WW,this);this.VA=this.UA=this.uc=this.Qh=this.Mh=this.Pq=null;this.zu=0;this.Xb=new Map;this.Vj=new Map;this.H=[];this.br=!0;this.Oj.WE()&&(this.Oa=Sv.A(Sv.bq,this,d[12]));d[6]&&(this.Qh=Sv.A(Sv.lA),qz(this.Qh,d[6]));if(d[7]){this.uc=d[7].map(k=>Sv.A(Sv.LS,k));this.UA=new Map;this.VA=new Map;for(const k of this.uc)this.UA.set(k.na().toLowerCase(), +k),this.VA.set(k.eb,k)}this.La?(this.jn=[],this.DB=new Set,this.Ii=this.g.GO++):(this.Hi=[],this.EH=new Set,this.qt=[],this.CB=[],this.FH=[]);this.jb=Sv.A(c.Jg,this,d[15]);this.jI=this.jx=null;this.gf=Sv.A(Sv.Event.fb);if(b=this.jb.qf()){if(this.jx=new b(this),!(this.jx instanceof Cz))throw new TypeError("script interface class must derive from IObjectClass");}else this.jx=new Cz(this);this.g.AD&&!this.La&&!this.AI&&this.Xd||this.rc();this.Oj.sn&&(Ry(this.Oj,this),Fz(this,d));this.CC=null}static Ma(a, +b,d){return Sv.A(Sv.tA,a,b,d)}j(){this.Nb.j();this.Nb=null;this.Qh&&(this.Qh.j(),this.Qh=null);if(this.uc){for(const a of this.uc)a.j();Sv.D(this.uc);this.UA.clear();this.VA.clear()}this.CC=null;this.fl.j();this.fl=null;this.Xb.clear();this.Vj.clear();this.g=this.Mh=null}Gc(){return this.uI}fb(){return this.Nb}rc(){this.La||this.jb.rc()}qo(a){if(this.La)return Promise.resolve();this.zu++;return 1===this.zu?this.jb.qo(a)||Promise.resolve():Promise.resolve()}Gm(){if(!this.La){this.zu--;if(0>this.zu)throw Error("released textures too many times"); +0===this.zu&&this.jb.Gm()}}uA(){if(this.La)throw Error("not applicable to family");this.jb.uA()}pF(a){return this.La?Promise.resolve():this.jb.pF(a)}F(){return this.g}ab(){return this.Oj}na(){return this.Ja}gk(){return this.Fx}Ha(){return this.qa}rf(){return this.rZ}WE(){return this.Oj.WE()}aa(){return this.fl.aa()}oc(){return this.Qh}ik(){if(!this.Oj.sn)throw Error("not a single-global plugin");return this.H[0]}ta(){return this.H}*iz(){yield*this.H}yi(a){this.H.push(a)}ms(a){this.jb.ms(a)}Em(){this.Xb|| +(this.Xb=new Map);return this.Xb}wv(){this.Vj||(this.Vj=new Map);return this.Vj}pa(){const a={instances:this.H.map(b=>b.Hc())};this.Xb&&this.Xb.size&&(a.ex=Sv.YF(this.Xb));return a}ra(a){this.Xb&&(this.Xb.clear(),this.Xb=null);var b=a.ex;b&&(this.Xb=Sv.JE(b));b=this.H;a=a.instances;for(let d=0,c=Math.min(b.length,a.length);db.Xd)}Rz.hT=class extends Rz.ua{constructor(a,b){super();this.g=a;this.Yl=b;for(const d of this.Yl)d.uI=!0,d.Mh=this}j(){this.g=null}F(){return this.g}};"use strict";const ok=self.B,Sz=self.gj,Tz=self.yh,Uz=[];let Vz=0; +const Wz=new WeakMap,Xz=new WeakMap; +function Dj(a){var b;if(!(b=a.qe)){b=a.Ta?self.ws:Tz;const d=a.ma.qf(),c=a.Ie.jI,e=c||d||b;Tz.yk(a);a.qe=new e;Tz.yk(null);if(d&&!(a.qe instanceof b))throw new TypeError(`script interface class '${d.name}' does not extend the right base class '${b.name}'`);if(c&&!(a.qe instanceof(d||b)))throw new TypeError(`setInstanceClass(): class '${c.name}' does not extend the right base class - check it extends the right class, e.g. globalThis.InstanceType.MyObjectName`);b=a.qe}return b} +function Gj(a){const b=new Set;b.add(a);const d=a.m();if(d&&d.Qe())for(const c of a.Wj())if(b.add(c),c.Gc())for(const e of c.ud)b.add(e);if(a.Gc())for(const c of a.ud)b.add(c);for(const c of b.values())no(c)}function pk(a){const b=a.Yd;return-1===b?a.F().Yd:b}function lo(a){var b=a.m();if(b&&(b=Yz(b)))for(const d of b)if(b=xp(a.g,d[2])){const c=d[3];a.ji(b,{bs:!!(c>>0&1),ds:!!(c>>1&1),Vp:!!(c>>2&1),Up:!!(c>>3&1),Yr:!!(c>>4&1),Ou:!!(c>>5&1),es:!!(c>>6&1),Zr:!!(c>>7&1),$r:!!(c>>8&1)})}} +function mo(a,b,d){if(b=b.get(a))for(const c of b.sceneGraphJson.children){b=d.get(c.index);if(!b)continue;const e=c.flags;a.ji(b,{bs:!!(e>>0&1),ds:!!(e>>1&1),Vp:!!(e>>2&1),Up:!!(e>>3&1),Yr:!!(e>>4&1),Ou:!!(e>>5&1),es:!!(e>>6&1),Zr:!!(e>>7&1),$r:!!(e>>8&1)})}}function no(a){a.Ie.jI&&Dj(a);if(Zz(a,"instancecreate")){const b=a.G(),d=new ok.Event("instancecreate");d.instance=Dj(a);b.qh(d);for(const c of b.Hi)c.qh(d);a.g.qh(d)}a.g.oa(a.ab().constructor.J.yV,a,null)} +function eo(a){fo(a.Ie);return a.cI}function yp(a){return 0!==(a.ca&1)}function hq(a,b){a=a.yd;for(let d=0,c=a.length;db||b>=a.length)throw new RangeError("invalid instance variable");return a[b]}function bu(a){for(const b of a.ud)Vs(b.G().aa(),b)}function Mx(a,b){b.La?(a=a.G(),b=b.DB.has(a)):b=a.G()===b;return b}function $z(a,b){0{k=k||g.G();const l=b.get(k);l?l.add(g):b.set(k,new Set([g]))};e(a,d);if(a.Gc())for(const g of a.ud)e(g);if(c)for(const g of a.Wj())e(g)}function eA(a){if(!a.ab().LQ)throw Error("object does not support scene graph");} +function fA(a,b){a=a.m();if(!a)return[];const d=b.na();return a.me().map(c=>c.Z()).filter(c=>c.G().na()===d)}function gA(a,b){a=a.ud;if(null===a||0===a.length)return!1;for(const d of a)if(d.G()===b)return d;return null}function Zz(a,b){const d=a.G();if(d.gf.hn.has(b))return!0;for(const c of d.Hi)if(c.gf.hn.has(b))return!0;return a.g.gf.hn.has(b)?!0:!1} +ok.Instance=class extends ok.ua{constructor(a){super();this.g=a.Ne;this.Ie=a.dL;this.qe=this.ma=this.Ta=null;this.cI=0;this.Yb=a.uid;this.nQ=Vz++;this.ca=0;this.yd=this.og=Uz;var b=this.Ie.$A;0ok.A(ok.Ez,{Ne:this.g,wK:d,instance:this,index:c})));this.ud=this.Ie.Gc()?[]:null;this.Yd=-1;this.Nb=null;b=this.ab();b.Dv()&&(this.ca|=4);if(b.Xd)if(this.Ta=ok.A(ok.NX,this,a.bE),a.wS)this.Ta.Ah(a.wS);else{hA(this.Ta);const [d,c]=Nz(this.Ie);this.Ta.ec(d,c);Lz(this.G())&&iA(this.Ta.Gf)}a.JR? +$z(this,a.JR):aA(this)}j(){this.qe&&(this.qe.dw(),this.qe=null);if(0a||!isFinite(a))a=0;this.Yd=a;Lz(this.G())&&jA(this.g,this,!0)}fb(){this.Nb||(this.Nb=ok.A(ok.Event.fb));return this.Nb}xg(a){this.ma.xg(a)}rc(a){this.ma.rc(a)}Fm(){return 0!==(this.ca&2)}wG(){this.ca|=1}Dv(){return 0!==(this.ca&4)}li(){return this.ma.li()}Xz(){return this.ma.Xz()}Yz(){return this.ma.Yz()}pA(){return this.ma.pA()}Bm(a){return this.ma.Bm(a)}G(){return this.Ie}sq(){return this.ma.sq()}bg(){return null!== +this.Ca()}Ca(){var a=this.m();return a?(a=a.Ca())?a.Z():null:null}io(){var a=this.m();return a?(a=a.io())?a.Z():null:null}*Wu(){const a=this.m();if(a)for(const b of a.Wu())yield b.Z()}VE(a){if(!a)return!1;for(const b of this.children())if(b===a)return!0;return!1}Qe(){const a=this.m();return a?a.Qe():!1}me(){const a=this.m();return a?a.me().map(b=>b.Z()):[]}*children(){const a=this.m();if(a)for(const b of a.children())yield b.Z()}*Wj(){const a=this.m();if(a)for(const b of a.Wj())yield b.Z()}Wz(){const a= +this.m();return a?a.Wz():0}Qz(){const a=this.m();return a?a.Qz():0}Vz(a){const b=this.m();return b?(a=b.Vz(a))?a.Z():null:null}ji(a,b){eA(this);eA(a);this.m().ji(a.m(),b||{})}Dl(a){const b=this.m();b&&b.Dl(a.m())}lv(){const a=this.m();return a?a.lv():!1}ts(){var a=this.g.Yi;a=a?a.nn?(a=a.nn.get(this))?a:"":"":"";return a}Gc(){return null!==this.ud}ab(){return this.Ie.ab()}gY(a){const b=this.og[a];return 0===Dp(this.Ie,a)?!!b:b}to(a,b){a|=0;const d=this.og;if(0>a||a>=d.length)throw new RangeError("invalid instance variable"); +switch(Dp(this.Ie,a)){case 0:d[a]=b?1:0;break;case 1:d[a]="number"===typeof b?b:parseFloat(b);break;case 2:d[a]="string"===typeof b?b:b.toString();break;default:throw Error("unknown instance variable type");}}Em(){let a=Wz.get(this);if(a)return a;a=new Map;Wz.set(this,a);return a}wv(){let a=Xz.get(this);if(a)return a;a=new Map;Xz.set(this,a);return a}Hc(a="full"){const b={};"full"===a?b.uid=this.Yb:b.c3=!0;if("visual-state"!==a){var d=Wz.get(this);d&&d.size&&(b.ex=ok.YF(d));-1!==this.Yd&&(b.mts=this.Yd); +if(0d||d>=this.og.length)){var c=k;null===c&&(c=NaN);this.og[d]=c}}if(this.ab().Xd){d=a.w;var e=d.l;this.Ta.O().eb!==e&&(c=this.Ta.O(),(e=On(c.pc(),e))?(Xn(this.Ta,e),c.zq(this,!0),e.yi(this,!0),hm(e,this),wk(this.Ta)):"full"===b&&bn(this.g,this));this.Ta.ra(d,b)}if("visual-state"!== +b&&(d=a.behs))for(const [g,k]of Object.entries(d))d=hq(this,parseInt(g,10)),0>d||d>=this.yd.length||this.yd[d].$b(k);(a=a.data)&&this.ma.$b(a,b)}qh(a){if(this.qe){var b=Dj(this);a.instance=b;var d=this.g;(d=d.Ob&&!Hj(d.Aa()))&&Sz.WF();b.dispatchEvent(a);d&&Sz.vE()}}};"use strict";const kA=self.B; +function uo(a){let b;b=0|Number(0!==(a.ca&8388608))<<8;b|=Number($q(a))<<7;b|=Number(0!==(a.ca&32768))<<6;b|=Number(a.lv())<<5;b|=Number(0!==(a.ca&16384))<<4;b|=Number(Vq(a))<<3;b|=Number(Tq(a))<<2;b|=Number(lA(a))<<1;return b|=Number(mA(a))<<0}function Uq(a){return 0===a.oD?Number.EPSILON:a.oD}function Wq(a){return 0===a.lD?Number.EPSILON:a.lD}function nA(a,b){a.Zl=a.ub.Qc();a.nD=a.Zl;a.Ac=b;a.RC=b?b.Da():0} +function oA(a){a.Qe()&&a.aj&&1!==a.et.length&&a.et.sort((b,d)=>{b=a.aj.get(b.Z());d=a.aj.get(d.Z());return kA.Fc(b)&&kA.Fc(d)?b-d:0})}function pA(a){if(Tq(a.ub)){var b=a.Ac;a=b.K();let d=Uq(b.Ea);0===a&&(a=Number.EPSILON);return d===Number.EPSILON&&a===Number.EPSILON?1:d===Number.EPSILON&&a!==Number.EPSILON&&(b=b.Z().ma,b.Bh())?1+a/b.Cg():a/d}return 1} +function qA(a){if(Vq(a.ub)){var b=a.Ac;a=b.I();let d=Wq(b.Ea);0===a&&(a=Number.EPSILON);return d===Number.EPSILON&&a===Number.EPSILON?1:d===Number.EPSILON&&a!==Number.EPSILON&&(b=b.Z().ma,b.Bh())?1+a/b.Bg():a/d}return 1}function rA(a){return{sw:a.oD,sh:a.lD,sx:a.tu,sy:a.uu,psa:a.RC,oo:a.Zl,so:a.nD}}function sA(a,b){return a.et.map(d=>tA(d,d,b))} +function tA(a,b,d){a=a.Z();const c={};c.uid=a.Yb;let e="";mA(b)&&(e+="x");lA(b)&&(e+="y");Tq(b)&&(e+="w");Vq(b)&&(e+="h");0!==(b.ca&16384)&&(e+="a");0!==(b.ca&32768)&&(e+="z");b.lv()&&(e+="d");$q(b)&&(e+="o");0!==(b.ca&8388608)&&(e+="v");c.f=e;c.offsets={x:b.Y,y:b.S,z:b.vd,w:b.Le,h:b.Ee,a:b.Wa,sgi:b.Ea?rA(b.Ea):null};c.data=uA(a);c.oci=a.G().Ha();"state"===d?(c.inst=a.Hc(),c.instIndex=NaN):(c.instIndex=a.G().ta().indexOf(a),c.inst=null);return c} +function uA(a){let b=a.m().O().gI.get(a.Yb);if(!b)return null;b=JSON.parse(JSON.stringify(b));const d=[];for(const c of[...a.me()]){const e=c.m();d.push([e.pc().eb,e.O().Ha(),c.Yb,uo(e),c.G().Gc()?1:0,yk(e),uA(c)])}kA.lk(b[0][14])?b[0][14][1]=d:(b[0][14]=[],b[0][14][0]=511,b[0][14][1]=d,b[0][14][2]=yk(a.m()));return b} +function vA(a){const b={};b.bs=a.includes("x");b.ds=a.includes("y");b.Vp=a.includes("w");b.Up=a.includes("h");b.Yr=a.includes("a");b.es=a.includes("z");b.Ou=a.includes("d");b.Zr=a.includes("o");b.$r=a.includes("v");return b}function CA(a,b){if(kA.Fc(a.instIndex))return fm(b,a.oci).CC[a.instIndex];if(kA.pi(a.inst))return JSON.parse(a.inst);if(a.inst)return a.inst}function DA(a,b,d,c,e=!0){a.ub.ji(b,vA(d.f))&&e&&(c.has(b)||EA(b,d.offsets),c.add(b));oA(a)} +function FA(a,b){return a.filter(d=>d.G().na()===b.na()).length}function GA(a,b){if(kA.Fc(b.oci)){var d=a.ub;a=d.F();if(b.data)d=fn(a,b.data,d.O(),!1,0,0,!1,!0);else{const c=fm(a,b.oci);d=Ej(a,c,d.O(),0,0,!0)}if(d)return b=CA(b,a),d.$b(b),b=d.m(),Xl(b.O(),d,!0),b}} +kA.BW=class extends kA.ua{constructor(a){super();this.ub=a;this.Ac=null;this.et=[];this.oD=a.K();this.lD=a.I();this.uu=this.tu=1;this.RC=0;this.Zl=1;this.nD=a.Qc();this.aj=this.ie=null}j(){this.aj=this.ie=this.Ac=null;kA.D(this.et)}Ca(){return this.Ac}Qe(){return 0=b.ne()/mm(b)?a=!1:(nm(b,d,HA),a=Cc(HA,xk(a))));return a}function tn(a,b){var d=xk(a);const c=d.ba,e=d.ka,g=d.$;d=d.ia;const k=Vm(a);a=k+a.xl();return of(c,g,k,e,d,a,b.JP)&&of(c,g,k,e,d,a,b.RQ)&&of(c,g,k,e,d,a,b.tQ)&&of(c,g,k,e,d,a,b.kO)&&of(c,g,k,e,d,a,b.dJ)&&of(c,g,k,e,d,a,b.HO)} +function Vm(a){return a.O().Na()+a.Na()}function Yl(a){a=RA.get(a);return Yq.Fc(a)?a:NaN}function Xn(a,b,d){(d=d&&a.Fj!==b)&&cn(a);a.Fj=b;d&&TA(a);0!==a.Na()&&(a.Fj.Tm=!0)}function Rq(a,b,d=!1){b=+b;d?a.Y+=b:mA(a)?a.Hh(a.fa()+b):a.Y+=b}function Sq(a,b,d=!1){b=+b;d?a.S+=b:lA(a)?a.xi(a.ga()+b):a.S+=b}function Tq(a){return 0!==(a.ca&4096)}function Vq(a){return 0!==(a.ca&8192)}function Xq(a,b,d){b=+b;d?a.Ee+=b:Vq(a)?a.Re(a.I()+b):a.Ee+=b;Zq(a)}function $q(a){return 0!==(a.ca&4194304)} +function fw(a){const b=a.O();if(om(b))return tn(a,Zm(b));const d=b.pc();return Tm(a,qm(b),Sm(d),d.Wg)}function pw(a){YA(a);return a.pH}function qw(a){YA(a);return a.MJ}function Jq(a,b){ec(a.Xa,b)||($b(Iq,b),Iq.a=a.Qc(),ZA(a))}function Xx(a){a.Kj&&(a.Kj.tL.j(),a.Kj.nS.j(),a.Kj=null,$A(a))}function Yx(a,b,d){b=Math.floor(b);d=Math.floor(d);if(!a.Z().ab().VZ)throw Error("object does not support mesh");Xx(a);a.Kj={tL:Yq.A(Yq.ea.CM,b,d),nS:Yq.A(Yq.ea.CM,b,d),WK:null}} +function ay(a){return null!==a.Kj}function by(a){if(!ay(a))throw Error("no mesh");return a.Kj.tL}function fz(a){Jm(a.Fj);return a.bP}function Pz(a){if(0!==(a.ca&16)&&a.mk()&&0===(a.ca&256)){var b=xk(a),d=a.L.Dw,c=a.kB;HA.set(d.vk(b.ba),d.wk(b.$),d.vk(b.ka),d.wk(b.ia));c.Fd(HA)||(b=a.T,c===MA?(d.Mm(b,null,HA),a.kB=Yq.A(Yq.Rect,HA)):(d.Mm(b,c,HA),c.xa(HA)),a.ca&=-17)}}function hA(a){a.Y=0;a.S=0;a.vd=0;a.Le=0;a.Ee=0;a.Df=0;a.Wa=0;a.MJ=0;a.pH=1;a.Lj=0;a.Mj=0;aB(a)} +function Yz(a){return(a=QA.get(a))?a.BK:null}function mA(a){return 0!==(a.ca&1024)}function lA(a){return 0!==(a.ca&2048)}function EA(a,b){b&&(a.Y=b.x,a.S=b.y,a.vd=b.z,a.Le=b.w,a.Ee=b.h,a.Wa=b.a,b.sgi&&a.Ea&&a.Ea.ra(b.sgi),Zq(a),wk(a))}function bB(a){a.Ea&&(a.Ea.j(),a.Ea=null)}function cB(a){a.ie&&(a.ie.length=0);a.ie=null;a.aj=null;const b=a.Ca();b&&cB(b);a.Py=-1} +function ZA(a){var b=Iq;a.Xa.Fd(b)||(a.Xa===KA?(a.Xa=Yq.A(Yq.lb,b),a.Nq=Yq.A(Yq.lb,b),gc(a.Nq)):fc(b,1,1,1,1)?(a.Xa=KA,a.Nq=KA):(a.Xa.set(b),a.Nq.set(b),gc(a.Nq)),aB(a))}function aB(a){if(PA){var b=a.g.Qa();a.Er&&Nf(b,a.Er);var d=0!==(a.ca&524288)?b.jD||"":b.kD||"",c=a.wl(),e=a.Nq,g=a.Na();const k=Of(d,c,e,g);let l=b.Iy.get(k);l||(l=qf.A(qf.ea.bX,b,d,c,e,g),b.Iy.set(k,l));++l.Dd;a.Er=l}} +function dB(a,b){Tq(a)&&0>a.io().K()&&(b=Yq.Ed(Yq.hR(b,a.io().Da()+Math.PI)));Vq(a)&&0>a.io().I()&&(b=Yq.hR(b,a.io().Da()));return b}function eB(a){return 0!==(a.ca&16384)&&a.po()?Yq.Ed(eB(a.Ca())+a.Wa):a.Wa}function fB(a){return 0!==(a.ca&16384)?dB(a,eB(a.Ca())-a.Ea.RC):0}function gB(a){aB(a);if(a.Qe()){a=a.me();for(let b=0,d=a.length;bb)throw new RangeError("invalid depth");a.Df=b}function YA(a){const b=a.ca;if(0!==(b&262144)){var d=a.Da();a.MJ=Math.sin(d);a.pH=Math.cos(d);a.ca=b&-262145}}function iB(a){if(a.Qe()){a=a.me();for(let d=0,c=a.length;dMath.abs(ca)&&1E-7>Math.abs(E)&&Math.sign(N)===Math.sign(C);(!(1E-7>Math.abs(N)&&1E-7>Math.abs(C)&&Math.sign(ca)===Math.sign(E)||da)&&.001a||a>=b.length?null:b[a]}vs(){return this.Xa===KA}Gg(a){a|=0;if(0>a||31>26}O(){return this.Fj}pc(){return this.O().pc()}hd(){return 0!==(this.ca&1)}hg(a){un(this,1,a);if(this.Qe())for(const b of this.me())0!==(b.ca&8388608)&&b.hg(a)}mk(){return 0!==(this.ca&8)}PF(a,b){un(this,32,a);this.gl&&this.gl.clear();if(b.trim()){this.gl|| +(this.gl=new Set);for(const d of b.split(" "))d&&this.gl.add(d.toLowerCase())}else this.gl=null}xN(a,b,d){a=Math.floor(a);b=Math.floor(b);var c=d.mode||"absolute";if(!NA.has(c))throw Error("invalid mode");c="relative"===c;let e=d.x,g=d.y;const k=d.Wp;let l="number"===typeof d.qS?d.qS:c?0:-1;d="number"===typeof d.uS?d.uS:c?0:-1;if(!ay(this))return!1;const n=by(this),p=cg(n,a,b);if(null===p)return!1;let r=!1;"number"===typeof k&&p.Na()!==k&&(p.uf(k),r=!0);c&&(e+=a/(n.Tl-1),g+=b/(n.mm-1));-1!==l||c? +(c&&(l+=a/(n.Tl-1)),l=Yq.X(l,0,1)):l=p.fh;-1!==d||c?(c&&(d+=b/(n.mm-1)),d=Yq.X(d,0,1)):d=p.hh;if(p.fa()===e&&p.ga()===g&&p.fh===l&&p.hh===d)return r;p.Hh(e);p.xi(g);p.fh=l;p.hh=d;$A(this);return!0}Fm(){return this.T.Fm()}zv(){return 0!==(this.ca&64)}pa(a){const b={x:this.fa(),y:this.ga(),w:this.K(),h:this.I(),l:this.O().eb,zi:yk(this)};0!==this.Na()&&(b.ze=this.Na());0!==this.Da()&&(b.a=eB(this));this.vs()||(b.c=this.Xa.toJSON());.5!==this.zg()&&(b.oX=this.zg());.5!==this.Ag()&&(b.oY=this.Ag());0!== +this.wl()&&(b.bm=this.wl());this.hd()||(b.v=this.hd());this.mk()||(b.ce=this.mk());0!==(this.ca&4)&&(b.be=0!==(this.ca&4));this.Gf&&(b.fx=this.Gf.pa());const d=0!==(this.ca&32);d&&(b.sfi=d);this.gl&&(b.sft=[...this.gl].join(" "));this.Ea&&"visual-state"!==a&&(b.sgi=this.Ea.pa(a),QA.has(this)&&(b.sgcd=QA.get(this).BK,b.sgzid=QA.get(this).BL));ay(this)&&(b.mesh=by(this).Hc());return b}hw(){cB(this);pB(this);mB(this,null);if(this.Ea){var a=this.Ea,b=this.aj;a.ie=this.ie;a.aj=b}}Ls(a){"visual-state"!== +a&&pB(this)}zk(a,b="full",d=null){a.hasOwnProperty("sgi")&&"visual-state"!==b&&0===(this.ca&256)&&this.Ea.zk(a.sgi,d)}xG(a,b="full"){a.hasOwnProperty("sgi")&&"visual-state"!==b&&0===(this.ca&256)&&(a=this.Ea,a.ie=null,a.aj=null,cB(this),wk(this))}ra(a,b){PA=!1;this.Hh(a.x);this.xi(a.y);this.Ae(a.w);this.Re(a.h);this.dj=a.zi|0;this.uf(a.hasOwnProperty("ze")?a.ze:0);this.ae(a.hasOwnProperty("a")?a.a:0);a.hasOwnProperty("c")?sc(Iq,a.c):a.hasOwnProperty("o")?($b(Iq,this.Xa),Iq.a=a.o):Xb(Iq,1,1,1,1);ZA(this); +this.Lj=+(a.hasOwnProperty("oX")?a.oX:.5);this.Mj=+(a.hasOwnProperty("oY")?a.oY:.5);this.Gg(a.hasOwnProperty("bm")?a.bm:0);this.hg(a.hasOwnProperty("v")?a.v:!0);rB(this,a.hasOwnProperty("ce")?a.ce:!0);var d=a.hasOwnProperty("be")?a.be:!1;un(this,4,d);this.PF(a.hasOwnProperty("sfi")?a.sfi:!1,a.hasOwnProperty("sft")?a.sft:"");this.Gf&&a.hasOwnProperty("fx")&&this.Gf.ra(a.fx);if(!a.hasOwnProperty("sgi")&&"visual-state"!==b&&this.ie)for(var c of this.ie)yp(c)||bn(this.g,c);a.hasOwnProperty("sgi")&&"visual-state"!== +b&&(mB(this,null),c=this.Ea,c.ra(a.sgi),d=this.aj,c.ie=this.ie,c.aj=d,a.sgcd&&Yq.Fc(a.sgzid)&&QA.set(this,{BK:a.sgcd,BL:a.sgzid}));a.hasOwnProperty("mesh")?(d=a.mesh,Yx(this,d.cols,d.rows),by(this).$b(d)):Xx(this);wk(this);PA=!0;aB(this);"visual-state"!==b&&(b=this.g,d=this.Z(),d.m()&&(b.ZB.set(d,a),b.ox.push(d)))}};"use strict";const vB=self.B; +vB.HL=class extends vB.ua{constructor(a,b){super();const d=a.F(),c=d.mp,e=Vu(d,b[1]);if(!c.dH.has(e)){const g=Vu(c.g,b[1]);if(!g)throw Error("missing behavior");const k=kz.A(g,{Ne:c.g});k.rc();c.vY.push(k);c.dH.set(g,k);!c.AQ&&kz.Pb.B0&&k instanceof kz.Pb.B0?c.AQ=k:!c.xP&&kz.Pb.f0&&k instanceof kz.Pb.f0&&(c.xP=k)}this.g=d;this.L=a;this.Fk=c.dH.get(e)||null;this.jb=null;this.nx=e.Instance;this.eb=b[2];this.Ja=b[0];this.Fx=this.g.gk(b[3]);this.jb=vB.A(e.Jg,this);this.rc()}static Ma(a,b){return vB.A(vB.HL, +a,b)}j(){this.Fk=this.g=null;this.jb.j();this.nx=this.jb=null}rc(){this.jb.rc()}F(){return this.g}G(){return this.L}bo(){return this.Fk}na(){return this.Ja}gk(){return this.Fx}};"use strict";const wB=self.B,xB=self.ZE; +wB.Ez=class extends wB.ua{constructor(a){super();this.g=a.Ne;this.Od=a.wK;this.Fk=this.Od.bo();this.T=a.instance;this.qa=a.index;this.qe=this.ma=null;this.Fk.yi(this.T)}j(){this.qe&&(this.qe.dw(),this.qe=null);this.Fk.zq(this.T);this.ma.j();this.T=this.Fk=this.Od=this.g=this.ma=null}IA(a){if(this.ma)throw Error("already got sdk instance");this.ma=wB.A(this.Od.nx,this,a)}F(){return this.g}rh(){return this.Od}bo(){return this.Fk}ig(){return this.qa}Hc(){return this.ma.Hc()}$b(a){return this.ma.$b(a)}static UF(a, +b){var d=a.T,c=b.T;const e=d.G().Ha(),g=c.G().Ha();if(e!==g)return e-g;d=d.nQ;c=c.nQ;return d!==c?d-c:a.xw.ig()-b.xw.ig()}ss(){var a;if(!(a=this.qe)){const b=(a=this.ma.qf())||xB;xB.yk(this);this.qe=new b;xB.yk(null);if(a&&!(this.qe instanceof xB))throw new TypeError(`script interface class '${a.name}' does not extend the right base class '${xB.name}'`);a=this.qe}return a}};"use strict";const yB=self.B;function Ep(a,b){return a.wB.get(b.toLowerCase())||null} +function zB(a,b){b=Math.floor(+b);if(0>b||b>=a.Bi.length)throw new RangeError("invalid effect type index");return a.Bi[b]} +yB.bq=class extends yB.ua{constructor(a,b){super();this.ub=a;this.Bi=[];this.Jh=[];this.wB=new Map;this.Ad=[];this.Tg=[];this.UG=new Set;this.ku=!0;for(const d of b)a=yB.A(yB.SL,this,d,this.Bi.length),this.Bi.push(a),this.wB.set(a.na().toLowerCase(),a),3<=d.length&&this.Ad.push(this.vG(a,d[2]));this.F().QG.add(this)}j(){this.F().QG.delete(this);for(const a of this.Tg)a.j();yB.D(this.Tg);yB.D(this.Bi);yB.D(this.Jh);this.wB.clear();yB.D(this.Ad);this.ub=null}Hl(a){for(const b of this.UG)b.Hl(a)}vG(a, +b){a.Ib=!!b[0];a=b.slice(1);for(let d=0,c=a.length;da||a>=this.Ad.length)return null;a=this.Ad[a];return 0> +b||b>=a.length?null:a[b]}Lv(a,b,d){if(0>a||a>=this.Ad.length)return!1;const c=this.Ad[a];if(0>b||b>=c.length)return!1;const e=c[b];if(e instanceof yB.lb){if(ec(e,d))return!1;$b(e,d)}else{if(e===d)return!1;c[b]=d}a({name:a.na(),active:a.Ib,params:this.Ad[a.Ha()].map(yB.bq.rN)}))}$b(a){for(const b of a)if(a=Ep(this,b.name))a.Ib=!!b.active,this.Ad[a.Ha()]=b.params.map(yB.bq.BM);this.Ih();this.jw()}};"use strict";const Iz=self.B; +Iz.SL=class extends Iz.ua{constructor(a,b,d){super();this.Oa=a;this.pd=b[0];this.Ja=b[1];this.qa=d;this.Qd=null;this.Ib=!0}j(){this.Qd=this.Oa=null}Hl(a){a=a.wy.get(this.pd)||null;if(!a)throw Error("failed to find shader program '"+this.pd+"'");this.Qd=a}na(){return this.Ja}DG(a){this.qa=a}Ha(){return this.qa}F(){return this.Oa.F()}xh(){return this.Qd}};"use strict";const AB=self.B; +function iA(a){for(const c of a.Oa.hj()){var b=a.Ad,d=b.push;const e=[];for(let g=0,k=c.Qd.Kr.length;g{c=c.Ko;const e=c.m();d.wi(e.QE());Qf(d,Vm(e));c.xg(d);Qf(d,0)},ER:d=>{const c=d.Yz(),[e,g]=d.Xz();return{iS:c,jS:e,hS:g}},VD:d=>this.LA(d)});this.Bo=[];this.Jh=[];this.ku=!0;this.Ad=[];this.Tg=[];this.Hl(a.F().Qa());for(let d=0,c=this.Oa.hj().length;db.K()||0>b.I();const e=a.pA();if(this.fJ||d!==this.bz||c!==this.bR||b!==this.dR||e!==this.eR||this.Ff.Vx)cj(this.Ff,this.Jh.map(g=>g.xh()),{Pu:this.Jh.map(g=>g.Ha()),GK:!d||a.Dv(),KR:c,$D:e,PR:b}),this.fJ=!1,this.bz=d,this.bR=c,this.dR=b,this.eR=e}gM(a){return this.Ad[a]}LA(a){return aa||a>=this.Ad.length)return null;a=this.Ad[a];return 0>b|| +b>=a.length?null:a[b]}Lv(a,b,d){if(0>a||a>=this.Ad.length)return!1;const c=this.Ad[a];if(0>b||b>=c.length)return!1;const e=c[b];if(e instanceof AB.lb){if(ec(e,d))return!1;$b(e,d)}else{if(e===d)return!1;c[b]=d}a({name:a.na(), +active:this.Bo[a.Ha()],params:this.Ad[a.Ha()].map(yB.bq.rN)}))}ra(a){for(const b of a)if(a=Ep(this.Oa,b.name))this.Bo[a.Ha()]=b.active,this.Ad[a.Ha()]=b.params.map(yB.bq.BM);this.Ih();this.jw()}};"use strict";const BB=self.B,CB=[],DB=BB.A(BB.aq),EB=BB.A(BB.aq),GB=BB.A(BB.Md);BB.A(BB.Rect);BB.A(BB.Rect);let HB=null,IB=null,JB=null; +function zx(a,b,d,c){a=a?1!==a.bf||1!==a.cf:!1;if(b.La)for(const e of b.jn)a||e.ow?BB.om(c,e.ta()):(Oz(e),e.Dw.yA(d,c));else a||b.ow?BB.om(c,b.ta()):(Oz(b),b.Dw.yA(d,c))} +function Ax(a,b){if(!a||!b||a===b)return!1;a=a.m();b=b.m();if(!a.mk()||!b.mk())return!1;var d=a.O(),c=b.O();if(d===c||d.bf===c.bf&&d.cf===c.cf&&d.ad===c.ad&&d.Rj===c.Rj&&d.Af===c.Af&&d.vh()===c.vh()&&d.wh()===c.wh())b=KB(a,b);else if(d=a.Fm(),c=b.Fm(),d&&!c)b=LB(a,b);else if(c&&!d)b=LB(b,a);else if(c||d)b=!1;else{c=a.O();d=b.O();DB.xa(XA(a));EB.xa(XA(b));var e=DB.ue;for(let g=0,k=e.length;gg.ka||p.$+n>g.ia)&&(GB.sl(p),GB.offset(l,n),Fc(GB,k)))if(a){var w=void 0!==e?e:XA(b);let C=d,E=c;void 0!==e&&(C=b.fa(),E=b.ga());if(r=r.$T()){if(Mc(r,w,C-(l+p.ba),E-(n+p.$)))return BB.D(CB),!0}else if(Kc(DB,GB,0,0),Mc(DB,w,C,E))return BB.D(CB), +!0}else if(w=r.$T()){if(Kc(DB,k,0,0),Mc(w,DB,-(l+p.ba),-(n+p.$)))return BB.D(CB),!0}else return BB.D(CB),!0}BB.D(CB);return!1} +function LB(a,b){var d=a.O(),c=b.O();HB||(HB=BB.A(BB.aq));IB||(IB=BB.A(BB.Rect));JB||(JB=BB.A(BB.Md));var e=b.fa(),g=b.ga();const [k,l]=an(c,e,g),[n,p]=pm(d,k,l);d=n-e;g=p-g;IB.xa(xk(b));IB.offset(d,g);if(!Cc(xk(a),IB))return!1;JB.xa(VA(b));JB.offset(d,g);if(!Fc(VA(a),JB))return!1;HB.xa(XA(b));c=HB.ue;for(let r=0,w=c.length;r{let v=k.get(w);"undefined"===typeof v&&(v=km(w),k.set(w,v));return v};if(e.kb){e.kb=!1;BB.D(e.H);g&&BB.D(e.rb);for(var n of b.ta()){a=n.m();var p=a.O(),r=!1;if(l(p)&&fw(a)){const [w,v]=pm(p,d,c,Vm(a));r=zk(a,w,v)}r?e.H.push(n):g&&e.rb.push(n)}}else{n=!1;g?0===a.g.Zf().Ve&&!e.rb.length&&e.H.length?a=e.H:(a=e.rb,n=!0):a=e.H;p=0;for(let w=0,v=a.length;wb)throw Error("invalid HTML layer count");if(a.Qg.length!==b){d={count:b,immediate:d,marginLeft:a.Zm,marginTop:a.$m,styleWidth:a.zc,styleHeight:a.fc};d=a.Eg()?await xj(a.g,"canvas","set-html-layer-count",d):self.c3_runtimeInterface._OnSetHTMLLayerCount(d);if(bSB.V.Gz&&(console.warn("[Construct] Disabling WebGL 2 because this device appears to be affected by crbug.com/934823. Install software updates to avoid this."),b.UK=1);"standard"===a.g.gt?b.alpha=!0:(b.alpha=!1,b.TK=!0);a.Me=SB.A(SB.ea.LX,a.Qg[0].canvas,b);await a.Me.mA()} +async function dC(a){await a.Hl();await $B(a.g);console.log("[Construct] WebGPU device restored")}async function eC(a){if(a.eD){const b=[];for(const [d,c]of Object.entries(a.eD))c.src=c.Q0,b.push(hi(a.di,Object.assign({AL:Mg(),name:d},c)));await Promise.all(b)}} +async function fC(a){if(a.eD){const b=[];for(const [d,c]of Object.entries(a.eD)){let e;if(c.GR&&2<=a.Me.Sb)c.src=c.GR,e=Ng();else{if(!c.FR)throw Error(`shader '${d}' does not support WebGL 1`);c.src=c.FR;e=Mg()}b.push(hi(a.Me,Object.assign({AL:e,name:d},c)))}await Promise.all(b);a.Me.$o=null;Lf(a.Me)}a.Me.Dc&&(a.OB=SB.A(SB.ea.JN,a.Me))}function gC(a){return a.Lt?a.XY:a.$z()}function hC(a,b){if(!TB.has(b))throw Error("invalid fullscreen mode");a.PO=b;a=a.g.hb;Ao(a);Bo(a)} +function iC(a,b){if(!UB.has(b))throw Error("invalid fullscreen scaling quality");a.pK=b;Ao(a.g.hb)}function jC(a){switch(a){case 0:return"off";case 1:return"crop";case 2:return"scale-inner";case 3:return"scale-outer";case 4:return"letterbox-scale";case 5:return"letterbox-integer-scale";default:throw Error("invalid fullscreen mode");}}function kC(a,b){const d=a.fc,c=a.zc/2,e=d/2;ji(b,a.sB);a=Kf(b,c,e,b.ne(d),c,e,d);mi(b,a)} +function*lC(a){for(const b of zo(a.g.hb))for(const d of b.Wc){const c=a.NI.get(d);c&&(yield c)}} +function mC(a){if(a.hD){var b=a.Qg[0].canvas,d=a.yQ,c=SB.X(Math.floor(d.ba),0,b.width),e=SB.X(Math.floor(d.$),0,b.height),g=d.width();g=0===g?b.width-c:SB.X(Math.floor(g),0,b.width-c);d=d.height();d=0===d?b.height-e:SB.X(Math.floor(d),0,b.height-e);if((0!==c||0!==e||g!==b.width||d!==b.height)&&0{a.Ay&&URL.revokeObjectURL(a.Ay);a.Ay=URL.createObjectURL(k);a.zy=null;a.zQ(a.Ay)});a.hD="";a.OJ=1}} +async function nC(a){var b=(new URL("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHdpZHRoPSIxNzAwLjc5MDA0cHgiIGhlaWdodD0iMTcwMC43OTAwNHB4IiB2aWV3Qm94PSIyODcgMzE3IDExMjUgMTEyNSINCgkgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTcwMC43OTAwNCAxNzAwLjc5MDA0IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnIGlkPSJsb2dvIj4NCgk8Zz4NCgkJPGc+DQoJCQk8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI0ZGRkZGRiIgZD0iTTM1NC45Nzc1NCwxMTk1LjYyMzA1DQoJCQkJYzExLjM4NDc3LDAsMjIuMDEyNywzLjIzNzMsMzEuMDE3NTgsOC44Mzc4OWMxLjk0NjI5LDEuMjEwOTQsMi41ODQ5NiwzLjc0OTAyLDEuNDM4NDgsNS43MzQzOGwtNC45MzI2Miw4LjU0MTk5DQoJCQkJYy0zLjI3ODMyLDUuNjc5NjktMTAuMDMzMiw4LjM3Njk1LTE2LjMxNzM4LDYuNTAwOThjLTIuNzY0NjUtMC44MjUyLTUuNjkzMzYtMS4yNjg1NS04LjcyNjU2LTEuMjY4NTUNCgkJCQljLTE2LjgyOTEsMC0zMC40NzI2NiwxMy42NDM1NS0zMC40NzI2NiwzMC40NzI2NmMwLDE2LjgyODEzLDEzLjY0MzU1LDMwLjQ3MjY2LDMwLjQ3MjY2LDMwLjQ3MjY2DQoJCQkJYzMuMDMzMiwwLDUuOTYxOTEtMC40NDMzNiw4LjcyNjU2LTEuMjY4NTVjNi4yOTQ5Mi0xLjg3OTg4LDEzLjAzMzIsMC44MTE1MiwxNi4zMTczOCw2LjUwMDk4bDQuOTMxNjQsOC41NDE5OQ0KCQkJCWMxLjE0NzQ2LDEuOTg4MjgsMC41MTA3NCw0LjUyMzQ0LTEuNDM4NDgsNS43MzQzOGMtOS4wMDM5MSw1LjYwMTU2LTE5LjYzMTg0LDguODM3ODktMzEuMDE2Niw4LjgzNzg5DQoJCQkJYy0zMi40ODUzNSwwLTU4LjgxOTM0LTI2LjMzNDk2LTU4LjgxOTM0LTU4LjgxOTM0QzI5Ni4xNTgyLDEyMjEuOTU3MDMsMzIyLjQ5MjE5LDExOTUuNjIzMDUsMzU0Ljk3NzU0LDExOTUuNjIzMDUNCgkJCQlMMzU0Ljk3NzU0LDExOTUuNjIzMDV6IE03MDMuMjE0ODQsMTI1OS4xNzU3OGMtMTQuNTU5NTctOS44MTczOC0yMC4yMDMxMy0yMC4wMzIyMy0yMC4yMDMxMy0zMy4wODAwOA0KCQkJCWMwLTE4LjQ4OTI2LDE1LjcxNDg0LTI5Ljc2MzY3LDM4LjI2NjYtMjkuNzYzNjdjOS42NTcyMywwLDE4LjcyMTY4LDIuNTQyOTcsMjYuNTU5NTcsNi45OTQxNA0KCQkJCWMyLjA0OTgsMS4xNjQwNiwyLjc2MTcyLDMuNzgzMiwxLjU4MzAxLDUuODI0MjJsLTMuNDE3OTcsNS45MTk5MmMtMy4yNDcwNyw1LjYyNDAyLTkuOTA4Miw4LjMzMTA1LTE2LjE1MzMyLDYuNTQ4ODMNCgkJCQljLTIuNzIzNjMtMC43NzYzNy01LjU5ODYzLTEuMTkyMzgtOC41NzEyOS0xLjE5MjM4Yy0xMC40OTAyMywwLTExLjU5ODYzLDkuNTc2MTctNC44NTc0MiwxNC4xMjMwNWwyMy42ODY1MiwxNS45NzY1Ng0KCQkJCWM5Ljk5MDIzLDYuNzM4MjgsMTUuODk1NTEsMTcuMDY2NDEsMTUuODk1NTEsMjguNzE4NzVjMCwxOC43ODYxMy0xNS4wMDY4NCwzMy4zMDc2Mi0zOC4yNjc1OCwzMy4zMDc2Mg0KCQkJCWMtOS41MjI0NiwwLTE4LjU4Nzg5LTEuOTU3MDMtMjYuODE1NDMtNS40OTAyM2MtNy43ODEyNS0zLjMzOTg0LTEwLjkzMzU5LTEyLjc4MjIzLTYuNjk3MjctMjAuMTE4MTZsMy40ODczLTYuMDQxOTkNCgkJCQljMS4yMTM4Ny0yLjA5OTYxLDMuOTMxNjQtMi43NTk3Nyw1Ljk3NDYxLTEuNDU2MDVjNi44NTkzOCw0LjM4MjgxLDE2LjQ5MDIzLDcuNTk0NzMsMjQuNzU4NzksNy41OTQ3Mw0KCQkJCWMxMC41NDU5LDAsMTEuMzI4MTMtOS45NTg5OCwzLjc2NzU4LTE1LjA1NzYyTDcwMy4yMTQ4NCwxMjU5LjE3NTc4TDcwMy4yMTQ4NCwxMjU5LjE3NTc4eiBNOTg0LjYzMDg2LDEyMDIuMDAwOTgNCgkJCQljMC0yLjM0NzY2LDEuOTAzMzItNC4yNTE5NSw0LjI1MTk1LTQuMjUxOTVoOS45MjE4OGM3LjgyNzE1LDAsMTQuMTcyODUsNi4zNDU3LDE0LjE3Mjg1LDE0LjE3MzgzdjU3LjQwMTM3DQoJCQkJYzAsOC42MTAzNSw2Ljk4MDQ3LDE1LjU5MDgyLDE1LjU5MDgyLDE1LjU5MDgyczE1LjU5MDgyLTYuOTgwNDcsMTUuNTkwODItMTUuNTkwODJ2LTU3LjQwMTM3DQoJCQkJYzAtNy44MjgxMyw2LjM0NTctMTQuMTczODMsMTQuMTcyODUtMTQuMTczODNoOS45MjA5YzIuMzQ4NjMsMCw0LjI1MTk1LDEuOTA0Myw0LjI1MTk1LDQuMjUxOTV2NjcuMzIzMjQNCgkJCQljMCwyNC4yNjU2My0xOS42NzA5LDQzLjkzNzUtNDMuOTM2NTIsNDMuOTM3NXMtNDMuOTM3NS0xOS42NzE4OC00My45Mzc1LTQzLjkzNzVWMTIwMi4wMDA5OEw5ODQuNjMwODYsMTIwMi4wMDA5OHoNCgkJCQkgTTQ2Ni44NjkxNCwxMTk1LjYyMzA1YzMyLjQ4NDM4LDAsNTguODE4MzYsMjYuMzMzOTgsNTguODE4MzYsNTguODE5MzRjMCwzMi40ODQzOC0yNi4zMzM5OCw1OC44MTkzNC01OC44MTgzNiw1OC44MTkzNA0KCQkJCWMtMzIuNDg2MzMsMC01OC44MTkzNC0yNi4zMzQ5Ni01OC44MTkzNC01OC44MTkzNEM0MDguMDQ5OCwxMjIxLjk1NzAzLDQzNC4zODI4MSwxMTk1LjYyMzA1LDQ2Ni44NjkxNCwxMTk1LjYyMzA1DQoJCQkJTDQ2Ni44NjkxNCwxMTk1LjYyMzA1eiBNNDY2Ljg2OTE0LDEyMjUuMDMzMmMtMTYuMjQzMTYsMC0yOS40MTAxNiwxMy4xNjY5OS0yOS40MTAxNiwyOS40MDkxOA0KCQkJCXMxMy4xNjY5OSwyOS40MDgyLDI5LjQxMDE2LDI5LjQwODJjMTYuMjQxMjEsMCwyOS40MDgyLTEzLjE2NjAyLDI5LjQwODItMjkuNDA4MlM0ODMuMTEwMzUsMTIyNS4wMzMyLDQ2Ni44NjkxNCwxMjI1LjAzMzINCgkJCQlMNDY2Ljg2OTE0LDEyMjUuMDMzMnogTTU1Ni43MzI0MiwxMzExLjEzNDc3Yy0yLjM0NzY2LDAtNC4yNTE5NS0xLjkwMjM0LTQuMjUxOTUtNC4yNXYtOTQuOTYxOTENCgkJCQljMC03LjgyODEzLDYuMzQ1Ny0xNC4xNzM4MywxNC4xNzM4My0xNC4xNzM4M2gzLjk1ODk4YzQuNjI1LDAsOC45NTg5OCwyLjI1Njg0LDExLjYxMTMzLDYuMDQ1OWw0MS4xMjIwNyw1OC43NDcwN3YtNTAuNjE5MTQNCgkJCQljMC03LjgyODEzLDYuMzQ1Ny0xNC4xNzM4MywxNC4xNzI4NS0xNC4xNzM4M2g5LjkyMTg4YzIuMzQ3NjYsMCw0LjI1MTk1LDEuOTA0Myw0LjI1MTk1LDQuMjUxOTV2OTQuOTYwOTQNCgkJCQljMCw3LjgyOTEtNi4zNDU3LDE0LjE3Mjg1LTE0LjE3MzgzLDE0LjE3Mjg1aC0zLjk1ODk4Yy00LjYyNSwwLTguOTU4OTgtMi4yNTU4Ni0xMS42MTEzMy02LjA0NDkybC00MS4xMjIwNy01OC43NDYwOXY1MC42MTgxNg0KCQkJCWMwLDcuODI5MS02LjM0NTcsMTQuMTcyODUtMTQuMTcyODUsMTQuMTcyODVINTU2LjczMjQyTDU1Ni43MzI0MiwxMzExLjEzNDc3eiBNMTIxNS4wMjA1MSwxMjExLjkyMjg1DQoJCQkJYzAtNy44MjgxMyw2LjM0NTctMTQuMTczODMsMTQuMTcyODUtMTQuMTczODNoNTAuMzE1NDNjMi4zNDg2MywwLDQuMjUxOTUsMS45MDQzLDQuMjUxOTUsNC4yNTE5NXY1LjY2OTkyDQoJCQkJYzAsNy44MjcxNS02LjM0NTcsMTQuMTcyODUtMTQuMTcyODUsMTQuMTcyODVoLTYuMDI0NDF2NzUuMTE4MTZjMCw3LjgyOTEtNi4zNDU3LDE0LjE3Mjg1LTE0LjE3Mjg1LDE0LjE3Mjg1aC05LjkyMTg4DQoJCQkJYy0yLjM0ODYzLDAtNC4yNTE5NS0xLjkwMjM0LTQuMjUxOTUtNC4yNXYtODUuMDQxMDJoLTE1Ljk0NDM0Yy0yLjM0ODYzLDAtNC4yNTE5NS0xLjkwMzMyLTQuMjUxOTUtNC4yNTE5NVYxMjExLjkyMjg1DQoJCQkJTDEyMTUuMDIwNTEsMTIxMS45MjI4NXogTTc3Ni40NDkyMiwxMjExLjkyMjg1YzAtNy44MjgxMyw2LjM0NTctMTQuMTczODMsMTQuMTczODMtMTQuMTczODNoNTAuMzE0NDUNCgkJCQljMi4zNDk2MSwwLDQuMjUxOTUsMS45MDQzLDQuMjUxOTUsNC4yNTE5NXY1LjY2OTkyYzAsNy44MjcxNS02LjM0NTcsMTQuMTcyODUtMTQuMTcxODgsMTQuMTcyODVoLTYuMDI1Mzl2NzUuMTE4MTYNCgkJCQljMCw3LjgyOTEtNi4zNDU3LDE0LjE3Mjg1LTE0LjE3Mjg1LDE0LjE3Mjg1aC05LjkyMDljLTIuMzQ5NjEsMC00LjI1MTk1LTEuOTAyMzQtNC4yNTE5NS00LjI1di04NS4wNDEwMmgtMTUuOTQ1MzENCgkJCQljLTIuMzQ3NjYsMC00LjI1MTk1LTEuOTAzMzItNC4yNTE5NS00LjI1MTk1VjEyMTEuOTIyODVMNzc2LjQ0OTIyLDEyMTEuOTIyODV6IE05MjkuNjA0NDksMTI3Mi4wMjI0NmwyNi45NTgwMSwzMi4xMjc5Mw0KCQkJCWMyLjMxNDQ1LDIuNzU3ODEsMC4zNDM3NSw2Ljk4NDM4LTMuMjU2ODQsNi45ODQzOGgtMTkuNzA1MDhjLTQuMTg5NDUsMC04LjE2NTA0LTEuODUxNTYtMTAuODU3NDItNS4wNjA1NWwtMjIuNjgxNjQtMjcuMDMxMjUNCgkJCQl2MjcuODQxOGMwLDIuMzQ3NjYtMS45MDMzMiw0LjI1LTQuMjUxOTUsNC4yNWgtOS45MjA5Yy03LjgyNzE1LDAtMTQuMTcyODUtNi4zNDM3NS0xNC4xNzI4NS0xNC4xNzI4NXYtODUuMDM5MDYNCgkJCQljMC03LjgyODEzLDYuMzQ1Ny0xNC4xNzM4MywxNC4xNzI4NS0xNC4xNzM4M2gyOS43NjM2N2MyMi43MDAyLDAsNDEuMTAyNTQsMTcuMTMzNzksNDEuMTAyNTQsMzguMjY4NTUNCgkJCQlDOTU2Ljc1NDg4LDEyNTIuNTkwODIsOTQ1LjQzNjUyLDEyNjYuNzAyMTUsOTI5LjYwNDQ5LDEyNzIuMDIyNDZMOTI5LjYwNDQ5LDEyNzIuMDIyNDZ6IE05MDAuMDYxNTIsMTIyMS44NDM3NXYzMi41OTg2M2g4LjUwMzkxDQoJCQkJYzEwLjk1ODk4LDAsMTkuODQyNzctNy4yOTc4NSwxOS44NDI3Ny0xNi4yOTg4M2MwLTkuMDAxOTUtOC44ODM3OS0xNi4yOTk4LTE5Ljg0Mjc3LTE2LjI5OThIOTAwLjA2MTUyTDkwMC4wNjE1MiwxMjIxLjg0Mzc1eg0KCQkJCSBNMTE1OC4zNTkzOCwxMTk1LjYyMzA1YzExLjM4NDc3LDAsMjIuMDEyNywzLjIzNzMsMzEuMDE3NTgsOC44Mzc4OWMxLjk0NzI3LDEuMjEwOTQsMi41ODQ5NiwzLjc0OTAyLDEuNDM4NDgsNS43MzQzOA0KCQkJCWwtNC45MzI2Miw4LjU0MTk5Yy0zLjI3ODMyLDUuNjc5NjktMTAuMDMzMiw4LjM3Njk1LTE2LjMxNzM4LDYuNTAwOThjLTIuNzY0NjUtMC44MjUyLTUuNjkzMzYtMS4yNjg1NS04LjcyNTU5LTEuMjY4NTUNCgkJCQljLTE2LjgyOTEsMC0zMC40NzI2NiwxMy42NDM1NS0zMC40NzI2NiwzMC40NzI2NmMwLDE2LjgyODEzLDEzLjY0MzU1LDMwLjQ3MjY2LDMwLjQ3MjY2LDMwLjQ3MjY2DQoJCQkJYzMuMDMyMjMsMCw1Ljk2MDk0LTAuNDQzMzYsOC43MjU1OS0xLjI2ODU1YzYuMjk1OS0xLjg3OTg4LDEzLjAzMzIsMC44MTE1MiwxNi4zMTgzNiw2LjUwMDk4bDQuOTMwNjYsOC41NDE5OQ0KCQkJCWMxLjE0NzQ2LDEuOTg4MjgsMC41MTA3NCw0LjUyMzQ0LTEuNDM3NSw1LjczNDM4Yy05LjAwNDg4LDUuNjAxNTYtMTkuNjMyODEsOC44Mzc4OS0zMS4wMTc1OCw4LjgzNzg5DQoJCQkJYy0zMi40ODUzNSwwLTU4LjgxOTM0LTI2LjMzNDk2LTU4LjgxOTM0LTU4LjgxOTM0QzEwOTkuNTQwMDQsMTIyMS45NTcwMywxMTI1Ljg3NDAyLDExOTUuNjIzMDUsMTE1OC4zNTkzOCwxMTk1LjYyMzA1eiIvPg0KCQkJPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiMwMEZGREEiIGQ9Ik0xMzE4LjE5NzI3LDEyMDYuMDMyMjMNCgkJCQljMC03LjgyODEzLDYuMzQ1Ny0xNC4xNzM4MywxNC4xNzI4NS0xNC4xNzM4M2MyMC42NTYyNSwwLDQxLjMxMjUsMCw2MS45Njg3NSwwYzMuNDI5NjksMCw1LjQ1MDIsMy44ODA4NiwzLjQ4MzQsNi42OTA0Mw0KCQkJCWwtMTkuMjk2ODgsMjcuNTY3MzhjMTUuNTQyOTcsOC4zNzU5OCwyNi4xMDY0NSwyNC44MDA3OCwyNi4xMDY0NSw0My42OTUzMWMwLDI3LjM5NzQ2LTIyLjIwODk4LDQ5LjYwNjQ1LTQ5LjYwNjQ1LDQ5LjYwNjQ1DQoJCQkJYy0xNi42ODg0OCwwLTMxLjQ1MTE3LTguMjQwMjMtNDAuNDQzMzYtMjAuODc1OThjLTEuNDUwMi0yLjAzOTA2LTAuODMxMDUtNC44OTk0MSwxLjMzNTk0LTYuMTUyMzRsMTAuOTc3NTQtNi4zMzc4OQ0KCQkJCWM0Ljg4MTg0LTIuODE4MzYsMTAuOTc5NDktMi40NzU1OSwxNS41MTQ2NSwwLjg3MzA1YzMuNTI4MzIsMi42MDU0Nyw3Ljg5MTYsNC4xNDY0OCwxMi42MTUyMyw0LjE0NjQ4DQoJCQkJYzExLjc0MjE5LDAsMjEuMjU5NzctOS41MTg1NSwyMS4yNTk3Ny0yMS4yNTk3N3MtOS41MTc1OC0yMS4yNTk3Ny0yMS4yNTk3Ny0yMS4yNTk3N2gtMTUuMjE3NzcNCgkJCQljLTMuNDI5NjksMC01LjQ1MDItMy44ODA4Ni0zLjQ4NDM4LTYuNjkwNDNsMTguMTM1NzQtMjUuOTA4MmgtMzIuMDA5NzdjLTIuMzQ4NjMsMC00LjI1MTk1LTEuOTAzMzItNC4yNTE5NS00LjI1MTk1VjEyMDYuMDMyMjN6DQoJCQkJIi8+DQoJCTwvZz4NCgkJPGc+DQoJCQk8Zz4NCgkJCQk8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI0RBRThGNyIgZD0iTTg1MC4zOTU1MSw4NTcuNTkxOA0KCQkJCQljLTUwLjM1NjQ1LDAtOTQuMzI1Mi0yNy4zNTY0NS0xMTcuODUyNTQtNjguMDIwNTFsLTgwLjAzMDI3LDQ2LjIwNDFjLTQuNjU1MjcsMi42ODk0NS02LjEzMTg0LDguNzE4NzUtMy4yNDkwMiwxMy4yNTU4Ng0KCQkJCQljNDIuMjM3Myw2Ni40ODYzMywxMTYuNTMzMiwxMTAuNjA3NDIsMjAxLjEzMTg0LDExMC42MDc0MmM4OC4xMjU5OCwwLDE2NS4wNzEyOS00Ny44NzUsMjA2LjI0MzE2LTExOS4wMzYxM2wtODAuNDg3My00Ni40Njk3Mw0KCQkJCQljLTQuMzEzNDgtMi40OTAyMy05LjgwMTc2LTEuMjA1MDgtMTIuNTcwMzEsMi45MzU1NUM5MzkuMTc1NzgsODMzLjU2MjUsODk3LjU5MTgsODU3LjU5MTgsODUwLjM5NTUxLDg1Ny41OTE4DQoJCQkJCUw4NTAuMzk1NTEsODU3LjU5MTh6IE0xMTM2LjcyMTY4LDU1Ni4yMTc3N2M0LjYxNDI2LTIuNjYzMDksNi4xMTAzNS04LjYxOTE0LDMuMzEyNS0xMy4xNTEzNw0KCQkJCQljLTU5LjkxNTA0LTk3LjAzMDI3LTE2Ny4yMjQ2MS0xNjEuNjk0MzQtMjg5LjYzODY3LTE2MS42OTQzNGMtMTI1Ljg5MzU1LDAtMjM1LjgxMzQ4LDY4LjM5MjU4LTI5NC42MzM3OSwxNzAuMDQ5OA0KCQkJCQlsODAuMzc2OTUsNDYuNDA2MjVjNC4zOTc0NiwyLjUzOTA2LDEwLjAwMTk1LDEuMTQ5NDEsMTIuNzEwOTQtMy4xNDU1MQ0KCQkJCQljNDIuMTY0MDYtNjYuODUxNTYsMTE2LjY2ODk1LTExMS4yNjM2NywyMDEuNTQ1OS0xMTEuMjYzNjdjODguMTI1OTgsMCwxNjUuMDcxMjksNDcuODc1OTgsMjA2LjI0MzE2LDExOS4wMzYxMw0KCQkJCQlMMTEzNi43MjE2OCw1NTYuMjE3Nzd6Ii8+DQoJCQkJPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiNBNUJBQzgiIGQ9Ik04NTAuMzk1NTEsOTU5LjYzODY3DQoJCQkJCWMtODQuNTk4NjMsMC0xNTguODk0NTMtNDQuMTIxMDktMjAxLjEzMTg0LTExMC42MDc0MmMtMi44NzY5NS00LjUzMDI3LTEuMzk5NDEtMTAuNTcwMzEsMy4yNDkwMi0xMy4yNTU4Nmw4MC4wMzAyNy00Ni4yMDQxDQoJCQkJCWMtMTEuNTgxMDUtMjAuMDE2Ni0xOC4yMDk5Ni00My4yNTQ4OC0xOC4yMDk5Ni02OC4wNDE5OWMwLTc0Ljc4NTE2LDYwLjU1NzYyLTEzNi4wNjI1LDEzNi4wNjI1LTEzNi4wNjI1DQoJCQkJCWM0Ny4xOTYyOSwwLDg4Ljc4MDI3LDI0LjAyOTMsMTEzLjE4NTU1LDYwLjUyMjQ2YzIuNzY0NjUsNC4xMzM3OSw4LjI2MzY3LDUuNDIxODgsMTIuNTcwMzEsMi45MzU1NWw4MC40ODczLTQ2LjQ2OTczDQoJCQkJCWMtNDEuMTcxODgtNzEuMTYwMTYtMTE4LjExNzE5LTExOS4wMzYxMy0yMDYuMjQzMTYtMTE5LjAzNjEzYy04NC44NzY5NSwwLTE1OS4zODE4NCw0NC40MTIxMS0yMDEuNTQ1OSwxMTEuMjYzNjcNCgkJCQkJYy0yLjcwNjA1LDQuMjkxMDItOC4zMTgzNiw1LjY4MTY0LTEyLjcxMDk0LDMuMTQ1NTFsLTgwLjM3Njk1LTQ2LjQwNjI1DQoJCQkJCWMtMjguOTUyMTUsNTAuMDQwMDQtNDUuNTIzNDQsMTA4LjEzOTY1LTQ1LjUyMzQ0LDE3MC4xMDc0MmMwLDE4Ni45NjM4NywxNTEuMzk0NTMsMzQwLjE1NzIzLDM0MC4xNTcyMywzNDAuMTU3MjMNCgkJCQkJYzEyMi40MTQwNiwwLDIyOS43MjM2My02NC42NjQwNiwyODkuNjM4NjctMTYxLjY5NTMxYzIuNzk0OTItNC41MjYzNywxLjI5NDkyLTEwLjQ5MDIzLTMuMzEyNS0xMy4xNTEzN2wtODAuMDgzMDEtNDYuMjM3Mw0KCQkJCQlDMTAxNS40NjY4LDkxMS43NjM2Nyw5MzguNTIxNDgsOTU5LjYzODY3LDg1MC4zOTU1MSw5NTkuNjM4Njd6Ii8+DQoJCQk8L2c+DQoJCQk8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iIzAwRkZEQSIgZD0iTTExMzcuMTg1NTUsNzU4LjExMzI4di03My4xNjc5N2wtNjMuMzY1MjMsMzYuNTgzOTgNCgkJCQlMMTEzNy4xODU1NSw3NTguMTEzMjhMMTEzNy4xODU1NSw3NTguMTEzMjh6IE0xMDI2LjU3NjE3LDcwNS4xNjQwNmwxMjAuMDU4NTktNjkuMzE2NDENCgkJCQljMTIuNTY4MzYtNy4yNTU4NiwyOC4zNDQ3MywxLjg1MjU0LDI4LjM0NTcsMTYuMzY2MjF2MTM4LjYzMDg2Yy0wLjAwMDk4LDE0LjUxMjctMTUuNzc3MzQsMjMuNjIyMDctMjguMzQ1NywxNi4zNjYyMQ0KCQkJCWwtMTIwLjA1ODU5LTY5LjMxNjQxQzEwMTQuMDI4MzIsNzMwLjY0OTQxLDEwMTQuMDI4MzIsNzEyLjQwOTE4LDEwMjYuNTc2MTcsNzA1LjE2NDA2eiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPC9zdmc+DQo=", +a.g.IJ)).toString();b=await SB.xm(b);b=await oC(a.g,b);return await Hi(a.Qa(),b,{qz:"high"})}async function pC(a,b){b=(new URL(b,a.g.IJ)).toString();b=await SB.xm(b);return await Hi(a.Qa(),b,{qz:"high"})} +function qC(a,b){const d=a.Qa();2===b?(a.Zh=SB.A(SB.ea.vF,a.Qa()),rh(a.Zh,"Arial"),a.Zh.DF(16),wh(a.Zh,"center"),xh(a.Zh,"center"),a.Zh.ec(300,200)):0===b?(b=a.g.bu)&&b.zs(d).catch(c=>console.warn("[C3 runtime] Failed to create texture for loading logo: ",c)):4===b&&(nC(a).then(c=>{"done"===a.hl?Dg(d,c):a.dh.nz=c}).catch(c=>console.warn("Failed to load splash image: ",c)),pC(a,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAABABAMAAACekdKMAAAAMFBMVEUAAAByfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYYgo7vbAAAAD3RSTlMAmd137hFVqjO7zCKIRGZ881JRAAAFY0lEQVR42u2aPW/bVhSGn1iiPizZ8D+QgSJBNglFmiboQA0NUKAD1XotYA0BOspAkZnqx24vnTrIQNCpg4QkQMcYKDoW9j9w5y6qLNqWFDlvh3tJUa6ddHBhAuS7SKBIQffhuee851CQKVOmTJkyZcqUKXmqa8O+uyNlABKsFRmdP0o5AOle2gHoWdoBzFrpBHACwPeetJNmAFSlt6kGwGH0LqUAVqRuqgHkpEaqAVRkfvOWr+Dh9Rc4j6VvwnrhPNAbgK2ezj+yx7Z6GjUuASi4Ch4lHQAGwBeRK1rROQAdUx5K0hE4NUkaAdS02ZEuoms2wkCSgvYSgFJfkn6CobkSPG0mEcAOrHnGFOxAToHNjk/MygLgO/PxL0BN9yRdQKlufMQAoCdJGi8BOJYknXTJ269cu9HtdqNb4Ni6oimUbFb0dAZQ1DmULJ+TFtT0qQHwg73mLlCMfFUMQPR5VWrbmttNHICC1KDiSZ+w3pMOwFPDhP4IYFtv4ZX0nIorbUBNmjWAiqdZg5fmNFd6jvPhJQDjAV9LI0r28IpmycsBZalNWfoRWJcuoKY9c7cCkwpOwdcIqNT1BmrSgQkNbQAvpAGOF+aHOIBpCxhKR/TVBNjVOHkAOgrg2N6aoU7sklmVidtD7bNm/fIrjaBmk+Sxea142iBnTyguAfjZZscNXLOdXFM8EgVgXRpDz/6yonTEts6AXdV1APTVoKigFSXEmj3XN0kSV01WFQwAHC8O4Mhagye8NgHS137SALzsS3dxwhtXkQ4oaw64eqomOFKXbc2xJbFLTX8DOHYnsKsJu2Gdu8IIuTqjrMB8eyM5ACIFXQo2S5t7lNMM6AdFTaCgADqahHW8EQIohBk9rzEdE+JXAtjVmHWpDTmplUAA96Ea/bJDnVKSWjgaFTSHqubgmjVDXQchgFy4wBXNcXV6LYC8RjbEypomcCAyBopRShxqAn21yenM8WawqjOoKVbmLYBFndeImsnyVwJY1RR8NW1FTRiA6UNTCsP6fKwLONQBZTXx1WVbT0KbtwygvAxg81oAZU0xe2QYxkmyrDDx2DzWBXTUZFs7dNQwHUEMwN4VAKb47wOQ1wj8Gx0+/Y8A8powVJtt7XOoxn8A8N4IqCrA8cJUmzgAl3JAUWN8tSjqDX0NwI/XbwugGLe178oBK7bBaBesm0gggOUqwLrOHe8c1jV2NAMOw/XFAFRth2dr/burANS1cSc0C8kDsB7zAZvgKCjoLTiaFqwpmvwLQC7e2b3PB4CrZj48KXkAKktOEPr6VqeAr680udzEWACluK0LreJ1ThBe6+w4HkfJAhD1AtbAu3qgPcDVX2oCK9bqxwFQ1+fRsVW7va/uBZpAWaND652TCGBoM1rHHN6VmQlsq6cdE+4mC75oLAC49prKB1zTDd6NukHIKahbIkkEsGrmAQWZbZqXNLClrg04dTP4KnjnCwBfmgkZT7WD45k94C8BmA3MPGBgeqcbfQBxwwDsRMi3N7Iqc3dzsuVhV5ofkevpJOoGKUn6Ax5L92F49USoayZCls08uQDiM0ETCWPb8k7DMmH02SICGC7ayVhnsABwEpsZQkfxUpI4ALGpsFn4xCbHcVjnwgnvAkBh0U6CbzqrXgzA1E6FB9YOJGcacgUAfl36t0Ro/SIDUDEL/D1WBcJr5q0oRoJ2LQZgZJ4LPIu2RCPJAJafDLm2Yr2OHmQ4H0vzBksA2PKl38L3fY0aLAFYejK0ZpJhelVKzkj8dlRNzkj8dpRP0DTkVjTUXroB9PVnqtefS9I05BZU8NOdAyUl5q8RtwUg6KYcwP1Up8CanpMpU6ZMmTLdgP4BRYsi23xEdOAAAAAASUVORK5CYII=").then(c=> +{"done"===a.hl?Dg(d,c):a.dh.uz=c}).catch(c=>console.warn("Failed to load splash image: ",c)),pC(a,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAABABAMAAACekdKMAAAAMFBMVEUAAAByfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYZyfYYgo7vbAAAAD3RSTlMAdxHdu4hmVZnuRMwzqiLYE4y2AAAFw0lEQVR42u2Yy+9LQRTHp6Xq0VIkXkFvwkYslAWJiGJj2a6sJJe/oF3YWGElEQmxkYi4ErFWNpatWFmIx9Lm1sJCLKgqraqv82h726l6hOuRzDf53TtnOr+ZOZ+ZOffca5ycnJycnJycnJycnJycnJz+pi7g2G9osxjvzX8qB8ABcAAcgH8XwDa85dspNOiaRDuAR4U0PnHtDuyy7IJRJS6gvVmL6TywVkp4ZxIhulUxFvlaXQTrgEHbnMDH5XRjlXCdb+uAnc2ojWgFFTYBZ8e9tzcaswAk6v/3K4sPfPNRFj87IXj+KXQUS9m2jXoH1lMuLq2DtEcAtNMBT9PjanFq7ySAhbABVEAaeDaAwkk2D7GRqctAMQJIq2sBauLnB/VxCfqKpWrbRhSC1W5SMQ9RTgBUwKpF1ccmAIQ2gCxE+20Au9nSESvDgeIDkJSBMpA9vgyXdsj0H0GORL3n2fbwPOKoSQS4Q2cBOGzSJbQYAHDbZEI+rEuBcyZRlF71fIP/x0wBuIBOw6xH3xu2GQFAP2cegmvSwHkeqBZjECzB46UXD3bg8UKJCT6QYzgDY9uiU7hC11doERq6MAZ2CPJ7ipEulOrteDcB4KOZBpBG7zrV1JGzATzmIdnrl/go3bRiBJBHlZc+6ItjuQQ+yFLz8Gka2LZFRVTFGdoQJQ0LPodHnXkS8AjlRWkBLwKQswAs0PDzGpcsAAMNuG+5WgdqxwjgEcp8qcBjN5oZdPhEvOfhU/hsbJuVloWV6WWgp2IBLxXQNEwLDfKqoMXrEQBjATiFA3qePlgAZJRl+EStdaAQjfgALOC1zfeX8ALV+7S69JdALWjxHGqztmxyMnTD6OOBWvAdGDkn60c6vrI5H4CPnOJsWQDe8G0hIU0MB8ojFx+AFAeqeitLy5FkL3w0yNNcSOx3oDxjjxaH9XxldZluY5NBfwrAQvQbRjQXAO8UqVq5dh6A7HCgWzgdFwBdgOX4lMZbTndkWWkDN07Bk+zItllLdHm1+FkLwBSADNDf8B0AnGOp5gFYgJEexwcgGQx4iyeD9ybFkWsbDZbv0+2Y8XvGtqMpWsUimpMAzA1AUrj5ALjm2wCoONKB+ACYsEeDlU04MMs4imeJQqljslSuD4xl/zgAsx6ku/8DgDwaO9AwFU56qhzOPiXpKCzCpSSdb8v+CQDmXshb99cARAPFCOA1chWaFXlP55yn2FqEgiFvOSzYtmiJzisKB7MxQPS8iO63YsD3AHDv8QPgjR92eKuf9vts1wdZjvZhN4XajD35FNDiR7ln0LYBaILY+OZT4DsA+BkTP4AUrgXkxSJcDFps+72X7EGlx6mBbU/lAbdQjvKA7hSAlSuHxdw0gORsHrAUnXkAUuj+AQAZdHGRp9bShX2ECz1JRSk4zNhRJqj5SZQJfpgCUNS2eRsAP/usTDAxPxFKA834AZgAOM1z6qGgxxpdmUDQNjP25LtAsojxu0AehSkAF6RLXWR/EkAdVYEevQtswVtpMwuAB1JGh2jbxQcgBKrig/qSxTD6o2Nm7fttSY6uUnErV+jb4CJyaArAI5luJkCDOy5HAPISSB5A3wYbhJERahvtPALAAw2EI9Vzsh2TTuk23qEceN9d4vVVv227hNroe0CRi/o9IKTZTQFIAc/M8jwGEiouG2/042u8u25uAuPvAavRH7XhzqcBpICdRpssRa+aNLFoh2JeyBzU08fih/ht20WZXghW34s+/ZQnAKhzojsSH4CC/sjARPKamLXacOfTAIwfNSkCbROLluG9Tm2gdl3PY178tu2SBIpFQ6fHH//2GAvAogCkjtGDEAFQYPsu6DdBqw11bgFIF8dNHsQGIEFRSDOe0RS9YYJk23JMrw+/Cr9bFX0VXmNsACbhA088qXhBrMYAlq8Gjhh//FX4YNSGO7cASO9n9B99AuHk5OTk5OTk5OTk5OTk5OTk5OT0VX0B7+fX+9cwWYYAAAAASUVORK5CYII=").then(c=> +{"done"===a.hl?Dg(d,c):a.dh.Az=c}).catch(c=>console.warn("Failed to load splash image: ",c)))}function rC(a){$c(a.g,"runtime","hide-cordova-splash")}function sC(a){if(-1!==a.Nf){var b=a.Qa();b.Tv();a.Nf=-1;var d=a.g.tb.TH,c=a.g.au;3!==c&&(kC(a,b),Ai(b),oi(b),Lf(b),pi(b,null));if(0===c)tC(a,d);else if(1===c)uC(a,d,120,0);else if(2===c)vC(a,d);else if(3!==c)if(4===c)wC(a,d);else throw Error("invalid loader style");b.ls();a.Nf=requestAnimationFrame(()=>sC(a))}} +function xC(a){a.Mx=Date.now();a.g.fb().addEventListener("loadingprogress",a.TI);a.Nf=requestAnimationFrame(()=>sC(a));3!==a.g.au&&rC(a)} +async function yC(a){const b=a.Qa();a.fp=1;const d=a.g.au;4===d&&await a.EQ;a.PJ=null;a.EQ=null;-1!==a.Nf&&(cancelAnimationFrame(a.Nf),a.Nf=-1);a.g.fb().removeEventListener("loadingprogress",a.TI);a.TI=null;a.Zh&&(a.Zh.j(),a.Zh=null);var c=a.g;c.bu&&(c.bu.j(),c.bu=null);b.Tv();a.dh.nz&&(Dg(b,a.dh.nz),a.dh.nz=null);a.dh.uz&&(Dg(b,a.dh.uz),a.dh.uz=null);a.dh.Az&&(Dg(b,a.dh.Az),a.dh.Az=null);Ai(b);b.ls();a.hl="done";a.Ro=b.Bj;3===d&&rC(a)} +function tC(a,b){const d=a.Qa();var c=a.g.bu;if(c)if(c=c.Kd()){var e=c.K(),g=c.I(),k=a.zc/2,l=a.fc/2,n=e/2;g/=2;var p=k-n,r=l-g;k+=n;l+=g;XB.set(p,r,k,r,k,l,p,l);pi(d,c);d.Md(XB);uC(a,b,e,g+16)}else uC(a,b,120,0);else uC(a,b,120,0)}function uC(a,b,d,c){const e=a.Qa();Mf(e,e.Ey);b?ni(e,1,0,0,1):ni(e,.118,.565,1,1);b=a.zc/2;const g=a.fc/2,k=d/2;wc(Wf,b-k,g-4+c,Math.floor(d*a.fp),8);e.Rect(Wf);wc(Wf,b-k,g-4+c,d,8);Wf.offset(-.5,-.5);yc(Wf,.5,.5);ni(e,0,0,0,1);Vf(e);yc(Wf,1,1);ni(e,1,1,1,1);Vf(e)} +function vC(a,b){b?(b=a.Zh,Yb(hh,1,0,0),b.wi(hh)):(b=a.Zh,Yb(hh,.6,.6,.6),b.wi(hh));a.Zh.mj(Math.round(100*a.fp)+"%");var d=a.zc/2,c=a.fc/2;b=d-150;var e=c-100;d+=150;c+=100;XB.set(b,e,d,e,d,c,b,c);b=a.Qa();pi(b,a.Zh.Kd());wi(b,XB,a.Zh.ag())} +function wC(a,b){const d=a.Qa(),c=a.dh.nz,e=a.dh.uz,g=a.dh.Az,k=Date.now();0===a.RJ&&(a.Mx=k);const l=a.g.no()||a.g.pZ&&!zC(a.g),n=l?0:200,p=l?0:3E3;let r=1;"fade-in"===a.hl?r=Math.min((k-a.Mx)/300,1):"fade-out"===a.hl&&(r=Math.max(1-(k-a.QJ)/300,0));Mf(d,d.Ey);ni(d,.231*r,.251*r,.271*r,r);Wf.set(0,0,a.zc,a.fc);d.Rect(Wf);const w=Math.ceil(a.zc),v=Math.ceil(a.fc);let y;256=p&&1<=a.fp&&(a.hl="fade-out",a.QJ=k);("fade-out"===a.hl&&k-a.QJ>=300+n||l&&1<=a.fp&&500>k-a.Mx)&&a.PJ()} +SB.bT=class extends SB.ua{constructor(a){super();this.g=a;this.Qg=[];this.uP=!1;this.di=this.Me=null;this.PH="high-performance";this.qP=!1;this.$m=this.Zm=this.Og=this.Pg=this.fc=this.zc=this.Np=this.Op=0;this.Qp="normalized";this.JO=0;this.tK=1;this.rK=1E4;this.nt=!0;this.md=this.zd=this.MQ=0;this.XY=this.PO="letterbox-scale";this.WY=this.VY=0;this.sB=VB.create();this.Li=this.pK="high";this.Lt=!1;this.Qs=[];this.Yy=new Set;this.eD=self.C3_Shaders;this.Ow=SB.A(SB.ea.sT,{CR:()=>[this.zl(),this.yl()], +DR:()=>{const b={ii:this.g.td};"low"===this.Li&&(b.width=this.zl(),b.height=this.yl());return this.jv(b)},$R:b=>{this.pq(b)},getTime:()=>wj(this.F()),ZR:()=>this.F().N()});this.Ph=this.Ro=0;this.Ct=NaN;this.OB=null;this.NI=new Map;this.$w=NaN;this.ED=new Map;this.hD="";this.OJ=1;this.yQ=SB.A(SB.Rect);this.Ay="";this.zQ=this.zy=null;this.Mx=0;this.Nf=-1;this.fp=0;this.TI=b=>this.fp=b.progress;this.Zh=null;this.dh={nz:null,uz:null,Az:null};this.QJ=this.FQ=this.RJ=0;this.hl="fade-in";this.PJ=null;this.EQ= +new Promise(b=>this.PJ=b)}async ki(a){var b=a.canvas;this.Qg.push({canvas:b,rR:null});Uy(this.g,"runtime","window-resize",c=>{const e=this.g;if(null===e.Bd){var g=c.devicePixelRatio;this.Eg()&&(self.devicePixelRatio=g);null===e.Bd&&(e.Pl=g);this.Lt=!!c.isFullscreen;this.ec(c.innerWidth,c.innerHeight);e.N();g=new SB.Event("window-resize");g.data=c;ld(e.fb(),g);c=new SB.Event("resize");c.eca=this.zc;c.dca=this.fc;c.nca=this.Pg;c.mca=this.Og;e.qh(c);e.Ob&&(yt(e)||self.gj.S4())&&e.rq()}});Uy(this.g,"runtime", +"fullscreenchange",c=>{this.Lt=!!c.isFullscreen;this.ec(c.innerWidth,c.innerHeight,!0);this.g.N()});Uy(this.g,"runtime","fullscreenerror",c=>{this.Lt=!!c.isFullscreen;this.ec(c.innerWidth,c.innerHeight,!0);this.g.N()});b.addEventListener("webglcontextlost",c=>{console.log("[Construct] WebGL context lost");c.preventDefault();this.Qs=[];this.Yy.clear();this.Ow.Ch();this.Me.Ch();this.g.OA()});b.addEventListener("webglcontextrestored",()=>ZB(this));this.Lt=!!a.isFullscreen;var d=navigator.gpu&&this.uP; +b=!1;if(d)try{await aC(this,!0)}catch(c){bC("WebGPU",c),this.di=null}if(!this.Qa())try{await cC(this,!0)}catch(c){bC("WebGL",c),this.Me=null}this.Qa()||(b=!0);if(!this.Qa()&&d)try{await aC(this,!1)}catch(c){bC("WebGPU",c),this.di=null}if(!this.Qa())try{await cC(this,!1)}catch(c){bC("WebGL",c),this.Me=null}d=this.Qa();if(!d)throw Error("failed to acquire a renderer - check WebGL or WebGPU is supported");d.UH=!!b;this.di&&(this.di.Kda=()=>{console.log("[Construct] WebGPU device lost");this.Qs=[];this.Yy.clear(); +this.Ow.Ch();this.g.OA()},this.di.Lda=()=>dC(this));"normalized"===this.Qp?d.Qp=!1:(d.Qp=!0,d.EF(this.JO));this.ec(a.windowInnerWidth,a.windowInnerHeight,!0);await this.Hl()}async Hl(){this.di?await eC(this):this.Me&&await fC(this);const a=this.Qa();a.IF(this.nt);a.Dc&&(this.Ct=0);for(const b of this.g.QG){for(const d of b.hj())d.Hl(a);b.Hl(a);b.Ih()}}j(){this.Me=this.g=null;this.Qg.length=0}Eg(){return this.g.Eg()}ec(a,b,d=!1){a=Math.floor(a);b=Math.floor(b);if(0>=a||0>=b)throw Error("invalid size"); +if(this.Op!==a||this.Np!==b||d){this.Op=a;this.Np=b;d=gC(this);if("letterbox-scale"===d){var c=this.g.ym(),e=this.g.Qi,g=this.g.Pi,k=e/g;a/b>k?(this.zc=Math.round(b*k),this.fc=b,this.Zm=Math.floor((a-this.zc)/2),this.$m=0):(this.zc=a,this.fc=Math.round(a/k),this.Zm=0,this.$m=Math.floor((b-this.fc)/2));this.Pg=Math.round(this.zc*c);this.Og=Math.round(this.fc*c);AC(this.g,e,g)}else"letterbox-integer-scale"===d?(c=this.g.ym(),1!==c&&(a+=1,b+=1),e=this.g.Qi,g=this.g.Pi,k=e/g,k=a/b>k?b*k*c/e:a/k*c/g,1< +k?k=Math.floor(k):1>k&&(k=1/Math.ceil(1/k)),this.Pg=Math.round(e*k),this.Og=Math.round(g*k),this.zc=this.Pg/c,this.fc=this.Og/c,this.Zm=Math.max(Math.floor((a-this.zc)/2),0),this.$m=Math.max(Math.floor((b-this.fc)/2),0),AC(this.g,e,g)):"off"===d?(c=this.g.ym(),this.zc=this.g.ih,this.fc=this.g.jf,this.Pg=Math.round(this.zc*c),this.Og=Math.round(this.fc*c),this.Lt?(this.Zm=Math.floor((a-this.zc)/2),this.$m=Math.floor((b-this.fc)/2)):this.$m=this.Zm=0,AC(this.g,this.g.ih,this.g.jf)):(c=this.g.ym(),this.zc= +a,this.fc=b,this.Pg=Math.round(this.zc*c),this.Og=Math.round(this.fc*c),this.$m=this.Zm=0,a=this.ek(),AC(this.g,this.zc/a,this.fc/a));"high"===this.pK?(this.zd=this.Pg,this.md=this.Og,this.Li="high"):("off"===gC(this)?(a=this.g.ih,b=this.g.jf):(a=this.g.Qi,b=this.g.Pi),this.Pgd&&(this.md=this.zd/a)):"scale-outer"===d&&(d=a/b,a=this.Op/ +this.Np,a>d?this.zd=this.md*a:ac||"scale-inner"===a&&e{var g=a;g=Object.assign({},zg,g);return"nearest"!==g.ii!==e.hF()||!!g.alpha!==e.Ps||!!g.depth!==e.Df||2<=e.ya.Sb&&!!g.ZD!==e.yx?!1:"number"===typeof g.width||"number"===typeof g.height?!e.eC&&e.K()===Math.floor(g.width)&&e.I()===Math.floor(g.height):e.eC});let c;-1!==d?(c=b[d],b.splice(d,1)):c=Ii(this.Qa(),a);this.Yy.add(c); +return c}pq(a){if(!this.Yy.has(a))throw Error("render target not in use");this.Yy.delete(a);this.Qs.push(a)}aA(){return this.Ct}BN(a,b,d,c,e,g){this.hD=a;this.OJ=b;wc(this.yQ,d,c,e,g);return this.zy?this.zy:this.zy=new Promise(k=>{this.zQ=k})}};"use strict";const Y=self.B,BC=self.gj,CC={messagePort:null,runtimeBaseUrl:"",headless:!1,hasDom:!0,isInWorker:!1,useAudio:!0,projectData:"",exportType:""};let DC=!0; +function $c(a,b,d,c){a.Rx.postMessage({type:"event",component:b,handler:d,data:c,responseId:null},void 0)}function vj(a,b){return b&&-1!==b.Yd?a.Sq*b.Yd:a.Mw}function wj(a){return a.MB.U()}function xj(a,b,d,c){const e=a.GZ++,g=new Promise((k,l)=>{a.by.set(e,{resolve:k,reject:l})});a.Rx.postMessage({type:"event",component:b,handler:d,data:c,responseId:e},void 0);return g} +function Ej(a,b,d,c,e,g,k){if(k&&a.Yi){const l=bs(a.Yi,b,k);if(l)return b=fn(a,l,d,!1,c,e,!1,g,void 0,g),cs(a.Yi,b,k),b}return fn(a,b,d,!1,c,e,!1,g,void 0,g)}function Ij(a){if(a.QB){for(const b of a.To){const d=b.G();d.yi(b);for(const c of d.Hi)c.yi(b),c.br=!0}Y.D(a.To);a.Nb.Cs(!0);for(const [b,d]of a.$B.entries())EC(a,b,d),d.clear();a.$B.clear();a.Nb.Cs(!1);a.QB=!1;a.N()}}function fm(a,b){b=Math.floor(b);if(0>b||b>=a.kd.length)throw new RangeError("invalid index");return a.kd[b]} +function bn(a,b){if(!a.ir.has(b)){var d=b.G(),c=a.$B.get(d);if(c){if(c.has(b))return;c.add(b)}else c=new Set,c.add(b),a.$B.set(d,c);a.Ob&&BC.K4(b);b.wG();a.QB=!0;if(b.Gc())for(const e of b.ud)bn(a,e);for(const e of b.children())e.lv()&&bn(a,e);0Y.dz(N)):null;b&&C&&C[13]&&(E.ca|=2);E.IA(g,r);a.To.push(E);a.QB=!0;a.Ob&&BC.J4(E);return E}function V(a){return a.dn.length?a.dn.at(-1):a.$a()}function qn(a){return a.Ob&&!!a.Qa().Dc&&qn(BC)}function ao(a,b){return a.hJ.get(b)||null}function bo(a){a.hr.clear();for(const b of a.kd)if(!b.La)for(const d of b.ta())a.hr.set(d.Yb,d)}function GC(a,b){return"low"===a.W.Li||b.ri()&&(a.Zy||a.ml)} +function xp(a,b){if(a.Dj)throw Error("cannot call while loading state - wait until afterload event");return a.hr.get(b)||null}function st(a){if(!a.dn.length)throw Error("layout stack empty");a.dn.pop()}function ut(a,b){return a.If?ut(BC,b):Promise.resolve()}function yt(a){return a.Ob?yt(BC):!1}function iu(a){return a.Ob&&iu(BC)}function wu(a){return a.If?BC.g2():!1}function Qu(a,b){b?a.uH--:a.uH++;a.If=a.Ob&&a.IY&&0===a.uH} +function Vu(a,b){b=Math.floor(b);a=a.NC;if(0>b||b>=a.length)throw Error("invalid object reference");return a[b]}function*Lx(a,b){for(const d of a.To)b.La?uy(d.G(),b)&&(yield d):d.G()===b&&(yield d)}function Ey(a){a.ZB=new WeakMap;Y.D(a.ox)}function Fy(a,b="full",d=null){a.ox.sort(a.XW);for(const c of a.ox)c.zk(a.ZB.get(c),b,d);for(const c of a.ox)c.xG(a.ZB.get(c),b,d);Ey(a)} +function Uy(a,b,d,c){let e=a.yH.get(b);e||(e=new Map,a.yH.set(b,e));if(e.has(d))throw Error(`[Runtime] Component '${b}' already has handler '${d}'`);e.set(d,c)}function jA(a,b,d){d?a.Kt.has(b)||(d=Y.A(Y.Cv),d.EE(a.MB),a.Kt.set(b,d)):a.Kt.delete(b)}function AC(a,b,d){if(a.ih!==b||a.jf!==d)a.ih=b,a.jf=d,a=a.hb,Ao(a),Bo(a)}async function $B(a){await Sn(a.$a(),null,a.Qa());a.Nb.dispatchEvent(Y.A(Y.Event,"renderercontextrestored"));HC(a,!1);a.N()} +async function oC(a,b){var d=d||2048;var c=c||2048;return a.Eg()?(await xj(a,"runtime","raster-svg-image",{blob:b,imageWidth:2048,imageHeight:2048,surfaceWidth:d,surfaceHeight:c,imageBitmapOpts:void 0})).imageBitmap:await self.C3_RasterSvgImageBlob(b,2048,2048,d,c)}function zC(a){return"cordova"===a.Ql} +async function IC(a){const b=Y.A(Y.Hv);var d=[];const c=new Map;for(const e of a.uc)for(const g of e.Yc){const k=g.oc().re;c.has(k)||(c.set(k,null),d.push(b.Kb(async()=>{const l=await zl(k);c.set(k,l)})))}await Promise.all(d);d=[];for(const e of a.uc)for(const g of e.Yc)d.push(b.Kb(async()=>{var k=g.oc();const l=c.get(k.re);k=await sz(k,l);return{B_:await createImageBitmap(k)}}));a=await Promise.all(d);for(const e of c.values())e instanceof ImageBitmap&&e.close&&e.close();return{MK:a}} +async function JC(a,b){return await a.tE("OpusDecode",{arrayBuffer:b},[b])} +function KC(a,b){if(a.tP){var d=b.component,c=b.handler,e=b.data,g=b.dispatchOpts,k=!(!g||!g.dispatchRuntimeEvent);g=!(!g||!g.dispatchUserScriptEvent);var l=b.responseId;if("runtime"===d&&(k&&(b=new Y.Event(c),b.data=e,ld(a.Nb,b)),g)){b=new Y.Event(c,!0);for(const [n,p]of Object.entries(e))b[n]=p;a.qh(b)}if(b=a.yH.get(d))if(b=b.get(c)){k=null;try{k=b(e)}catch(n){console.error(`Exception in '${d}' handler '${c}':`,n);null!==l&&LC(a,l,!1,""+n);return}null!==l&&(k&&k.then?k.then(n=>LC(a,l,!0,n)).catch(n=> +{console.error(`Rejection from '${d}' handler '${c}':`,n);LC(a,l,!1,""+n)}):LC(a,l,!0,k))}else k||g||console.warn(`[Runtime] No DOM handler '${c}' for component '${d}'`);else k||g||console.warn(`[Runtime] No DOM event handlers for component '${d}'`)}else a.oK.push(b)}function LC(a,b,d,c){a.Rx.postMessage({type:"result",responseId:b,isOk:d,result:c})} +async function MC(a){if(!a.tb.KQ["audio/webm; codecs=opus"]){var b=null;try{b=a.EI&&a.tb.Uo?await il(a.tb,a.dQ,"buffer"):await a.tb.gv(a.dQ)}catch(d){console.info("Failed to fetch Opus decoder WASM; assuming project has no Opus audio.",d);return}b?a.Dx.It.postMessage({type:"_send_buffer",buffer:b,id:"opus-decoder-wasm"},[b]):a.Dx.It.postMessage({type:"_send_blob",blob:null,id:"opus-decoder-wasm"});await NC(a,[a.KZ])}} +async function OC(a,b){b=b.project;a.XC=b[0];a.mQ=b[16];a.BJ=b[31];var d=b[39]||"loading-logo.png";a.Vk=!!b[9];a.Qi=a.ih=b[10];a.Pi=a.jf=b[11];OB(a.Di,a.Qi,a.Pi);a.PC=a.Qi/2;a.QC=a.Pi/2;a.gt=b[36];a.LB=b[37];"low-latency"===a.gt&&"Android"===Y.V.Ld&&("cordova"===a.Ql||"playable-ad"===a.Ql||"instant-games"===a.Ql)&&77>=Y.V.Gz&&(console.warn("[C3 runtime] Desynchronized (low-latency) compositing is enabled, but is disabled in the Android WebView <=77 due to crbug.com/1008842. Reverting to synchronized (standard) compositing."), +a.gt="standard");a.ml=!!b[40];a.td=b[14];a.Zy=b[15];a.XQ=b[42];a.kK=b[17];a.AD=!!b[18];a.au=b[19];a.Xx=b[21];a.gQ=b[22];const c=a.tb;dl(c,b[45]);pl(c,b[7],b[25]);c.UP=b[8];c.dP=b[28];$k.Gd(c.qK,b[29]);c.qK.length&&c.EC.push(nl(c));if(0===a.au){let n="";a.no()?el(c,d)&&(n=gl(c,d)):n="flat"===c.Ji?c.dP+d:d;n&&(a.bu=c.sA({url:n}))}a.W&&(hC(a.W,jC(b[12])),iC(a.W,b[23]?"high":"low"),a.W.IF(0!==b[24]),a.W.PH=b[34],a.W.MQ=b[41],a.W.uP=!!b[13],a.W.Qp=b[30],YB(a.W,b[46],b[47]),a.W.JO=b[26],a.W.qP=!!b[48]); +(d=b[43])&&await PC(a,d);mz(a.mp);a.NC=self.KL();for(var e of b[2])lz(a.mp,e);a.NC=self.KL();QC(a);for(var g of b[3])e=Y.tA.Ma(a,a.kd.length,g),a.kd.push(e),a.Yx.set(e.na().toLowerCase(),e),a.hJ.set(e.eb,e);for(const n of b[4])Gz(a.kd[n[0]],n);for(var k of b[27])g=k.map(n=>a.kd[n]),a.wY.push(Y.A(Y.hT,a,g));for(const n of a.kd)Hz(n);for(const n of b[5])a.hb.Ma(n);if(k=b[1])if(k=yo(a.hb,k))a.hb.EB=k;for(var l of b[33])a.Jb.Ma(l);for(const n of b[35])a.$J.Ma(n);for(const n of b[44])a.Yi.Ma(n);as(a.Yi)|| +(a.Yi.j(),a.Yi=null);for(const n of b[49])a.mg.Ma(n);a.mg.XE()||(a.mg.j(),a.mg=null);RC(a);for(const n of b[6])a.Ka.Ma(n);a.Ka.ac();SC(a);Y.D(a.NC);Ij(a);l="any";b=b[20];1===b?l="portrait":2===b&&(l="landscape");$c(a,"runtime","set-target-orientation",{targetOrientation:l})}async function TC(a,b){a.W&&(await a.W.ki(b),qC(a.W,a.au))}async function UC(a,b){try{await b(a.Rk)}catch(d){console.error("[C3 runtime] Error in runOnStartup function: ",d)}} +async function PC(a,b){const d=b.format;"image-sequence"===d?a.Bd=new self.j2(a,b):"image-sequence-gif"===d?a.Bd=new self.i2(a,b):"webm"===d?a.Bd=new self.m2(a,b):"mp4"===d&&(a.Bd=new self.l2(a,b));a.LB="unlimited-frame";hC(a.W,"off");a.Pl=1;self.devicePixelRatio=1;await xj(a,"runtime","set-exporting-to-video",{message:a.Bd.o4(0),duration:a.Bd.Nw})}function QC(a){for(const b of self.YS){const d=Y.first(Object.keys(b));a.wP.push(d)}} +function RC(a){const b={};for(const d of a.kd)b[d.gk()]={value:d.jx,enumerable:!0,writable:!1};Object.create(Object.prototype,b);a.Rk=new self.wU(a);a.WQ={tick:VC(a,"tick")}}function SC(a){const b={};for(const d of a.Aa().SG)b[d.gk()]=pt(d);Object.defineProperties(a.Rk.P_,b)}function WC(a,b){a.SA.push(b)} +async function NC(a,b){b=await Promise.all(b.map(async d=>{const c=Y.oA(d)&&(new URL(d)).origin!==location.origin,e=zC(a)&&a.tb.Uo;return c||e||a.no()||"playable-ad"===a.Ql?(d=await a.tb.xm(d),URL.createObjectURL(d)):Y.ys(d)?(new URL(d,a.IJ)).toString():d}));a.Dx.It.postMessage({type:"_import_scripts",scripts:b})}function XC(a){a.oa(Y.C.cb.J.NV,null,null);$c(a,"runtime","register-sw")}function*YC(a){for(const b of a.kd)b.La||(yield*b.iz())} +function FC(a,b,d,c,e,g,k,l){var n=(n=QA.get(c))?n.BL:NaN;var p=Yz(c);c=b.m();RA.set(c,n);if(p){"undefined"===typeof g&&(g=d[0]);"undefined"===typeof k&&(k=d[1]);n=new Set;c=d[0];d=d[1];for(const E of p){var r=E[0],w=E[1],v=E[2];p=E[3];var y=!!E[4];const F=E[5];var C=E[6];w=C?C:(a.hb.Jx.get(r)||null).O(w).gI.get(v);r=fm(a,w[1]);v=!!gA(b,r);C=n.has(r);v&&!C&&y?(y=gA(b,r),v=g+w[0][0]-c,w=k+w[0][1]-d,y.m().Gl(v,w),w=y.m(),RA.set(w,F),b.ji(y,{bs:!!(p>>0&1),ds:!!(p>>1&1),Vp:!!(p>>2&1),Up:!!(p>>3&1),Yr:!!(p>> +4&1),Ou:!!(p>>5&1),es:!!(p>>6&1),Zr:!!(p>>7&1),$r:!!(p>>8&1)}),n.add(r)):(r=fn(a,w,e,!1,g+w[0][0]-c,k+w[0][1]-d,!1,!0,b,l),y=r.m(),RA.set(y,F),b.ji(r,{bs:!!(p>>0&1),ds:!!(p>>1&1),Vp:!!(p>>2&1),Up:!!(p>>3&1),Yr:!!(p>>4&1),Ou:!!(p>>5&1),es:!!(p>>6&1),Zr:!!(p>>7&1),$r:!!(p>>8&1)}))}}} +function EC(a,b,d){for(const e of d){var c=a.Tq.instancedestroy;c.instance=e;a.Nb.dispatchEvent(c);a.hr.delete(e.Yb);a.Kt.delete(e);if(c=e.m())qB(c),cn(c),c.wG();a.ir.add(e);a.iJ--}Y.ei(b.ta(),d);b.br=!0;a.aC.add(b);0===b.ta().length&&(b.ow=!1);for(const e of b.Hi)Y.ei(e.ta(),d),e.br=!0,a.aC.add(e);if(b.ab().Xd){a=new Set([...d].map(e=>e.m().O()));for(const e of a)0!==d.size&&0a.vu&&(a.vu=0);b=a.lq();!d&&b?(console.log("[Construct] Suspending"),-1!==a.Nf&&(self.cancelAnimationFrame(a.Nf),a.Nf=-1),-1!==a.Cn&&(Y.aT(a.Cn),a.Cn=-1),a.Nb.dispatchEvent(Y.A(Y.Event,"suspend")),a.oa(Y.C.cb.J.XV,null,null)):d&&!b&&(console.log("[Construct] Resuming"),d=performance.now(),a.xC=d,a.Wq=d,a.KB=0,a.Yw=0,a.FC=0,a.vn=0,a.Nb.dispatchEvent(Y.A(Y.Event,"resume")),a.oa(Y.C.cb.J.TV,null,null),yt(a)||a.Se(d))}} +function ZC(a){const b=a.YZ;"vsync"===a.LB?-1===a.Nf&&(a.Nf=self.requestAnimationFrame(b.VR)):"unlimited-tick"===a.LB?(-1===a.Cn&&(a.Cn=Y.wF(b.J0)),-1===a.Nf&&(a.Nf=self.requestAnimationFrame(b.y0))):-1===a.Cn&&(a.Cn=Y.wF(b.VR))}function*$C(a){Nd(a.Eo,!0);for(const b of a.Eo){const d=b.Se();Y.lo(d)&&(yield*d)}Nd(a.Eo,!1)}function*aD(a){Nd(a.Iq,!0);for(const b of a.Iq)Y.lo()&&(yield*void 0);Nd(a.Iq,!1)}function*bD(a){Nd(a.Fo,!0);for(const b of a.Fo){const d=b.Uv();Y.lo(d)&&(yield*d)}Nd(a.Fo,!1)} +async function cD(a){const b=a.Ka,d=a.Ob;Ij(a);Fj(b,!0);a.dn.push(a.$a());d&&BC.Is();if(a.If)await It(b);else if(b.$h.length){var c=b.Zf(),e=!1;b.Dn++;for(let k=0,l=b.$h.length;kd++;)await lD(a,b.Ri)} +async function mD(a){const b=a.Ka,d=a.Nb,c=a.Tq,e=a.Ob,g=a.If;e&&BC.Is();if(g)await tt(b,a.hb);else{var k=a.hb;for(const l of b.Os)l.Et=!1;b.Dn++;for(const l of zo(k))if(k=l.nd)b.g.dn.push(l),k.za(),st(b.g);b.Dn--}e&&BC.FS();BB.D(a.Di.ly);nD(a);a.xI=!1;Fj(b,!0);e&&BC.Is();if(g)await eD(a,bD(a));else{Nd(a.Fo,!0);for(const l of a.Fo)l.Uv();Nd(a.Fo,!1)}e&&BC.CS();e&&BC.Is();g?await eD(a,md(a.Nb,c.tick2)):d.dispatchEvent(c.tick2);e&&BC.GS();Fj(b,!1);g&&await zt(b)} +async function eD(a,b){if(b)for(const d of b)await ut(a,d)}function nD(a){if(0!==a.ir.size){var b=a.Nb;b.Cs(!0);for(var d of a.aC)d.fl.qq(a.ir);a.aC.clear();d=a.Ka;var c=a.ir;for(const e of d.$h)e.qq(c);for(const e of a.ir)e.j();a.ir.clear();b.Cs(!1)}} +async function lD(a,b){const d=a.Nb,c=a.hb.$a();await ro(c);if(b!==c&&a.Qa())for(const e of c.Zi)e.rf()||b.dr.has(e)||(e.Gm(),c.Zi.delete(e));c===b&&to(a.Ka);BB.D(a.Di.ly);nD(a);d.dispatchEvent(a.Tq.beforelayoutchange);Y.av.wN(!0);await Sn(b,c,a.Qa());Y.av.wN(!1);await ho(b,!1);d.dispatchEvent(a.Tq.layoutchange);a.N();a.xI=!0;Ij(a);a.Bd&&Pp(a.Bd.nb.mi())}function oD(a){var b=a.Qa();a=a.jf;return b.Qp?1:a/(2*b.wu)/b.ne(a)} +function pD(a,b){if(!a.cP.has(b)){var d=()=>{Ne(a.Hn,b)};a.cP.set(b,d);b.fb().addEventListener("animationframeimagechange",d)}d=Me(a.Hn,b);d.WH||Re(d).then(()=>a.N());return d}async function gD(a,b){const d=await qD(a);try{await rD(a).setItem(b,d),console.log("[Construct] Saved state to storage ("+d.length+" chars)"),a.mr=d,await a.Ud(Y.C.cb.J.UV,null),a.mr=""}catch(c){console.error("[Construct] Failed to save state to storage: ",c),await a.Ud(Y.C.cb.J.VV,null)}} +function hD(a){a.qy="";a.Lx="";a.$t=null}async function iD(a,b){try{const d=await rD(a).getItem(b);if(!d)throw Error("empty slot");console.log("[Construct] Loaded state from storage ("+d.length+" chars)");await jD(a,d);a.mr=d;await a.Ud(Y.C.cb.J.PM,null);a.mr=""}catch(d){console.error("[Construct] Failed to load state from storage: ",d),await a.Ud(Y.C.cb.J.QM,null)}} +async function jD(a,b){var d=a.hb;b=JSON.parse(b);if(b.c2save)throw Error("C2 saves are incompatible with C3 runtime");if(!b.c3save)throw Error("not valid C3 save data");if(1l||l>=k.length)throw Error("missing sibling instance");r.ud.push(k[l])}}a.Jb.ra(b.timelines);a.mg&&a.mg.ra(b.flowcharts);Ao(d);Bo(d);a.Nb.dispatchEvent(Y.A(Y.Event,"afterload"));Fy(a);for(var [n]of Object.entries(b.types))if(d=ao(a,parseInt(n,10)))d.CC=null;n=VC(a,"load");n.saveData=b.user_script_data;await a.vm(n);a.N()} +function rD(a){a.JJ||(a.JJ=localforage.DK({name:"c3-savegames-"+a.BJ,description:a.XC}));return a.JJ} +async function qD(a){const b={c3save:!0,version:1,rt:{time:wj(a),timeRaw:a.Zw.U(),walltime:a.Nr.U(),timescale:a.Yd,tickcount:a.$i,next_uid:a.Xx,running_layout:a.$a().eb,start_time_offset:Date.now()-a.vp},types:{},layouts:{},events:a.Ka.pa(),timelines:a.Jb.pa(),flowcharts:a.mg?a.mg.pa():null,user_script_data:null};for(var d of a.kd)d.La||Dz(d,Sv.Pb.lF)||(b.types[d.eb.toString()]=d.pa());for(const c of a.hb.pj)b.layouts[c.eb.toString()]=c.pa();d=VC(a,"save");d.saveData=null;await a.vm(d);b.user_script_data= +d.saveData;return JSON.stringify(b)}function VC(a,b){b=Y.A(Y.Event,b,!1);b.Ne=a.Rk;return b}function sD(a){a.zO||(a.zO=!0,$c(a,"runtime","enable-device-orientation"))}function tD(a){a.yO||(a.yO=!0,$c(a,"runtime","enable-device-motion"))} +Y.nN=class extends Y.ua{constructor(a){a=Object.assign({},CC,a);super();this.Rx=a.messagePort;this.IJ=a.runtimeBaseUrl;this.tZ=!!a.isInWorker;DC=a.ife;this.Ql=a.exportType;this.EI=!!a.isiOSCordova;this.pZ=!!a.isFBInstantAvailable;this.KZ=a.opusWasmScriptUrl;this.dQ=a.opusWasmBinaryUrl;this.If=this.IY=this.Ob=!("preview"!==this.Ql||!a.isDebug);this.uH=0;this.SA=[];this.uY=[];this.BJ=this.mQ=this.XC="";this.Pi=this.Qi=0;this.Pl=self.devicePixelRatio;this.au=this.jf=this.ih=this.QC=this.PC=0;this.AD= +!1;this.Th=!0;this.kK=this.XQ=this.Zy=!1;this.bu=null;this.tb=Y.A(Y.PS,this,a);this.hb=Y.A(Y.eV,this);this.Ka=Y.A(Y.wT,this);this.mp=Y.A(Y.lW,this,a.wrapperComponentIds);this.Di=Y.A(Y.cT,this);this.Jb=Y.A(Y.uX,this);this.$J=Y.A(Y.wX,this);this.Yi=Y.A(Y.jX,this);this.mg=Y.A(Y.FT,this);this.Hn=Y.A(Y.mX,{M_:b=>{const d=[];for(const c of b.uc)for(const e of c.Yc)b=e.oc(),d.push({source:e,width:b.K(),height:b.I(),tag:e.Wi});return{MK:d}},L_:b=>IC(b)});this.cP=new Map;this.kd=[];this.Yx=new Map;this.hJ= +new Map;this.GO=0;this.wY=[];this.QG=new Set;this.dn=[];this.To=[];this.$B=new Map;this.QB=!1;this.Xx=this.iJ=0;this.hr=new Map;this.ir=new Set;this.aC=new Set;this.NC=[];this.wP=[];this.W=null;this.ml=!1;this.LB="vsync";this.gt="standard";this.td="trilinear";this.Vk=!1;this.eJ=!0;this.BI=this.gQ=!1;this.Bd=null;this.YZ={VR:b=>{this.Cn=this.Nf=-1;this.Se(b)},J0:b=>{this.Cn=-1;this.Se(b,!1,"skip-render")},y0:()=>{this.Nf=-1;this.rq()}};this.Cn=this.Nf=-1;this.zp=this.$i=0;this.aP=this.jC=this.RB=!1; +this.xI=!0;this.vu=0;this.cm=()=>Math.random();this.Mw=this.Sq=this.xC=this.vp=0;this.Yd=1;this.XP=30;this.MB=Y.A(Y.Cv);this.Zw=Y.A(Y.Cv);this.Nr=Y.A(Y.Cv);this.Kt=new Map;this.KB=-1;this.FC=this.vn=this.Yw=this.Wq=0;this.Dj=!1;this.Lx=this.qy="";this.$t=null;this.mr="";this.JJ=this.AJ=null;this.Nb=Y.A(Y.Event.fb);this.yH=new Map;this.by=new Map;this.GZ=0;this.tP=this.yO=this.zO=!1;this.oK=[];this.Tq={pretick:Y.A(Y.Event,"pretick",!1),tick:Y.A(Y.Event,"tick",!1),tick2:Y.A(Y.Event,"tick2",!1),instancedestroy:Y.A(Y.Event, +"instancedestroy",!1),beforelayoutchange:Y.A(Y.Event,"beforelayoutchange",!1),layoutchange:Y.A(Y.Event,"layoutchange",!1)};this.Tq.instancedestroy.instance=null;this.gf=Y.A(Y.Event.fb);this.WQ=null;this.Eo=Y.A(Y.oq,Y.Ez.UF);this.Iq=Y.A(Y.oq,Y.Ez.UF);this.Fo=Y.A(Y.oq,Y.Ez.UF);this.Dx=Y.A(Y.$U,this,a.jobScheduler);a.canvas&&(this.W=Y.A(Y.bT,this));this.Rx.onmessage=b=>this._OnMessageFromDOM(b.data);Uy(this,"runtime","visibilitychange",b=>{b=b.hidden;HC(this,b);b||this.N()});Uy(this,"runtime","wrapper-extension-message", +b=>{if(-1!==b.asyncId){const d=b.asyncId;this.by.get(d).resolve(b.params);this.by.delete(d)}else KC(this,{component:"wrapper-extension:"+b.componentId,handler:b.messageId,data:b.params,responseId:null})});Uy(this,"runtime","opus-decode",b=>JC(this,b.arrayBuffer));Uy(this,"runtime","get-remote-preview-status-info",()=>{const b=this.Qa();return{fps:this.Yw,cpu:this.FC,gpu:this.aA(),layout:this.$a()?this.$a().na():"",renderer:b.ri()?b.Vy:b.dM()}});Uy(this,"runtime","js-invoke-function",b=>this.MA(b)); +Uy(this,"runtime","go-to-last-error-script",self.goToLastErrorScript);Uy(this,"runtime","offline-audio-render-completed",b=>{this.Bd.F6(b)});this.Nb.addEventListener("window-blur",b=>{this.no()&&this.gQ&&!Y.V.kq&&!b.data.parentHasFocus&&(HC(this,!0),this.BI=!0)});this.Nb.addEventListener("window-focus",()=>{this.BI&&(HC(this,!1),this.BI=!1)});this.Jb.uE();this.Yi.uE();this.Rk=null;this.kP=new WeakMap;this.Ew={keyboard:null,TR:null,wL:null};this.ZB=new WeakMap;this.ox=[]}static Ma(a){return Y.A(Y.nN, +a)}j(){Y.D(this.kd);this.Yx.clear();this.hJ.clear();this.hb.j();this.hb=null;this.Ka.j();this.Ka=null;this.mp.j();this.mp=null;this.tb.j();this.tb=null;this.Di.j();this.Di=null;this.Jb.j();this.Jb=null;this.$J.j();this.$J=null;this.Yi.j();this.Yi=null;this.mg.j();this.mg=null;this.Hn.j();this.Hn=null;this.W&&(this.W.j(),this.W=null);this.Nb.j();this.Nb=null}_OnMessageFromDOM(a){var b=a.type;if("event"===b)KC(this,a);else if("result"===b){b=a.responseId;const d=a.isOk;a=a.result;const c=this.by.get(b); +d?c.resolve(a):c.reject(a);this.by.delete(b)}else throw Error(`unknown message '${b}'`);}async Ah(a){this.Ob?await BC.Ah(this):self.gj&&self.gj.I4(this);var [b]=await Promise.all([this.tb.YL("data.json"),MC(this),this.Dx.Ah()]);await OC(this,b);await TC(this,a);this.no()||console.info("Made with Construct, the game and app creator :: https://www.construct.net");this.xv()?(b=this.xv(),console.info(`[C3 runtime] Hosted in ${this.Eg()?"worker":"DOM"}, rendering with WebGL ${b.Sb} [${b.Vy}] (${b.fO.desynchronized? +"desynchronized":"standard"} compositing)`)):this.iq()&&console.info(`[C3 runtime] Hosted in ${this.Eg()?"worker":"DOM"}, rendering with WebGPU [${this.iq().dM()}]`);this.Qa().UH&&console.warn("[C3 runtime] The renderer indicates a major performance caveat. Software rendering may be in use. This can result in significantly degraded performance.");this.tP=!0;for(const d of this.oK)KC(this,d);Y.D(this.oK);this.W&&xC(this.W);for(const d of a.runOnStartupFunctions)this.SA.push(UC(this,d));await Promise.all([ml(this.tb), +...this.SA]);Y.D(this.SA);if(this.tb.TH)this.W&&rC(this.W);else return this.W&&await yC(this.W),await kd(this.Nb,new Y.Event("beforeruntimestart")),await this.Tv(),this.Rx.postMessage({type:"runtime-ready"}),this}async Tv(){this.RB=!0;this.vp=Date.now();if(this.AD){for(var a of this.kd)a.La||a.AI||!a.Xd||a.rc();ml(this.tb).then(()=>{this.Th=!1;XC(this)})}else this.Th=!1;this.tb.XO=!0;this.Ob&&BC.V8(DC);for(const b of this.hb.pj)po(b);null!==this.Bd&&await this.Bd.Ah({width:this.W.Pg,height:this.W.Og}); +a=xo(this.hb);await Sn(a,null,this.Qa());await ho(a,!0);this.Wq=performance.now();this.AD||XC(this);(await xj(this,"runtime","before-start-ticking")).isSuspended&&null===this.Bd?this.vu++:this.Se()}gk(a){a=Math.floor(a);const b=this.wP;if(0>a||a>=b.length)throw Error("invalid prop reference");return b[a]}Eg(){return this.tZ}Aa(){return this.Ka}Hd(){return this.Ka.Hd()}Zf(){return this.Ka.Zf()}Tb(){return this.Ka.Tb()}th(){return this.Ka.th()}kv(){return this.Ka.kv()}uv(){return this.mp.uv()}fb(){return this.Nb}qh(a){a.Ne= +this.Rk;const b=this.Ob&&!Hj(this.Ka);b&&BC.WF();this.gf.dispatchEvent(a);b&&BC.vE()}vm(a){a.Ne=this.Rk;return kd(this.gf,a)}ym(){return this.Pl}zl(){return this.W?this.W.zl():this.ih}yl(){return this.W?this.W.yl():this.jf}rs(){return this.W?this.W.rs():1}ek(){return this.W?this.W.ek():1}ov(){return this.W?this.W.ov():1}nv(){return this.W?this.W.nv():1}Tz(){return this.W?this.W.Tz():0}Uz(){return this.W?this.W.Uz():0}$z(){return this.W?this.W.$z():"off"}jv(a){return this.W?this.W.jv(a):null}pq(a){this.W&& +this.W.pq(a)}aA(){return this.W?this.W.aA():NaN}hF(){return"nearest"!==this.td}$a(){return this.hb.$a()}sA(a){return this.tb.sA(a)}OA(){this.Nb.dispatchEvent(Y.A(Y.Event,"renderercontextlost"));HC(this,!0);for(var a of this.kd)!a.La&&0=this.Bd.Nw)){this.Bd.ls();return}this.lq()||c||ZC(this);this.$i++;this.zp++;this.jC=!1;this.vn+=performance.now()-b}}N(){this.eJ=!0}xv(){return this.W?this.W.xv():null}iq(){return this.W? +this.W.iq():null}Qa(){return this.W?this.W.Qa():null}rq(){const a=this.W;if(a&&!Gh(a.Qa())){var b=this.Qa(),d=!!b.Dc,c=d&&b.ri();d=d&&!1;if(c)for(var e of b.TA){var g=b.Bj;for(var k of e.Ml){if(k.Bj>=g)break;if(k.Vo)break;k.CE()}}if(this.eJ||null!==this.Bd){k=this.hb.$a();b.Tv();(e=this.Ob)&&BC.Is();this.eJ=!1;g=null;c&&(g=Nh(a.OB),Qi(b,g));c=null;d&&(c=b.eaa(2*(1+k.Wc.length)),b.OX(0));if(this.ml&&"low"===a.Li){var l=a.zl(),n=a.yl();b.lm&&(b.qI=!1,ki(b,l,n))}else b.lm&&(b.qI=!0,ki(b,b.P,b.R));l= +this.Qa();Lf(l);ri(l);ni(l,1,1,1,1);Ji(l,null);pi(l,null);Ci(l,this.ml);GC(this,l)&&vo(k,l);n=k.pv();for(var p=1;p=v.Qg.length||(r=v.Qg[0].canvas,w=v.Qg[w].rR,w.globalCompositeOperation="copy",w.drawImage(r,0,0))}GC(this,l)||vo(k,l);Ji(l,k.We);l.Rd(Rn(k));k.g.ml&&Bi(l);n=Km(k,0);sn(k,l,k.We,n,!0);k.Js()&&(Ci(l,!1),n=k.We,p= +k.g,0===k.Oa.Jh.length?(Ji(l,null),Lf(l),Li(l,n),Mi(l,n),p.pq(n)):(xn.set(0,0,p.ih,p.jf),k.fk().rq(l,null,{CK:k,qm:3,devicePixelRatio:k.g.nv(),SK:k.g.ov()*k.ad,RK:k.Da(),lz:xn,SD:null,NK:!0})));k.We=null;g&&Ri(b,g);d&&(b.OX(1),d=this.W,d.ED.set(d.di.Bj,c));b.ls();e&&(BC.j1(),BC.bba());a&&mC(a)}else b.Bj++}}oa(a,b,d){if(!this.RB)return!1;var c=!this.jC&&!(0a)a=0;this.Yd=a}yN(a){this.XP=Y.X(a,1,120)}no(){return"preview"===this.Ql}ne(a){return this.Qa().ne(a|| +this.jf)}kF(a){this.$t=a}XW(a,b){return a.m().Py-b.m().Py}tE(a,b,d,c){return this.Dx.tE(a,b,d,null,null,c)}MA(a){return this.Ka.MA(a.name,a.params)}};self.C3_CreateRuntime=Y.nN.Ma;self.C3_InitRuntime=(a,b)=>a.Ah(b);"use strict";const uD=self.B; +function vD(a,b){var d=b.data,c=d.type;b=d.jobId;switch(c){case "result":d=d.result;c=a.Yo.get(b);if(!c)throw Error("invalid job ID");c.MD||c.resolve(d);a.Yo.delete(b);break;case "progress":d=d.progress;a=a.Yo.get(b);if(!a)throw Error("invalid job ID");!a.MD&&a.progress&&a.progress(d);break;case "error":d=d.error;c=a.Yo.get(b);if(!c)throw Error("invalid job ID");c.MD||c.reject(d);a.Yo.delete(b);break;case "ready":a.ux&&(a.ux=!1,a.Ex++,a.Ex=a.QP||a.ux||a.VO||xD(a)<=a.Ex))try{a.ux=!0,(await xj(a.g,"runtime","create-job-worker")).outputPort.onmessage=b=>vD(a,b)}catch(b){a.VO=!0,a.ux=!1,console.error(`[Construct] Failed to create job worker; stopping creating any more (created ${a.Ex} so far)`,b)}}function xD(a){let b=0;a=[...a.Yo.values()].sort((d,c)=>(d.VK||Infinity)-(c.VK||Infinity));for(const d of a)b<(d.VK||Infinity)&&b++;return b} +uD.$U=class extends uD.ua{constructor(a,b){super();this.g=a;this.Yo=new Map;this.IZ=0;this.It=b.inputPort;b.outputPort.onmessage=d=>vD(this,d);this.QP=b.maxNumWorkers;this.Ex=1;this.VO=this.ux=!1}async Ah(){}tE(a,b,d,c,e,g){d||(d=[]);if("number"===typeof g&&(g=Math.floor(g),0>=g))throw Error("invalid maxWorkerNum");const k=this.IZ++;a={type:a,isBroadcast:!1,maxWorkerNum:g,jobId:k,params:b,transferables:d};b=new Promise((l,n)=>{this.Yo.set(k,{resolve:l,progress:c,reject:n,MD:!1,VK:g})});e&&Ed(e,()=> +{const l=this.Yo.get(k);l&&(l.MD=!0,l.resolve=null,l.progress=null,l.reject=null,this.It.postMessage({type:"_cancel",jobId:k}))});this.It.postMessage(a,d);wD(this);return b}};self.C3_Shaders={}; +self.C3_Shaders.hsladjust={FR:"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nprecision mediump float;\nuniform float huerotate;\nuniform float satadjust;\nuniform float lumadjust;\nvec3 rgb_to_hsl(vec3 color)\n{\nvec3 hsl = vec3(0.0, 0.0, 0.0);\nfloat fmin = min(min(color.r, color.g), color.b);\nfloat fmax = max(max(color.r, color.g), color.b);\nfloat delta = fmax - fmin;\nhsl.z = (fmax + fmin) / 2.0;\nif (delta == 0.0)\n{\nhsl.x = 0.0;\nhsl.y = 0.0;\n}\nelse\n{\nif (hsl.z < 0.5)\nhsl.y = delta / (fmax + fmin);\nelse\nhsl.y = delta / (2.0 - fmax - fmin);\nfloat dR = (((fmax - color.r) / 6.0) + (delta / 2.0)) / delta;\nfloat dG = (((fmax - color.g) / 6.0) + (delta / 2.0)) / delta;\nfloat dB = (((fmax - color.b) / 6.0) + (delta / 2.0)) / delta;\nif (color.r == fmax)\nhsl.x = dB - dG;\nelse if (color.g == fmax)\nhsl.x = (1.0 / 3.0) + dR - dB;\nelse if (color.b == fmax)\nhsl.x = (2.0 / 3.0) + dG - dR;\nif (hsl.x < 0.0)\nhsl.x += 1.0;\nelse if (hsl.x > 1.0)\nhsl.x -= 1.0;\n}\nreturn hsl;\n}\nfloat hue_to_rgb(float f1, float f2, float hue)\n{\nif (hue < 0.0)\nhue += 1.0;\nelse if (hue > 1.0)\nhue -= 1.0;\nfloat ret;\nif ((6.0 * hue) < 1.0)\nret = f1 + (f2 - f1) * 6.0 * hue;\nelse if ((2.0 * hue) < 1.0)\nret = f2;\nelse if ((3.0 * hue) < 2.0)\nret = f1 + (f2 - f1) * ((2.0 / 3.0) - hue) * 6.0;\nelse\nret = f1;\nreturn ret;\n}\nvec3 hsl_to_rgb(vec3 hsl)\n{\nvec3 rgb = vec3(hsl.z);\nif (hsl.y != 0.0)\n{\nfloat f2;\nif (hsl.z < 0.5)\nf2 = hsl.z * (1.0 + hsl.y);\nelse\nf2 = (hsl.z + hsl.y) - (hsl.y * hsl.z);\nfloat f1 = 2.0 * hsl.z - f2;\nrgb.r = hue_to_rgb(f1, f2, hsl.x + (1.0 / 3.0));\nrgb.g = hue_to_rgb(f1, f2, hsl.x);\nrgb.b = hue_to_rgb(f1, f2, hsl.x - (1.0 / 3.0));\n}\nreturn rgb;\n}\nvoid main(void)\n{\nvec4 front = texture2D(samplerFront, vTex);\nvec3 rgb = rgb_to_hsl(front.rgb) + vec3((huerotate > 0.5 ? huerotate - 1.0 : huerotate), 0, (lumadjust - 1.0) * front.a);\nrgb.y *= satadjust;\nrgb = hsl_to_rgb(rgb);\ngl_FragColor = vec4(rgb, front.a);\n}",GR:"", +Q0:"%%SAMPLERFRONT_BINDING%% var samplerFront : sampler;\n%%TEXTUREFRONT_BINDING%% var textureFront : texture_2d;\nstruct ShaderParams {\nhuerotate : f32,\nsatadjust : f32,\nlumadjust : f32\n};\n%%SHADERPARAMS_BINDING%% var shaderParams : ShaderParams;\n%%C3_UTILITY_FUNCTIONS%%\n%%FRAGMENTINPUT_STRUCT%%\n%%FRAGMENTOUTPUT_STRUCT%%\n@fragment\nfn main(input : FragmentInput) -> FragmentOutput\n{\nvar front : vec4 = textureSample(textureFront, samplerFront, input.fragUV);\nvar huerotate : f32 = shaderParams.huerotate;\nif (huerotate > 0.5)\n{\nhuerotate = huerotate - 1.0;\n}\nvar rgb : vec3 = c3_RGBtoHSL(front.rgb) + vec3(huerotate, 0.0, (shaderParams.lumadjust - 1.0) * front.a);\nrgb.y = rgb.y * shaderParams.satadjust;\nrgb = c3_HSLtoRGB(rgb);\nvar output : FragmentOutput;\noutput.color = vec4(rgb, front.a);\nreturn output;\n}", +l_:!1,P0:!1,C_:0,D_:0,u_:!1,n0:!1,u0:!0,h_:!1,parameters:[["huerotate",0,"percent"],["satadjust",0,"percent"],["lumadjust",0,"percent"]]};"use strict";const yD=self.B;let zD=null,AD="",BD="",CD=[],DD="",ED="",FD="";const GD=yD.A(yD.NS);function HD(a,b){a=a[1];b=b[1];if("number"===typeof a&&"number"===typeof b)return a-b;a=""+a;b=""+b;return ab?1:0}function ID(a,b){zD&&a===AD&&b===BD||(zD=new RegExp(a,b),AD=a,BD=b);zD.lastIndex=0;return zD} +function JD(a,b,d){if(a===DD&&b===ED&&d===FD)return CD;const c=ID(b,d);CD=a.match(c);DD=a;ED=b;FD=d;return CD}async function KD(a,b,d){if(d.length){a.cr+=d.length;var c=[];for(const e of d)c.push(Un(b,e));await yD.rW(c,()=>{a.lx++});a.lx++;a.lx===a.cr&&(a.lx=0,a.cr=0,a.g.oa(yD.C.cb.J.IV,null,null))}} +function*LD(a,b){var d=a.g.Aa();a=d.Hd();const c=at(a),e=c.Tb();var g=e.Jd(),k=dt(c);const l=a.Va(e);d=d.$g;const n=d.Va();if(k)for(k=0;k=c&&!r.ed;--b)Ct(l),r.qa=b,yield*Eu(k,g,p),Dt(l);else for(l=d;l>=c&&!r.ed;--l)r.qa=l,yield*Eu(k,g,p);else if(n)for(b=d;b<=c&&!r.ed;++b)Ct(l),r.qa=b,yield*Eu(k,g,p),Dt(l);else for(l=d;l<=c&&!r.ed;++l)r.qa=l,yield*Eu(k,g,p);a.Sa();e.Sa();return!1} +function*OD(a,b){var d=b.aa();const c=d.ta();if(0===c.length)return!1;var e=a.g.Aa();a=e.Hd();const g=at(a),k=g.Tb(),l=k.Jd(),n=dt(g),p=a.Va(k);e=e.$g;const r=e.Va(),w=b.Gc(),v=GD.Va();yD.Gd(v,c);if(n)for(let y=0,C=v.length;y=d+e)return b.set("Every_lastTime",d+e),c>=b.get("Every_lastTime")+.04&&b.set("Every_lastTime",c),b.set("Every_seconds",a),!0;c=b&&a<=d},e3(a,b,d){return UD.compare(a.Gb(),b,d)},N2(a){return!!a.Gb()},b3(a,b){const d=wj(this.g);return 0===a?(a=this.g.th().Em(),!a.get("CompareTime_executed")&&d>=b?(a.set("CompareTime_executed",!0),!0):!1):UD.compare(d,a,b)},f5(a){return isNaN(a)}, +JS(a,b,d){return UD.Qr(UD.Pa(a),UD.Pa(d))<=UD.Pa(b)},MU(a,b){return UD.tg(UD.Pa(a),UD.Pa(b))},KU(a,b,d){a=UD.Pa(a);b=UD.Pa(b);d=UD.Pa(d);return UD.tg(d,b)?UD.tg(a,b)&&!UD.tg(a,d):!(!UD.tg(a,b)&&UD.tg(a,d))},q5(a,b){return"number"===typeof a?0===b:1===b},uT(a){return!!a},WV(a){return a.toLowerCase()===this.LJ.at(-1)},fW(a,b,d,c){if(!a)return!1;const e=GD.Va(),g=a.aa();UD.Gd(e,g.ta());g.kb&&UD.D(g.rb);const k=this.g.th();let l=0;for(let n=0,p=e.length;n=c.length)return!1;$s(d,c[b]);Lu(a);return!0},l7(a){if(!a)return!1;const b= +a.aa(),d=b.ta(),c=Math.floor(this.g.cm()*d.length);if(c>=d.length)return!1;$s(b,d[c]);Lu(a);return!0},eW(a){if(!a||!a.H.length)return!1;a.aa().kb=!0;Lu(a);return!0},j7(a,b,d){if(!a)return!1;const c=a.aa();var e=c.ta();const g=this.g.Tb().Ge,k=this.g.th().Uk;c.kb?(UD.Gd(VD,e),Ss(c),c.kb=!1):g?(UD.Gd(VD,c.rb),UD.D(c.rb)):(UD.Gd(VD,c.H),UD.D(c.H));for(let l=0,n=VD.length;l=d&&!r.ed;--a)Ct(e),r.qa=a,Du(l,k,p),Dt(e);else for(e=b;e>= +d&&!r.ed;--e)r.qa=e,Du(l,k,p);else if(n)for(a=b;a<=d&&!r.ed;++a)Ct(e),r.qa=a,Du(l,k,p),Dt(e);else for(e=b;e<=d&&!r.ed;++e)r.qa=e,Du(l,k,p);g.Sa();c.Sa();d=!1}return d},bM(a){if(this.g.If)var b=OD(this,a);else{{const w=a.aa(),v=w.ta();if(0!==v.length){var d=this.g.Aa();b=d.Hd();var c=at(b),e=c.Tb(),g=e.Jd(),k=dt(c),l=b.Va(e);d=d.$g;var n=d.Va(),p=a.Gc(),r=GD.Va();yD.Gd(r,v);if(k)for(let y=0,C=r.length;yb&&(b=0);if(a){a=a.aa().ta();for(const d of a)d.Rv(b)}},I8(a){if(a){a=a.aa().ta();for(const b of a)b.Yd=-1,Lz(b.G())&&jA(b.g,b,!1)}},cG(a){if(!(0> +a)){var b=Gt(this.g.Aa());b.Ba="timer";b.yk();b.Cc=wj(b.Ka.F())+a;return!0}},lba(a){var b=Gt(this.g.Aa());b.Ba="signal";b.yk();b.yy=a.toLowerCase();return!0},kba(){const a=this.g.Aa();var b=Gt(a);const d=Promise.all(a.Wm);a.Wm=[];Ny(b,d);return!0},U$(a){a=a.toLowerCase();this.LJ.push(a);this.g.oa(WD.C.cb.J.WV,null);this.LJ.pop();for(const b of this.g.Aa().$h)"signal"===b.Ba&&b.yy===a&&(b.Ot=!0)},async BN(a,b,d,c,e,g){const k=this.g.W;k&&(this.N(),await k.BN(0===a?"image/png":"image/jpeg",b/100,d, +c,e,g),await this.g.Ud(WD.C.cb.J.xV,null))},r9(a,b){if(!(0>=a||0>=b)){AC(this.g,a,b);$l(V(this.g));var d=this.g.W;if(d){if("off"!==gC(d)){var c=this.g;if(c.Qi!==a||c.Pi!==b)c.Qi=a,c.Pi=b,a=c.hb,Ao(a),Bo(a)}d.ec(d.Op,d.Np,!0);this.g.N()}}},H9(a){const b=this.g.W;b&&"off"!==gC(b)&&(iC(b,0!==a?"high":"low"),b.ec(b.Op,b.Np,!0))},tq(a){this.g.qy=a},N5(a){this.g.Lx=a},O5(a){this.g.kF(a)},I9(){},E8(){for(const a of this.g.hb.pj)a.jp={},a.kr=!0},u$(a){var b=this.g;a=0!==a;b.Vk!==a&&(b.Vk=a,Bo(b.hb),b.N())}, +yN(a){this.g.yN(a)},Z$(a,b){if(a){var d=a.aa().ta(),c=V(this.g),e=a.La;a=a.Ii;for(let l=0,n=d.length;l=a||0>=b||!Number.isFinite(a)|| +!Number.isFinite(b)||this.g.Di.uN(a,b)},s4(a){if(!this.g.Th){var b=this.g.hb;b.Ri||(b.Ri=a)}},dU(a){if(!this.g.Th){var b=this.g.hb;!b.Ri&&(a=yo(b,a))&&(b.Ri=a)}},p6(a){if(!this.g.Th){var b=this.g.hb;if(!b.Ri){var d=b.pj,c=d.indexOf(b.$a());if(!a||0!==c)if(a||c!==d.length-1)b.Ri=d[c+(a?-1:1)]}}},F8(){if(!this.g.Th){var a=this.g.hb;if(!a.Ri){a.Ri=a.$a();a=this.g.Aa();for(const b of a.TG)b.Ds(b.wI)}}},Y9(a,b){a&&a.hg(b)},R9(a,b){a&&(a.Nt=!!b)},Q9(a,b){a&&Tj(a,b)},S9(a,b){a&&a.Ig(b/100)},U9(a,b){a&&Uj(a, +b)},V9(a,b){a&&Vj(a,b)},K9(a,b){a&&a.ae(WD.Pa(+b))},W9(a,b,d){a&&(Yj(a,!0),a.sk(b),a.uk(d))},H8(a){a&&Yj(a,!1)},T9(a,b,d){if(a&&(b/=100,d/=100,a.bf!==b||a.cf!==d)&&(a.bf=b,a.cf=d,am(a),a.g.N(),1!==a.bf||1!==a.cf))for(const c of a.H)c.G().ow=!0},Z9(a,b){a&&a.uf(+b)},L9(a,b){a&&(hc(bE,b),bE.X(),a=a.Xm,ec(a,bE)||($b(a,bE),this.N()))},X9(a,b){a&&Wj(a,b)},M9(a,b){a&&a.Gg(b)},N9(a,b,d){a&&(d=Ep(a.Oa,d))&&(b=1===b,d.Ib!==b&&(d.Ib=!!b,a.Ih(),this.g.N()))},O9(a,b,d,c){if(a&&(a=a.Oa,b=Ep(a,b))){d=Math.floor(d); +var e=Lg(b.xh(),d);e&&("color"===e?(hc(bE,c),c=bE):"percent"===e&&(c/=100),a.Lv(b.Ha(),d,c)&&b.Ib&&this.g.N())}},P9(a,b){a&&Xj(a,b)},d$(a){V(this.g).uo(+a)},a$(a){V(this.g).ae(WD.Pa(+a))},b$(a,b){const d=V(this.g);if(b=Ep(d.Oa,b))a=1===a,b.Ib!==a&&(b.Ib=!!a,d.Ih(),this.g.N())},c$(a,b,d){const c=V(this.g).Oa;if(a=Ep(c,a)){b=Math.floor(b);var e=Lg(a.xh(),b);e&&("color"===e?(hc(bE,d),d=bE):"percent"===e&&(d/=100),c.Lv(a.Ha(),b,d)&&a.Ib&&this.g.N())}},e$(a,b){var d=V(this.g);a/=100;b/=100;if(d.BD!==a|| +d.CD!==b)d.BD=a,d.CD=b,d.Wg||(Gn(d),Hn(d),d.g.N())},NW(a){const b=V(this.g);0===a?Lj(b):Mj(b)},c9(a){V(this.g).sk(a)},d9(a){V(this.g).uk(a)},a9(a,b){const d=V(this.g);d.sk(a);d.uk(b)},b9(a){if(a&&(a=fx(a))&&(a=a.m())){var b=V(this.g);b.sk(a.fa());b.uk(a.ga())}},DL(a,b,d){const c=V(this.g);try{c.DL(a,b,d)}catch(e){console.warn("[Construct] Cannot add layer: ",e)}},DM(a,b,d){if(a){var c=V(this.g);try{c.DM(a,b,d)}catch(e){console.warn("[Construct] Cannot move layer: ",e)}}},eN(a){a&&V(this.g).eN(a)}, +tF(){V(this.g).tF()},async gV(a){const b=this.g.$a();b&&a&&!this.g.Th&&await KD(this,b,a.La?a.jn:[a])},async M5(a){await WD.C.cb.Za.gV.call(this,this.g.Yx.get(a.toLowerCase())||null)},BX(a){const b=this.g.$a();if(b&&a){a=a.La?a.jn:[a];for(const d of a)0===d.H.length&&Vn(b,d)}},Uaa(a){WD.C.cb.Za.BX.call(this,this.g.Yx.get(a.toLowerCase())||null)},Vaa(){const a=this.g.$a();if(a){var b=[...a.Zi];for(const d of b)0===d.H.length&&Vn(a,d)}},async K5(a){const b=this.g.$a();a&&b&&!this.g.Th&&await KD(this, +b,[...a.dr])},async L5(a){const b=this.g.$a();(a=yo(this.g.hb,a))&&b&&!this.g.Th&&await KD(this,b,[...a.dr])},Ov(a){var b=this.Wd.zB;if(b=0===b.length?null:b.at(-1))switch(b.SO){case 1:"number"===typeof a&&b.Ov(a);break;case 2:"string"===typeof a&&b.Ov(a);break;case 3:b.Ov(a)}},Z5(a,b,d){var c=QD(this,a.toLowerCase(),!0);const e=c.iE,g=b.toLowerCase();e.has(g)&&console.warn(`[Construct] Function map '${a}' string '${b}' already in map; overwriting entry`);(c=WD.first(e.values())||c.Rp)&&0!==c.cl!== +(0!==d.cl)?console.error(`[Construct] Function map '${a}' string '${b}' function return type not compatible with other functions in the map; entry ignored`):e.set(g,d)},a6(a,b){const d=QD(this,a.toLowerCase(),!0);d.Rp&&console.warn(`[Construct] Function map '${a}' already has a default; overwriting entry`);const c=WD.first(d.iE.values())||d.Rp;c&&0!==c.cl!==(0!==b.cl)?console.error(`[Construct] Function map '${a}' default: function return type not compatible with other functions in the map; entry ignored`): +d.Rp=b},o2(a,b,d){d=Math.floor(d);var c=QD(this,a.toLowerCase(),!1);if(c){var e=c.iE.get(b.toLowerCase());if(!e)if(c.Rp)e=c.Rp,d=0;else{console.warn(`[Construct] Call mapped function: no function associated with map '${a}' string '${b}'; call ignored (consider setting a default)`);return}if(e.Rb())if(0!==e.cl)console.warn(`[Construct] Call mapped function: map '${a}' string '${b}' has a return type so cannot be called`);else{var g=this.g,k=g.Aa().Tb();a=k.Td();(b=0e&&(b=e)}return b},X(a,b,d){return cE.X(a,b,d)},hi(a,b,d,c){return cE.Sn(a,b,d,c)},angle(a,b,d,c){return cE.lf(cE.FD(a,b,d,c))},Pc(a,b,d){return cE.Pc(a,b,d)},pE(a,b,d){return cE.pE(a,b,d)}, +dE(a,b,d,c){return cE.dE(a,b,d,c)},sR(a,b,d,c,e){return cE.sR(a,b,d,c,e)},pR(a,b,d){return cE.pR(a,b,d)},Jba(a,b){return cE.lf(cE.Qr(cE.Pa(a),cE.Pa(b)))},Kba(a,b,d){return cE.lf(cE.uK(cE.Pa(a),cE.Pa(b),d))},Lba(a,b,d){return cE.lf(cE.vK(cE.Pa(a),cE.Pa(b),cE.Pa(d)))},Eea(a,b,d){b|=0;return(a|0)&~(1<d?a.substr(b):a.substr(b,d)},right(a,b){return"string"===typeof a?a.substr(Math.max(a.length-b,0)):""},trim(a){return"string"===typeof a?a.trim():""},Qea(a,b,d){if("string"!==typeof a||"string"!==typeof d)return"";a=a.split(d);b=Math.floor(b);return 0>b||b>=a.length?"":a[b]},Rea(a,b){return"string"===typeof a&&"string"===typeof b&&a.length?a.split(b).length:0},find(a,b){return"string"===typeof a&&"string"=== +typeof b?a.search(new RegExp(cE.cv(b),"i")):-1},uca(a,b){return"string"===typeof a&&"string"===typeof b?a.search(new RegExp(cE.cv(b),"")):-1},replace(a,b,d){return"string"===typeof a&&"string"===typeof b&&"string"===typeof d?a.replace(new RegExp(cE.cv(b),"gi"),d):"string"===typeof a?a:""},eea(a,b,d){b=ID(b,d);return a?a.search(b):-1},dea(a,b,d,c){b=ID(b,d);return a?a.replace(b,c):""},cea(a,b,d){return(a=JD(a.toString(),b,d))?a.length:0},bea(a,b,d,c){c=Math.floor(c);a=JD(a.toString(),b,d);return!a|| +0>c||c>=a.length?"":a[c]},pfa(a,b){let d=0>a?"-":"";0>a&&(a=-a);d+="0".repeat(Math.max(b-a.toString().length,0));return d+a.toString()},Zea(a){return encodeURIComponent(a)},Yea(a){return decodeURIComponent(a)},wR(){return this.g.Mw},Nea(){return this.g.Yd},mfa(){return(Date.now()-this.g.vp)/1E3},Vea(){return Date.now()},time(){return wj(this.g)},Lea(){return this.g.$i},Jda(){return this.g.iJ},G_(){return this.g.Yw},cca(){return this.g.FC},Rca(){return this.g.aA()},ofa(){return this.g.W.Pg},nfa(){return this.g.W.Og}, +Pda(){return this.g.Qi},Oda(){return this.g.Pi},Nda(){return this.g.Qi},Mda(){return this.g.Pi},vea(){return V(this.g).vh()},wea(){return V(this.g).wh()},uda(){return V(this.g).na()},vda(){return V(this.g).ad},sda(){return cE.lf(V(this.g).Da())},g0(){return V(this.g).K()},tda(){return V(this.g).I()},bfa(){return 100*tm(V(this.g))},cfa(){return 100*um(V(this.g))},gfa(a){return(a=V(this.g).O(a))?rm(a).ba:0},kfa(a){return(a=V(this.g).O(a))?rm(a).$:0},jfa(a){return(a=V(this.g).O(a))?rm(a).ka:0},efa(a){return(a= +V(this.g).O(a))?rm(a).ia:0},lfa(a){return(a=V(this.g).O(a))?rm(a).width():0},ffa(a){return(a=V(this.g).O(a))?rm(a).height():0},hfa(a){return(a=V(this.g).O(a))?(a=rm(a),(a.ba+a.ka)/2):0},ifa(a){return(a=V(this.g).O(a))?(a=rm(a),(a.$+a.ia)/2):0},Uba(a,b,d){return(a=V(this.g).O(a))?pm(a,b,d)[0]:0},Vba(a,b,d){return(a=V(this.g).O(a))?pm(a,b,d)[1]:0},nda(a,b,d){return(a=V(this.g).O(a))?an(a,b,d)[0]:0},oda(a,b,d){return(a=V(this.g).O(a))?an(a,b,d)[1]:0},pda(a,b,d,c){const e=V(this.g);a=e.O(a);b=e.O(b); +if(!a||!b||a===b)return d;const [g,k]=an(a,d,c);return pm(b,g,k)[0]},qda(a,b,d,c){const e=V(this.g);a=e.O(a);b=e.O(b);if(!a||!b||a===b)return c;const [g,k]=an(a,d,c);return pm(b,g,k)[1]},jda(a){return(a=V(this.g).O(a))?a.ad:0},eda(a){return(a=V(this.g).O(a))?cE.lf(a.Af):0},gda(a){return(a=V(this.g).O(a))?100*a.Qc():0},kda(a){return(a=V(this.g).O(a))?a.Rj:0},lda(a){return(a=V(this.g).O(a))?a.vh():0},mda(a){return(a=V(this.g).O(a))?a.wh():0},hda(a){return(a=V(this.g).O(a))?100*a.bf:0},ida(a){return(a= +V(this.g).O(a))?100*a.cf:0},rda(a){return(a=V(this.g).O(a))?a.Na():0},fda(a){return(a=V(this.g).O(a))?a.Ha():-1},Tba(){const a=this.g.W;return a?a.Ay:""},j0(a){var b=this.$g;if(!(0<=b.qa))return 0;if(a){a:{const d=b.vb;for(b=b.qa;0<=b;--b){const c=d[b];if(c.na()===a){a=c;break a}}a=null}return a?a.Ha():0}return b.ns().Ha()},tea(){return this.g.mr},Rba(a,b,...d){var c=QD(this,a.toLowerCase(),!1);if(!c)return console.warn(`[Construct] Call mapped function: map name '${a}' not found; returning 0`),0; +let e=c.iE.get(b.toLowerCase());if(!e)if(c.Rp)e=c.Rp;else return console.warn(`[Construct] Call mapped function: no function associated with map '${a}' string '${b}'; returning 0 (consider setting a default)`),0;c=e.cl;const g=Rt(e);if(0===c)return console.warn(`[Construct] Call mapped function: map '${a}' string '${b}' has no return type so cannot be called from an expression; returning 0`),0;if(!e.Rb())return g;a=this.g.Aa().Tb().Td();(b=0vz(d,a,b)))}Gm(){for(const a of this.uc)wz(a)}ms(a){eE.C.vf.ZL(this,a)}};const fE=self.B,gE=self.nf,hE=[];let iE=0;for(let a=0;6>a;a++)hE.push({HR:0,jE:NaN,kE:NaN,lE:NaN,mE:NaN,nE:NaN,oE:NaN,JD:NaN,KD:NaN,LD:NaN,GD:NaN,HD:NaN,ID:NaN,shape:0,oz:NaN,YK:NaN,enable:!1}); +function jE(a,b){return a.oz===b.oz?b.YK-a.YK:b.oz-a.oz}const kE=fE.A(fE.Md);fE.A(fE.xo);function lE(a,b,d,c,e,g){a=c-a;b=e-b;d=g-d;return a*a+b*b+d*d}function mE(a,b,d,c,e,g,k,l,n,p,r){c=[fE.Pc(a,c,p),fE.Pc(b,e,p),fE.Pc(d,g,p)];const [w,v,y]=c;b=v+(l-b);d=y+(n-d);return[fE.Pc(w,w+(k-a),r),fE.Pc(v,b,r),fE.Pc(y,d,r)]}function nE(a,b,d){null!==d&&d.La&&(d=d.jn[0]);const c=a.Tw;c[b]!==d&&(c[b]=d,a.g.N())} +function oE(a,b,d,c,e,g,k,l,n,p,r,w,v,y){const C=hE[a];C.HR=a;C.jE=b;C.kE=d;C.lE=c;C.mE=e;C.nE=g;C.oE=k;C.JD=l;C.KD=n;C.LD=p;C.GD=r;C.HD=w;C.ID=v;C.shape=y;C.enable=!0;iE++} +function pE(a,b,d,c,e,g,k,l,n,p,r,w,v,y,C,E){var F=null,K=null,H=!1;Lf(b);F=a.Tw[d];if(null!==F){F=mw(F,a.Z());if(!F)return;d=F.ma;if(fE.C.Lb&&d instanceof fE.C.Lb.Instance){F=d.Kd();if(null===F)return;K=d.us()}else if(fE.C.XF&&d instanceof fE.C.XF.Instance||fE.C.mV&&d instanceof fE.C.mV.Instance){let N=0,ca=0;H=a.Pr;switch(E){case 0:case 1:N=Math.hypot(k-c,l-e,(n-g)*H);ca=Math.hypot(p-k,r-l,(w-n)*H);break;case 2:N=Math.hypot(p-v,r-y,(w-C)*H);ca=Math.hypot(v-c,y-e,(C-g)*H);break;case 3:N=Math.hypot(p- +v,r-y,(w-C)*H);ca=Math.hypot(p-k,r-l,(w-n)*H);break;case 4:N=Math.hypot(p-v,r-y,(w-C)*H),ca=Math.hypot((v+p)/2-c,(y+r)/2-e,((C+w)/2-g)*H)}if(fE.C.XF&&d instanceof fE.C.XF.Instance){F=d.Kd();if(null===F)return;d.n2(N,ca,kE);H=!0;d.B$(b)}else{if(0!==E)return;d.qY((da,Ia)=>{da.ej(N,ca);var Wa=da.ba,Oa=da.$,Xa=da.ka;da=da.ia;const [pc,Xd,Yd]=mE(c,e,g,k,l,n,v,y,C,Wa,Oa),[wf,xf,yf]=mE(c,e,g,k,l,n,v,y,C,Xa,Oa),[Zd,zf,Af]=mE(c,e,g,k,l,n,v,y,C,Xa,da),[gk,hk,ik]=mE(c,e,g,k,l,n,v,y,C,Wa,da);gi(b);Wa=b.Hu;Oa= +b.ci;Xa=b.Dk+b.jt;Wa[Oa++]=pc;Wa[Oa++]=Xd;Wa[Oa++]=Xa+Yd;Wa[Oa++]=wf;Wa[Oa++]=xf;Wa[Oa++]=Xa+yf;Wa[Oa++]=Zd;Wa[Oa++]=zf;Wa[Oa++]=Xa+Af;Wa[Oa++]=gk;Wa[Oa++]=hk;Wa[Oa++]=Xa+ik;b.ci=Oa;xc(Ia,b.yp,b.we);b.we+=8});d.Gba(b,0,0,N,ca);d.qY(null);return}}else return}else{d=a.BB[d];K=xz(a.kw,d).oc();F=K.Kd();if(null===F)return;K=K.us()}pi(b,F);3<=E||H?(H||kE.xa(K),3===E?(kE.yb=+kE.dc,kE.wb=+kE.wb):4===E&&(kE.yb=+((kE.yb+kE.dc)/2),kE.wb=+((kE.wb+kE.mc)/2)),Sf(b,c,e,g,k,l,n,p,r,w,v,y,C,kE)):Sf(b,c,e,g,k,l,n, +p,r,w,v,y,C,K)}function qE(a,b){a.m();b=Math.floor(b);return 0>b||5b||5N;N++)hE[N].enable= +!1;c&&oE(0,p,r,0,w,v,0,y,C,0,E,F,0,0);0===K?(g&&oE(2,p,r,H,E,F,H,E,F,0,p,r,0,0),k&&oE(3,y,C,H,w,v,H,w,v,0,y,C,0,0),l&&oE(4,w,v,H,p,r,H,p,r,0,w,v,0,0),d&&oE(5,E,F,H,y,C,H,y,C,0,E,F,0,0),e&&oE(1,p,r,H,w,v,H,y,C,H,E,F,H,0)):1===K?(c=(p+E)/2,e=(r+F)/2,n=(w+y)/2,K=(v+C)/2,g&&oE(2,c,e,H,c,e,H,E,F,0,p,r,0,4),k&&oE(3,n,K,H,n,K,H,w,v,0,y,C,0,4),l&&oE(4,n,K,H,c,e,H,p,r,0,w,v,0,0),d&&oE(5,c,e,H,n,K,H,y,C,0,E,F,0,0)):2===K?(g&&oE(2,w,v,H,y,C,H,E,F,0,p,r,0,0),k&&oE(3,y,C,H,w,v,H,w,v,0,y,C,0,0),l&&oE(4,w,v,H,w, +v,H,p,r,0,w,v,0,2),d&&oE(5,y,C,H,y,C,H,y,C,0,E,F,0,3)):3===K?(c=n.Sr(),e=n.Tr(),g&&oE(2,c,e,H,c,e,H,E,F,0,p,r,0,4),k&&oE(3,c,e,H,c,e,H,w,v,0,y,C,0,4),l&&oE(4,c,e,H,c,e,H,p,r,0,w,v,0,4),d&&oE(5,c,e,H,c,e,H,y,C,0,E,F,0,4)):4===K?(g&&oE(2,w,v,H,w,v,H,E,F,0,p,r,0,2),k&&oE(3,w,v,H,w,v,H,w,v,0,y,C,0,3),l&&oE(4,w,v,H,w,v,H,p,r,0,w,v,0,2),d&&oE(5,w,v,H,w,v,H,y,C,0,E,F,0,3)):5===K&&(g&&oE(2,p,r,H,p,r,H,E,F,0,p,r,0,2),k&&oE(3,y,C,H,w,v,H,w,v,0,y,C,0,0),l&&oE(4,w,v,H,p,r,H,p,r,0,w,v,0,0),d&&oE(5,y,C,H,y,C,H, +y,C,0,E,F,0,3),e&&oE(1,p,r,H,w,v,H,y,C,H,E,F,0,1));if(1b;++b)g=hE[b],g.enable&&(g.oz=Math.min(lE(N,ca,da,g.jE,g.kE,g.lE),lE(N,ca,da,g.mE,g.nE,g.oE),lE(N,ca,da,g.JD,g.KD,g.LD),lE(N,ca,da,g.GD,g.HD,g.ID)),g.YK=lE(N,ca,da,(g.jE+g.mE+g.JD+g.GD)/4,(g.kE+g.nE+g.KD+g.HD)/4,(g.lE+g.oE+g.LD+g.ID)/4));hE.sort(jE)}for(b=0;6>b;++b)g=hE[b],g.enable&&pE(this,a,g.HR,g.jE,g.kE,g.lE,g.mE,g.nE,g.oE,g.JD,g.KD,g.LD,g.GD,g.HD,g.ID, +g.shape)}}sq(){return this.Gi[0]}qv(){return qE(this,0)}Bm(a){return rE(this,0,a)}Hc(){return{s:this.el,zh:this.nl,fv:this.Gi,fi:this.BB,fo:this.Tw.map(a=>a?a.eb:-1),zf:this.Pr}}$b(a){this.el=a.s;this.nl=a.zh;hB(this.m(),this.nl);this.Gi=a.fv.slice(0);this.BB=a.fi.slice(0);a.hasOwnProperty("fo")&&(this.Tw=a.fo.map(b=>ao(this.g,b)));a.hasOwnProperty("zf")&&(this.Pr=a.zf)}Ec(){}fg(){}qf(){return self.kk}};const tE=new WeakMap,uE="box prism wedge pyramid corner-out corner-in".split(" "); +self.kk=class extends self.ws{constructor(){super();tE.set(this,self.yh.xk().ma)}set shape(a){gE.Nd(a);a=uE.indexOf(a);if(-1===a)throw new TypeError("invalid shape");var b=tE.get(this);b.el!==a&&(b.el=a,b.g.N())}get shape(){return uE[tE.get(this).el]}};const vE=self.B;vE.C.vf.J={Z2(a){return this.el===a},n3(a,b){return vE.compare(this.nl,a,b)},V4(a){return this.Gi[a]}}; +self.B.C.vf.Za={y$(a){this.el!==a&&(this.el=a,this.g.N())},R$(a){a=Math.max(a,0);this.nl!==a&&(this.nl=a,hB(this.m(),a),this.g.N())},A9(a,b){b=!!b;this.Gi[a]!==b&&(this.Gi[a]=b,this.g.N())},z9(a,b){const d=this.BB,c=this.Tw;if(d[a]!==b||null!==c[a])d[a]=b,c[a]=null,this.g.N()},S$(a){this.Pr!==a&&(this.Pr=a,this.g.N())},KW(a,b){nE(this,a,b)}}; +self.B.C.vf.Qb={PX(){return this.nl},Dba(){return this.Pr},P3(a,b){return rE(this,a,b)[0]},Q3(a,b){return rE(this,a,b)[1]},R3(a,b){return rE(this,a,b)[2]},O3(a){return qE(this,a)}};"use strict";const wE=self.B;wE.C.Zp=class extends wE.lj{constructor(a){super(a)}j(){super.j()}};const xE=self.B;xE.C.Zp.Jg=class extends xE.pk{constructor(a){super(a)}j(){super.j()}rc(){}qf(){return self.lU}};self.lU=class extends self.Av{constructor(a){super(a)}};const yE=self.B,zE=self.Zj,AE=zE.yz,BE=zE.w0,CE=AE.create(); +function DE(a){AE.set(a.Aj,0,0,-1);AE.set(a.dl,1,0,0);AE.set(a.ll,0,1,0)}function EE(a,b,d,c,e,g,k,l,n,p){const r=a.g.$a();Mn(r,!0);Nn(r,b,d,c,e,g,k,l,n,p);AE.set(a.Aj,e-b,g-d,k-c);AE.normalize(a.Aj,a.Aj);AE.ez(a.dl,r.Zs,a.Aj);AE.normalize(a.dl,a.dl);AE.ez(a.ll,a.Aj,a.dl);AE.normalize(a.ll,a.ll);AE.set(CE,0,0,1);BE.z0(a.nO,a.ll,CE)} +yE.C.Zp.Instance=class extends yE.ro{constructor(a){super(a);this.$s=0;this.Kq=Math.PI/2;this.nO=BE.create();this.Aj=AE.create();this.dl=AE.create();this.ll=AE.create();DE(this);this.g.fb().addEventListener("beforelayoutchange",()=>{this.$s=0;this.Kq=Math.PI/2})}};self.B.C.Zp.J={};const FE=self.B; +FE.C.Zp.Za={iV(a,b,d,c,e,g,k,l,n){EE(this,a,b,d,c,e,g,k,l,n)},R5(a,b,d,c){c=FE.Pa(c);EE(this,a,b,d,a+Math.cos(c),b+Math.sin(c),d,0,0,1)},G8(){Mn(this.g.$a(),!1);DE(this)},w$(a,b,d,c){const e=this.g.$a();var g=e.Ng,k=e.tj;const l=e.Zs;let n=g[0],p=g[1];g=g[2];var r=k[0],w=k[1];k=k[2];0===c?(r-=n,w-=p,c=k-g,n=a,p=b,g=d,r=n+r,w=p+w,k=g+c):(r=a,w=b,k=d);Mn(e,!0);Nn(e,n,p,g,r,w,k,l[0],l[1],l[2])},i6(a,b,d){if(0!==a){var c=0,e=0,g=0;0===b?c=a:1===b?e=a:g=a;AE.set(CE,c,e,g);a=this.g.$a();b=a.Ng;c=a.tj;0!== +d&&1!==d||AE.add(b,b,CE);0!==d&&2!==d||AE.add(c,c,CE);Hn(a);a.g.N()}},h6(a,b,d){if(0!==a){if(0===b){b=this.Aj[0]*a;var c=this.Aj[1]*a;a*=this.Aj[2]}else 1===b?(b=this.ll[0]*a,c=this.ll[1]*a,a*=this.ll[2]):(b=this.dl[0]*a,c=this.dl[1]*a,a*=this.dl[2]);AE.set(CE,b,c,a);a=this.g.$a();b=a.Ng;c=a.tj;0!==d&&1!==d||AE.add(b,b,CE);0!==d&&2!==d||AE.add(c,c,CE);Hn(a);a.g.N()}},P8(a,b,d,c){a=FE.Pa(a);b=FE.Pa(b);d=FE.Pa(d);c=FE.Pa(c);if(0!==a||0!==b)d=Math.max(d,0),c=Math.min(c,yE.Pa(179.9)),this.$s=yE.Ed(this.$s+ +a),this.Kq=yE.X(this.Kq+b,d,c),AE.set(CE,Math.sin(this.Kq)*Math.cos(this.$s),Math.sin(this.Kq)*Math.sin(this.$s),Math.cos(this.Kq)),AE.mS(CE,CE,this.nO),c=this.g.$a(),a=c.Ng,d=c.Zs,Nn(c,a[0],a[1],a[2],a[0]+CE[0],a[1]+CE[1],a[2]+CE[2]/oD(this.g),d[0],d[1],d[2])}};const GE=self.B; +GE.C.Zp.Qb={q2(){return this.g.$a().Ng[0]},t2(){return this.g.$a().Ng[1]},v2(){return this.g.$a().Ng[2]},V5(){return this.g.$a().tj[0]},W5(){return this.g.$a().tj[1]},X5(){return this.g.$a().tj[2]},Waa(){return this.ll[0]},Xaa(){return this.ll[1]},Yaa(){return this.ll[2]},c4(){return this.Aj[0]},d4(){return this.Aj[1]},e4(){return this.Aj[2]},M8(){return this.dl[0]},N8(){return this.dl[1]},O8(){return this.dl[2]},s2(){return GE.lf(this.$s)},u2(){return GE.lf(this.Kq)},S5(){const a=this.g.$a();return a.tj[0]- +a.Ng[0]},T5(){const a=this.g.$a();return a.tj[1]-a.Ng[1]},U5(){const a=this.g.$a();return a.tj[2]-a.Ng[2]},Cba(){return oD(this.g)},C3(){return this.g.ne()},gba(a){return(a=V(this.g).O(a))?pm(a,0,0,a.Na())[0]:0},hba(a){return(a=V(this.g).O(a))?pm(a,0,0,a.Na())[1]:0},iba(a){return(a=V(this.g).O(a))?pm(a,this.g.W.zc,0,a.Na())[0]:0},jba(a){return(a=V(this.g).O(a))?pm(a,this.g.W.zc,0,a.Na())[1]:0},eba(a){a=V(this.g).O(a);if(!a)return 0;const b=this.g.W;return pm(a,b.zc,b.fc,a.Na())[0]},fba(a){a=V(this.g).O(a); +if(!a)return 0;const b=this.g.W;return pm(a,b.zc,b.fc,a.Na())[1]},cba(a){return(a=V(this.g).O(a))?pm(a,0,this.g.W.fc,a.Na())[0]:0},dba(a){return(a=V(this.g).O(a))?pm(a,0,this.g.W.fc,a.Na())[1]:0},F5(a,b,d,c){return(a=V(this.g).O(a))?an(a,b,d,c)[0]:0},G5(a,b,d,c){return(a=V(this.g).O(a))?an(a,b,d,c)[1]:0},z2(a,b,d,c){return(a=V(this.g).O(a))?pm(a,b,d,c)[0]:0},A2(a,b,d,c){return(a=V(this.g).O(a))?pm(a,b,d,c)[1]:0},H5(a,b,d,c,e){const g=V(this.g);a=g.O(a);b=g.O(b);if(!a||!b||a===b)return d;const [k, +l]=an(a,d,c,e);return pm(b,k,l)[0]},I5(a,b,d,c,e){const g=V(this.g);a=g.O(a);b=g.O(b);if(!a||!b||a===b)return c;const [k,l]=an(a,d,c,e);return pm(b,k,l)[1]}};"use strict";const HE=self.B;HE.C.Touch=class extends HE.lj{constructor(a){super(a)}j(){super.j()}};const IE=self.B,JE=self.nf;IE.C.Touch.Jg=class extends IE.pk{constructor(a){super(a)}j(){super.j()}rc(){}qf(){return self.AU}};let KE=null; +self.AU=class extends self.Av{constructor(a){super(a);KE=a;a.F().Ew.wL=this}requestPermission(a){JE.Nd(a);const b=KE.ik().ma;if("orientation"===a)return LE(b,0);if("motion"===a)return LE(b,1);throw Error("invalid type");}};const ME=self.B;function LE(a,b){$y(a,"request-permission",{type:b});return new Promise((d,c)=>{a.SC.push({type:b,resolve:d,reject:c})})} +function NE(a,b){const d=b.result,c=b.type;a.aK=c;b=a.SC.filter(e=>e.type===c);for(const e of b)e.resolve(d?"granted":"denied");a.SC=a.SC.filter(e=>e.type!==c);d?(a.oa(ME.C.Touch.J.RV),0===c?sD(a.g):tD(a.g)):a.oa(ME.C.Touch.J.QV)} +function OE(a,b,d){if("mouse"===b.pointerType)if(a.kC)a.kC=!1;else return;const c=performance.now();b=b.pointerId;const e=a.Zd.get(b);e&&(a.Fu=e.ve,a.vD=e.yg(),a.oa(ME.C.Touch.J.OV),a.oa(ME.C.Touch.J.TM),d||(d=PE(e,c),"single-tap"===d?(a.oa(ME.C.Touch.J.ZV),a.vj=e.fa(),a.wj=e.ga(),a.oa(ME.C.Touch.J.$V)):"double-tap"===d&&(a.oa(ME.C.Touch.J.AV),a.vj=e.fa(),a.wj=e.ga(),a.oa(ME.C.Touch.J.BV))),e.j(),a.Zd.delete(b))} +function QE(a,b){b=Math.floor(b);for(const d of a.Zd.values()){if(0===b)return d;--b}return null}function RE(a,b,d){var c;if(c=0<=b&&0<=d)c=a.g,c=b<(c.W?c.W.zc:0);if(b=c)a=a.g,b=d<(a.W?a.W.fc:0);return b} +ME.C.Touch.Instance=class extends ME.ro{constructor(a,b){super(a,"touch");this.Zd=new Map;this.kC=this.UQ=!1;this.NB=this.wj=this.vj=this.aK=this.vD=this.Fu=this.JG=this.IG=this.HG=this.MG=this.LG=this.KG=this.mJ=this.lJ=this.kJ=this.OC=0;this.SC=[];b&&(this.UQ=b[0]);this.sE("permission-result",d=>NE(this,d));a=this.F().fb();this.kg=new ME.Kz(ME.le.Yf(a,"pointerdown",d=>{a:{var c=d.data;if("mouse"===c.pointerType)if(this.UQ)this.kC=!0;else{d=void 0;break a}const l=c.pointerId;if(!this.Zd.has(l)){d= +c.pageX-this.g.Tz();c=c.pageY-this.g.Uz();var e=performance.now(),g=this.Zd.size;this.Fu=g;this.vD=l;var k=ME.A(ME.C.Touch.vX);k.Ah(e,d,c,l,g);this.Zd.set(l,k);this.oa(ME.C.Touch.J.PV);this.oa(ME.C.Touch.J.aW);this.vj=d;this.wj=c;this.oa(ME.C.Touch.J.UM)}d=void 0}return d}),ME.le.Yf(a,"pointermove",d=>{d=d.data;if("mouse"!==d.pointerType||this.kC){var c=this.Zd.get(d.pointerId);if(c){var e=performance.now();2>e-c.wa()||c.Mm(e,d.pageX-this.g.Tz(),d.pageY-this.g.Uz(),d.width,d.height,d.pressure)}}}), +ME.le.Yf(a,"pointerup",d=>OE(this,d.data,!1)),ME.le.Yf(a,"pointercancel",d=>OE(this,d.data,!0)),ME.le.Yf(a,"deviceorientation",d=>{d=d.data;"number"===typeof d.webkitCompassHeading?this.OC=d.webkitCompassHeading:d.absolute&&(this.OC=d.alpha);this.kJ=d.alpha;this.lJ=d.beta;this.mJ=d.gamma}),ME.le.Yf(a,"deviceorientationabsolute",d=>{this.OC=d.data.alpha}),ME.le.Yf(a,"devicemotion",d=>{d=d.data;const c=d.acceleration;c&&(this.KG=c.x,this.LG=c.y,this.MG=c.z);if(d=d.accelerationIncludingGravity)this.HG= +d.x,this.IG=d.y,this.JG=d.z}),ME.le.Yf(a,"tick2",()=>this.yG()))}j(){this.Zd.clear();super.j()}yG(){const a=performance.now();let b=0;for(const c of this.Zd.values()){c.wa()<=a-50&&(c.yC=a);var d=c.XH?!1:500<=a-c.vp&&!c.qC&&15>SE.Sn(c.pD,c.qD,c.Y,c.S)?c.XH=!0:!1;d&&(this.Fu=c.ve,this.vD=c.yg(),this.NB=b,this.oa(ME.C.Touch.J.GV),this.vj=c.fa(),this.wj=c.ga(),this.oa(ME.C.Touch.J.HV),this.NB=0);++b}}};const TE=self.B,UE=[]; +TE.C.Touch.J={aW(){return!0},TM(){return!0},Z4(){return 0=a+1},GV(){return!0},ZV(){return!0},AV(){return!0},HV(a){return a&& +RE(this,this.vj,this.wj)?NB(this.g.Di,a,this.vj,this.wj):!1},$V(a){return a&&RE(this,this.vj,this.wj)?NB(this.g.Di,a,this.vj,this.wj):!1},BV(a){return a&&RE(this,this.vj,this.wj)?NB(this.g.Di,a,this.vj,this.wj):!1},RV(a){return this.aK===a},QV(a){return this.aK===a}};self.B.C.Touch.Za={S7(a){LE(this,a)}};const VE=self.B; +VE.C.Touch.Qb={Iaa(){return this.Zd.size},fG(a){const b=QE(this,this.NB);return b?WE(b,V(this.g),a,!0):0},HA(a){const b=QE(this,this.NB);return b?WE(b,V(this.g),a,!1):0},vba(a,b){return(a=QE(this,a))?WE(a,V(this.g),b,!0):0},xba(a,b){return(a=QE(this,a))?WE(a,V(this.g),b,!1):0},wba(a,b){return(a=this.Zd.get(a))?WE(a,V(this.g),b,!0):0},yba(a,b){return(a=this.Zd.get(a))?WE(a,V(this.g),b,!1):0},T0(){const a=QE(this,0);return a?a.fa():0},W0(){const a=QE(this,0);return a?a.ga():0},U0(a){return(a=QE(this, +a))?a.fa():0},X0(a){return(a=QE(this,a))?a.ga():0},V0(a){return(a=this.Zd.get(a))?a.fa():0},Y0(a){return(a=this.Zd.get(a))?a.ga():0},aaa(a){return(a=QE(this,a))?a.jk():0},baa(a){return(a=this.Zd.get(a))?a.jk():0},K1(a){return(a=QE(this,a))?VE.lf(a.Da()):0},L1(a){return(a=this.Zd.get(a))?VE.lf(a.Da()):0},o3(){sD(this.g);return this.OC},E1(){sD(this.g);return this.kJ},d2(){sD(this.g);return this.lJ},h4(){sD(this.g);return this.mJ},$0(){tD(this.g);return this.HG},b1(){tD(this.g);return this.IG},d1(){tD(this.g); +return this.JG},Z0(){tD(this.g);return this.KG},a1(){tD(this.g);return this.LG},c1(){tD(this.g);return this.MG},Kaa(){return this.Fu},Jaa(){return this.vD},uba(a){return(a=this.Zd.get(a))?a.K():0},u4(a){return(a=this.Zd.get(a))?a.I():0},D7(a){return(a=this.Zd.get(a))?a.lQ:0}};"use strict";const SE=self.B;let XE=-1E3,YE=-1E3,bF=-1E4; +function PE(a,b){if(a.XH)return"";if(333>=b-a.vp&&!a.qC&&15>SE.Sn(a.pD,a.qD,a.Y,a.S)){if(666>=b-bF&&25>SE.Sn(XE,YE,a.Y,a.S))return YE=XE=-1E3,bF=-1E4,"double-tap";XE=a.Y;YE=a.S;bF=b;return"single-tap"}return""}function WE(a,b,d,c){if("undefined"===typeof d){b=en(b,0);d=a.Y;var e=a.S;a=b.ad;const g=b.Rj,k=b.bf,l=b.cf,n=b.Af;b.ad=1;b.Rj=1;b.bf=1;b.cf=1;b.Af=0;am(b);d=pm(b,d,e);b.ad=a;b.Rj=g;b.bf=k;b.cf=l;b.Af=n;am(b);return d[c?0:1]}return(b=b.O(d))?pm(b,a.Y,a.S)[c?0:1]:0} +SE.C.Touch.vX=class extends SE.ua{constructor(){super();this.lQ=this.R=this.P=this.AC=this.zC=this.S=this.Y=this.qD=this.pD=this.yC=this.Cc=this.vp=this.ve=this.jQ=0;this.qC=this.XH=!1}j(){}Ah(a,b,d,c,e){this.jQ=c;this.ve=e;this.vp=this.yC=this.Cc=a;this.pD=b;this.qD=d;this.Y=b;this.S=d;this.zC=b;this.AC=d}Mm(a,b,d,c,e,g){this.yC=this.Cc;this.Cc=a;this.zC=this.Y;this.AC=this.S;this.Y=b;this.S=d;this.P=c;this.R=e;this.lQ=g;!this.qC&&15<=SE.Sn(this.pD,this.qD,this.Y,this.S)&&(this.qC=!0)}yg(){return this.jQ}wa(){return this.Cc}fa(){return this.Y}ga(){return this.S}jk(){const a= +SE.Sn(this.Y,this.S,this.zC,this.AC),b=(this.Cc-this.yC)/1E3;return 0{k?fF(a,b,d,k):(a.Zo=l.replace(/\r\n/g,"\n"),gF(a,b))}):fF(a,b,d,c)}else fF(a,b,d,c)}async function jF(a,b,d){const c=a.g.tb,e=a.Wx;a.Wx=null;try{if(e){const g=await il(c,d,"buffer");e.HW(g);a.Zo=""}else a.Zo=(await il(c,d,"text")).replace(/\r\n/g,"\n");a.Ix=0;gF(a,b)}catch(g){fF(a,b,d,g)}} +function kF(a,b,d,c,e){return new Promise(g=>{const k=n=>{iF(a,b,d,n);g()},l=a.Wx;a.Wx=null;try{const n=new XMLHttpRequest;n.onreadystatechange=()=>{if(4===n.readyState){a.Zo=l?"":(n.responseText||"").replace(/\r\n/g,"\n");a.Ix=n.status;if(400<=n.status)fF(a,b,d,n.status+n.statusText);else{const p=a.Zo.length||l&&n.response instanceof ArrayBuffer;a.lC&&!p||!a.lC&&0===n.status&&!p||(l&&l.HW(n.response),gF(a,b))}g()}};n.onerror=k;n.ontimeout=k;n.onabort=k;n.onprogress=p=>hF(a,b,p);n.open(c,d);0<=a.Bp&& +"undefined"!==typeof n.timeout&&(n.timeout=a.Bp);n.responseType=l?"arraybuffer":"text";e&&!a.LC.has("Content-Type")&&("string"!==typeof e?n.setRequestHeader("Content-Type","application/octet-stream"):n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"));for(const [p,r]of a.LC)try{n.setRequestHeader(p,r)}catch(w){console.error(`[Construct] AJAX: Failed to set header '${p}: ${r}': `,w)}a.LC.clear();if(a.MC){try{n.overrideMimeType(a.MC)}catch(p){console.error("[Construct] AJAX: failed to override MIME type: ", +p)}a.MC=""}a.gJ&&(n.withCredentials=!0,a.gJ=!1);e?n.send(e):n.send()}catch(n){k(n)}})} +eF.C.nh.Instance=class extends eF.ro{constructor(a){super(a);this.Zo="";this.Ix=0;this.Ol="";this.zJ=0;this.Bp=-1;this.LC=new Map;this.Wx=null;this.MC="";this.gJ=!1;this.$P=this.bQ=this.aQ=null;if(this.lC="nwjs"===this.g.Ql)this.aQ=require("fs"),this.bQ=require("path"),this.$P=this.bQ.dirname((self.process||nw.process).execPath)+"\\"}j(){super.j()}Hc(){return{lastData:this.Zo,lastStatusCode:this.Ix}}$b(a){this.Zo=a.lastData;this.Ix=a.hasOwnProperty("lastStatusCode")?a.lastStatusCode:0;this.Ol=""; +this.zJ=0}};const lF=self.B;lF.C.nh.J={KM(a){return lF.ke(this.Ol,a)},tV(){return!0},DV(a){return lF.ke(this.Ol,a)},uV(){return!0},SV(a){return lF.ke(this.Ol,a)}};const mF=self.B; +mF.C.nh.Za={async Request(a,b){zC(this.g)&&mF.ys(b)&&this.g.tb.Uo?await jF(this,a,b):this.g.no()&&mF.ys(b)?(b=gl(this.g.tb,b),await kF(this,a,b,"GET",null)):await kF(this,a,b,"GET",null)},async xW(a,b){zC(this.g)&&this.g.tb.Uo?await jF(this,a,b):await kF(this,a,gl(this.g.tb,b),"GET",null)},async y7(a,b,d,c){await kF(this,a,b,c,d)},async z7(a,b,d,c){d&&(d=fx(d,this.T))&&(d=d.ma.i4(),await kF(this,a,b,c,d))},C$(a){this.Bp=1E3*a},J9(a,b){this.LC.set(a,b)},x$(a){a&&(a=fx(a,this.T))&&(this.Wx=a.ma)},T6(a){this.MC= +a},P$(a){this.gJ=!!a}};self.B.C.nh.Qb={cV(){return this.Zo},x5(){return this.Ix},qW(){return this.zJ},Tag(){return this.Ol}};"use strict";const nF=self.B,oF=[];nF.C.Audio=class extends nF.lj{constructor(a){super(a)}gG(a){oF.push(a)}j(){super.j()}};const pF=self.B;pF.C.Audio.Jg=class extends pF.pk{constructor(a){super(a)}j(){super.j()}rc(){}qf(){return self.pU}};self.pU=class extends self.Av{constructor(a){super(a)}};const qF=self.B,rF=["interactive","balanced","playback"]; +function uq(a){return null!==a.g.Bd?"running":a.ZG}function sF(a,b){const d=b.tickCount;a.nJ=b.outputLatency;const c=a.Vh.filter(e=>e.hasOwnProperty("placeholder")&&(e.placeholder>d||-1===e.placeholder));a.Vh=b.audioInstances;a.sC=b.analysers;0!!d):b?[b]:[]}function vF(a,b){for(const d of b){b=!1;for(const c of a)if(qF.ke(c,d)){b=!0;break}if(!b)return!1}return!0}function wF(a){a=Math.pow(10,a/20);return isFinite(a)?Math.max(Math.min(a,1),0):0}function xF(a,b){b=uF(a,b);for(const d of a.Vh)if(vF(d.tags,b))return d;return null}function yF(a,b){const d=uF(a,b);return a.Vh.some(c=>vF(c.tags,d)&&c.isPlaying)} +function zF(a,b,d,c,e,g){if(yF(a,d))return null;const k=a.mO.get(b);b={tags:uF(a,d),duration:k?k.duration:0,volume:g,isPlaying:!0,playbackTime:0,playbackRate:1,uid:-1,bufferOriginalUrl:b,bufferUrl:"",bufferType:"",isMusic:c,isLooping:e,isMuted:!1,resumePosition:0,pan:null,placeholder:-1};a.Vh.push(b);return b} +function AF(a){return a.Vh.filter(b=>-1!==b.uid).map(b=>xp(a.g,b.uid)).filter(b=>b).map(b=>{const d=b.m(),c=d.O().Da(),[e,g]=BF(d.fa(),d.ga(),-c,a.Lf[0],a.Lf[1]);return{uid:b.Yb,x:e,y:g,z:Vm(d),angle:d.Da()-c}})}function BF(a,b,d,c,e){if(0===d)return[a,b];const g=Math.sin(d);d=Math.cos(d);a-=c;b-=e;const k=a*g;a=a*d-b*g;b=b*d+k;return[a+c,b+e]}function CF(a,b,d){for(const c of a.sC)if(c.index===d&&qF.ke(c.tag,b))return c;return null} +function DF(a,b){for(const d of uF(a,b))b=d.toLowerCase(),a.vB.set(b,(a.vB.get(b)||0)+1)} +qF.C.Audio.Instance=class extends qF.ro{constructor(a,b){super(a,"audio");this.Oi=0;this.bK=[];this.CO=!0;this.oy=this.OQ=0;this.uJ=!1;this.AO=this.fQ=1;this.Lf=[this.g.ih/2,this.g.jf/2,600];this.cp=[0,0,-1];this.ep=[0,1,0];this.qQ=600;this.PP=1E4;this.uQ=1;this.Gj=null;this.DC=-1;this.gu=1;this.Uh=!1;this.vQ=0;this.ZG="suspended";this.nJ=0;this.vB=new Map;this.xJ=this.yJ=0;this.mO=new Map;this.Bn=new Map;a="interactive";b&&(this.OQ=b[0],this.oy=b[1],this.uJ=b[2],a=rF[b[3]],this.CO=b[4],this.fQ=b[5], +this.AO=b[6],this.Lf[2]=b[7],this.qQ=b[8],this.PP=b[9],this.uQ=b[10]);this.Vh=[];this.Tt=[];this.sC=[];Xy(this,[["state",d=>sF(this,d)],["audiocontext-state",d=>{this.ZG=d.audioContextState}],["fxstate",d=>{this.Tt=d.fxstate}],["trigger",d=>tF(this,d)],["buffer-metadata",d=>{this.mO.set(d.originalUrl,{duration:d.duration})}]]);b=this.F().fb();this.kg=new qF.Kz(qF.le.Yf(b,"instancedestroy",d=>{this.Gj===d.instance&&(this.Gj=null)}),qF.le.Yf(b,"afterload",()=>this.zk()),qF.le.Yf(b,"suspend",()=>{this.uJ|| +Yy(this,"set-suspended",{isSuspended:!0})}),qF.le.Yf(b,"resume",()=>{this.uJ||Yy(this,"set-suspended",{isSuspended:!1})}));WC(this.g,Zy(this,"create-audio-context",{preloadList:sl(this.g.tb).map(d=>({originalUrl:d.r0,url:d.url,type:d.type,fileSize:d.fileSize})),isiOSCordova:this.g.EI,isSafari:"Safari"===qF.V.Oe,timeScaleMode:this.OQ,latencyHint:a,panningModel:this.fQ,distanceModel:this.AO,refDistance:this.qQ,maxDistance:this.PP,rolloffFactor:this.uQ,listenerPos:this.Lf}).then(d=>{this.vQ=d.sampleRate; +this.ZG=d.audioContextState;this.nJ=d.outputLatency}));this.Lg()}j(){this.Gj=null;super.j()}gG(a){this.ab().gG(a)}Se(){const a={timeScale:this.g.Yd,gameTime:this.g.Zw.U(),instPans:AF(this),tickCount:this.g.zp};if(this.Gj){const b=this.Gj.m();this.Lf[0]=b.fa();this.Lf[1]=b.ga();a.listenerPos=this.Lf;a.listenerOrientation=[...this.cp,...this.ep]}Yy(this,"tick",a)}Hc(){return{isSilent:this.Uh,masterVolume:this.gu,listenerZ:this.Lf[2],listenerForwardVec:this.cp,listenerUpVec:this.ep,listenerUid:this.Gj? +this.Gj.Yb:-1,remoteUrls:[...this.Bn.entries()],playing:this.Vh.filter(a=>a.hasOwnProperty("placeholder")||3===this.oy?!1:a.isMusic&&1===this.oy?!1:a.isMusic||2!==this.oy?!0:!1),effects:this.Tt,analysers:this.sC}}$b(a){this.Uh=a.isSilent;this.gu=a.masterVolume;this.Lf[2]=a.listenerZ;this.Gj=null;this.DC=a.listenerUid;a.hasOwnProperty("listenerForwardVec")?this.cp=a.listenerForwardVec:this.cp=[0,0,-1];a.hasOwnProperty("listenerUpVec")?this.ep=a.listenerUpVec:this.ep=[0,1,0];this.Bn.clear();if(a.remoteUrls)for(const [b, +d]of a.remoteUrls)this.Bn.set(b,d);this.Vh=a.playing;for(const b of this.Vh)b.hasOwnProperty("tag")&&!b.hasOwnProperty("tags")&&(b.tags=[b.tag].filter(d=>!!d));this.Tt=a.effects;this.sC=a.analysers}zk(){if(-1!==this.DC&&(this.Gj=xp(this.g,this.DC),this.DC=-1,this.Gj)){var a=this.Gj.m();this.Lf[0]=a.fa();this.Lf[1]=a.ga()}for(var b of this.Vh)(a=rl(this.g.tb,b.bufferOriginalUrl))?(b.bufferUrl=a.url,b.bufferType=a.type):b.bufferUrl=null;for(const d of Object.values(this.Tt))for(const c of d)c.hasOwnProperty("bufferOriginalUrl")&& +(b=rl(this.g.tb,c.bufferOriginalUrl))&&(c.bufferUrl=b.url,c.bufferType=b.type);Yy(this,"load-state",{saveLoadMode:this.oy,timeScale:this.g.Yd,gameTime:this.g.Zw.U(),listenerPos:this.Lf,listenerOrientation:[...this.cp,...this.ep],isSilent:this.Uh,masterVolume:this.gu,playing:this.Vh.filter(d=>null!==d.bufferUrl),effects:this.Tt})}}; +self.B.C.Audio.J={CV(a){return vF(this.bK,uF(this,a))},EV(a){return vF(this.bK,uF(this,a))},C7(){return this.xJ===this.yJ},C1(){return!0},m5(){return this.Uh},IU(){for(const a of this.Vh)if(a.isPlaying)return!0;return!1},o5(a){return yF(this,a)}};const EF=self.B,FF="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" "); +EF.C.Audio.Za={Play(a,b,d,c,e){a=EF.C.Audio.Za.PN.call(this,a,b,d,c,e);this.gG(a);return a},ZM(a,b,d,c){EF.C.Audio.Za.PN.call(this,a,0,b,0,d,c)},async PN(a,b,d,c,e,g){if(!this.Uh){var k=a[1],l=rl(this.g.tb,a[0]);if(l){var n=this.Oi;this.Oi=0;var p=zF(this,a[0],e,k,0!==b,wF(d));try{await Zy(this,"play",{originalUrl:a[0],url:l.url,type:l.type,isMusic:k,tags:uF(this,e),isLooping:0!==b,vol:wF(d),stereoPan:EF.X(c/100,-1,1),pos:g||0,off:n,trueClock:!!self.C3_GetAudioContextCurrentTime})}finally{p&&(p.placeholder= +this.g.zp)}}}},async p7(a,b,d,c,e,g,k,l,n,p,r){if(!this.Uh){var w=a[1],v=rl(this.g.tb,a[0]);if(v){var y=this.Oi;this.Oi=0;var C=zF(this,a[0],r,w,0!==b,wF(d));try{await Zy(this,"play",{originalUrl:a[0],url:v.url,type:v.type,isMusic:w,tags:uF(this,r),isLooping:0!==b,vol:wF(d),pos:0,off:y,trueClock:!!self.C3_GetAudioContextCurrentTime,panning:{x:c,y:e,z:g,angle:EF.Pa(k),innerAngle:EF.Pa(l),outerAngle:EF.Pa(n),outerGain:wF(p)}})}finally{C&&(C.placeholder=this.g.zp)}}}},async n7(a,b,d,c,e,g,k,l){if(!this.Uh&& +c&&(c=fx(c))&&c.m()){var n=c.m(),p=n.O().Da(),[r,w]=BF(n.fa(),n.ga(),-p,this.Lf[0],this.Lf[1]),v=a[1],y=rl(this.g.tb,a[0]);if(y){var C=this.Oi;this.Oi=0;var E=zF(this,a[0],l,v,0!==b,wF(d));try{await Zy(this,"play",{originalUrl:a[0],url:y.url,type:y.type,isMusic:v,tags:uF(this,l),isLooping:0!==b,vol:wF(d),pos:0,off:C,trueClock:!!self.C3_GetAudioContextCurrentTime,panning:{x:r,y:w,z:Vm(n),angle:n.Da()-p,innerAngle:EF.Pa(e),outerAngle:EF.Pa(g),outerGain:wF(k),uid:c.Yb}})}finally{E&&(E.placeholder=this.g.zp)}}}}, +async r7(a,b,d,c,e,g){if(!this.Uh){a=1===a;var k=rl(this.g.tb,b)||this.Bn.get(b.toLowerCase());if(k){var l=this.Oi;this.Oi=0;var n=zF(this,b,g,a,0!==d,wF(c));try{await Zy(this,"play",{originalUrl:b,url:k.url,type:k.type,isMusic:a,tags:uF(this,g),isLooping:0!==d,vol:wF(c),stereoPan:EF.X(e/100,-1,1),pos:0,off:l,trueClock:!!self.C3_GetAudioContextCurrentTime})}finally{n&&(n.placeholder=this.g.zp)}}}},async q7(a,b,d,c,e,g,k,l,n,p,r,w){if(!this.Uh){a=1===a;var v=rl(this.g.tb,b)||this.Bn.get(b.toLowerCase()); +if(v){var y=this.Oi;this.Oi=0;var C=zF(this,b,w,a,0!==d,wF(c));try{await Zy(this,"play",{originalUrl:b,url:v.url,type:v.type,isMusic:a,tags:uF(this,w),isLooping:0!==d,vol:wF(c),pos:0,off:y,trueClock:!!self.C3_GetAudioContextCurrentTime,panning:{x:e,y:g,z:k,angle:EF.Pa(l),innerAngle:EF.Pa(n),outerAngle:EF.Pa(p),outerGain:wF(r)}})}finally{C&&(C.placeholder=this.g.zp)}}}},async o7(a,b,d,c,e,g,k,l,n){if(!this.Uh&&!this.Uh&&e&&(e=fx(e))&&e.m()){var p=e.m(),r=p.O().Da(),[w,v]=BF(p.fa(),p.ga(),-r,this.Lf[0], +this.Lf[1]);a=1===a;var y=rl(this.g.tb,b)||this.Bn.get(b.toLowerCase());if(y){var C=this.Oi;this.Oi=0;var E=zF(this,b,n,a,0!==d,wF(c));try{await Zy(this,"play",{originalUrl:b,url:y.url,type:y.type,isMusic:a,tags:uF(this,n),isLooping:0!==d,vol:wF(c),pos:0,off:C,trueClock:!!self.C3_GetAudioContextCurrentTime,panning:{x:w,y:v,z:Vm(p),angle:p.Da()-r,innerAngle:EF.Pa(g),outerAngle:EF.Pa(k),outerGain:wF(l),uid:e.Yb}})}finally{E&&(E.placeholder=this.g.zp)}}}},i$(a,b){Yy(this,"set-looping",{tags:uF(this, +a),isLooping:0===b})},o$(a,b){Yy(this,"set-muted",{tags:uF(this,a),isMuted:0===b})},vo(a,b){Yy(this,"set-volume",{tags:uF(this,a),vol:wF(b)})},U3(a,b,d,c){Yy(this,"fade-volume",{tags:uF(this,a),vol:wF(b),duration:d,stopOnEnd:0===c})},A$(a,b){Yy(this,"set-stereo-pan",{tags:uF(this,a),p:EF.X(b/100,-1,1)})},async A7(a){const b=a[1],d=rl(this.g.tb,a[0]);d&&(this.yJ++,await Zy(this,"preload",{originalUrl:a[0],url:d.url,type:d.type,isMusic:b}),this.xJ++)},async B7(a,b){a=1===a;const d=rl(this.g.tb,b)|| +this.Bn.get(b.toLowerCase());d&&(this.yJ++,await Zy(this,"preload",{originalUrl:b,url:d.url,type:d.type,isMusic:a}),this.xJ++)},Fh(a,b){Yy(this,"set-playback-rate",{tags:uF(this,a),rate:Math.max(b,0)})},jd(a){Yy(this,"stop",{tags:uF(this,a)})},haa(){Yy(this,"stop-all")},r$(a,b){Yy(this,"set-paused",{tags:uF(this,a),paused:0===b})},f9(a,b){Yy(this,"seek",{tags:uF(this,a),pos:b})},z$(a){2===a&&(a=this.Uh?1:0);a=0===a;this.Uh!==a&&(this.Uh=a,Yy(this,"set-silent",{isSilent:a}))},k$(a){a=wF(a);this.gu!== +a&&(this.gu=a,Yy(this,"set-master-volume",{vol:a}))},l1(a,b,d,c,e,g,k){b=FF[b];DF(this,a);Yy(this,"add-effect",{type:"filter",tags:uF(this,a),params:[b,d,c,e,g,EF.X(k/100,0,1)]})},h1(a,b,d,c){DF(this,a);Yy(this,"add-effect",{type:"delay",tags:uF(this,a),params:[b,wF(d),EF.X(c/100,0,1)]})},m1(a,b,d,c,e,g){DF(this,a);Yy(this,"add-effect",{type:"flanger",tags:uF(this,a),params:[b/1E3,d/1E3,c,e/100,EF.X(g/100,0,1)]})},u1(a,b,d,c,e,g,k){DF(this,a);Yy(this,"add-effect",{type:"phaser",tags:uF(this,a),params:[b, +d,c,e,g,EF.X(k/100,0,1)]})},g1(a,b,d,c){const e=rl(this.g.tb,b[0]);e&&(DF(this,a),Yy(this,"add-effect",{type:"convolution",tags:uF(this,a),bufferOriginalUrl:b[0],bufferUrl:e.url,bufferType:e.type,params:[0===d,EF.X(c/100,0,1)]}))},o1(a,b){DF(this,a);Yy(this,"add-effect",{type:"gain",tags:uF(this,a),params:[wF(b)]})},z1(a,b){DF(this,a);Yy(this,"add-effect",{type:"stereopan",tags:uF(this,a),params:[EF.X(b/100,-1,1)]})},t1(a){DF(this,a);Yy(this,"add-effect",{type:"gain",tags:uF(this,a),params:[0]})}, +A1(a,b,d){DF(this,a);Yy(this,"add-effect",{type:"tremolo",tags:uF(this,a),params:[b,EF.X(d/100,0,1)]})},w1(a,b,d){DF(this,a);Yy(this,"add-effect",{type:"ringmod",tags:uF(this,a),params:[b,EF.X(d/100,0,1)]})},i1(a,b,d,c,e,g){DF(this,a);Yy(this,"add-effect",{type:"distortion",tags:uF(this,a),params:[Math.pow(10,b/20),Math.pow(10,d/20),c,Math.pow(10,e/20),EF.X(g/100,0,1)]})},f1(a,b,d,c,e,g){DF(this,a);Yy(this,"add-effect",{type:"compressor",tags:uF(this,a),params:[b,d,c,e/1E3,g/1E3]})},e1(a,b,d){DF(this, +a);Yy(this,"add-effect",{type:"analyser",tags:uF(this,a),params:[b,d]})},M7(a){a=uF(this,a);for(const b of a)this.vB.set(b.toLowerCase(),0);Yy(this,"remove-effects",{tags:a});this.Tt={}},Lv(a,b,d,c,e,g){Yy(this,"set-effect-param",{tags:uF(this,a),index:Math.floor(b),param:d,value:c,ramp:e,time:g})},f$(a){a&&(a=fx(a))&&a.m()&&(this.Gj=a)},h$(a){this.Lf[2]=a},g$(a,b,d,c,e,g){this.cp[0]=a;this.cp[1]=b;this.cp[2]=-d;this.ep[0]=c;this.ep[1]=e;this.ep[2]=-g},Z8(a){this.Oi=Math.max(a,0)},Saa(a){const b= +a[1];(a=rl(this.g.tb,a[0]))&&Yy(this,"unload",{url:a.url,type:a.type,isMusic:b})},Taa(a,b){a=1===a;(b=rl(this.g.tb,b)||this.Bn.get(b.toLowerCase()))&&Yy(this,"unload",{url:b.url,type:b.type,isMusic:a})},Raa(){Yy(this,"unload-all")},v1(a,b,d){this.Bn.set(d.toLowerCase(),{url:a,type:b})}}; +self.B.C.Audio.Qb={G3(a){return(a=xF(this,a))?a.duration:0},kW(a){return(a=xF(this,a))?a.playbackTime:0},jW(a){return(a=xF(this,a))?a.playbackRate:0},GX(a){return(a=xF(this,a))?Math.log(Math.max(Math.min(a.volume,1),0))/Math.log(10)*20:0},c6(){return Math.log(Math.max(Math.min(this.gu,1),0))/Math.log(10)*20},H3(a){return this.vB.get(a.toLowerCase())||0},G1(a,b){return(a=CF(this,a,Math.floor(b)))?a.binCount:0},F1(a,b,d){a=CF(this,a,Math.floor(b));if(!a)return 0;d=Math.floor(d);return 0>d||d>=a.binCount? +0:a.freqBins[d]},H1(a,b){return(a=CF(this,a,Math.floor(b)))?a.peak:0},I1(a,b){return(a=CF(this,a,Math.floor(b)))?a.rms:0},Y8(){return this.vQ},z3(){return self.C3_GetAudioContextCurrentTime?self.C3_GetAudioContextCurrentTime():performance.now()/1E3},S6(){return this.nJ}};"use strict";const GF=self.B;GF.C.Lb=class extends GF.lj{constructor(a){super(a)}j(){super.j()}};const HF=self.B,IF=[];function JF(a){for(const b of Cj(a.L))KF(b.ma)} +HF.C.Lb.Jg=class extends HF.pk{constructor(a){super(a);this.uc=a.uc}j(){HF.D(this.uc);super.j()}rc(){for(const b of this.uc){var a=this.g;for(const d of b.Yc)rz(d.oc(),a)}}qo(a){const b={ii:this.g.td};return Promise.all(this.uc.map(d=>vz(d,a,b)))}Gm(){for(const a of this.uc)wz(a)}uA(){JF(this)}ms(a){HF.C.Lb.ZL(this,a)}yE(){IF.push({cL:null,qR:!1,iz:[]})}wE(){const a=IF.pop(),b=a.cL,d=a.qR;if(b){var c=new Map;for(const e of a.iz)dA(e,c,b,d);for(const [e,g]of c)Xs(e.aa(),g)}}}; +const LF=self.B,MF=self.nf,NF=LF.A(LF.Rect),OF=LF.A(LF.Md),PF=LF.A(LF.xo);function KF(a){const b=a.Xe.oc();a.it=b.Kd();a.tH=b.ag();a.Iw=b.us();a=a.m();un(a,65536,!0)}function QF(a,b){const d=a.Xe;var c=Mz(a.L,a.Lq);a.Lq="";!c||c===a.Mb&&cA(a.T,2)||(a.Mb=c,bA(a.T,1,0<=c.jk()),a.xj=Math.abs(c.jk()),a.ht=c.sQ,a.Hb=LF.X(a.Hb,0,a.Mb.Yc.length-1),1===a.qO&&(a.Hb=0),bA(a.T,2,!0),a.Pk=a.Co.U(),c=xz(a.Mb,a.Hb),RF(a,d,c,b))} +function SF(a){const b=a.Xe;var d=a.Hb;a.Hb=LF.X(Math.floor(a.Cw),0,a.Mb.Yc.length-1);a.Cw=-1;d!==a.Hb&&(d=xz(a.Mb,a.Hb),RF(a,b,d),a.Pk=a.Co.U())}function TF(a,b){a.Hb=b?0:a.Mb.Yc.length-1;bA(a.T,2,!1);a.WG=a.Mb.na();bA(a.T,4,!0);a.bv("animationend",!1,{animationName:a.WG});a.oa(LF.C.Lb.J.sV);a.oa(LF.C.Lb.J.rV);bA(a.T,4,!1);a.Kl=0} +function RF(a,b,d,c){if(b!==d){var e=a.m(),g=b.oc();b=d.oc();var k=g.K();g=g.I();var l=b.K(),n=b.I();c&&c.q0?c.q0(e,k,g,l,n):(k!==l&&e.Ae(e.K()*(l/k)),g!==n&&e.Re(e.I()*(n/g)));e.Lj=+d.zg();e.Mj=+d.Ag();tB(e,d.Mq);wk(e);a.Xe=d;a.it=b.Kd();a.tH=b.ag();a.Iw=b.us();d=a.Z().yd;for(let p=0,r=d.length;pb||b>=c)return[0,0];d=d.ue;return[d[2*b]+a.fa(),d[2*b+1]+a.ga()]} +LF.C.Lb.Instance=class extends LF.Kv{constructor(a,b){super(a);let d=!0,c="",e=0,g=!0;b&&(d=!!b[0],c=b[1],e=b[2],g=b[3]);this.Mb=Mz(this.L,c)||this.L.uc[0];this.Hb=LF.X(e,0,this.Mb.Yc.length-1);this.Xe=xz(this.Mb,this.Hb);b=this.Xe.oc();this.it=b.Kd();this.tH=b.ag();this.Iw=b.us();bz(this);bA(a,2,!0);bA(a,1,0<=this.Mb.jk());this.xj=Math.abs(this.Mb.jk());this.ht=this.Mb.sQ;this.Co=LF.A(LF.Cv);this.Kl=this.Pk=0;this.WG="";this.Cw=-1;this.Lq="";this.qO=0;a=this.m();this.cB=VA(a);a.hg(d);rB(a,g);a.Lj= ++this.Xe.zg();a.Mj=+this.Xe.Ag();tB(a,this.Xe.Mq);wk(a);1===this.L.uc.length&&1===this.L.uc[0].Yc.length||0===this.xj||this.Lg()}j(){this.Co=this.it=this.Xe=this.Mb=null;super.j()}li(){return this.Xe.oc()}Bh(){return!0}Bs(){this.it=null}RM(){KF(this)}xg(a){var b=this.it;null!==b&&(pi(a,b),b=this.m(),ay(b)?this.mG(b,a):this.nG(b,a))}nG(a,b){var d=this.cB;this.g.Vk&&(d=sB(a,d));a=d;d=this.Iw;gi(b);vi(b,a);d.mh(b.yp,b.we);b.we+=8}mG(a,b){const d=uB(a);if(0!==(a.ca&65536)){SA(a,NF,OF,!1);let c=OF;this.g.Vk&& +(c=sB(a,c));dg(d,by(a),c,this.Iw);un(a,65536,!1)}d.xg(b)}Se(){this.Lq&&QF(this);0<=this.Cw&&SF(this);const a=this.xj;if(cA(this.T,2)&&0!==a){this.Co.Kb(vj(this.g,this.T));var b=this.Co.U(),d=this.Xe,c=d.Nw/a;if(!(b=k&&(p?(bA(this.T,1,!1),this.Hb=k-2):n?this.Hb=g:(this.Kl++,this.Kl>=l?TF(this,!1):this.Hb=g));0>this.Hb&&(p?(this.Hb=1,bA(this.T,1,!0),n||(this.Kl++,this.Kl>=l&& +TF(this,!0))):n?this.Hb=g:(this.Kl++,this.Kl>=l?TF(this,!0):this.Hb=g));this.Hb=LF.X(this.Hb,0,k-1);c=xz(e,this.Hb);b>this.Pk+c.Nw/a&&(this.Pk=b);RF(this,d,c)}}else this.zo()}Kd(){return this.it}ag(){return this.tH}us(){return this.Iw}qv(){return this.Xe.qv()}Bm(a){const b=this.Xe,d=this.m();if("string"===typeof a)a=b.dI.get(a.toLowerCase())||null;else if("number"===typeof a)a=zz(b,a-1);else throw new TypeError("expected string or number");let c=Vm(d);if(!a)return[d.fa(),d.ga(),c];PF.xa(a.wJ);if(ay(d)){const [e, +g,k]=gg(by(d),PF.Y,PF.S);PF.set(e,g);c+=k}PF.offset(-b.zg(),-b.Ag());PF.scale(d.K(),d.I());PF.rotate(d.Da());PF.offset(d.fa(),d.ga());return[PF.Y,PF.S,c]}Hc(){const a={a:this.Mb.eb};0!==this.Pk&&(a.fs=this.Pk);var b=this.Co.U();0!==b&&(a.at=b);0!==this.Hb&&(a.f=this.Hb);0!==this.xj&&(a.cas=this.xj);1!==this.Kl&&(a.ar=this.Kl);0!==this.ht&&(a.rt=this.ht);cA(this.T,2)||(a.ap=cA(this.T,2));cA(this.T,1)||(a.af=cA(this.T,1));b=this.m();b.mk()&&(a.ce=b.mk());return a}$b(a){var b=this.G();if(!b.uc)throw Error("no animations"); +if(b=b.VA.get(a.a)||null)this.Mb=b;this.Pk=a.hasOwnProperty("fs")?a.fs:0;this.Co.Set(a.hasOwnProperty("at")?a.at:0);b=a.hasOwnProperty("f")?a.f:0;this.Hb=LF.X(b,0,this.Mb.Yc.length-1);this.xj=a.hasOwnProperty("cas")?a.cas:0;this.Kl=a.hasOwnProperty("ar")?a.ar:1;b=a.hasOwnProperty("rt")?a.rt:0;this.ht=LF.X(b,0,this.Mb.Yc.length-1);b=a.hasOwnProperty("ap")?!!a.ap:!0;bA(this.T,2,b);b=a.hasOwnProperty("af")?!!a.af:!0;bA(this.T,1,b);this.Xe=b=xz(this.Mb,this.Hb);KF(this);const d=this.m();d.Lj=+b.zg(); +d.Mj=+b.Ag();tB(d,b.Mq);rB(d,!!a.ce);cA(this.T,2)&&this.Lg()}Ec(a){const b=this.m();switch(a){case 3:return b.mk();case 2:return LF.X(this.Hb,0,this.Mb.Yc.length-1);case 1:return this.Mb.na()}}fg(a,b,d){var c=this.m();switch(a){case 3:rB(c,!!b);break;case 2:bA(this.T,2,!1);a=this.Mb.Yc.length-1;c=b=LF.X(b,0,a);b=xz(this.Mb,this.Hb);const e=xz(this.Mb,c);RF(this,b,e,d);this.Hb=LF.X(c,0,a);break;case 1:this.Lq=b,QF(this,d),1this.m().K()},X4(){return 0>this.m().I()},WM(){return!0},bW(){return!0},mk(){return this.m().mk()}};const ZF=self.B; +ZF.C.Lb.Za={$$(a,b,d,c){if(a&&b){var [e,g]=this.Bm(d);if(d=Ej(this.g,a,b,e,g,c))c&&Xl(b,d),a.ab().po()&&(b=d.m(),b.ae(this.m().Da()),wk(b)),b=this.g.Aa(),Fj(b,!0),Gj(d),Fj(b,!1),a!==this.g.kv().G()&&(b=IF.at(-1),b.cL=a,b.qR=c,b.iz.push(d))}},jaa(){bA(this.T,2,!1)},daa(a){bA(this.T,2,!0);this.Pk=this.Co.U();1===a&&0!==this.Hb&&(this.Cw=0,cA(this.T,4)||SF(this));this.Lg()},GW(a,b){this.Lq=a;this.qO=b;this.Lg();cA(this.T,4)||QF(this)},l9(a){VF(this,a)},n9(a){this.xj=Math.abs(a);bA(this.T,1,0<=a);0d.K()?-1:1;const e=0>d.I()?-1:1;c*=b.K()*a;a=b.I()*a*e;if(d.K()!==c||d.I()!==a)d.ec(c,a),wk(d)},async P5(a,b){const d=this.Xe.oc(),c=this.m(),e=this.g,g=this.jb;if(d.km===a)0===b&&(c.ec(d.K(),d.I()),wk(c)),this.oa(ZF.C.Lb.J.WM); +else{var k=ZF.A(ZF.lA);try{if(k.re)throw Error("already loaded asset");k.km=a;const l={};nz.oA(a)&&(l.mz="remote");rz(k,e,l);await tl(k.re);if(!k.iF())throw Error("image failed to load");if(this.yo()){k.j();return}await k.zs(e.Qa(),{ii:e.td})}catch(l){console.error("Load image from URL failed: ",l);this.yo()||this.oa(ZF.C.Lb.J.bW);return}if(this.yo())k.j();else{if(k===d)throw Error("cannot replace with self");d.OH++;d.nk();d.km=k.km;d.pu=k.pu;d.rr=k.rr;d.tr=k.tr;d.P=k.P;d.R=k.R;d.Wo=k.Wo;d.bx=k.bx; +d.re=k.re;d.hm=k.hm;d.Vi=k.Vi;d.xr=k.xr;pz(d);JF(g);g.G().fb().dispatchEvent(new ZF.Event("animationframeimagechange"));e.N();0===b&&(c.ec(d.K(),d.I()),wk(c));await this.Ud(ZF.C.Lb.J.WM)}}},u9(a){rB(this.m(),a)},PF(a,b){this.m().PF(0===a,b)},vN(a){this.m().Gg(a);this.g.N()}}; +self.B.C.Lb.Qb={M1(){return this.Hb},O1(){return this.Xe.Wi},N1(){return this.Mb.Yc.length},P1(){return this.Mb.na()},Q1(){return cA(this.T,1)?this.xj:-this.xj},R6(){return this.Mb.jk()},B4(a){return this.Bm(a)[0]},C4(a){return this.Bm(a)[1]},D4(a){return this.Bm(a)[2]},A4(){return this.qv()},E4(){return this.li().K()},z4(){return this.li().I()},t7(a){return WF(this,a)[0]},u7(a){return WF(this,a)[1]},s7(){return XA(this.m()).ue.length/2}};"use strict";const $F=self.B;$F.C.Jm=class extends $F.lj{constructor(a){super(a)}j(){super.j()}}; +const aG=self.B;aG.C.Jm.Jg=class extends aG.pk{constructor(a){super(a);this.Fb=aG.A(self.ZW)}j(){super.j()}rc(){rz(this.oc(),this.g)}qo(a){return this.oc().zs(a,{ii:this.g.td})}Gm(){this.oc().nk()}};const bG=self.B,cG=self.nf,dG=bG.A(bG.xo),eG=["left","center","right"],fG=["top","center","bottom"]; +function gG(a){const b=a.ge;if(b){b.BF(a.pe);b.mj(a.Fa);b.SF(a.Uf?"word":"character");var d=eG[a.dd];if(!hG.has(d))throw Error("invalid alignment");b.dd!==d&&(b.dd=d,b.Il());d=fG[a.Oc];if(!iG.has(d))throw Error("invalid alignment");b.Oc!==d&&(b.Oc=d,b.Il());d=a.an;b.Fn!==d&&(b.Fn=d,b.wd());b.Es(a.Pd)}}function jG(a,b){a.Nl!==b&&(a.Nl=b,a.ge.uo(a.Nl),a.g.N())}function kG(a,b){if(a.an!==b){a.an=b;b=a.ge;var d=a.an;b.Fn!==d&&(b.Fn=d,b.wd());a.g.N()}} +bG.C.Jm.Instance=class extends bG.Kv{constructor(a,b){super(a);this.Fa="";this.pe=!0;this.Lh=this.Bf=16;this.Io="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>";var d="";this.Nl=1;this.Oc=this.dd=this.Pd=this.an=0;this.Uf=!0;this.qp=!1;this.ge=this.Je=null;this.je=this.cj=-1;this.jl=0;b&&(this.Fa=b[0],this.pe=b[1],this.Bf=b[2],this.Lh=b[3],this.Io=b[4],d=b[5],this.Nl=b[6],this.an=b[7],this.Pd=b[8],this.dd=b[9],this.Oc=b[10],this.Uf=0=== +b[11],this.m().hg(b[12]),this.qp=!!b[14]);var c=this.jb;b=this.Bf;a=this.Lh;var e=this.Io;const g=c.oc();c=c.Fb;c.Ae(g.K());c.Re(g.I());c.BA(b);lG(c,a);mG(c,e);nG(c,d);oG(c);this.ge=bG.A(self.aX,this.jb.Fb);b=this.m();this.ge.ec(b.K(),b.I());gG(this);this.Rm();b=this.T;b.ca|=32}j(){this.xf();this.Je&&(this.Je.j(),this.Je=null);this.ge.j();this.ge=null;super.j()}Ai(){const a=this.m();this.ge.ec(a.K(),a.I());this.ge.uo(this.Nl)}Rm(){if(this.qp){let a=this.Fa;this.pe&&(a=a.replace(me,""));this.Je?this.Je.mj(a): +this.Je=bG.A(bG.tN,this.g,a)}else this.Je&&(this.Je.j(),this.Je=null)}xg(a){var b=this.L.oc(),d=b.Kd();if(d){pi(a,d);d=this.m();var c=VA(d),e=this.ge;e.uo(this.Nl);var g=d.RE();e.ty!==g&&(e.ty=g,e.wd());this.g.Vk&&(c=sB(d,c));e.ec(d.K(),d.I());g=e.Fb;b=b.ag();if(!g.gm.Fd(b)){g.gm.xa(b);for(const k of g.Ho.values())pG(k)}e.wi(d.Xa);e.xg(a,c.yb,c.wb,d.Da())}}Hc(){const a={t:this.Fa,ebbc:this.pe,csc:this.Nl,csp:this.an,lh:this.Pd,ha:this.dd,va:this.Oc,w:this.Uf,cw:this.jb.Fb.Bf,ch:this.jb.Fb.Lh,cs:this.jb.Fb.Io, +sd:this.jb.Fb.su};-1!==this.je&&(a.tw={st:this.cj,en:this.je,l:this.jl});return a}$b(a){this.xf();this.Fa=a.t;this.pe=a.ebbc;this.Nl=a.csc;this.an=a.csp;this.Pd=a.lh;this.dd=a.ha;this.Oc=a.va;this.Uf=a.w;if(a.hasOwnProperty("tw")){var b=a.tw;this.cj=b.st;this.je=b.en;this.jl=a.l}b=this.jb.Fb;b.BA(a.cw);lG(b,a.ch);mG(b,a.cs);nG(b,a.sd);gG(this);this.Rm();-1!==this.je&&this.Lg()}Ec(a){switch(a){case 0:return this.Fa;case 1:return this.pe;case 2:return this.jb.Fb.Bf;case 3:return this.jb.Fb.Lh;case 4:return this.jb.Fb.Io; +case 5:return this.jb.Fb.su;case 6:return this.Nl;case 7:return this.an;case 8:return this.Yv();case 9:return this.dd;case 10:return this.Oc;case 11:return this.Uf?1:0}}fg(a,b){switch(a){case 0:this.Kg(b);break;case 1:if(this.pe===!!b)break;this.pe=!!b;gG(this);break;case 2:this.jb.Fb.BA(b);break;case 3:lG(this.jb.Fb,b);break;case 4:mG(this.jb.Fb,b);break;case 5:nG(this.jb.Fb,b);break;case 6:jG(this,b);break;case 7:kG(this,b);break;case 8:this.Bq(b);break;case 9:this.ew(b);break;case 10:this.Cq(b); +break;case 11:this.gw(0===b)}}Kg(a){this.Fa!==a&&(this.Fa=a,this.ge.mj(a),this.Rm(),this.g.N())}GG(a,b){this.Kg(a);this.cj=this.g.Nr.U();this.je=this.cj+b/pk(this.Z());this.jl=bG.kT(a.replace(me,""));this.ge.uq(0);this.Lg()}xf(){this.je=this.cj=-1;this.jl=0;this.ge.uq(-1);this.zo()}oG(){-1!==this.je&&(this.xf(),this.oa(bG.C.Jm.J.Fv),this.g.N())}Bq(a){this.Pd!==a&&(this.Pd=a,this.ge.Es(this.Pd),this.g.N())}Yv(){return this.Pd}ew(a){this.dd!==a&&(this.dd=a,gG(this),this.g.N())}Cq(a){this.Oc!==a&&(this.Oc= +a,gG(this),this.g.N())}gw(a){a=!!a;this.Uf!==a&&(this.Uf=a,gG(this),this.g.N())}EG(a){this.qp=!!a;this.Rm()}sG(){this.Ai();return Ah(this.ge)}rG(){this.Ai();return this.ge.TE()}Zv(a,b){this.Ai();const d=this.m();dG.set(a-d.fa(),b-d.ga());dG.rotate(-d.Da());dG.offset(d.K()*d.zg(),d.I()*d.Ag());if(a=this.ge.YE(dG.Y,dG.S))if(a=Ie(a,"tag"))return a.nc;return""}tG(a,b,d){return(b=this.Zv(b,d))&&bG.ke(a,b)}Om(a,b){this.Ai();b=Math.floor(b);a=this.ge.IE(a,b);if(!a)return null;b=this.m();dG.set(a.Si,a.Ti); +dG.offset(-b.K()*b.zg(),-b.I()*b.Ag());dG.rotate(b.Da());dG.offset(b.fa(),b.ga());return{x:dG.Y,y:dG.S,width:a.K(),height:a.I()}}qG(a){this.Ai();return this.ge.FE(a)}Se(){var a=this.g.Nr.U();a>=this.je?(this.xf(),this.oa(bG.C.Jm.J.Fv),this.g.N()):(a=bG.aS(this.cj,this.je,a,this.jl),a=Math.floor(a),a!==this.ge.Nh&&(this.ge.uq(a),this.g.N()))}qf(){return self.oM}};const qG=new WeakMap,rG=new Map([["top",0],["center",1],["bottom",2]]); +self.oM=class extends self.ws{constructor(){super();qG.set(this,self.yh.xk().ma)}get text(){return qG.get(this).Fa}set text(a){cG.Nd(a);const b=qG.get(this);b.xf();b.Kg(a)}set lineHeight(a){cG.ye(a);qG.get(this).Bq(a)}get lineHeight(){return qG.get(this).Yv()}set verticalAlign(a){cG.Nd(a);a=rG.get(a);if("undefined"===typeof a)throw Error("invalid mode");qG.get(this).Cq(a)}get verticalAlign(){return fG[qG.get(this).Oc]}};const sG=self.B; +sG.C.Jm.J={NL(a,b){return b?this.Fa===a:sG.ke(this.Fa,a)},wM(){return-1!==this.je},Fv(){return!0},jU(a,b,d){return this.tG(a,b,d)}}; +self.B.C.Jm.Za={mj(a){this.xf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);this.Kg(a.toString())},MS(a){this.xf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);(a=a.toString())&&this.Kg(this.Fa+a)},HN(a,b){this.xf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);this.GG(a.toString(),b)},GN(){this.oG()},uo(a){jG(this,a)},s9(a){kG(this,a)},Es(a){this.Bq(a)},BA(a,b){var d=!1;const c=this.jb.Fb;for(const e of a)if(" "===e)d=b,0>d&&(d=-1),c.En!==d&&(c.En=d,0<=c.En&&(c.Dt= +!0)),d=!0;else if(a=tG(c,e))a.tB=b,d=!0;if(d){c.Dt=!0;for(const e of c.Hq)e.wd()}this.g.N()},vN(a){this.m().Gg(a);this.g.N()},LW(a){this.ew(a)},QW(a){this.Cq(a)},SW(a){this.gw(0===a)},PW(a){this.EG(a)}}; +self.B.C.Jm.Qb={F2(a){return(a=tG(this.jb.Fb,a))?uG(a):this.jb.Fb.Bf},C2(){return this.Lh},D2(){return this.Nl},E2(){return this.an},fV(){return this.Pd},Text(){return this.Fa},iW(){return this.pe?this.Fa.replace(me,""):this.Fa},pX(){return this.sG()},kX(){return this.rG()},dX(a,b){return this.Zv(a,b)},eX(a){return this.qG(a)},hX(a,b){return(a=this.Om(a,b))?a.x:0},iX(a,b){return(a=this.Om(a,b))?a.y:0},gX(a,b){return(a=this.Om(a,b))?a.width:0},fX(a,b){return(a=this.Om(a,b))?a.height:0}};"use strict"; +const vG=self.B;function uG(a){return 0>a.tB?a.Fb.Bf:a.tB}function pG(a){var b=a.Fb.K();let d=a.Fb.I();a.gm.xa(a.oQ);a.gm.ej(b,d);b=a.gm;a=a.Fb.ag();b.ba=vc.Pc(a.ba,a.ka,b.ba);b.$=vc.Pc(a.$,a.ia,b.$);b.ka=vc.Pc(a.ba,a.ka,b.ka);b.ia=vc.Pc(a.$,a.ia,b.ia)}self.$W=class{constructor(a,b,d,c){b=a.Bf;let e=a.Lh;this.Fb=a;this.oQ=new vG.Rect(d,c,d+b,c+e);this.gm=new vG.Rect;this.tB=-1;pG(this)}j(){this.gm=this.oQ=this.Fb=null}ag(){return this.gm}};"use strict"; +const wG=self.B,xG=new wG.Rect,yG=new wG.Md,nc=new wG.lb,hG=new Set(["left","center","right"]),iG=new Set(["top","center","bottom"]),zG=new Set(["word","character"]);function AG(a,b){a=a.trim();const d=parseFloat(a);return isFinite(d)?a.endsWith("%")?b*d/100:d:0}let BG=null;function CG(a){BG||(BG=wG.ki(32,32).getContext("2d"));BG.fillStyle=a;return BG.fillStyle} +self.aX=class{constructor(a){this.Fb=a;this.cn=this.jg=0;this.Fa="";this.Fe=!1;this.Ek=null;this.$d=wG.A(wG.wq);this.Or="word";this.yu=this.Pp=!1;this.dd="left";this.Oc="top";this.ty=this.ad=1;this.Pd=this.Fn=0;this.Xa=wG.A(wG.lb);this.Nh=-1;this.Fi=0;this.Qx=b=>this.aw(b);this.Fb.Hq.add(this)}j(){this.Fb.Hq.delete(this);this.Qx=this.Xa=null;this.$d.Rd();this.Ek=this.Fb=this.$d=null}aw(a){if(a.Al())return{width:0,height:0};var b=a.Ue,d=Ie(a,"scale"),c=(d?parseFloat(d.nc):this.ad)*this.ty;d=Ie(a,"scalex"); +d=(d?parseFloat(d.nc):1)*c;a=Ie(a,"scaley");a=this.Fb.Lh*(a?parseFloat(a.nc):1)*c+this.Pd;const e=this.Fb;c=e.Bf*d;const g=this.Fn;if(e.Dt){let l=0,n=0;for(var k of b){b=c;const p=tG(e,k);p?b=uG(p)*d:" "===k&&(b=(0>e.En?e.Bf:e.En)*d);n+=b;++l}return{width:n+l*g,height:a}}k=b.length;return{width:c*k+Math.max(k,0)*g,height:a}}Il(){this.yu=!0}wd(){this.Il();this.Pp=!0;this.$d.Rd()}ec(a,b){0>=a||0>=b||this.jg===a&&this.cn===b||(this.jg!==a?this.wd():this.Il(),this.jg=a,this.cn=b)}uq(a){this.Nh=Math.floor(a)}YE(a, +b){zh(this);const d=this.$d.Kf;for(const c of d)if(b>c.Ti&&b=e.Si&&ag+k.I(),0)-b;"center"===this.Oc?a=Math.max(Math.floor(this.cn/2-c/2),0):"bottom"===this.Oc&&(a=Math.floor(this.cn-c));for(let g=0,k=d.length;gthis.cn-(e-b))break;0<=a&&this.uG(c,a);a+=e}}uG(a,b){let d=0;"center"===this.dd?d=Math.max(Math.floor((this.jg-a.K())/2),0): +"right"===this.dd&&(d=Math.max(Math.floor(this.jg-a.K()),0));a.Hm(d);a.Im(b);for(const g of a.fj())if(!g.Al()){a=d;var c=b,e=Ie(g,"offsetx");a+=e?AG(e.nc,g.I()):0;e=Ie(g,"offsety");c+=e?AG(e.nc,g.I()):0;g.Hm(a);g.Im(c);d+=g.K()}}xg(a,b,d,c){zh(this);this.Fi=0;var e=wG.dz(this.$d.Kf);const g=Math.sin(c);c=Math.cos(c);for(const p of e){e=a;var k=b,l=d,n=p.Ti;if(Number.isFinite(p.Si)&&Number.isFinite(n)){n=p.I();for(const r of p.fj())this.lG(e,r,k,l,g,c,n)}}}lG(a,b,d,c,e,g,k){let l=b.Si,n=b.Ti;if(Number.isFinite(l)&& +Number.isFinite(n)){var p=b.Ue,r=b.K();if(-1!==this.Nh){if(this.Fi>=this.Nh)return;this.Fi+p.length>this.Nh&&(p=p.slice(0,this.Nh-this.Fi),r=this.aw(b).width);this.Fi+=p.length}var w=Ie(b,"background");if(!(wG.bF(p)&&!w||Ie(b,"hide"))){var v=Ie(b,"scale"),y=(v?parseFloat(v.nc):this.ad)*this.ty;v=Ie(b,"scalex");v=(v?parseFloat(v.nc):1)*y;var C=Ie(b,"scaley");y*=this.Fb.Lh*(C?parseFloat(C.nc):1);n+=k-this.Pd-y;w&&(Mf(a,a.Ey),mc(CG(w.nc)),dc(nc,1),a.wi(nc),xG.set(l,n,l+r,n+y),xG.ka>this.jg&&(xG.ka=+this.jg), +Ec(yG,xG,e,g),yG.offset(d,c),a.Md(yG),Lf(a));(k=Ie(b,"color"))?(mc(CG(k.nc)),dc(nc,this.Xa.Wa)):nc.xa(this.Xa);(b=Ie(b,"opacity"))&&dc(nc,nc.Wa*parseFloat(b.nc)/100);gc(nc);a.wi(nc);b=this.Fb.Bf*v;k=Math.abs(this.Fn);for(const E of p)if(p=tG(this.Fb,E)){r=uG(p)*v;if(l+r>this.jg+k+1E-5)break;xG.set(l,n,l+b,n+y);Ec(yG,xG,e,g);yG.offset(d,c);wi(a,yG,p.ag());l+=r+this.Fn}else p=this.Fb,l+=(0>p.En?p.Bf:p.En)*v+this.Fn}}}BF(a){a=!!a;this.Fe!==a&&(this.Fe=a,this.wd())}mj(a){this.Fa!==a&&(this.Fa=a,this.wd())}SF(a){if(!zG.has(a))throw Error("invalid word wrap mode"); +this.Or!==a&&(this.Or=a,this.wd())}uo(a){this.ad!==a&&(this.ad=a,this.wd())}RE(){return this.ty}Es(a){this.Pd=a;this.wd()}Ig(a){a=wG.X(a,0,1);this.Xa.a=a}wi(a){this.Xa.Fd(a)||this.Xa.xa(a)}TE(){zh(this);const a=this.Pd;return this.$d.Kf.length*(this.Fb.Lh*this.ad+a)-a}};"use strict";const DG=self.B,EG={width:256,height:256,oR:16,nR:16,characterSet:""};function lG(a,b){b=Math.floor(b);if(0>=b)throw Error("invalid size");a.Lh!==b&&(a.Lh=b,a.gp=!0)}function mG(a,b){a.Io!==b&&(a.Io=b,a.gp=!0)} +function nG(a,b){if(a.su!==b&&(a.su=b,a.gp=!0,a.Fy=null,a.su.length))try{a.Fy=JSON.parse(a.su)}catch(d){a.Fy=null}} +function oG(a){if(a.gp){FG(a);var b=DG.VF(a.Io),d=Math.floor(a.P/a.Bf),c=d*Math.floor(a.R/a.Lh);for(let e=0,g=b.length;e=c);++e){let k=b[e];a.Ho.has(k)||a.Ho.set(k,DG.A(self.$W,a,k,e%d*a.Bf,Math.floor(e/d)*a.Lh))}a.Dt=!1;a.En=-1;if(Array.isArray(a.Fy))for(let e of a.Fy)if(Array.isArray(e)&&2===e.length&&(b=e[0],d=e[1],"number"===typeof b&&isFinite(b)&&"string"===typeof d&&b!==a.Bf))for(let g of d)(d=a.Ho.get(g))?(d.tB=b,a.Dt=!0):" "===g&&(a.En=b,a.Dt=!0);a.gp=!1;for(let e of a.Hq)e.wd()}} +function tG(a,b){oG(a);return a.Ho.get(b)||null}function FG(a){for(let b of a.Ho.values())b.j();a.Ho.clear()} +self.ZW=class{constructor(a){a=Object.assign({},EG,a);if(0>=a.width||0>=a.height||0>=a.oR||0>=a.nR)throw Error("invalid size");this.P=a.width;this.R=a.height;this.Bf=a.oR;this.Lh=a.nR;this.Io=a.characterSet;this.su="";this.Fy=null;this.Dt=!1;this.En=-1;this.gm=new DG.Rect(0,0,1,1);this.Ho=new Map;this.gp=!0;this.Hq=new Set}j(){this.gm=null;FG(this);this.Ho=null;this.Hq&&this.Hq.clear();this.Hq=null}Ae(a){a=Math.floor(a);if(0>=a)throw Error("invalid size");this.P!==a&&(this.P=a,this.gp=!0)}K(){return this.P}Re(a){a= +Math.floor(a);if(0>=a)throw Error("invalid size");this.R!==a&&(this.R=a,this.gp=!0)}I(){return this.R}ag(){return this.gm}BA(a){a=Math.floor(a);if(0>=a)throw Error("invalid size");this.Bf!==a&&(this.Bf=a,this.gp=!0)}};"use strict";const GG=self.B;GG.C.Yn=class extends GG.lj{constructor(a){super(a)}j(){super.j()}};const HG=self.B;HG.C.Yn.Jg=class extends HG.pk{constructor(a){super(a)}j(){super.j()}rc(){}};const IG=self.B,JG=self.yh; +function KG(a,b,d){if(ba.length)if("function"===typeof d)for(var c=a.length;cIG.si(this.Jc,()=>IG.si(this.Kc,0)))}j(){this.xd=null;super.j()}mf(a,b,d){a=Math.floor(a);b=Math.floor(b);d=Math.floor(d);return 0<=a&&aa&&(a=0);0>b&&(b=0);0>d&&(d=0);if(this.Vb!==a||this.Jc!==b||this.Kc!==d){this.Vb=a;this.Jc=b;this.Kc=d;var c=this.xd;KG(c,a,()=>IG.si(b,()=>IG.si(d,0)));for(let e=0;eIG.si(d,0));for(let g=0;gb?1:0} +SG.C.Yn.Za={Rd(a){const b=this.Vb,d=this.Jc,c=this.Kc,e=this.xd;for(let g=0;gSG.si(g,b)),0===a?k.push(c):k.unshift(c),this.Vb++;else if(1===d){for(e=0;eTG(g[0][0],k[0][0]));else if(1===a)for(d=0;dTG(g[0],k[0]));else for(a=0;aa)){var d=this.Vb,c=this.Jc,e=this.Kc,g=this.xd;if(0===b)a>=d||(g.splice(a,1),this.Vb--);else if(1===b){if(!(a>=c)){for(c=0;c=e)){for(b=0;bb)){var c=this.Vb,e=this.Jc,g=this.Kc,k=this.xd;if(0===d)b>c||(k.splice(b,0,SG.si(e,()=>SG.si(g,a))),this.Vb++);else if(1===d){if(!(b>e)){for(e=0;eg)){for(d=0;d`} -function jH(a,b){let d=bH.get(a);if(null===d)return"";d||(d="span");switch(a){case "color":return`<${d} style="color: ${b}">`;case "font":return`<${d} style="font-family: '${b}'">`;case "opacity":return`<${d} style="opacity: ${b}%">`;case "size":return`<${d} style="font-size: ${b}pt">`;case "background":return`<${d} style="background-color: ${b}">`;case "hide":return`<${d} style="visibility: hidden">`;case "class":return`<${d} class="${b}">`;case "tag":return`<${d} data-tag="${b}">`;default:return`<${d}>`}} -async function kH(a){if(a.mx)return a.NB;var b=te(new TG.Xn(a.Ua));const d=new Map;let c='`;e=a.kg?nD(a.F(),a.kg):null;if(a.kg){var g=TG.A(TG.Bv),k=[];const x=new Map;for(var l of b)if(l.xl()){const v=xe(l,e);if(v){const y=v.uy.oc().pe;x.has(y)||(x.set(y,null),k.push(g.Kb(async()=>{const C=await zl(y); -x.set(y,C)})))}}await Promise.all(k);l=[];for(var n of b)if(n.xl()){const v=xe(n,e);if(v){const y=v.uy,C=y.oc().pe;l.push(g.Kb(async()=>{const E=await rz(y.oc(),x.get(C));d.set(v,E)}))}}await Promise.all(l);for(var p of x.values())p instanceof ImageBitmap&&p.close&&p.close()}n=new Map;for(var r of b){l=Je(r);b=[...n.keys()];b.reverse();for(const x of b)l.has(x)&&l.get(x)===n.get(x)||(n.delete(x),c+=iH(x));for(const [x,v]of l)n.has(x)||(n.set(x,v),c+=jH(x,v));r.bg()&&(c+=TG.ti(TG.JL(r.Te.join("")), -"\n","
"));if(r.xl()&&e&&(b=xe(r,e))&&(p=d.get(b))){g=[];k="0.2em";if(l=l.get("iconoffsety"))l=l.trim(),k=l.endsWith("%")?parseFloat(l)/100+"em":l+"px";g.push(`top: ${k}`);"nearest"===a.g.pd&&g.push("image-rendering: pixelated");c+=``}}r=[...n.keys()];r.reverse();for(const x of r)c+=iH(x);a.NB=c+"
";a.mx=!0;return a.NB} -TG.C.Text.Instance=class extends TG.Ev{constructor(a,b){super(a);this.Ua="";this.ne=!0;this.Ql="Arial";this.$l=12;this.tn=0;this.Qh=this.Ph=!1;this.Xa=TG.A(TG.lb);this.Mc=this.dd=0;this.Rf=!0;this.ah=0;this.kg=null;this.NB="";this.np=this.mx=!1;this.Ie=null;this.ie=this.bj=-1;this.gl=0;this.sb=TG.A(TG.ea.nF,this.g.Pa(),{timeout:5});this.sb.XD=()=>this.g.N();this.TN=()=>{Ne(this.g.Gn,this.kg);this.g.N();this.hJ=!0};this.hJ=!1;b&&(this.Ua=b[0],this.ne=!!b[1],this.Ql=b[2],this.$l=b[3],this.tn=b[4],this.Ph= -!!b[5],this.Qh=!!b[6],this.dd=b[8],this.Mc=b[9],this.Rf=0===b[10],this.ah=b[11],cH(this,ao(this.g,b[12])),a=b[7],Yb(this.Xa,a[0],a[1],a[2]),this.m().Hg(b[13]),this.np=!!b[15]);dH(this);this.Qm()}j(){cH(this,null);this.uf();this.Ie&&(this.Ie.j(),this.Ie=null);this.sb.j();this.sb=null;super.j()}yi(){const a=this.m();this.sb.vF(this.$l);var b=this.sb,d=a.KE();b.CB!==d&&(b.CB=d,b.td());b=a.O();b=b.ms()*wm(b,Vm(a));ay(a)&&b!==this.sb.Gu&&un(a,65536,!0);this.sb.ec(a.J(),a.I(),b)}Qm(){if(this.np){let a= -this.Ua;this.ne&&(a=a.replace(me,""));this.Ie?this.Ie.qk(a):this.Ie=TG.A(TG.hN,this.g,a)}else this.Ie&&(this.Ie.j(),this.Ie=null)}oh(a){var b=this.m();this.yi();this.hJ&&(this.hJ=!1,this.sb.Ee&&this.kg&&this.sb.Jv(nD(this.F(),this.kg)));const d=this.sb.Hd();if(d){var c=b.O();if(0===b.Da()&&0===c.Da()&&0===Vm(b)&&!ay(b)&&ym(c)){b=TA(b);const [k,l]=Xm(c,b.yb,b.wb),[n,p]=Xm(c,b.wc,b.xc);b=k-Math.round(k);var e=l-Math.round(l);ZG.set(k,l,n,p);ZG.offset(-b,-e);$G.pl(ZG);const [r,x]=xi(a,a.ek());b=this.g.W; -e=r;var g=x;e=e||b.wd;g=g||b.ld;const v=e/2+b.HY,y=g/2+b.IY;let C=b.mB;if(e!==b.wd||g!==b.ld)Hf(a,UB,e/g),C=UB;ii(a,C);b=Jf(a,v,y,a.le(g),v,y,g);li(a,b);pi(a,d);wi(a,$G,this.sb.$f());Qm(c,a)}else pi(a,d),ay(b)?this.eG(b,a):this.fG(b,a)}}fG(a,b){a=TA(a);this.g.Sk&&(a=eH(a));wi(b,a,this.sb.$f())}eG(a,b){const d=sB(a);if(0!==(a.ca&65536)){QA(a,ZG,$G,!1);let c=$G;this.g.Sk&&(c=eH(c));dg(d,by(a),c,this.sb.$f());un(a,65536,!1)}d.oh(b)}Rz(){const a=this.sb.Hd();return a?[a.J(),a.I()]:[100,100]}Sz(){return this.sb.$f()}jA(){return!1}Tc(){const a= -{t:this.Ua,c:this.Xa.toJSON(),fn:this.Ql,ps:this.$l};this.ne&&(a.bbc=this.ne);0!==this.dd&&(a.ha=this.dd);0!==this.Mc&&(a.va=this.Mc);this.Rf||(a.wr=this.Rf);0!==this.tn&&(a.lho=this.tn);this.Ph&&(a.b=this.Ph);this.Qh&&(a.i=this.Qh);-1!==this.ie&&(a.tw={st:this.bj,en:this.ie,l:this.gl});this.kg&&(a.ioc=this.kg.eb);return a}dc(a){this.uf();this.Ua=a.t;sc(this.Xa,a.c);this.Ql=a.fn;this.$l=a.ps;this.ne=a.hasOwnProperty("bbc")?a.bbc:!1;this.dd=a.hasOwnProperty("ha")?a.ha:0;this.Mc=a.hasOwnProperty("va")? -a.va:0;this.Rf=a.hasOwnProperty("wr")?a.wr:!0;this.tn=a.hasOwnProperty("lho")?a.lho:0;this.Ph=a.hasOwnProperty("b")?a.b:!1;this.Qh=a.hasOwnProperty("i")?a.i:!1;if(a.hasOwnProperty("tw")){const b=a.tw;this.bj=b.st;this.ie=b.en;this.gl=b.l}a.hasOwnProperty("ioc")?(a=ao(this.F(),a.ioc))&&cH(this,a):cH(this,null);dH(this);this.Qm();this.mx=!1;-1!==this.ie&&this.Ig()}Pc(a){switch(a){case 0:return this.Ua;case 1:return this.ne;case 2:return this.Ql;case 3:return this.$l;case 4:return this.Sv();case 5:return this.Ph; -case 6:return this.Qh;case 7:return VG[0]=this.Xa.ib,VG[1]=this.Xa.mb,VG[2]=this.Xa.gb,VG;case 8:return this.dd;case 9:return this.Mc;case 10:return this.Rf?1:0;case 15:return this.np}}Gg(a,b){switch(a){case 0:this.xk(b);break;case 1:if(this.ne===!!b)break;this.ne=!!b;dH(this);break;case 2:fH(this,b);break;case 3:this.$l!==b&&(this.$l=b,this.g.N());break;case 4:this.xq(b);break;case 5:gH(this,b);break;case 6:hH(this,b);break;case 7:a=this.Xa;if(a.ib===b[0]&&a.mb===b[1]&&a.gb===b[2])break;Yb(this.Xa, -b[0],b[1],b[2]);dH(this);break;case 8:this.Yv(b);break;case 9:this.yq(b);break;case 10:this.$v(0===b)}}xk(a){this.Ua!==a&&(this.Ua=a,this.sb.qk(a),this.Qm(),this.mx=!1,this.g.N())}yG(a,b){this.yi();this.xk(a);this.bj=this.g.Jr.U();this.ie=this.bj+b/pk(this.Z());a=this.sb;yh(a);b=0;for(const d of a.Yd.Hf)for(const c of d.ej())b+=c.lv();this.gl=b;this.sb.rq(0);this.Ig()}uf(){this.ie=this.bj=-1;this.gl=0;this.sb.rq(-1);this.wo()}gG(){-1!==this.ie&&(this.uf(),this.oa(TG.C.Text.K.zv),this.g.N())}xq(a){this.tn!== -a&&(this.tn=a,dH(this),this.g.N())}Sv(){return this.tn}Yv(a){this.dd!==a&&(this.dd=a,dH(this),this.g.N())}yq(a){this.Mc!==a&&(this.Mc=a,dH(this),this.g.N())}$v(a){a=!!a;this.Rf!==a&&(this.Rf=a,dH(this),this.g.N())}wG(a){this.np=!!a;this.Qm()}kG(){this.yi();return zh(this.sb)}jG(){this.yi();return this.sb.ME()}Tv(a,b){this.yi();const d=this.m();aH.set(a-d.fa(),b-d.ga());aH.rotate(-d.Da());aH.offset(d.J()*d.wg(),d.I()*d.xg());aH.dj(d.J(),d.I());aH.scale(this.sb.J(),this.sb.I());if(a=this.sb.RE(aH.Y, -aH.S))if(a=Ie(a,"tag"))return a.nc;return""}lG(a,b,d){return(b=this.Tv(b,d))&&TG.ve(a,b)}Nm(a,b){this.yi();b=Math.floor(b);var d=this.sb.CE(a,b);if(!d)return null;a=this.m();const c=uh(this.sb);b=d.Ri;const e=d.Si-(d.I()-d.Rl)*c,g=d.J()*c/this.sb.J()*a.J();d=d.I()*c/this.sb.I()*a.I();aH.set(b,e);aH.dj(this.sb.J(),this.sb.I());aH.scale(a.J(),a.I());aH.offset(-a.J()*a.wg(),-a.I()*a.xg());aH.rotate(a.Da());aH.offset(a.fa(),a.ga());return{x:aH.Y,y:aH.S,width:g,height:d}}iG(a){this.yi();return this.sb.zE(a)}Re(){var a= -this.g.Jr.U();a>=this.ie?(this.uf(),this.oa(TG.C.Text.K.zv),this.g.N()):(a=TG.PR(this.bj,this.ie,a,this.gl),a=Math.floor(a),a!==this.sb.Lh&&(this.sb.rq(a),this.g.N()))}Zf(){return self.eM}};const lH=new WeakMap,mH=new Map([["top",0],["center",1],["bottom",2]]); -self.eM=class extends self.ss{constructor(){super();lH.set(this,self.mi.Fl().ma)}get text(){return lH.get(this).Ua}set text(a){UG.Rd(a);const b=lH.get(this);b.uf();b.xk(a)}set lineHeight(a){UG.xe(a);lH.get(this).xq(a)}get lineHeight(){return lH.get(this).Sv()}set verticalAlign(a){UG.Rd(a);a=mH.get(a);if("undefined"===typeof a)throw Error("invalid mode");lH.get(this).yq(a)}get verticalAlign(){return XG[lH.get(this).Mc]}};const nH=self.B; -nH.C.Text.K={US(a,b){return b?this.Ua===a:nH.ve(this.Ua,a)},lM(){return-1!==this.ie},zv(){return!0},ZT(a,b,d){return this.lG(a,b,d)}};const oH=self.B,pH=oH.A(oH.lb); -oH.C.Text.$a={qk(a){this.uf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);this.xk(a.toString())},AS(a){this.uf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);(a=a.toString())&&this.xk(this.Ua+a)},vN(a,b){this.uf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);this.yG(a.toString(),b)},p9(a,b){let d=!1,c=!1;switch(b){case 1:d=!0;break;case 2:c=!0;break;case 3:c=d=!0}if(a!==this.Ql||d!==this.Ph||c!==this.Qh)fH(this,a),gH(this,d),hH(this,c)},vF(a){this.$l!==a&&(this.$l= -a,this.g.N())},o9(a){hc(pH,a);pH.X();ec(this.Xa,pH)||($b(this.Xa,pH),this.sb.vi(this.Xa),this.g.N())},x$(){console.warn("[Text] 'Set web font' action is deprecated and no longer has any effect")},jN(a){this.m().Dg(a);this.g.N()},uN(){this.gG()},As(a){this.xq(a)},wW(a){this.Yv(a)},BW(a){this.yq(a)},EW(a){this.$v(0===a)},oN(a){this.ah!==a&&(this.ah=a,dH(this),this.g.N())},f2(a){cH(this,a)},Jaa(){return kH(this)},AW(a){this.wG(a)}}; -self.B.C.Text.Sb={Text(){return this.Ua},XV(){return this.ne?this.Ua.replace(me,""):this.Ua},B3(){return this.Ql},C3(){return this.$l},$W(){return this.kG()},WW(){return this.jG()},UU(){return this.tn},PW(a,b){return this.Tv(a,b)},QW(a){return this.iG(a)},TW(a,b){return(a=this.Nm(a,b))?a.x:0},UW(a,b){return(a=this.Nm(a,b))?a.y:0},SW(a,b){return(a=this.Nm(a,b))?a.width:0},RW(a,b){return(a=this.Nm(a,b))?a.height:0},D1(){return this.NB}};"use strict";const qH=self.B;qH.C.Keyboard=class extends qH.kj{constructor(a){super(a)}j(){super.j()}}; -const rH=self.B;rH.C.Keyboard.Fh=class extends rH.Cl{constructor(a){super(a)}j(){super.j()}Fc(){}Zf(){return self.hU}};self.hU=class extends self.uv{constructor(a){super(a);a.F().xw.keyboard=this}};const sH=self.B;function tH(a){for(const b of a.Mt)a.Mt.delete(b),a.im=b,a.oa(sH.C.Keyboard.K.wM),a.oa(sH.C.Keyboard.K.BM),a.oa(sH.C.Keyboard.K.AM);a.zx.clear()} -sH.C.Keyboard.Instance=class extends sH.no{constructor(a){super(a);this.zx=new Set;this.Mt=new Set;this.im=0;this.Ky=this.qD="";a=this.F().fb();this.hg=new sH.Dz(sH.je.Wf(a,"keydown",b=>{var d=b.data;b=d.which;const c=d.code||b.toString();d=d.key;this.zx.has(c)||(this.zx.add(c),this.Mt.add(b),this.qD=c,this.im=b,this.Ky=d,this.oa(sH.C.Keyboard.K.jV),this.oa(sH.C.Keyboard.K.zM),this.oa(sH.C.Keyboard.K.zV),this.oa(sH.C.Keyboard.K.xV))}),sH.je.Wf(a,"keyup",b=>{var d=b.data;b=d.which;const c=d.code|| -b.toString();d=d.key;this.zx.delete(c);this.Mt.delete(b);this.qD=c;this.im=b;this.Ky=d;this.oa(sH.C.Keyboard.K.wM);this.oa(sH.C.Keyboard.K.BM);this.oa(sH.C.Keyboard.K.AV);this.oa(sH.C.Keyboard.K.AM)}),sH.je.Wf(a,"window-blur",()=>tH(this)),sH.je.Wf(a,"keyboard-blur",()=>tH(this)))}j(){super.j()}Tc(){return{tk:this.im,tkk:this.Ky}}dc(a){this.im=a.tk;a.hasOwnProperty("tkk")&&(this.Ky=a.tkk)}};const uH="ShiftLeft ShiftRight ControlLeft ControlRight AltLeft AltRight MetaLeft MetaRight".split(" "); -self.B.C.Keyboard.K={K4(a){return this.Mt.has(a)},zM(a){return this.im===a},jV(){return!0},wM(){return!0},BM(a){return this.im===a},J4(a){a=Math.floor(a);return this.Mt.has(a)},xV(a){return this.im===a},AM(a){return this.im===a},zV(a){return this.qD===uH[a]},AV(a){return this.qD===uH[a]},L4(a){return this.zx.has(uH[a])}};self.B.C.Keyboard.$a={}; -function vH(a){a=Math.floor(a);switch(a){case 8:return"backspace";case 9:return"tab";case 13:return"enter";case 16:return"shift";case 17:return"control";case 18:return"alt";case 19:return"pause";case 20:return"capslock";case 27:return"esc";case 33:return"pageup";case 34:return"pagedown";case 35:return"end";case 36:return"home";case 37:return"\u2190";case 38:return"\u2191";case 39:return"\u2192";case 40:return"\u2193";case 45:return"insert";case 46:return"del";case 91:return"left window key";case 92:return"right window key"; +self.B.C.Yn.Qb={mf(a,b,d){return this.mf(a,b||0,d||0)},MN(){return this.Vb},kU(){return this.Jc},D3(){return this.Kc},w3(){return NG(this)},x3(){return OG(this)},y3(){return PG(this)},v3(){return this.mf(NG(this),OG(this),PG(this))},f4(){return this.mf(0,0,0)},c2(){return this.mf(this.Vb-1,0,0)},H4(a){const b=this.xd;for(let d=0,c=this.Vb;d`} +function mH(a,b){let d=eH.get(a);if(null===d)return"";d||(d="span");switch(a){case "color":return`<${d} style="color: ${b}">`;case "font":return`<${d} style="font-family: '${b}'">`;case "opacity":return`<${d} style="opacity: ${b}%">`;case "size":return`<${d} style="font-size: ${b}pt">`;case "background":return`<${d} style="background-color: ${b}">`;case "hide":return`<${d} style="visibility: hidden">`;case "class":return`<${d} class="${b}">`;case "tag":return`<${d} data-tag="${b}">`;default:return`<${d}>`}} +async function nH(a){if(a.wx)return a.SB;var b=te(new WG.Zn(a.Fa));const d=new Map;let c='`;e=a.ng?pD(a.F(),a.ng):null;if(a.ng){var g=WG.A(WG.Hv),k=[];const w=new Map;for(var l of b)if(l.Al()){const v=xe(l,e);if(v){const y=v.By.oc().re;w.has(y)||(w.set(y,null),k.push(g.Kb(async()=>{const C=await zl(y); +w.set(y,C)})))}}await Promise.all(k);l=[];for(var n of b)if(n.Al()){const v=xe(n,e);if(v){const y=v.By,C=y.oc().re;l.push(g.Kb(async()=>{const E=await tz(y.oc(),w.get(C));d.set(v,E)}))}}await Promise.all(l);for(var p of w.values())p instanceof ImageBitmap&&p.close&&p.close()}n=new Map;for(var r of b){l=Je(r);b=[...n.keys()];b.reverse();for(const w of b)l.has(w)&&l.get(w)===n.get(w)||(n.delete(w),c+=lH(w));for(const [w,v]of l)n.has(w)||(n.set(w,v),c+=mH(w,v));r.dg()&&(c+=WG.vi(WG.UL(r.Ue.join("")), +"\n","
"));if(r.Al()&&e&&(b=xe(r,e))&&(p=d.get(b))){g=[];k="0.2em";if(l=l.get("iconoffsety"))l=l.trim(),k=l.endsWith("%")?parseFloat(l)/100+"em":l+"px";g.push(`top: ${k}`);"nearest"===a.g.td&&g.push("image-rendering: pixelated");c+=``}}r=[...n.keys()];r.reverse();for(const w of r)c+=lH(w);a.SB=c+"
";a.wx=!0;return a.SB} +WG.C.Text.Instance=class extends WG.Kv{constructor(a,b){super(a);this.Fa="";this.pe=!0;this.Rl="Arial";this.am=12;this.un=0;this.Sh=this.Rh=!1;this.Xa=WG.A(WG.lb);this.Oc=this.dd=0;this.Uf=!0;this.eh=0;this.ng=null;this.SB="";this.qp=this.wx=!1;this.Je=null;this.je=this.cj=-1;this.jl=0;this.sb=WG.A(WG.ea.vF,this.g.Qa(),{timeout:5});this.sb.cE=()=>this.g.N();this.eO=()=>{Ne(this.g.Hn,this.ng);this.g.N();this.rJ=!0};this.rJ=!1;b&&(this.Fa=b[0],this.pe=!!b[1],this.Rl=b[2],this.am=b[3],this.un=b[4],this.Rh= +!!b[5],this.Sh=!!b[6],this.dd=b[8],this.Oc=b[9],this.Uf=0===b[10],this.eh=b[11],fH(this,ao(this.g,b[12])),a=b[7],Yb(this.Xa,a[0],a[1],a[2]),this.m().hg(b[13]),this.qp=!!b[15]);gH(this);this.Rm()}j(){fH(this,null);this.xf();this.Je&&(this.Je.j(),this.Je=null);this.sb.j();this.sb=null;super.j()}Ai(){const a=this.m();this.sb.DF(this.am);var b=this.sb,d=a.RE();b.IB!==d&&(b.IB=d,b.wd());b=a.O();b=b.rs()*vm(b,Vm(a));ay(a)&&b!==this.sb.Lu&&un(a,65536,!0);this.sb.ec(a.K(),a.I(),b)}Rm(){if(this.qp){let a= +this.Fa;this.pe&&(a=a.replace(me,""));this.Je?this.Je.mj(a):this.Je=WG.A(WG.tN,this.g,a)}else this.Je&&(this.Je.j(),this.Je=null)}xg(a){var b=this.m();this.Ai();this.rJ&&(this.rJ=!1,this.sb.Fe&&this.ng&&this.sb.Pv(pD(this.F(),this.ng)));const d=this.sb.Kd();if(d){var c=b.O();if(0===b.Da()&&0===c.Da()&&0===Vm(b)&&!ay(b)&&ym(c)){b=VA(b);const [k,l]=Xm(c,b.yb,b.wb),[n,p]=Xm(c,b.xc,b.yc);b=k-Math.round(k);var e=l-Math.round(l);bH.set(k,l,n,p);bH.offset(-b,-e);cH.sl(bH);const [r,w]=xi(a,a.hk());b=this.g.W; +e=r;var g=w;e=e||b.zd;g=g||b.md;const v=e/2+b.VY,y=g/2+b.WY;let C=b.sB;if(e!==b.zd||g!==b.md)If(a,WB,e/g),C=WB;ji(a,C);b=Kf(a,v,y,a.ne(g),v,y,g);mi(a,b);pi(a,d);wi(a,cH,this.sb.ag());Qm(c,a)}else pi(a,d),ay(b)?this.mG(b,a):this.nG(b,a)}}nG(a,b){a=VA(a);this.g.Vk&&(a=hH(a));wi(b,a,this.sb.ag())}mG(a,b){const d=uB(a);if(0!==(a.ca&65536)){SA(a,bH,cH,!1);let c=cH;this.g.Vk&&(c=hH(c));dg(d,by(a),c,this.sb.ag());un(a,65536,!1)}d.xg(b)}Xz(){const a=this.sb.Kd();return a?[a.K(),a.I()]:[100,100]}Yz(){return this.sb.ag()}pA(){return!1}Hc(){const a= +{t:this.Fa,c:this.Xa.toJSON(),fn:this.Rl,ps:this.am};this.pe&&(a.bbc=this.pe);0!==this.dd&&(a.ha=this.dd);0!==this.Oc&&(a.va=this.Oc);this.Uf||(a.wr=this.Uf);0!==this.un&&(a.lho=this.un);this.Rh&&(a.b=this.Rh);this.Sh&&(a.i=this.Sh);-1!==this.je&&(a.tw={st:this.cj,en:this.je,l:this.jl});this.ng&&(a.ioc=this.ng.eb);return a}$b(a){this.xf();this.Fa=a.t;sc(this.Xa,a.c);this.Rl=a.fn;this.am=a.ps;this.pe=a.hasOwnProperty("bbc")?a.bbc:!1;this.dd=a.hasOwnProperty("ha")?a.ha:0;this.Oc=a.hasOwnProperty("va")? +a.va:0;this.Uf=a.hasOwnProperty("wr")?a.wr:!0;this.un=a.hasOwnProperty("lho")?a.lho:0;this.Rh=a.hasOwnProperty("b")?a.b:!1;this.Sh=a.hasOwnProperty("i")?a.i:!1;if(a.hasOwnProperty("tw")){const b=a.tw;this.cj=b.st;this.je=b.en;this.jl=b.l}a.hasOwnProperty("ioc")?(a=ao(this.F(),a.ioc))&&fH(this,a):fH(this,null);gH(this);this.Rm();this.wx=!1;-1!==this.je&&this.Lg()}Ec(a){switch(a){case 0:return this.Fa;case 1:return this.pe;case 2:return this.Rl;case 3:return this.am;case 4:return this.Yv();case 5:return this.Rh; +case 6:return this.Sh;case 7:return YG[0]=this.Xa.ib,YG[1]=this.Xa.mb,YG[2]=this.Xa.gb,YG;case 8:return this.dd;case 9:return this.Oc;case 10:return this.Uf?1:0;case 15:return this.qp}}fg(a,b){switch(a){case 0:this.Kg(b);break;case 1:if(this.pe===!!b)break;this.pe=!!b;gH(this);break;case 2:iH(this,b);break;case 3:this.am!==b&&(this.am=b,this.g.N());break;case 4:this.Bq(b);break;case 5:jH(this,b);break;case 6:kH(this,b);break;case 7:a=this.Xa;if(a.ib===b[0]&&a.mb===b[1]&&a.gb===b[2])break;Yb(this.Xa, +b[0],b[1],b[2]);gH(this);break;case 8:this.ew(b);break;case 9:this.Cq(b);break;case 10:this.gw(0===b)}}Kg(a){this.Fa!==a&&(this.Fa=a,this.sb.mj(a),this.Rm(),this.wx=!1,this.g.N())}GG(a,b){this.Ai();this.Kg(a);this.cj=this.g.Nr.U();this.je=this.cj+b/pk(this.Z());a=this.sb;zh(a);b=0;for(const d of a.$d.Kf)for(const c of d.fj())b+=c.sv();this.jl=b;this.sb.uq(0);this.Lg()}xf(){this.je=this.cj=-1;this.jl=0;this.sb.uq(-1);this.zo()}oG(){-1!==this.je&&(this.xf(),this.oa(WG.C.Text.J.Fv),this.g.N())}Bq(a){this.un!== +a&&(this.un=a,gH(this),this.g.N())}Yv(){return this.un}ew(a){this.dd!==a&&(this.dd=a,gH(this),this.g.N())}Cq(a){this.Oc!==a&&(this.Oc=a,gH(this),this.g.N())}gw(a){a=!!a;this.Uf!==a&&(this.Uf=a,gH(this),this.g.N())}EG(a){this.qp=!!a;this.Rm()}sG(){this.Ai();return Ah(this.sb)}rG(){this.Ai();return this.sb.TE()}Zv(a,b){this.Ai();const d=this.m();dH.set(a-d.fa(),b-d.ga());dH.rotate(-d.Da());dH.offset(d.K()*d.zg(),d.I()*d.Ag());dH.ej(d.K(),d.I());dH.scale(this.sb.K(),this.sb.I());if(a=this.sb.YE(dH.Y, +dH.S))if(a=Ie(a,"tag"))return a.nc;return""}tG(a,b,d){return(b=this.Zv(b,d))&&WG.ke(a,b)}Om(a,b){this.Ai();b=Math.floor(b);var d=this.sb.IE(a,b);if(!d)return null;a=this.m();const c=uh(this.sb);b=d.Si;const e=d.Ti-(d.I()-d.Sl)*c,g=d.K()*c/this.sb.K()*a.K();d=d.I()*c/this.sb.I()*a.I();dH.set(b,e);dH.ej(this.sb.K(),this.sb.I());dH.scale(a.K(),a.I());dH.offset(-a.K()*a.zg(),-a.I()*a.Ag());dH.rotate(a.Da());dH.offset(a.fa(),a.ga());return{x:dH.Y,y:dH.S,width:g,height:d}}qG(a){this.Ai();return this.sb.FE(a)}Se(){var a= +this.g.Nr.U();a>=this.je?(this.xf(),this.oa(WG.C.Text.J.Fv),this.g.N()):(a=WG.aS(this.cj,this.je,a,this.jl),a=Math.floor(a),a!==this.sb.Nh&&(this.sb.uq(a),this.g.N()))}qf(){return self.pM}};const oH=new WeakMap,pH=new Map([["top",0],["center",1],["bottom",2]]); +self.pM=class extends self.ws{constructor(){super();oH.set(this,self.yh.xk().ma)}get text(){return oH.get(this).Fa}set text(a){XG.Nd(a);const b=oH.get(this);b.xf();b.Kg(a)}set lineHeight(a){XG.ye(a);oH.get(this).Bq(a)}get lineHeight(){return oH.get(this).Yv()}set verticalAlign(a){XG.Nd(a);a=pH.get(a);if("undefined"===typeof a)throw Error("invalid mode");oH.get(this).Cq(a)}get verticalAlign(){return $G[oH.get(this).Oc]}};const qH=self.B; +qH.C.Text.J={NL(a,b){return b?this.Fa===a:qH.ke(this.Fa,a)},wM(){return-1!==this.je},Fv(){return!0},jU(a,b,d){return this.tG(a,b,d)}};const rH=self.B,sH=rH.A(rH.lb); +rH.C.Text.Za={mj(a){this.xf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);this.Kg(a.toString())},MS(a){this.xf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);(a=a.toString())&&this.Kg(this.Fa+a)},HN(a,b){this.xf();"number"===typeof a&&1E9>a&&(a=Math.round(1E10*a)/1E10);this.GG(a.toString(),b)},F9(a,b){let d=!1,c=!1;switch(b){case 1:d=!0;break;case 2:c=!0;break;case 3:c=d=!0}if(a!==this.Rl||d!==this.Rh||c!==this.Sh)iH(this,a),jH(this,d),kH(this,c)},DF(a){this.am!==a&&(this.am= +a,this.g.N())},E9(a){hc(sH,a);sH.X();ec(this.Xa,sH)||($b(this.Xa,sH),this.sb.wi(this.Xa),this.g.N())},O$(){console.warn("[Text] 'Set web font' action is deprecated and no longer has any effect")},vN(a){this.m().Gg(a);this.g.N()},GN(){this.oG()},Es(a){this.Bq(a)},LW(a){this.ew(a)},QW(a){this.Cq(a)},SW(a){this.gw(0===a)},AN(a){this.eh!==a&&(this.eh=a,gH(this),this.g.N())},B2(a){fH(this,a)},$aa(){return nH(this)},PW(a){this.EG(a)}}; +self.B.C.Text.Qb={Text(){return this.Fa},iW(){return this.pe?this.Fa.replace(me,""):this.Fa},S3(){return this.Rl},T3(){return this.am},pX(){return this.sG()},kX(){return this.rG()},fV(){return this.un},dX(a,b){return this.Zv(a,b)},eX(a){return this.qG(a)},hX(a,b){return(a=this.Om(a,b))?a.x:0},iX(a,b){return(a=this.Om(a,b))?a.y:0},gX(a,b){return(a=this.Om(a,b))?a.width:0},fX(a,b){return(a=this.Om(a,b))?a.height:0},U1(){return this.SB}};"use strict";const tH=self.B;tH.C.Keyboard=class extends tH.lj{constructor(a){super(a)}j(){super.j()}}; +const uH=self.B;uH.C.Keyboard.Jg=class extends uH.pk{constructor(a){super(a)}j(){super.j()}rc(){}qf(){return self.tU}};self.tU=class extends self.Av{constructor(a){super(a);a.F().Ew.keyboard=this}};const vH=self.B;function wH(a){for(const b of a.Rt)a.Rt.delete(b),a.jm=b,a.oa(vH.C.Keyboard.J.HM),a.oa(vH.C.Keyboard.J.NM),a.oa(vH.C.Keyboard.J.MM);a.Gx.clear()} +vH.C.Keyboard.Instance=class extends vH.ro{constructor(a){super(a);this.Gx=new Set;this.Rt=new Set;this.jm=0;this.Ry=this.wD="";a=this.F().fb();this.kg=new vH.Kz(vH.le.Yf(a,"keydown",b=>{var d=b.data;b=d.which;const c=d.code||b.toString();d=d.key;this.Gx.has(c)||(this.Gx.add(c),this.Rt.add(b),this.wD=c,this.jm=b,this.Ry=d,this.oa(vH.C.Keyboard.J.vV),this.oa(vH.C.Keyboard.J.LM),this.oa(vH.C.Keyboard.J.LV),this.oa(vH.C.Keyboard.J.JV))}),vH.le.Yf(a,"keyup",b=>{var d=b.data;b=d.which;const c=d.code|| +b.toString();d=d.key;this.Gx.delete(c);this.Rt.delete(b);this.wD=c;this.jm=b;this.Ry=d;this.oa(vH.C.Keyboard.J.HM);this.oa(vH.C.Keyboard.J.NM);this.oa(vH.C.Keyboard.J.MV);this.oa(vH.C.Keyboard.J.MM)}),vH.le.Yf(a,"window-blur",()=>wH(this)),vH.le.Yf(a,"keyboard-blur",()=>wH(this)))}j(){super.j()}Hc(){return{tk:this.jm,tkk:this.Ry}}$b(a){this.jm=a.tk;a.hasOwnProperty("tkk")&&(this.Ry=a.tkk)}};const xH="ShiftLeft ShiftRight ControlLeft ControlRight AltLeft AltRight MetaLeft MetaRight".split(" "); +self.B.C.Keyboard.J={b5(a){return this.Rt.has(a)},LM(a){return this.jm===a},vV(){return!0},HM(){return!0},NM(a){return this.jm===a},a5(a){a=Math.floor(a);return this.Rt.has(a)},JV(a){return this.jm===a},MM(a){return this.jm===a},LV(a){return this.wD===xH[a]},MV(a){return this.wD===xH[a]},c5(a){return this.Gx.has(xH[a])}};self.B.C.Keyboard.Za={}; +function yH(a){a=Math.floor(a);switch(a){case 8:return"backspace";case 9:return"tab";case 13:return"enter";case 16:return"shift";case 17:return"control";case 18:return"alt";case 19:return"pause";case 20:return"capslock";case 27:return"esc";case 33:return"pageup";case 34:return"pagedown";case 35:return"end";case 36:return"home";case 37:return"\u2190";case 38:return"\u2191";case 39:return"\u2192";case 40:return"\u2193";case 45:return"insert";case 46:return"del";case 91:return"left window key";case 92:return"right window key"; case 93:return"select";case 96:return"numpad 0";case 97:return"numpad 1";case 98:return"numpad 2";case 99:return"numpad 3";case 100:return"numpad 4";case 101:return"numpad 5";case 102:return"numpad 6";case 103:return"numpad 7";case 104:return"numpad 8";case 105:return"numpad 9";case 106:return"numpad *";case 107:return"numpad +";case 109:return"numpad -";case 110:return"numpad .";case 111:return"numpad /";case 112:return"F1";case 113:return"F2";case 114:return"F3";case 115:return"F4";case 116:return"F5"; case 117:return"F6";case 118:return"F7";case 119:return"F8";case 120:return"F9";case 121:return"F10";case 122:return"F11";case 123:return"F12";case 144:return"numlock";case 145:return"scroll lock";case 186:return";";case 187:return"=";case 188:return",";case 189:return"-";case 190:return".";case 191:return"/";case 192:return"'";case 219:return"[";case 220:return"\\";case 221:return"]";case 222:return"#";case 223:return"`";default:return String.fromCharCode(a)}} -self.B.C.Keyboard.Sb={f5(){return this.im},X$(a){return vH(a)},yaa(){return this.Ky}};"use strict";const wH=self.B;wH.Pb.tf=class extends wH.cN{constructor(a){super(a)}j(){super.j()}};const xH=self.B;xH.Pb.tf.Fh=class extends xH.eN{constructor(a){super(a)}j(){super.j()}Fc(){}};const yH=self.B,zH=yH.Pb.tf; -function Zk(a,b,d=!1){var c=b.vg();if(a.vf.has(c)&&(c=a.vf.get(c))){const e=c.indexOf(b);-1!==e&&c.splice(e,1)}b.ac||AH(a,b)||(b.hd(d),d=b.vg(),a.Qf.has(d)||a.Qf.set(d,[]),a.Qf.get(d).push(b),a.Tk||a.KA())}function BH(a){if(a.Qf.size){for(const b of a.Qf.values()){for(const d of b)d.ac||d.j();yH.D(b)}a.Qf.clear();a.Tk&&a.Is()}} -function CH(a,b){return b?(b=[...a.vf.values()].flat(),a=[...a.Qf.values()].flat(),b.concat(a).filter(d=>d).filter(d=>!d.ac)):[...a.vf.values()].flat().filter(d=>d).filter(d=>!d.ac)}function DH(a,b,d){if(d)return d=a.vf.get(b),a=a.Qf.get(b),d||(d=[]),a||(a=[]),d.concat(a).filter(c=>c).filter(c=>!c.ac);(a=a.vf.get(b))||(a=[]);return a.filter(c=>c).filter(c=>!c.ac)}function EH(a,b,d){if((a=d?DH(a,d,!0):CH(a,!0))&&a.length)for(const c of a)if(ip(c,b))return c} -function*FH(a,b,d,c=!1){if((a=d?DH(a,d,c):CH(a,c))&&a.length)for(const e of a)ip(e,b)&&(yield e)}function*GH(a,b){yield*FH(a,b,void 0,!0)}function HH(a){const b={};for(const [d,c]of a.vf)b[d]=c.filter(e=>!e.ac).map(e=>e.pa());return b}function IH(a){return a.Jo.filter(b=>!b.ac).map(b=>b.na())}function JH(a){const b={};for(const [d,c]of a.Qf)b[d]=c.map(e=>e.pa());return b} -function KH(a,b,d,c){if(b)for(const g in b){let k=d.get(g);k?yH.D(k):k=[];var e=b[g];for(const l of e)LH(k,l.name,c)?MH(l.name,l,c):(e=Rr({Me:a.F(),json:l}),Lr(e,n=>NH(a,n)),Go(c,e),LH(k,e,c));d.set(g,k)}}function LH(a,b,d){if("string"===typeof b){if(b=Fo(d,b))return!!a.push(b)}else return!!a.push(b);return!1}function MH(a,b,d){"string"===typeof a?(a=Fo(d,a))&&a.ra(b):a.ra(b)} -function NH(a,b){OH=a.wj=b;let d,c;if(a.F())d=a.T,c=a.g,a.oa(zH.K.JM),a.oa(zH.K.xM),Zk(a,b);else{d=b.Z();if(!d||d&&yp(d))return;c=d.F();a:{var e=b.Z().vd;for(g of e)if(e=g.ph(),e.gx===a.constructor){var g=e;break a}g=void 0}a.oa(zH.K.JM,c,d,g);a.oa(zH.K.xM,c,d,g);b.hd()}OH=a.wj=null;b.gt&&bn(c,d)} -function PH(a,b,d=!1){if(yH.Dc(b)){var c=QH[b];if(a.vf.has(c)){c=a.vf.get(c);var e=a.wj;for(var g of c)g===e||g.ac||AH(a,g)||(g.hd(d),g.j());yH.D(c)}}else{g=a.wj;for(c of CH(a))c===g||c.ac||AH(a,c)||(c.hd(d),c.j());for(e of a.vf.keys())yH.D(a.vf.get(e)),a.vf.delete(e);a.vf.clear()}}function RH(a,b,d){d=QH[d];a.vf.has(d)||a.vf.set(d,[]);a.vf.get(d).push(b)} -function SH(a,b){var d=TH(b.ug,b.Yj,b.jf,b.Uj,b.rm,a.T);const c=QH[b.ug];zH.si.nM(c)||PH(a,b.ug);d=Rr({Me:a.F(),id:c,Tr:b.Tr,time:b.time,instance:a.T,Uu:!!b.Uu,loop:!!b.loop,Su:!!b.Su,Rr:b.Rr,Lu:b.Lu,Tu:d});Lr(d,e=>NH(a,e));RH(a,d,b.ug);return d}function AH(a,b){const d=b.vg();return a.Qf.has(d)?a.Qf.get(d).includes(b):!1} -zH.Instance=class extends yH.dN{constructor(a,b){super(a);this.Sd=!0;b&&(this.Sd=!!b[0]);this.vf=new Map;this.Jo=[];this.Qf=new Map;this.PQ=this.oH=this.PN=this.wj=null;this.xO="";this.Bq=d=>this.vk(d);this.F().fb().addEventListener("afterload",this.Bq)}j(){this.F().fb().removeEventListener("afterload",this.Bq);this.Bq=null;this.wj&&(Zk(this,this.wj,!0),this.wj=null);PH(this,NaN,!0);yH.D(this.Jo);this.Jo=null;BH(this);this.Qf=null;super.j()}Gv(a){this.Sd=!!a;a?this.Qf&&this.Qf.size&&this.KA():this.Is(); -for(const b of CH(this))a?this.Jo.includes(b)&&Tk(b):((b.IsPlaying()||b.ng)&&this.Jo.push(b),b.hd());a&&yH.D(this.Jo)}Qb(){return this.Sd}Zb(){const a=this.T;return a?!yp(a):!1}Tc(){return{s:!1,e:!!this.Sd,at:HH(this),dt:IH(this),wt:JH(this),ft:this.wj?this.wj.na():""}}dc(a){a&&(this.PN=a.at,this.oH=a.dt,this.PQ=a.wt,this.xO=a.ft,this.Sd=!!a.e)}vk(){const a=this.F().Jb;KH(this,this.PN,this.vf,a);if(this.oH){yH.D(this.Jo);for(const b of this.oH)LH(this.Jo,b,a)}KH(this,this.PQ,this.Qf,a);this.wj=Fo(a, -this.xO);this.Sd?this.Qf&&this.Qf.size&&this.KA():this.Is()}Ov(){BH(this)}Pc(a){switch(a){case 0:return this.Sd}}Gg(a,b){switch(a){case 0:this.Sd=!!b}}oa(a,b,d,c){return this.g?super.oa(a):b.oa(a,d,c)}Zf(){return self.pU}};const UH=self.B;let OH=null; -UH.Pb.tf.K={JM(a){return ip(OH,a)},xM(){return!0},IsPlaying(a){return(a=[...GH(this,a)],a.length)?a.some(UH.sq.IsPlaying):!1},wU(){const a=[...CH(this,!0)];return a&&a.length?a.some(UH.sq.IsPlaying):!1},vv(a){return(a=[...GH(this,a)],a.length)?a.some(UH.sq.vv):!1},x4(){const a=[...CH(this,!0)];return a&&a.length?a.some(UH.sq.vv):!1}};const VH=self.vm; -self.B.Pb.tf.$a={Gv(a){this.Gv(!!a)},async hX(...a){this.Qb()&&this.Zb()&&(a=SH(this,WH(...a)),a.Play()&&await Uk(a))},async iX(...a){this.Qb()&&this.Zb()&&(a=SH(this,XH(...a)),a.Play()&&await Uk(a))},async jX(...a){this.Qb()&&this.Zb()&&(a=SH(this,YH(...a)),a.Play()&&await Uk(a))},G6(a){if(this.Qb()&&this.Zb())for(const b of FH(this,a))b.hd()},F6(){if(this.Qb()&&this.Zb())for(const a of CH(this))a.hd()},t8(a){if(this.Qb()&&this.Zb())for(const b of FH(this,a))Tk(b)},s8(){if(this.Qb()&&this.Zb())for(const a of CH(this))Tk(a)}, -V$(a){if(this.Qb()&&this.Zb())for(const b of FH(this,a))Zk(this,b)},S$(){if(this.Qb()&&this.Zb())for(const a of CH(this))Zk(this,a)},a$(a,b,d){if(this.Qb()&&this.Zb()){b=ZH[b];for(const c of FH(this,a))Or(c,[b]),Pr(c,d,b)}},t$(a,b,d,c){if(this.Qb()&&this.Zb()){b=$H.oi(b)?aI[b]:aI[QH[b]];for(const e of FH(this,a))Or(e,b),Pr(e,d,b[0]),Pr(e,c,b[1])}},v$(a,b){if(this.Qb()&&this.Zb())for(const d of FH(this,a,"value"))Mr(d,b,"value")},u$(a,b){if(this.Qb()&&this.Zb())for(const d of FH(this,a,"value"))Or(d, -["value"]),Pr(d,b,"value")},q$(a,b){if(this.Qb()&&this.Zb()){b=VH.ym(b);for(const d of FH(this,a))d.dg(b)}},T8(a){if(this.Qb()&&this.Zb()){a=VH.ym(a);for(const b of CH(this))b.dg(a)}},s$(a,b){if(this.Qb()&&this.Zb())for(const d of FH(this,a))d.Dh(b)},V8(a){if(this.Qb()&&this.Zb())for(const b of CH(this))b.Dh(a)},r$(a,b){if(this.Qb()&&this.Zb())for(const d of FH(this,a))d.Ch(b)},U8(a){if(this.Qb()&&this.Zb())for(const b of CH(this))b.Ch(a)},p$(a,b){if(this.Qb()&&this.Zb())for(const d of FH(this,a))d.gt= -!!b},S8(a){if(this.Qb()&&this.Zb())for(const b of CH(this))b.gt=!!a}};self.B.Pb.tf.Sb={laa(a){return(a=EH(this,a))?a.wa():0},eW(a){return(a=EH(this,a))?a.wa()/a.qc():0},UF(a){return(a=EH(this,a,"value"))?a.Fd("value").zb().Gb():0},iaa(){if(this.wj){var a=this.wj;a.Ey&&(a.lD=a.ef.join(" "));a.Ey=!1;a=a.lD}else a="";return a}};"use strict"; -const $H=self.B,bI=self.vm,cI=["position","size","scale"],ZH="offsetX offsetY offsetWidth offsetHeight offsetAngle offsetOpacity offsetColor offsetZElevation offsetScaleX offsetScaleY".split(" "),QH=[].concat(cI).concat(ZH).concat(["value"]),dI={position:["offsetX","offsetY"],size:["offsetWidth","offsetHeight"],scale:["offsetScaleX","offsetScaleY"]},aI=Object.assign({},QH.reduce((a,b)=>Object.assign({},a,{[b]:[b]}),{}),dI); -$H.Pb.tf.si=class{constructor(){}static ym(a){return[...bI.$L()][a]}static FU(a){return!!dI[a]}static VE(a){return"offsetColor"===a}static vU(a){return"offsetAngle"===a}static nM(a){return"value"===a}};"use strict";const eI=self.B,fI=eI.Pb.tf,gI=new Map; -function TH(a,b,d,c,e,g){var k=zH.WS;if(0===gI.size){const l=fI.QM,n=fI.nX;hI(l.LM,k.TX,n.hG);hI(l.COLOR,k.OX,n.PX);hI(l.sL,k.NX,n.UX);hI(l.wN,k.VX,n.hG);hI(l.vM,k.QX,n.hG)}k=iI(a);k=gI.get(k);eI.Dc(a)&&(a=QH[a]);return k.d_(a,k.jS(b),k.jS(d),c,e,g)}function hI(a,b,d){gI.set(a,{name:a,d_:b,jS:d})} -fI.WS=class{constructor(){}static TX(a,b,d,c,e){return dI[a].map((g,k)=>({Vu:"world-instance",ug:g,type:"float",valueType:"numeric",Yj:b[k],jf:d[k],Uj:fI.si.ym(c),rm:e}))}static OX(a,b,d,c,e,g){return eI.C.Text&&g.ab()instanceof eI.C.Text?{Vu:"plugin",m0:[7],ug:"color",type:"color",valueType:"color",Yj:b,jf:d,Uj:fI.si.ym(c),rm:e}:{Vu:"world-instance",ug:a,type:"color",valueType:"color",Yj:b,jf:d,Uj:fI.si.ym(c),rm:e}}static NX(a,b,d,c,e){return{Vu:"world-instance",ug:a,type:"angle",valueType:"angle", -Yj:b,jf:d,Uj:fI.si.ym(c),rm:e}}static QX(a,b,d,c,e){return{Vu:"world-instance",ug:a,type:"float",valueType:"numeric",Yj:b,jf:d,Uj:fI.si.ym(c),rm:e}}static VX(a,b,d,c,e){return{Vu:"value",ug:a,type:"float",valueType:"numeric",Yj:b,jf:d,Uj:fI.si.ym(c),rm:e}}};"use strict"; -const jI=self.B,kI=jI.Pb.tf,lI=Object.assign({},{rm:"absolute"},{Tr:"",ug:"",time:0,Uj:0,Uu:0,loop:!1,Su:!1,Rr:1}),mI=Object.assign({},lI,{Lu:"current-state",Yj:0,jf:0}),nI=Object.assign({},lI,{Lu:"current-state",Yj:[0,0],jf:[0,0]}),oI=Object.assign({},lI,{Lu:"current-state",Yj:[0,0,0],jf:[0,0,0]}),pI=Object.assign({},mI,{Lu:"start-value"}); -function WH(a,b,d,c,e,g,k,l,n){b="string"===typeof b?b:ZH[b];const p=kI.si.VE(b)?oI:mI;p.Tr=a;p.time=c;p.Uj=e;p.Uu=g;p.loop=k;p.Su=l;p.Rr=n;kI.si.VE(b)?(oI.jf[0]=jI.$z(d),oI.jf[1]=jI.Wz(d),oI.jf[2]=jI.Lz(d),oI.ug=QH.indexOf(b)):mI.jf="offsetOpacity"===b?d/100:d;p.ug=QH.indexOf(b);return p}function XH(a,b,d,c,e,g,k,l,n,p){nI.Tr=a;nI.time=e;nI.Uj=g;nI.Uu=k;nI.loop=l;nI.Su=n;nI.Rr=p;a="string"===typeof b?b:cI[b];nI.jf[0]=d;nI.jf[1]=c;nI.ug=QH.indexOf(a);return nI} -function YH(a,b,d,c,e,g,k,l,n){pI.Tr=a;pI.time=c;pI.Uj=e;pI.Uu=g;pI.loop=k;pI.Su=l;pI.Rr=n;pI.Yj=b;pI.jf=d;pI.ug=QH.indexOf("value");return pI}kI.xaa=class{constructor(){}};"use strict";const qI=self.B,rI=qI.Pb.tf,sI=[]; -function iI(a){var b=fI.QM;0===sI.length&&(sI.push({Nr:rI.si.FU,result:b.LM}),sI.push({Nr:rI.si.VE,result:b.COLOR}),sI.push({Nr:rI.si.vU,result:b.sL}),sI.push({Nr:rI.si.nM,result:b.wN}),sI.push({Nr:()=>!0,result:b.vM}));qI.Dc(a)&&(a=QH[a]);for(const d of sI)if(d.Nr(a))return d.result}rI.QM=class{constructor(){}static get LM(){return"pair"}static get COLOR(){return"color"}static get sL(){return"angle"}static get wN(){return"value"}static get vM(){return"other"}};"use strict";const tI=self.B; -tI.Pb.tf.nX=class{constructor(){}static UX(a){return tI.Bd(tI.Oa(parseFloat(a)))}static PX(a){return a.slice(0)}static hG(a){return a}};"use strict";const uI=self.SE,vI=new WeakMap;self.pU=class extends uI{constructor(){super();vI.set(this,uI.Fl().ma)}get isEnabled(){return vI.get(this).Qb()}set isEnabled(a){vI.get(this).Gv(a)}};"use strict";const wI=self.B;wI.Pb.Ds=class extends wI.cN{constructor(a){super(a)}j(){super.j()}};const xI=self.B;xI.Pb.Ds.Fh=class extends xI.eN{constructor(a){super(a)}j(){super.j()}Fc(){}}; -const yI=self.B,zI=self.SE,AI=2*Math.PI,BI=Math.PI/2,CI=3*Math.PI/2,DI=[0,1,8,3,4,2,5,6,9,7];function ny(a,b){a.mg=!!b;a.mg?a.Ig():a.wo()}function EI(a,b){b%=AI;switch(a.Jp){case 0:return Math.sin(b);case 1:return b<=BI?b/BI:b<=CI?1-2*(b-BI)/Math.PI:(b-CI)/BI-1;case 2:return 2*b/AI-1;case 3:return-2*b/AI+1;case 4:return b"Setup",a=>{const b=Hv(a,0);return()=>hv(b)+128},()=>64,a=>{const b=Hv(a,0);return()=>hv(b)},()=>8,()=>0,()=>1,()=>"Inspecting",()=>"World",()=>"",a=>{const b=Hv(a,0);return()=>kv(b)},a=>{const b=Hv(a,0);return()=>hv(b)+1},()=>10,()=>"SelfDestroy",a=>{const b=Hv(a,0);return()=>hv(b)+160},()=>2,()=>"Controls",a=>{const b=Hv(a,0).Mh;return()=>b.Gb()},()=>"Editing",a=>{const b=Hv(a,0),d=Hv(a,1),c=Hv(a,2),e=Hv(a,3);return()=>16===Math.round(JI.Qn(hv(b),hv(d),hv(c),hv(e)))?1:0},a=>{const b= -Hv(a,0),d=Hv(a,1);return()=>kv(b)===hv(d)?1:0},()=>"Destroy",a=>{const b=Hv(a,0);return()=>kv(b)-1},a=>{const b=Hv(a,0).aq();return()=>b("Destroy")},a=>{const b=Hv(a,0);return()=>kv(b)+1},()=>45,()=>"Transition",()=>16,()=>.25,()=>-1,()=>"Utilities",a=>{const b=Hv(a,0).Mh;return()=>16*Math.round(b.Gb()/16)},a=>{const b=Hv(a,0).Mh,d=Hv(a,1);return()=>b.Gb()+kv(d)+1},a=>{const b=Hv(a,0).Mh,d=Hv(a,1);return()=>b.Gb()===hv(d)?1:0},()=>"Celebrating",()=>"Chunk",a=>{const b=Hv(a,0).aq();return()=>b()/16- -1},a=>{const b=Hv(a,0).aq();return()=>8+16*b("Chunk")},a=>{const b=Hv(a,0).Mh;return()=>b.Gb()+.1},()=>"Bounce",()=>.15,()=>"Flash",()=>150,()=>100,()=>.5,()=>"AdjustHSL",a=>{const b=Hv(a,0);return()=>{var d=b.L;var c=Us(d.aa()),e=c.length;0===e?d=b.gy?"":0:(e=gv(b.ub.lu,e),at(b.Td).vB=d,c=c[e],e=0,d.Ka&&(e=Rv(c.G(),d.Hi)),d=b.Qa.apply(c.vd[b.qj+e].ma,["Flash"]));return d}},()=>3,a=>{const b=Hv(a,0).Mh;return()=>{var d=b.Gb();return"World"+("number"===typeof d?(Math.round(1E10*d)/1E10).toString(): -d)}},()=>"tests",a=>{const b=Hv(a,0).aq();return()=>b()},a=>{const b=Hv(a,0),d=Hv(a,1).Mh;return()=>hv(b,0,d.Gb())},a=>{const b=Hv(a,0).aq(),d=Hv(a,1),c=Hv(a,2).Mh,e=Hv(a,3).Mh;return()=>b(hv(d,0,c.Gb()))/e.Gb()},a=>{const b=Hv(a,0).Mh;return()=>b.Gb()+1}]; +self.B.C.Keyboard.Qb={w5(){return this.jm},naa(a){return yH(a)},Paa(){return this.Ry}};"use strict";const zH=self.B;zH.C.$n=class extends zH.AW{constructor(a){super(a);Ty(this,"click",(b,d)=>AH(b,d))}j(){super.j()}};const BH=self.B;BH.C.$n.Jg=class extends BH.pk{constructor(a){super(a)}j(){super.j()}rc(){}};const CH=self.B,DH=self.nf;async function AH(a,b){a.Cj=b.isChecked;a.bv("click",!0);await a.Ud(CH.C.$n.J.JM)}function EH(a,b){a.cC&&(b=!!b,a.Cj!==b&&(a.Cj=b,gz(a)))} +CH.C.$n.Instance=class extends CH.zW{constructor(a,b){super(a);this.Fa="OK";this.Cj=this.cC=!1;this.rO=this.pd=this.Ln="";this.uw=this.qd=!0;b&&(this.cC=1===b[0],this.Fa=b[1],this.Ln=b[2],this.m().hg(b[3]),this.qd=b[4],this.uw=b[5],this.Cj=b[6],this.pd=b[7],this.rO=b[8]);a={id:this.pd,className:this.rO};b=this.m();a.elementId=this.Pw;a.isVisible=b.hd();a.htmlIndex=b.O().Ft;a.htmlZIndex=fz(b);Object.assign(a,this.LE());this.tI=!!a.isVisible;$y(this,"create",a);dz(this,!0)}j(){super.j()}LE(){return{text:this.Fa, +isCheckbox:this.cC,isChecked:this.Cj,title:this.Ln,isVisible:this.m().hd(),isEnabled:this.qd}}Kg(a){this.Fa!==a&&(this.Fa=a,gz(this))}Aq(a){a=!!a;this.qd!==a&&(this.qd=a,gz(this))}xg(){}Hc(){return{text:this.Fa,checked:this.Cj,title:this.Ln,enabled:this.qd}}$b(a){this.Fa=a.text;this.Cj=a.checked;this.Ln=a.title;this.qd=a.enabled;gz(this)}Ec(a){switch(a){case 1:return this.Fa;case 2:return this.Ln;case 4:return this.qd;case 5:return this.uw;case 6:return this.Cj}}fg(a,b){switch(a){case 1:this.Kg(b); +break;case 2:this.Ln!==b&&(this.Ln=b,gz(this));break;case 4:this.Aq(!!b);break;case 5:this.uw=!!b;break;case 6:EH(this,!!b)}}qf(){return self.$E}};const FH=new WeakMap;self.$E=class extends self.sU{constructor(){super();FH.set(this,self.yh.xk().ma)}set text(a){DH.Nd(a);FH.get(this).Kg(a)}get text(){return FH.get(this).Fa}set isEnabled(a){FH.get(this).Aq(a)}get isEnabled(){return FH.get(this).qd}set X_(a){EH(FH.get(this),a)}get X_(){return FH.get(this).Cj}};const GH=self.B; +GH.C.$n.J={JM(){return!0},Q4(){return this.Cj},NL(a,b){return b?this.Fa===a:GH.ke(this.Fa,a)}};self.B.C.$n.Za={mj(a){this.Kg(a)},E$(a){this.Ln!==a&&(this.Ln=a,gz(this))},t9(a){EH(this,0!==a)},Faa(){this.cC&&(this.Cj=!this.Cj,gz(this))}};self.B.C.$n.Qb={Text(){return this.Fa}};"use strict";const HH=self.B;HH.Pb.wf=class extends HH.oN{constructor(a){super(a)}j(){super.j()}};const IH=self.B;IH.Pb.wf.Jg=class extends IH.qN{constructor(a){super(a)}j(){super.j()}rc(){}};const JH=self.B,KH=JH.Pb.wf; +function Zk(a,b,d=!1){var c=b.yg();if(a.yf.has(c)&&(c=a.yf.get(c))){const e=c.indexOf(b);-1!==e&&c.splice(e,1)}b.cc||LH(a,b)||(b.jd(d),d=b.yg(),a.Tf.has(d)||a.Tf.set(d,[]),a.Tf.get(d).push(b),a.Wk||a.QA())}function MH(a){if(a.Tf.size){for(const b of a.Tf.values()){for(const d of b)d.cc||d.j();JH.D(b)}a.Tf.clear();a.Wk&&a.Ms()}} +function NH(a,b){return b?(b=[...a.yf.values()].flat(),a=[...a.Tf.values()].flat(),b.concat(a).filter(d=>d).filter(d=>!d.cc)):[...a.yf.values()].flat().filter(d=>d).filter(d=>!d.cc)}function OH(a,b,d){if(d)return d=a.yf.get(b),a=a.Tf.get(b),d||(d=[]),a||(a=[]),d.concat(a).filter(c=>c).filter(c=>!c.cc);(a=a.yf.get(b))||(a=[]);return a.filter(c=>c).filter(c=>!c.cc)}function PH(a,b,d){if((a=d?OH(a,d,!0):NH(a,!0))&&a.length)for(const c of a)if(ip(c,b))return c} +function*QH(a,b,d,c=!1){if((a=d?OH(a,d,c):NH(a,c))&&a.length)for(const e of a)ip(e,b)&&(yield e)}function*RH(a,b){yield*QH(a,b,void 0,!0)}function SH(a){const b={};for(const [d,c]of a.yf)b[d]=c.filter(e=>!e.cc).map(e=>e.pa());return b}function TH(a){return a.Mo.filter(b=>!b.cc).map(b=>b.na())}function UH(a){const b={};for(const [d,c]of a.Tf)b[d]=c.map(e=>e.pa());return b} +function VH(a,b,d,c){if(b)for(const g in b){let k=d.get(g);k?JH.D(k):k=[];var e=b[g];for(const l of e)WH(k,l.name,c)?XH(l.name,l,c):(e=Rr({Ne:a.F(),json:l}),Lr(e,n=>YH(a,n)),Go(c,e),WH(k,e,c));d.set(g,k)}}function WH(a,b,d){if("string"===typeof b){if(b=Fo(d,b))return!!a.push(b)}else return!!a.push(b);return!1}function XH(a,b,d){"string"===typeof a?(a=Fo(d,a))&&a.ra(b):a.ra(b)} +function YH(a,b){ZH=a.yj=b;let d,c;if(a.F())d=a.T,c=a.g,a.oa(KH.J.VM),a.oa(KH.J.IM),Zk(a,b);else{d=b.Z();if(!d||d&&yp(d))return;c=d.F();a:{var e=b.Z().yd;for(g of e)if(e=g.rh(),e.nx===a.constructor){var g=e;break a}g=void 0}a.oa(KH.J.VM,c,d,g);a.oa(KH.J.IM,c,d,g);b.jd()}ZH=a.yj=null;b.kt&&bn(c,d)} +function $H(a,b,d=!1){if(JH.Fc(b)){var c=aI[b];if(a.yf.has(c)){c=a.yf.get(c);var e=a.yj;for(var g of c)g===e||g.cc||LH(a,g)||(g.jd(d),g.j());JH.D(c)}}else{g=a.yj;for(c of NH(a))c===g||c.cc||LH(a,c)||(c.jd(d),c.j());for(e of a.yf.keys())JH.D(a.yf.get(e)),a.yf.delete(e);a.yf.clear()}}function bI(a,b,d){d=aI[d];a.yf.has(d)||a.yf.set(d,[]);a.yf.get(d).push(b)} +function cI(a,b){var d=dI(b.wg,b.ak,b.kf,b.Xj,b.tm,a.T);const c=aI[b.wg];KH.ti.yM(c)||$H(a,b.wg);d=Rr({Ne:a.F(),id:c,Xr:b.Xr,time:b.time,instance:a.T,Zu:!!b.Zu,loop:!!b.loop,Xu:!!b.Xu,Vr:b.Vr,Qu:b.Qu,Yu:d});Lr(d,e=>YH(a,e));bI(a,d,b.wg);return d}function LH(a,b){const d=b.yg();return a.Tf.has(d)?a.Tf.get(d).includes(b):!1} +KH.Instance=class extends JH.pN{constructor(a,b){super(a);this.Vd=!0;b&&(this.Vd=!!b[0]);this.yf=new Map;this.Mo=[];this.Tf=new Map;this.aR=this.wH=this.aO=this.yj=null;this.KO="";this.Fq=d=>this.zk(d);this.F().fb().addEventListener("afterload",this.Fq)}j(){this.F().fb().removeEventListener("afterload",this.Fq);this.Fq=null;this.yj&&(Zk(this,this.yj,!0),this.yj=null);$H(this,NaN,!0);JH.D(this.Mo);this.Mo=null;MH(this);this.Tf=null;super.j()}Mv(a){this.Vd=!!a;a?this.Tf&&this.Tf.size&&this.QA():this.Ms(); +for(const b of NH(this))a?this.Mo.includes(b)&&Tk(b):((b.IsPlaying()||b.pg)&&this.Mo.push(b),b.jd());a&&JH.D(this.Mo)}Rb(){return this.Vd}Zb(){const a=this.T;return a?!yp(a):!1}Hc(){return{s:!1,e:!!this.Vd,at:SH(this),dt:TH(this),wt:UH(this),ft:this.yj?this.yj.na():""}}$b(a){a&&(this.aO=a.at,this.wH=a.dt,this.aR=a.wt,this.KO=a.ft,this.Vd=!!a.e)}zk(){const a=this.F().Jb;VH(this,this.aO,this.yf,a);if(this.wH){JH.D(this.Mo);for(const b of this.wH)WH(this.Mo,b,a)}VH(this,this.aR,this.Tf,a);this.yj=Fo(a, +this.KO);this.Vd?this.Tf&&this.Tf.size&&this.QA():this.Ms()}Uv(){MH(this)}Ec(a){switch(a){case 0:return this.Vd}}fg(a,b){switch(a){case 0:this.Vd=!!b}}oa(a,b,d,c){return this.g?super.oa(a):b.oa(a,d,c)}qf(){return self.BU}};const eI=self.B;let ZH=null; +eI.Pb.wf.J={VM(a){return ip(ZH,a)},IM(){return!0},IsPlaying(a){return(a=[...RH(this,a)],a.length)?a.some(eI.vq.IsPlaying):!1},IU(){const a=[...NH(this,!0)];return a&&a.length?a.some(eI.vq.IsPlaying):!1},Bv(a){return(a=[...RH(this,a)],a.length)?a.some(eI.vq.Bv):!1},N4(){const a=[...NH(this,!0)];return a&&a.length?a.some(eI.vq.Bv):!1}};const fI=self.wm; +self.B.Pb.wf.Za={Mv(a){this.Mv(!!a)},async xX(...a){this.Rb()&&this.Zb()&&(a=cI(this,gI(...a)),a.Play()&&await Uk(a))},async yX(...a){this.Rb()&&this.Zb()&&(a=cI(this,hI(...a)),a.Play()&&await Uk(a))},async zX(...a){this.Rb()&&this.Zb()&&(a=cI(this,iI(...a)),a.Play()&&await Uk(a))},X6(a){if(this.Rb()&&this.Zb())for(const b of QH(this,a))b.jd()},W6(){if(this.Rb()&&this.Zb())for(const a of NH(this))a.jd()},K8(a){if(this.Rb()&&this.Zb())for(const b of QH(this,a))Tk(b)},J8(){if(this.Rb()&&this.Zb())for(const a of NH(this))Tk(a)}, +laa(a){if(this.Rb()&&this.Zb())for(const b of QH(this,a))Zk(this,b)},iaa(){if(this.Rb()&&this.Zb())for(const a of NH(this))Zk(this,a)},q$(a,b,d){if(this.Rb()&&this.Zb()){b=jI[b];for(const c of QH(this,a))Or(c,[b]),Pr(c,d,b)}},K$(a,b,d,c){if(this.Rb()&&this.Zb()){b=kI.pi(b)?lI[b]:lI[aI[b]];for(const e of QH(this,a))Or(e,b),Pr(e,d,b[0]),Pr(e,c,b[1])}},M$(a,b){if(this.Rb()&&this.Zb())for(const d of QH(this,a,"value"))Mr(d,b,"value")},L$(a,b){if(this.Rb()&&this.Zb())for(const d of QH(this,a,"value"))Or(d, +["value"]),Pr(d,b,"value")},H$(a,b){if(this.Rb()&&this.Zb()){b=fI.zm(b);for(const d of QH(this,a))d.eg(b)}},i9(a){if(this.Rb()&&this.Zb()){a=fI.zm(a);for(const b of NH(this))b.eg(a)}},J$(a,b){if(this.Rb()&&this.Zb())for(const d of QH(this,a))d.Gh(b)},k9(a){if(this.Rb()&&this.Zb())for(const b of NH(this))b.Gh(a)},I$(a,b){if(this.Rb()&&this.Zb())for(const d of QH(this,a))d.Fh(b)},j9(a){if(this.Rb()&&this.Zb())for(const b of NH(this))b.Fh(a)},G$(a,b){if(this.Rb()&&this.Zb())for(const d of QH(this,a))d.kt= +!!b},h9(a){if(this.Rb()&&this.Zb())for(const b of NH(this))b.kt=!!a}};self.B.Pb.wf.Qb={Baa(a){return(a=PH(this,a))?a.wa():0},qW(a){return(a=PH(this,a))?a.wa()/a.qc():0},bG(a){return(a=PH(this,a,"value"))?a.Id("value").zb().Gb():0},yaa(){if(this.yj){var a=this.yj;a.Ly&&(a.rD=a.ff.join(" "));a.Ly=!1;a=a.rD}else a="";return a}};"use strict"; +const kI=self.B,mI=self.wm,nI=["position","size","scale"],jI="offsetX offsetY offsetWidth offsetHeight offsetAngle offsetOpacity offsetColor offsetZElevation offsetScaleX offsetScaleY".split(" "),aI=[].concat(nI).concat(jI).concat(["value"]),oI={position:["offsetX","offsetY"],size:["offsetWidth","offsetHeight"],scale:["offsetScaleX","offsetScaleY"]},lI=Object.assign({},aI.reduce((a,b)=>Object.assign({},a,{[b]:[b]}),{}),oI); +kI.Pb.wf.ti=class{constructor(){}static zm(a){return[...mI.kM()][a]}static RU(a){return!!oI[a]}static cF(a){return"offsetColor"===a}static HU(a){return"offsetAngle"===a}static yM(a){return"value"===a}};"use strict";const pI=self.B,qI=pI.Pb.wf,rI=new Map; +function dI(a,b,d,c,e,g){var k=KH.gT;if(0===rI.size){const l=qI.bN,n=qI.DX;sI(l.XM,k.hY,n.pG);sI(l.COLOR,k.cY,n.dY);sI(l.CL,k.bY,n.iY);sI(l.IN,k.jY,n.pG);sI(l.GM,k.eY,n.pG)}k=tI(a);k=rI.get(k);pI.Fc(a)&&(a=aI[a]);return k.r_(a,k.vS(b),k.vS(d),c,e,g)}function sI(a,b,d){rI.set(a,{name:a,r_:b,vS:d})} +qI.gT=class{constructor(){}static hY(a,b,d,c,e){return oI[a].map((g,k)=>({$u:"world-instance",wg:g,type:"float",valueType:"numeric",ak:b[k],kf:d[k],Xj:qI.ti.zm(c),tm:e}))}static cY(a,b,d,c,e,g){return pI.C.Text&&g.ab()instanceof pI.C.Text?{$u:"plugin",D0:[7],wg:"color",type:"color",valueType:"color",ak:b,kf:d,Xj:qI.ti.zm(c),tm:e}:{$u:"world-instance",wg:a,type:"color",valueType:"color",ak:b,kf:d,Xj:qI.ti.zm(c),tm:e}}static bY(a,b,d,c,e){return{$u:"world-instance",wg:a,type:"angle",valueType:"angle", +ak:b,kf:d,Xj:qI.ti.zm(c),tm:e}}static eY(a,b,d,c,e){return{$u:"world-instance",wg:a,type:"float",valueType:"numeric",ak:b,kf:d,Xj:qI.ti.zm(c),tm:e}}static jY(a,b,d,c,e){return{$u:"value",wg:a,type:"float",valueType:"numeric",ak:b,kf:d,Xj:qI.ti.zm(c),tm:e}}};"use strict"; +const uI=self.B,vI=uI.Pb.wf,wI=Object.assign({},{tm:"absolute"},{Xr:"",wg:"",time:0,Xj:0,Zu:0,loop:!1,Xu:!1,Vr:1}),xI=Object.assign({},wI,{Qu:"current-state",ak:0,kf:0}),yI=Object.assign({},wI,{Qu:"current-state",ak:[0,0],kf:[0,0]}),zI=Object.assign({},wI,{Qu:"current-state",ak:[0,0,0],kf:[0,0,0]}),AI=Object.assign({},xI,{Qu:"start-value"}); +function gI(a,b,d,c,e,g,k,l,n){b="string"===typeof b?b:jI[b];const p=vI.ti.cF(b)?zI:xI;p.Xr=a;p.time=c;p.Xj=e;p.Zu=g;p.loop=k;p.Xu=l;p.Vr=n;vI.ti.cF(b)?(zI.kf[0]=uI.fA(d),zI.kf[1]=uI.bA(d),zI.kf[2]=uI.Rz(d),zI.wg=aI.indexOf(b)):xI.kf="offsetOpacity"===b?d/100:d;p.wg=aI.indexOf(b);return p}function hI(a,b,d,c,e,g,k,l,n,p){yI.Xr=a;yI.time=e;yI.Xj=g;yI.Zu=k;yI.loop=l;yI.Xu=n;yI.Vr=p;a="string"===typeof b?b:nI[b];yI.kf[0]=d;yI.kf[1]=c;yI.wg=aI.indexOf(a);return yI} +function iI(a,b,d,c,e,g,k,l,n){AI.Xr=a;AI.time=c;AI.Xj=e;AI.Zu=g;AI.loop=k;AI.Xu=l;AI.Vr=n;AI.ak=b;AI.kf=d;AI.wg=aI.indexOf("value");return AI}vI.Oaa=class{constructor(){}};"use strict";const BI=self.B,CI=BI.Pb.wf,DI=[]; +function tI(a){var b=qI.bN;0===DI.length&&(DI.push({Rr:CI.ti.RU,result:b.XM}),DI.push({Rr:CI.ti.cF,result:b.COLOR}),DI.push({Rr:CI.ti.HU,result:b.CL}),DI.push({Rr:CI.ti.yM,result:b.IN}),DI.push({Rr:()=>!0,result:b.GM}));BI.Fc(a)&&(a=aI[a]);for(const d of DI)if(d.Rr(a))return d.result}CI.bN=class{constructor(){}static get XM(){return"pair"}static get COLOR(){return"color"}static get CL(){return"angle"}static get IN(){return"value"}static get GM(){return"other"}};"use strict";const EI=self.B; +EI.Pb.wf.DX=class{constructor(){}static iY(a){return EI.Ed(EI.Pa(parseFloat(a)))}static dY(a){return a.slice(0)}static pG(a){return a}};"use strict";const FI=self.ZE,GI=new WeakMap;self.BU=class extends FI{constructor(){super();GI.set(this,FI.xk().ma)}get isEnabled(){return GI.get(this).Rb()}set isEnabled(a){GI.get(this).Mv(a)}};"use strict";const HI=self.B;HI.Pb.Hs=class extends HI.oN{constructor(a){super(a)}j(){super.j()}};const II=self.B;II.Pb.Hs.Jg=class extends II.qN{constructor(a){super(a)}j(){super.j()}rc(){}}; +const JI=self.B,KI=self.ZE,LI=2*Math.PI,MI=Math.PI/2,NI=3*Math.PI/2,OI=[0,1,8,3,4,2,5,6,9,7];function PI(a,b){b%=LI;switch(a.Mp){case 0:return Math.sin(b);case 1:return b<=MI?b/MI:b<=NI?1-2*(b-MI)/Math.PI:(b-NI)/MI-1;case 2:return 2*b/LI-1;case 3:return-2*b/LI+1;case 4:return b"Setup",a=>{const b=Hv(a,0);return()=>hv(b)+128},()=>64,a=>{const b=Hv(a,0);return()=>hv(b)},()=>8,()=>0,()=>1,()=>"Inspecting",()=>"World",()=>"",a=>{const b=Hv(a,0);return()=>kv(b)},a=>{const b=Hv(a,0);return()=>hv(b)+1},()=>10,()=>"SelfDestroy",a=>{const b=Hv(a,0);return()=>hv(b)+160},()=>2,()=>"Controls",a=>{const b=Hv(a,0).Oh;return()=>b.Gb()},()=>"Editing",a=>{const b=Hv(a,0),d=Hv(a,1),c=Hv(a,2),e=Hv(a,3);return()=>16===Math.round(UI.Sn(hv(b),hv(d),hv(c),hv(e)))?1:0},a=>{const b= +Hv(a,0),d=Hv(a,1);return()=>kv(b)===hv(d)?1:0},()=>"Destroy",a=>{const b=Hv(a,0);return()=>kv(b)-1},a=>{const b=Hv(a,0).eq();return()=>b("Destroy")},a=>{const b=Hv(a,0);return()=>kv(b)+1},()=>45,()=>"Transition",()=>16,()=>.25,()=>-1,()=>"Utilities",a=>{const b=Hv(a,0).Oh;return()=>16*Math.round(b.Gb()/16)},a=>{const b=Hv(a,0).Oh,d=Hv(a,1);return()=>b.Gb()+kv(d)+1},a=>{const b=Hv(a,0).Oh,d=Hv(a,1);return()=>b.Gb()===hv(d)?1:0},()=>"Celebrating",()=>"Chunk",a=>{const b=Hv(a,0).eq();return()=>b()/16- +1},a=>{const b=Hv(a,0).eq();return()=>8+16*b("Chunk")},a=>{const b=Hv(a,0).Oh;return()=>b.Gb()+.1},()=>"Bounce",()=>.15,()=>"Flash",()=>150,()=>100,()=>.5,()=>"AdjustHSL",a=>{const b=Hv(a,0);return()=>{var d=b.L;var c=Us(d.aa()),e=c.length;0===e?d=b.ny?"":0:(e=gv(b.ub.qu,e),at(b.Wd).AB=d,c=c[e],e=0,d.La&&(e=Rv(c.G(),d.Ii)),d=b.Ra.apply(c.yd[b.sj+e].ma,["Flash"]));return d}},()=>3,a=>{const b=Hv(a,0).Oh;return()=>{var d=b.Gb();return"World"+("number"===typeof d?(Math.round(1E10*d)/1E10).toString(): +d)}},()=>"tests",a=>{const b=Hv(a,0).eq();return()=>b()},a=>{const b=Hv(a,0),d=Hv(a,1).Oh;return()=>hv(b,0,d.Gb())},a=>{const b=Hv(a,0).eq(),d=Hv(a,1),c=Hv(a,2).Oh,e=Hv(a,3).Oh;return()=>b(hv(d,0,c.Gb()))/e.Gb()},a=>{const b=Hv(a,0).Oh;return()=>b.Gb()+1},()=>"tests2"]; diff --git a/scripts/main.js b/scripts/main.js index 53c2fce..09e2865 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -1,155 +1,160 @@ -function m(b,a,c,d){b.s.kb(b.pb,a,c,d)}function n(b,a,c,d){b.s.da?m(b,a,c,d):b.s.Ne()._OnMessageFromDOM({type:"event",component:b.pb,handler:a,dispatchOpts:d||null,data:c,responseId:null})}function q(b,a,c){b.s.B(b.pb,a,c)}function aa(b,a){for(const [c,d]of a)q(b,c,d)}function v(b){b.Tb||(b.s.xc(b.ce),b.Tb=!0)}window.Hb=class{constructor(b,a){this.s=b;this.pb=a;this.Tb=!1;this.ce=()=>this.Na()}hd(){}Na(){}}; -window.Af=class{constructor(){this.dd=-1}j(){-1!==this.dd&&(self.clearTimeout(this.dd),this.dd=-1)}};"use strict";function ba(b,a){q(b,"get-element",c=>{const d=w(b,c.elementId);return a(d,c)})}function w(b,a){b=b.Sa.get(a);if(!b)throw Error(`no element with id ${a}`);return b.Rb} -window.md=class extends self.Hb{constructor(b,a){super(b,a);this.Sa=new Map;this.nb=!0;aa(this,[["create",()=>{throw Error("required override");}],["destroy",c=>{c=c.elementId;const d=w(this,c);this.nb&&d.parentElement.removeChild(d);this.Sa.delete(c)}],["set-visible",c=>{if(this.nb){var d=this.Sa.get(c.elementId),e=d.Rb;d.Md?e.style.display=c.isVisible?"":"none":d.ff=!!c.isVisible}}],["update-position",c=>{if(this.nb){var d=this.Sa.get(c.elementId),e=d.Rb,f=this.s;e.style.left=c.left+"px";e.style.top= -c.top+"px";e.style.width=c.width+"px";e.style.height=c.height+"px";var g=c.fontSize;null!==g&&(e.style.fontSize=g+"em");g=c.htmlIndex;d.lf=g;g=f.od(g);g!==d.Ea&&(e.remove(),f.qc(g).appendChild(e),d.Ea=g,f.Gc());c=c.htmlZIndex;c!==d.Oc&&(d.Oc=c,f.Gc());d.Md||(d.Md=!0,d.ff&&(e.style.display=""))}}],["update-state",c=>{w(this,c.elementId);throw Error("required override");}],["focus",c=>{const d=w(this,c.elementId);c.focus?d.focus():d.blur()}],["set-css-style",c=>{const d=w(this,c.elementId),e=c.prop; -c=c.val;e.startsWith("--")?d.style.setProperty(e,c):d.style[e]=c}],["set-attribute",c=>{w(this,c.elementId).setAttribute(c.name,c.val)}],["remove-attribute",c=>{w(this,c.elementId).removeAttribute(c.name)}]]);ba(this,c=>c)}};"use strict";const ca=/(iphone|ipod|ipad|macos|macintosh|mac os x)/i.test(navigator.userAgent),x=/android/i.test(navigator.userAgent);let da=0; -function y(b){const a=document.createElement("script");a.async=!1;a.type="module";return b.qf?new Promise(c=>{const d="c3_resolve_"+da;++da;self[d]=c;a.textContent=b.uf+`\n\nself["${d}"]();`;document.head.appendChild(a)}):new Promise((c,d)=>{a.onload=c;a.onerror=d;a.src=b;document.head.appendChild(a)})} -async function ea(){if(!navigator.userActivation||"undefined"===typeof OffscreenCanvas)return!1;try{let b=!1;const a=new Worker(URL.createObjectURL(new Blob(['\n\tself.addEventListener("message", () =>\n\t{\n\t\ttry {\n\t\t\tconst offscreenCanvas = new OffscreenCanvas(32, 32);\n\t\t\tconst gl = offscreenCanvas.getContext("webgl");\n\t\t\tself.postMessage(!!gl);\n\t\t}\n\t\tcatch (err)\n\t\t{\n\t\t\tconsole.warn("Feature detection worker error:", err);\n\t\t\tself.postMessage(false);\n\t\t}\n\t});'],{type:"text/javascript"})), +function m(b,a,c,d){b.m.lb(b.qb,a,c,d)}function n(b,a,c,d){b.m.da?m(b,a,c,d):b.m.Se()._OnMessageFromDOM({type:"event",component:b.qb,handler:a,dispatchOpts:d||null,data:c,responseId:null})}function q(b,a,c){b.m.B(b.qb,a,c)}function aa(b,a){for(const [c,d]of a)q(b,c,d)}function v(b){b.Wb||(b.m.Bc(b.he),b.Wb=!0)}window.Lb=class{constructor(b,a){this.m=b;this.qb=a;this.Wb=!1;this.he=()=>this.Oa()}pd(){}Oa(){}}; +window.Df=class{constructor(){this.kd=-1}j(){-1!==this.kd&&(self.clearTimeout(this.kd),this.kd=-1)}};"use strict";class ba{constructor(b){this.tb=b;this.Rc=!1;this.Yc=!0;this.vb=this.pa=this.ld=-1}} +function ca(b,a){const c=a.elementId,d=b.td(c,a),e=new ba(d);b.Ha.set(c,e);d.style.boxSizing="border-box";d.style.display="none";e.Yc=!!a.isVisible;var f=b.Ec(d);f.addEventListener("focus",()=>{da(b,"elem-focused",c)});f.addEventListener("blur",()=>{da(b,"elem-blurred",c)});f=a.htmlIndex;e.ld=f;e.vb=a.htmlZIndex;b.Ra&&(a=b.m.sc(f),e.pa=a,b.m.Mb(a).appendChild(d))}function ea(b,a){q(b,"get-element",c=>{const d=w(b,c.elementId);return a(d,c)})} +function w(b,a){b=b.Ha.get(a);if(!b)throw Error(`no element with id ${a}`);return b.tb}function da(b,a,c){var d;d||(d={});d.elementId=c;m(b,a,d)} +window.rc=class extends self.Lb{constructor(b){super(b,"button");this.Ha=new Map;this.Ra=!0;aa(this,[["create",a=>ca(this,a)],["destroy",a=>{a=a.elementId;const c=w(this,a);this.Ra&&c.parentElement.removeChild(c);this.Ha.delete(a)}],["set-visible",a=>{if(this.Ra){var c=this.Ha.get(a.elementId),d=c.tb;c.Rc?d.style.display=a.isVisible?"":"none":c.Yc=!!a.isVisible}}],["update-position",a=>{if(this.Ra){var c=this.Ha.get(a.elementId),d=c.tb,e=this.m;d.style.left=a.left+"px";d.style.top=a.top+"px";d.style.width= +a.width+"px";d.style.height=a.height+"px";var f=a.fontSize;null!==f&&(d.style.fontSize=f+"em");f=a.htmlIndex;c.ld=f;f=e.sc(f);f!==c.pa&&(d.remove(),e.Mb(f).appendChild(d),c.pa=f,e.Lc());a=a.htmlZIndex;a!==c.vb&&(c.vb=a,e.Lc());c.Rc||(c.Rc=!0,c.Yc&&(d.style.display=""))}}],["update-state",a=>{const c=w(this,a.elementId);this.Ac(c,a)}],["focus",a=>{const c=this.Ec(w(this,a.elementId));a.focus?c.focus():c.blur()}],["set-css-style",a=>{const c=w(this,a.elementId),d=a.prop;a=a.val;d.startsWith("--")?c.style.setProperty(d, +a):c.style[d]=a}],["set-attribute",a=>{w(this,a.elementId).setAttribute(a.name,a.val)}],["remove-attribute",a=>{w(this,a.elementId).removeAttribute(a.name)}]]);ea(this,a=>a)}td(){throw Error("required override");}Ac(){throw Error("required override");}Ec(b){return b}};"use strict";const fa=/(iphone|ipod|ipad|macos|macintosh|mac os x)/i.test(navigator.userAgent),x=/android/i.test(navigator.userAgent);let ha=0; +function y(b){const a=document.createElement("script");a.async=!1;a.type="module";return b.tf?new Promise(c=>{const d="c3_resolve_"+ha;++ha;self[d]=c;a.textContent=b.xf+`\n\nself["${d}"]();`;document.head.appendChild(a)}):new Promise((c,d)=>{a.onload=c;a.onerror=d;a.src=b;document.head.appendChild(a)})} +async function ia(){if(!navigator.userActivation||"undefined"===typeof OffscreenCanvas)return!1;try{let b=!1;const a=new Worker(URL.createObjectURL(new Blob(['\n\tself.addEventListener("message", () =>\n\t{\n\t\ttry {\n\t\t\tconst offscreenCanvas = new OffscreenCanvas(32, 32);\n\t\t\tconst gl = offscreenCanvas.getContext("webgl");\n\t\t\tself.postMessage(!!gl);\n\t\t}\n\t\tcatch (err)\n\t\t{\n\t\t\tconsole.warn("Feature detection worker error:", err);\n\t\t\tself.postMessage(false);\n\t\t}\n\t});'],{type:"text/javascript"})), {get type(){b=!0}}),c=await new Promise(d=>{a.addEventListener("message",e=>{a.terminate();d(e.data)});a.postMessage("")});return b&&c}catch(b){return console.warn("Error feature detecting worker mode: ",b),!1}}let z=new Audio; -const fa={"audio/webm; codecs=opus":!!z.canPlayType("audio/webm; codecs=opus"),"audio/ogg; codecs=opus":!!z.canPlayType("audio/ogg; codecs=opus"),"audio/webm; codecs=vorbis":!!z.canPlayType("audio/webm; codecs=vorbis"),"audio/ogg; codecs=vorbis":!!z.canPlayType("audio/ogg; codecs=vorbis"),"audio/mp4":!!z.canPlayType("audio/mp4"),"audio/mpeg":!!z.canPlayType("audio/mpeg")};z=null;async function ha(b){b=await ia(b);return(new TextDecoder("utf-8")).decode(b)} -function ia(b){return new Promise((a,c)=>{const d=new FileReader;d.onload=e=>a(e.target.result);d.onerror=e=>c(e);d.readAsArrayBuffer(b)})}const B=[];let D=0;window.RealFile=window.File;const E=[],F=new Map,G=new Map;let ja=0;const ka=[];self.runOnStartup=function(b){if("function"!==typeof b)throw Error("runOnStartup called without a function");ka.push(b)};const na=new Set(["cordova","playable-ad","instant-games"]);let oa=!1; -window.Kb=class b{constructor(a){this.da=a.wf;this.wa=null;this.aa="";this.$a=a.tf;this.Fb={};this.Ua=this.ta=null;this.Ra=[];this.ma=null;this.Qd=!0;this.M=[];this.Yc=[];this.Zc=!1;this.de=()=>this.Le();this.Qc=!1;this.Jd=0;this.ub=null;this.Za=-1;this.kf=()=>this.We();this.Cb=new Set;this.ed=null;this.ee=[];this.A=a.fe;this.Ub="file"===location.protocol.substr(0,4);if("playable-ad"===this.A||"instant-games"===this.A)this.da=!1;if("cordova"===this.A&&this.da&&x){const c=/Chrome\/(\d+)/i.exec(navigator.userAgent); -c&&90<=parseInt(c[1],10)||(this.da=!1)}this.La()?self.chrome.webview.addEventListener("message",c=>this.yd(c.data)):"macos-wkwebview"===this.A&&(self.C3WrapperOnMessage=c=>this.yd(c));this.Xb=this.qa=null;"html5"!==this.A||window.isSecureContext||console.warn("[Construct] Warning: the browser indicates this is not a secure context. Some features may be unavailable. Use secure (HTTPS) hosting to ensure all features are available.");this.B("canvas","update-size",c=>this.$e(c));this.B("canvas","set-html-layer-count", -c=>this._OnSetHTMLLayerCount(c));this.B("canvas","cleanup-html-layers",()=>this.Re());this.B("runtime","cordova-fetch-local-file",c=>this.Se(c));this.B("runtime","create-job-worker",()=>this.Te());this.B("runtime","send-wrapper-extension-message",c=>this.Ze(c));"cordova"===this.A?document.addEventListener("deviceready",()=>this.wd(a)):this.wd(a)}j(){this.yc();this.wa&&(this.wa=this.wa.onmessage=null);this.ta&&(this.ta.terminate(),this.ta=null);this.Ua&&(this.Ua.j(),this.Ua=null);for(const {canvas:a, -cb:c}of this.M)a.remove(),c.remove();this.M.length=0}xe(){return this.M[0].canvas}od(a){return Math.min(a,this.M.length-1)}qc(a){if(0>a||a>=this.M.length)throw new RangeError("invalid canvas layer");return this.M[a].cb}Be(){return ca&&"cordova"===this.A}ib(){const a=navigator.userAgent;return ca&&na.has(this.A)||navigator.standalone||/crios\/|fxios\/|edgios\//i.test(a)}ze(){return x}pd(){return x&&na.has(this.A)}rd(){return"windows-webview2"===this.A||!!("preview"===this.A&&window.chrome&&window.chrome.webview&& -window.chrome.webview.postMessage)}La(){return this.rd()||"xbox-uwp-webview2"===this.A}async wd(a){this.da&&!await ea()&&(this.da=!1);"macos-wkwebview"===this.A?this.lb({type:"ready"}):this.La()&&(this.bf(),this.ee=(await this.Qe()).registeredComponentIds);if("playable-ad"===this.A){this.qa=self.c3_base64files;this.Xb={};await this.Ie();for(let d=0,e=a.bb.length;d{d++;document.body.style.opacity=0===d%2?"1":"0.999"})}a.sf?this.aa=a.sf:(c=location.origin,this.aa=("null"===c?"file:///":c)+location.pathname,c=this.aa.lastIndexOf("/"),-1!==c&&(this.aa=this.aa.substr(0,c+1)));a.yf&&(this.Fb=a.yf);c=new MessageChannel;this.wa=c.port1;this.wa.onmessage=d=>this._OnMessageFromRuntime(d.data);window.c3_addPortMessageHandler&&window.c3_addPortMessageHandler(d=>this.Ve(d));this.ub= -new self.Ce(this);await pa(this.ub);"object"===typeof window.StatusBar&&window.StatusBar.hide();if("object"===typeof window.AndroidFullScreen)try{await new Promise((d,e)=>{window.AndroidFullScreen.immersiveMode(d,e)})}catch(d){console.error("Failed to enter Android immersive mode: ",d)}this.da?await this.Pe(a,c.port2):await this.Oe(a,c.port2)}Ac(a){a=this.Fb.hasOwnProperty(a)?this.Fb[a]:a.endsWith("/workermain.js")&&this.Fb.hasOwnProperty("workermain.js")?this.Fb["workermain.js"]:"playable-ad"=== -this.A&&this.qa.hasOwnProperty(a)?this.qa[a]:a;a instanceof Blob&&(a=URL.createObjectURL(a));return a}async oc(a,c,d){if(a.startsWith("blob:"))return new Worker(a,d);if("cordova"===this.A&&this.Ub)return a=await this.Gb(d.pf?a:this.$a+a),new Worker(URL.createObjectURL(new Blob([a],{type:"application/javascript"})),d);a=new URL(a,c);if(location.origin!==a.origin){a=await fetch(a);if(!a.ok)throw Error("failed to fetch worker script");a=await a.blob();return new Worker(URL.createObjectURL(a),d)}return new Worker(a, -d)}oa(){return Math.max(window.innerWidth,1)}ga(){return Math.max(window.innerHeight,1)}vd(a){var c=this.aa,d=location.href,e=this.oa(),f=this.ga(),g=window.devicePixelRatio,h=b.hb(),k=a.Df,l=window.cr_previewImageBlobs||this.qa,p=window.cr_previewProjectFileBlobs,r=window.cr_previewProjectFiles,t=window.cr_swClientId||"";a=a.fe;var u=(new URLSearchParams(self.location.search)).has("debug"),A=this.ub;return{runtimeBaseUrl:c,previewUrl:d,windowInnerWidth:e,windowInnerHeight:f,devicePixelRatio:g,isFullscreen:h, -projectData:k,previewImageBlobs:l,previewProjectFileBlobs:p,previewProjectFileSWUrls:r,swClientId:t,exportType:a,isDebug:u,ife:!!self.Cf,jobScheduler:{inputPort:A.Pc,outputPort:A.Xc,maxNumWorkers:A.gf},supportedAudioFormats:fa,opusWasmScriptUrl:window.cr_opusWasmScriptUrl||this.$a+"opus.wasm.js",opusWasmBinaryUrl:window.cr_opusWasmBinaryUrl||this.$a+"opus.wasm.wasm",isFileProtocol:this.Ub,isiOSCordova:this.Be(),isiOSWebView:this.ib(),isWindowsWebView2:this.rd(),isAnyWebView2Wrapper:this.La(),wrapperComponentIds:this.ee, -isFBInstantAvailable:"undefined"!==typeof self.FBInstant}}async Pe(a,c){const d=this.Ac(a.xf);"preview"===this.A?(this.ta=new Worker("previewworker.js",{type:"module",name:"Runtime"}),await new Promise((l,p)=>{const r=t=>{this.ta.removeEventListener("message",r);t.data&&"ok"===t.data.type?l():p()};this.ta.addEventListener("message",r);this.ta.postMessage({type:"construct-worker-init","import":(new URL(d,this.aa)).toString()})})):this.ta=await this.oc(d,this.aa,{type:"module",name:"Runtime",pf:!0}); -const e=document.createElement("canvas");e.style.display="none";const f=e.transferControlToOffscreen();document.body.appendChild(e);const g=document.createElement("div");g.className="c3htmlwrap";document.body.appendChild(g);this.M.push({canvas:e,cb:g});window.c3canvas=e;self.C3_InsertHTMLPlaceholders&&self.C3_InsertHTMLPlaceholders();let h=a.lc||[],k=a.bb;h=await Promise.all(h.map(l=>this.Oa(l)));k=await Promise.all(k.map(l=>this.Oa(l)));if("cordova"===this.A)for(let l=0,p=a.kc.length;lnew l(this));this.ud();H(e);ra(g);sa(this.ma);self.c3_callFunction=(l,p)=>{var r=this.ma;return r.s.sd(r.pb,"js-invoke-function", -{name:l,params:p})};"preview"===this.A&&(self.goToLastErrorScript=()=>this.kb("runtime","go-to-last-error-script"))}async Oe(a,c){const d=document.createElement("canvas");d.style.display="none";document.body.appendChild(d);var e=document.createElement("div");e.className="c3htmlwrap";document.body.appendChild(e);this.M.push({canvas:d,cb:e});window.c3canvas=d;self.C3_InsertHTMLPlaceholders&&self.C3_InsertHTMLPlaceholders();this.Ra=E.map(h=>new h(this));this.ud();H(d);ra(e);e=a.bb.map(h=>"string"=== -typeof h?(new URL(h,this.aa)).toString():h);if(Array.isArray(a.lc)){var f=[...a.lc].map(h=>h instanceof Blob?URL.createObjectURL(h):h);e.unshift(...f)}e=await Promise.all(e.map(h=>this.Oa(h)));await Promise.all(e.map(h=>y(h)));e=self.C3_ProjectScriptsStatus;f=a.fd;const g=a.kc;for(let [h,k]of g)if(k||(k=h),h===f)try{k=await this.Oa(k),await y(k),"preview"!==this.A||e[h]||this.Ad(h,"main script did not run to completion")}catch(l){this.Ad(h,l)}else if("scriptsInEvents.js"===h||h.endsWith("/scriptsInEvents.js"))k= -await this.Oa(k),await y(k);"preview"===this.A&&"object"!==typeof self.zf.Bf?(this.Nb(),console.error("[C3 runtime] Failed to load JavaScript code used in events. Check all your JavaScript code has valid syntax."),alert("Failed to load JavaScript code used in events. Check all your JavaScript code has valid syntax.")):(a=Object.assign(this.vd(a),{isInWorker:!1,messagePort:c,canvas:d,runOnStartupFunctions:ka}),sa(this.ma),this.xd(),this.Ua=self.C3_CreateRuntime(a),await self.C3_InitRuntime(this.Ua, -a))}Ad(a,c){this.Nb();console.error(`[Preview] Failed to load project main script (${a}): `,c);alert(`Failed to load project main script (${a}). Check all your JavaScript code has valid syntax. Press F12 and check the console for error details.`)}xd(){this.Nb()}Nb(){const a=window.cr_previewLoadingElem;a&&(a.parentElement.removeChild(a),window.cr_previewLoadingElem=null)}async Te(){const a=await ta(this.ub);return{outputPort:a,transferables:[a]}}$e(a){if(!this.Qc){var c=a.styleWidth+"px",d=a.styleHeight+ -"px",e=a.marginLeft+"px",f=a.marginTop+"px";for(const {canvas:g,cb:h}of this.M)g.style.width=c,g.style.height=d,g.style.marginLeft=e,g.style.marginTop=f,h.style.width=c,h.style.height=d,h.style.marginLeft=e,h.style.marginTop=f,this.Qd&&(g.style.display="",h.style.display="");document.documentElement.style.setProperty("--construct-scale",a.displayScale);this.Qd=!1}}_OnSetHTMLLayerCount(a){var c=a.count,d=a.immediate,e=a.styleWidth+"px",f=a.styleHeight+"px";const g=a.marginLeft+"px",h=a.marginTop+"px"; -a=[];const k=[];if(cc;){const {canvas:l,cb:p}=this.M.pop();p.remove();this.da&&!d?this.Yc.push(l):l.remove()}else if(c>this.M.length)for(let l=0,p=c-this.M.length;l{const k=g.Ea,l=h.Ea;return k!==l?k-l:g.Oc-h.Oc});let e=d=c=0,f=a.length;for(;e=c.length||a>=this.M.length)){c=c.map(k=>k.Rb);var d=new Set(c);a=this.qc(a);for(var e=Array.from(a.children).filter(k=>d.has(k)),f=0,g=Math.min(c.length,e.length);f{G.set(g,{resolve:k,reject:l})});this.wa.postMessage({type:"event",component:a,handler:c,dispatchOpts:e||null,data:d,responseId:g},f);return h}_OnMessageFromRuntime(a){const c=a.type;if("event"=== -c)return this.Ue(a);if("result"===c)this.Xe(a);else if("runtime-ready"===c)this.Ye();else if("alert-error"===c)this.Nb(),alert(a.message);else if("creating-runtime"===c)this.xd();else throw Error(`unknown message '${c}'`);}Ue(a){const c=a.component,d=a.handler,e=a.data,f=a.responseId;if(a=F.get(c))if(a=a.get(d)){var g=null;try{g=a(e)}catch(h){console.error(`Exception in '${c}' handler '${d}':`,h);null!==f&&this.Mb(f,!1,""+h);return}if(null===f)return g;g&&g.then?g.then(h=>this.Mb(f,!0,h)).catch(h=> -{console.error(`Rejection from '${c}' handler '${d}':`,h);this.Mb(f,!1,""+h)}):this.Mb(f,!0,g)}else console.warn(`[DOM] No handler '${d}' for component '${c}'`);else console.warn(`[DOM] No event handlers for component '${c}'`)}Mb(a,c,d){let e;d&&d.transferables&&(e=d.transferables);this.wa.postMessage({type:"result",responseId:a,isOk:c,result:d},e)}Xe(a){const c=a.responseId,d=a.isOk;a=a.result;const e=G.get(c);d?e.resolve(a):e.reject(a);G.delete(c)}B(a,c,d){let e=F.get(a);e||(e=new Map,F.set(a,e)); -if(e.has(c))throw Error(`[DOM] Component '${a}' already has handler '${c}'`);e.set(c,d)}static mc(a){if(E.includes(a))throw Error("DOM handler already added");E.push(a)}ud(){for(const a of this.Ra)if("runtime"===a.pb){this.ma=a;return}throw Error("cannot find runtime DOM handler");}Ve(a){this.kb("debugger","message",a)}Ye(){for(const a of this.Ra)a.hd()}static hb(){return!!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||oa)}static Bd(a){oa=!!a}xc(a){this.Cb.add(a); -this.Fc()}zd(a){this.Cb.delete(a);0===this.Cb.size&&this.yc()}Fc(){-1===this.Za&&0{window.resolveLocalFileSystemURL(c,f=>{f.file(d,e)},e)})}async we(a){a=await this.ld(a);return await ha(a)}zc(){if(B.length&&!(8<=D)){D++;var a=B.shift();this.Je(a.filename,a.vf,a.nf)}}Gb(a){return new Promise((c,d)=>{B.push({filename:a,vf:e=>{D--;this.zc();c(e)},nf:e=>{D--;this.zc();d(e)}});this.zc()})}async Je(a,c,d){try{const e=await this.ld(a),f=await ia(e);c(f)}catch(e){d(e)}}yd(a){if("entered-fullscreen"=== -a)b.Bd(!0),I(this.ma);else if("exited-fullscreen"===a)b.Bd(!1),I(this.ma);else if("object"===typeof a){const c=a.type;"wrapper-init-response"===c?(this.ed(a),this.ed=null):"extension-message"===c?this.kb("runtime","wrapper-extension-message",a):console.warn("Unknown wrapper message: ",a)}else console.warn("Unknown wrapper message: ",a)}Ze(a){this.lb({type:"extension-message",componentId:a.componentId,messageId:a.messageId,params:a.params||[],asyncId:a.asyncId})}lb(a){this.La()?window.chrome.webview.postMessage(JSON.stringify(a)): -"macos-wkwebview"===this.A&&window.webkit.messageHandlers.C3Wrapper.postMessage(JSON.stringify(a))}bf(){window.moveTo=(a,c)=>{this.lb({type:"set-window-position",windowX:Math.ceil(a),windowY:Math.ceil(c)})};window.resizeTo=(a,c)=>{this.lb({type:"set-window-size",windowWidth:Math.ceil(a),windowHeight:Math.ceil(c)})}}Qe(){return this.La()?new Promise(a=>{this.ed=a;this.lb({type:"wrapper-init"})}):Promise.resolve()}async Ie(){const a=[];for(const [c,d]of Object.entries(this.qa))a.push(this.He(c,d)); -await Promise.all(a)}async He(a,c){if("object"===typeof c)this.qa[a]=new Blob([c.str],{type:c.type}),this.Xb[a]=c.str;else{let d=await this.Me(c);d||(d=this.Ke(c));this.qa[a]=d}}async Me(a){try{return await (await fetch(a)).blob()}catch(c){return console.warn("Failed to fetch a data: URI. Falling back to a slower workaround. This is probably because the Content Security Policy unnecessarily blocked it. Allow data: URIs in your CSP to avoid this.",c),null}}Ke(a){a=this.af(a);return this.Ge(a.data, -a.rf)}af(a){var c=a.indexOf(",");if(0>c)throw new URIError("expected comma in data: uri");var d=a.substring(c+1);c=a.substring(5,c).split(";");a=c[0]||"";const e=c[2];d="base64"===c[1]||"base64"===e?atob(d):decodeURIComponent(d);return{rf:a,data:d}}Ge(a,c){var d=a.length;let e=d>>2,f=new Uint8Array(d),g=new Uint32Array(f.buffer,0,e),h,k;for(k=h=0;h{const d=document.createElement("link");d.onload=()=>a(d);d.onerror=e=>c(e);d.rel="stylesheet";d.href=b;document.head.appendChild(d)})}function ya(b){return new Promise((a,c)=>{const d=new Image;d.onload=()=>a(d);d.onerror=e=>c(e);d.src=b})} -async function L(b){b=URL.createObjectURL(b);try{return await ya(b)}finally{URL.revokeObjectURL(b)}}function za(b){return new Promise((a,c)=>{let d=new FileReader;d.onload=e=>a(e.target.result);d.onerror=e=>c(e);d.readAsText(b)})} -async function Aa(b,a,c){if(!/firefox/i.test(navigator.userAgent))return await L(b);var d=await za(b);d=(new DOMParser).parseFromString(d,"image/svg+xml");const e=d.documentElement;if(e.hasAttribute("width")&&e.hasAttribute("height")){const f=e.getAttribute("width"),g=e.getAttribute("height");if(!f.includes("%")&&!g.includes("%"))return await L(b)}e.setAttribute("width",a+"px");e.setAttribute("height",c+"px");d=(new XMLSerializer).serializeToString(d);b=new Blob([d],{type:"image/svg+xml"});return await L(b)} -function Ba(b){do{if(b.parentNode&&b.hasAttribute("contenteditable"))return!0;b=b.parentNode}while(b);return!1}const Ca=new Set(["input","textarea","datalist","select"]),Da=new Set(["canvas","body","html"]);function M(b){b.target.tagName&&Da.has(b.target.tagName.toLowerCase())&&b.preventDefault()}function Ea(b){b.target.tagName&&b.target.classList.contains("c3htmlwrap")&&b.preventDefault()}function Fa(b){(b.metaKey||b.ctrlKey)&&b.preventDefault()} -self.C3_GetSvgImageSize=async function(b){b=await L(b);if(0Ga=!0);document.addEventListener("resume",()=>Ga=!1);function H(b){b.addEventListener("selectstart",M);b.addEventListener("gesturehold",M);b.addEventListener("pointerdown",M)}function ra(b){b.addEventListener("selectstart",Ea);b.addEventListener("gesturehold",Ea);b.addEventListener("touchstart",Ea)}function sa(b){b.Id=!0;b.Tc=b.s.oa();b.vb=b.s.ga()} -function I(b){if(!b.ka){var a=J.hb();a&&"any"!==b.bd&&Ha(b);m(b,"fullscreenchange",{isFullscreen:a,innerWidth:b.oa(),innerHeight:b.ga()})}}async function Ia(b){await Promise.all(b.webfonts.map(async a=>{a=new FontFace(a.name,`url('${a.url}')`);document.fonts.add(a);await a.load()}))} -async function Ja(b){var a=b.imageBitmapOpts;b=await self.C3_RasterSvgImageBlob(b.blob,b.imageWidth,b.imageHeight,b.surfaceWidth,b.surfaceHeight);a=a?await createImageBitmap(b,a):await createImageBitmap(b);return{imageBitmap:a,transferables:[a]}}async function Ka(b){return await self.C3_GetSvgImageSize(b.blob)}function La(b){window.c3_postToMessagePort&&(b.from="runtime",window.c3_postToMessagePort(b))} -function Ma(b){self.setTimeout(()=>{b.Hd=!0},1E3);"cordova"===b.s.A?(document.addEventListener("pause",()=>Na(b,!0)),document.addEventListener("resume",()=>Na(b,!1))):document.addEventListener("visibilitychange",()=>Na(b,"hidden"===document.visibilityState));b.ac=!("hidden"!==document.visibilityState&&!Ga);return{isSuspended:b.ac}} -function Oa(b){b.Dd||(b.Dd=!0,window.addEventListener("deviceorientation",a=>{b.ka||m(b,"deviceorientation",{absolute:!!a.absolute,alpha:a.alpha||0,beta:a.beta||0,gamma:a.gamma||0,timeStamp:a.timeStamp,webkitCompassHeading:a.webkitCompassHeading,webkitCompassAccuracy:a.webkitCompassAccuracy},K)}),window.addEventListener("deviceorientationabsolute",a=>{b.ka||m(b,"deviceorientationabsolute",{absolute:!!a.absolute,alpha:a.alpha||0,beta:a.beta||0,gamma:a.gamma||0,timeStamp:a.timeStamp},K)}))} -function Pa(b){b.Cd||(b.Cd=!0,window.addEventListener("devicemotion",a=>{if(!b.ka){var c=null,d=a.acceleration;d&&(c={x:d.x||0,y:d.y||0,z:d.z||0});d=null;var e=a.accelerationIncludingGravity;e&&(d={x:e.x||0,y:e.y||0,z:e.z||0});e=null;var f=a.rotationRate;f&&(e={alpha:f.alpha||0,beta:f.beta||0,gamma:f.gamma||0});m(b,"devicemotion",{acceleration:c,accelerationIncludingGravity:d,rotationRate:e,interval:a.interval,timeStamp:a.timeStamp},K)}}))}async function Qa(b){await xa(b.url)} -function Ra(b,a){b.Kd=a.message;-1===b.Kc&&(b.Kc=setTimeout(()=>{b.Kc=-1;const c=document.getElementById("exportToVideoMessage");c&&(c.textContent=b.Kd)},250))}function Sa(b,a){console.warn("[Construct] Fullscreen request failed: ",a);m(b,"fullscreenerror",{isFullscreen:J.hb(),innerWidth:b.oa(),innerHeight:b.ga()})} -function Na(b,a){b.ac!==a&&((b.ac=a)?b.s.yc():b.s.Fc(),m(b,"visibilitychange",{hidden:a}),!a&&b.s.ib()&&(b=()=>{document.scrollingElement.scrollTop=0;document.scrollingElement.scrollLeft=0},setTimeout(b,50),setTimeout(b,100),setTimeout(b,250),setTimeout(b,500)))} -function Ta(b,a,c){"Backspace"===c.key&&M(c);if(b.s.La()){var d=["r","p","f","g","u"];(["F3","F5","F7"].includes(c.key)||c.ctrlKey&&d.includes(c.key))&&c.preventDefault()}b.ka||(d=ua.get(c.code)||c.code,n(b,a,{code:d,key:c.key,which:c.which,repeat:c.repeat,altKey:c.altKey,ctrlKey:c.ctrlKey,metaKey:c.metaKey,shiftKey:c.shiftKey,timeStamp:c.timeStamp},K))} -function N(b,a,c,d){b.ka||c.sourceCapabilities&&c.sourceCapabilities.firesTouchEvents||c.originalEvent&&c.originalEvent.sourceCapabilities&&c.originalEvent.sourceCapabilities.firesTouchEvents||n(b,a,{button:c.button,buttons:c.buttons,clientX:c.clientX,clientY:c.clientY+b.za,pageX:c.pageX,pageY:c.pageY+b.za,movementX:c.movementX||0,movementY:c.movementY||0,timeStamp:c.timeStamp},d)} -function O(b,a,c){if(!b.ka){var d=0;"mouse"===c.pointerType&&(d=b.Vc);n(b,a,{pointerId:c.pointerId,pointerType:c.pointerType,button:c.button,buttons:c.buttons,lastButtons:d,clientX:c.clientX,clientY:c.clientY+b.za,pageX:c.pageX,pageY:c.pageY+b.za,movementX:c.movementX||0,movementY:c.movementY||0,width:c.width||0,height:c.height||0,pressure:c.pressure||0,tangentialPressure:c.tangentialPressure||0,tiltX:c.tiltX||0,tiltY:c.tiltY||0,twist:c.twist||0,timeStamp:c.timeStamp},K);"mouse"===c.pointerType&& -(b.Vc=c.buttons)}}function Ua(b,a,c){document.body.style.position="";document.body.style.overflow="";document.body.style.transform="";b.za=0;if(0c&&(a=c),0>a&&(a=0),0d&&Wa(b,e,f,d+1)}function Wa(b,a,c,d){-1!==b.ab&&clearTimeout(b.ab);b.ab=setTimeout(()=>Va(b,a,c,d),48)} -function Ha(b){b=b.bd;if(screen.orientation&&screen.orientation.lock)screen.orientation.lock(b).catch(a=>console.warn("[Construct] Failed to lock orientation: ",a));else try{let a=!1;screen.lockOrientation?a=screen.lockOrientation(b):screen.webkitLockOrientation?a=screen.webkitLockOrientation(b):screen.mozLockOrientation?a=screen.mozLockOrientation(b):screen.msLockOrientation&&(a=screen.msLockOrientation(b));a||console.warn("[Construct] Failed to lock orientation")}catch(a){console.warn("[Construct] Failed to lock orientation: ", -a)}}function Xa(b){return!b||b===document||b===window||b===document.body||"canvas"===b.tagName.toLowerCase()} -J.mc(class extends self.Hb{constructor(b){super(b,"runtime");this.Id=!1;this.ab=-1;this.bd="any";this.ac=this.Cd=this.Dd=!1;this.hc=document.createElement("div");this.hc.className="c3-screen-reader-text";this.hc.setAttribute("aria-live","polite");document.body.appendChild(this.hc);this.Ga=null;this.ka=!1;this.Kd="";this.Kc=-1;this.Hd=!1;this.Tc=b.oa();this.vb=b.ga();this.za=this.Eb=0;b.B("runtime","invoke-download",c=>{const d=c.url;c=c.filename;const e=document.createElement("a"),f=document.body; -e.textContent=c;e.href=d;e.download=c;f.appendChild(e);e.click();f.removeChild(e)});b.B("runtime","load-webfonts",c=>Ia(c));b.B("runtime","raster-svg-image",c=>Ja(c));b.B("runtime","get-svg-image-size",c=>Ka(c));b.B("runtime","set-target-orientation",c=>{this.bd=c.targetOrientation});b.B("runtime","register-sw",()=>{window.C3_RegisterSW&&window.C3_RegisterSW()});b.B("runtime","post-to-debugger",c=>La(c));b.B("runtime","go-to-script",c=>La(c));b.B("runtime","before-start-ticking",()=>Ma(this));b.B("runtime", -"debug-highlight",c=>{if(c.show){this.Ga||(this.Ga=document.createElement("div"),this.Ga.id="inspectOutline",document.body.appendChild(this.Ga));var d=this.Ga;d.style.display="";d.style.left=c.left-1+"px";d.style.top=c.top-1+"px";d.style.width=c.width+2+"px";d.style.height=c.height+2+"px";d.textContent=c.name}else this.Ga&&(this.Ga.style.display="none")});b.B("runtime","enable-device-orientation",()=>Oa(this));b.B("runtime","enable-device-motion",()=>Pa(this));b.B("runtime","add-stylesheet",c=>Qa(c)); -b.B("runtime","script-create-worker",c=>{const d=c.port2;(new Worker(c.url,c.opts)).postMessage({type:"construct-worker-init",port2:d},[d])});b.B("runtime","alert",c=>{alert(c.message)});b.B("runtime","screen-reader-text",c=>{var d=c.type;"create"===d?(d=document.createElement("p"),d.id="c3-sr-"+c.id,d.textContent=c.text,this.hc.appendChild(d)):"update"===d?(d=document.getElementById("c3-sr-"+c.id))?d.textContent=c.text:console.warn(`[Construct] Missing screen reader text with id ${c.id}`):"release"=== +const ja={"audio/webm; codecs=opus":!!z.canPlayType("audio/webm; codecs=opus"),"audio/ogg; codecs=opus":!!z.canPlayType("audio/ogg; codecs=opus"),"audio/webm; codecs=vorbis":!!z.canPlayType("audio/webm; codecs=vorbis"),"audio/ogg; codecs=vorbis":!!z.canPlayType("audio/ogg; codecs=vorbis"),"audio/mp4":!!z.canPlayType("audio/mp4"),"audio/mpeg":!!z.canPlayType("audio/mpeg")};z=null;async function ka(b){b=await la(b);return(new TextDecoder("utf-8")).decode(b)} +function la(b){return new Promise((a,c)=>{const d=new FileReader;d.onload=e=>a(e.target.result);d.onerror=e=>c(e);d.readAsArrayBuffer(b)})}const A=[];let C=0;window.RealFile=window.File;const E=[],F=new Map,G=new Map;let oa=0;const pa=[];self.runOnStartup=function(b){if("function"!==typeof b)throw Error("runOnStartup called without a function");pa.push(b)};const qa=new Set(["cordova","playable-ad","instant-games"]);let ra=!1; +window.mb=class b{constructor(a){this.da=a.zf;this.xa=null;this.aa="";this.ab=a.wf;this.Ib={};this.Va=this.ua=null;this.Ta=[];this.ma=null;this.Vd=!0;this.M=[];this.dd=[];this.ed=!1;this.ie=()=>this.Qe();this.Vc=!1;this.Pd=0;this.xb=null;this.$a=-1;this.pf=()=>this.af();this.Fb=new Set;this.md=null;this.je=[];this.A=a.ke;this.Xb="file"===location.protocol.substr(0,4);if("playable-ad"===this.A||"instant-games"===this.A)this.da=!1;if("cordova"===this.A&&this.da&&x){const c=/Chrome\/(\d+)/i.exec(navigator.userAgent); +c&&90<=parseInt(c[1],10)||(this.da=!1)}this.Ma()?self.chrome.webview.addEventListener("message",c=>this.Ed(c.data)):"macos-wkwebview"===this.A&&(self.C3WrapperOnMessage=c=>this.Ed(c));this.$b=this.ra=null;"html5"!==this.A||window.isSecureContext||console.warn("[Construct] Warning: the browser indicates this is not a secure context. Some features may be unavailable. Use secure (HTTPS) hosting to ensure all features are available.");this.B("canvas","update-size",c=>this.ef(c));this.B("canvas","set-html-layer-count", +c=>this._OnSetHTMLLayerCount(c));this.B("canvas","cleanup-html-layers",()=>this.We());this.B("runtime","cordova-fetch-local-file",c=>this.Xe(c));this.B("runtime","create-job-worker",()=>this.Ye());this.B("runtime","send-wrapper-extension-message",c=>this.df(c));"cordova"===this.A?document.addEventListener("deviceready",()=>this.Cd(a)):this.Cd(a)}j(){this.Cc();this.xa&&(this.xa=this.xa.onmessage=null);this.ua&&(this.ua.terminate(),this.ua=null);this.Va&&(this.Va.j(),this.Va=null);for(const {canvas:a, +eb:c}of this.M)a.remove(),c.remove();this.M.length=0}Ce(){return this.M[0].canvas}sc(a){return Math.min(a,this.M.length-1)}Mb(a){if(0>a||a>=this.M.length)throw new RangeError("invalid canvas layer");return this.M[a].eb}Ge(){return fa&&"cordova"===this.A}jb(){const a=navigator.userAgent;return fa&&qa.has(this.A)||navigator.standalone||/crios\/|fxios\/|edgios\//i.test(a)}Ee(){return x}vd(){return x&&qa.has(this.A)}xd(){return"windows-webview2"===this.A||!!("preview"===this.A&&window.chrome&&window.chrome.webview&& +window.chrome.webview.postMessage)}Ma(){return this.xd()||"xbox-uwp-webview2"===this.A}async Cd(a){this.da&&!await ia()&&(this.da=!1);"macos-wkwebview"===this.A?this.nb({type:"ready"}):this.Ma()&&(this.gf(),this.je=(await this.Ve()).registeredComponentIds);if("playable-ad"===this.A){this.ra=self.c3_base64files;this.$b={};await this.Ne();for(let d=0,e=a.cb.length;d{d++;document.body.style.opacity=0===d%2?"1":"0.999"})}a.vf?this.aa=a.vf:(c=location.origin,this.aa=("null"===c?"file:///":c)+location.pathname,c=this.aa.lastIndexOf("/"),-1!==c&&(this.aa=this.aa.substr(0,c+1)));a.Bf&&(this.Ib=a.Bf);c=new MessageChannel;this.xa=c.port1;this.xa.onmessage=d=>this._OnMessageFromRuntime(d.data);window.c3_addPortMessageHandler&&window.c3_addPortMessageHandler(d=>this.$e(d));this.xb= +new self.He(this);await sa(this.xb);"object"===typeof window.StatusBar&&window.StatusBar.hide();if("object"===typeof window.AndroidFullScreen)try{await new Promise((d,e)=>{window.AndroidFullScreen.immersiveMode(d,e)})}catch(d){console.error("Failed to enter Android immersive mode: ",d)}this.da?await this.Ue(a,c.port2):await this.Te(a,c.port2)}Fc(a){a=this.Ib.hasOwnProperty(a)?this.Ib[a]:a.endsWith("/workermain.js")&&this.Ib.hasOwnProperty("workermain.js")?this.Ib["workermain.js"]:"playable-ad"=== +this.A&&this.ra.hasOwnProperty(a)?this.ra[a]:a;a instanceof Blob&&(a=URL.createObjectURL(a));return a}async qc(a,c,d){if(a.startsWith("blob:"))return new Worker(a,d);if("cordova"===this.A&&this.Xb)return a=await this.Kb(d.sf?a:this.ab+a),new Worker(URL.createObjectURL(new Blob([a],{type:"application/javascript"})),d);a=new URL(a,c);if(location.origin!==a.origin){a=await fetch(a);if(!a.ok)throw Error("failed to fetch worker script");a=await a.blob();return new Worker(URL.createObjectURL(a),d)}return new Worker(a, +d)}oa(){return Math.max(window.innerWidth,1)}ga(){return Math.max(window.innerHeight,1)}Bd(a){var c=this.aa,d=location.href,e=this.oa(),f=this.ga(),g=window.devicePixelRatio,h=b.ib(),k=a.Gf,l=window.cr_previewImageBlobs||this.ra,p=window.cr_previewProjectFileBlobs,r=window.cr_previewProjectFiles,t=window.cr_swClientId||"";a=a.ke;var u=(new URLSearchParams(self.location.search)).has("debug"),B=this.xb;return{runtimeBaseUrl:c,previewUrl:d,windowInnerWidth:e,windowInnerHeight:f,devicePixelRatio:g,isFullscreen:h, +projectData:k,previewImageBlobs:l,previewProjectFileBlobs:p,previewProjectFileSWUrls:r,swClientId:t,exportType:a,isDebug:u,ife:!!self.Ff,jobScheduler:{inputPort:B.Uc,outputPort:B.cd,maxNumWorkers:B.lf},supportedAudioFormats:ja,opusWasmScriptUrl:window.cr_opusWasmScriptUrl||this.ab+"opus.wasm.js",opusWasmBinaryUrl:window.cr_opusWasmBinaryUrl||this.ab+"opus.wasm.wasm",isFileProtocol:this.Xb,isiOSCordova:this.Ge(),isiOSWebView:this.jb(),isWindowsWebView2:this.xd(),isAnyWebView2Wrapper:this.Ma(),wrapperComponentIds:this.je, +isFBInstantAvailable:"undefined"!==typeof self.FBInstant}}async Ue(a,c){const d=this.Fc(a.Af);"preview"===this.A?(this.ua=new Worker("previewworker.js",{type:"module",name:"Runtime"}),await new Promise((l,p)=>{const r=t=>{this.ua.removeEventListener("message",r);t.data&&"ok"===t.data.type?l():p()};this.ua.addEventListener("message",r);this.ua.postMessage({type:"construct-worker-init","import":(new URL(d,this.aa)).toString()})})):this.ua=await this.qc(d,this.aa,{type:"module",name:"Runtime",sf:!0}); +const e=document.createElement("canvas");e.style.display="none";const f=e.transferControlToOffscreen();document.body.appendChild(e);const g=document.createElement("div");g.className="c3htmlwrap";document.body.appendChild(g);this.M.push({canvas:e,eb:g});window.c3canvas=e;self.C3_InsertHTMLPlaceholders&&self.C3_InsertHTMLPlaceholders();let h=a.oc||[],k=a.cb;h=await Promise.all(h.map(l=>this.Pa(l)));k=await Promise.all(k.map(l=>this.Pa(l)));if("cordova"===this.A)for(let l=0,p=a.nc.length;lnew l(this));this.Ad();ua(e);va(g);wa(this.ma);self.c3_callFunction=(l,p)=>{var r=this.ma;return r.m.yd(r.qb,"js-invoke-function", +{name:l,params:p})};"preview"===this.A&&(self.goToLastErrorScript=()=>this.lb("runtime","go-to-last-error-script"))}async Te(a,c){const d=document.createElement("canvas");d.style.display="none";document.body.appendChild(d);var e=document.createElement("div");e.className="c3htmlwrap";document.body.appendChild(e);this.M.push({canvas:d,eb:e});window.c3canvas=d;self.C3_InsertHTMLPlaceholders&&self.C3_InsertHTMLPlaceholders();this.Ta=E.map(h=>new h(this));this.Ad();ua(d);va(e);e=a.cb.map(h=>"string"=== +typeof h?(new URL(h,this.aa)).toString():h);if(Array.isArray(a.oc)){var f=[...a.oc].map(h=>h instanceof Blob?URL.createObjectURL(h):h);e.unshift(...f)}e=await Promise.all(e.map(h=>this.Pa(h)));await Promise.all(e.map(h=>y(h)));e=self.C3_ProjectScriptsStatus;f=a.nd;const g=a.nc;for(let [h,k]of g)if(k||(k=h),h===f)try{k=await this.Pa(k),await y(k),"preview"!==this.A||e[h]||this.Gd(h,"main script did not run to completion")}catch(l){this.Gd(h,l)}else if("scriptsInEvents.js"===h||h.endsWith("/scriptsInEvents.js"))k= +await this.Pa(k),await y(k);"preview"===this.A&&"object"!==typeof self.Cf.Ef?(this.Rb(),console.error("[C3 runtime] Failed to load JavaScript code used in events. Check all your JavaScript code has valid syntax."),alert("Failed to load JavaScript code used in events. Check all your JavaScript code has valid syntax.")):(a=Object.assign(this.Bd(a),{isInWorker:!1,messagePort:c,canvas:d,runOnStartupFunctions:pa}),wa(this.ma),this.Dd(),this.Va=self.C3_CreateRuntime(a),await self.C3_InitRuntime(this.Va, +a))}Gd(a,c){this.Rb();console.error(`[Preview] Failed to load project main script (${a}): `,c);alert(`Failed to load project main script (${a}). Check all your JavaScript code has valid syntax. Press F12 and check the console for error details.`)}Dd(){this.Rb()}Rb(){const a=window.cr_previewLoadingElem;a&&(a.parentElement.removeChild(a),window.cr_previewLoadingElem=null)}async Ye(){const a=await xa(this.xb);return{outputPort:a,transferables:[a]}}ef(a){if(!this.Vc){var c=a.styleWidth+"px",d=a.styleHeight+ +"px",e=a.marginLeft+"px",f=a.marginTop+"px";for(const {canvas:g,eb:h}of this.M)g.style.width=c,g.style.height=d,g.style.marginLeft=e,g.style.marginTop=f,h.style.width=c,h.style.height=d,h.style.marginLeft=e,h.style.marginTop=f,this.Vd&&(g.style.display="",h.style.display="");document.documentElement.style.setProperty("--construct-scale",a.displayScale);this.Vd=!1}}_OnSetHTMLLayerCount(a){var c=a.count,d=a.immediate,e=a.styleWidth+"px",f=a.styleHeight+"px";const g=a.marginLeft+"px",h=a.marginTop+"px"; +a=[];const k=[];if(cc;){const {canvas:l,eb:p}=this.M.pop();p.remove();this.da&&!d?this.dd.push(l):l.remove()}else if(c>this.M.length)for(let l=0,p=c-this.M.length;l{const k=g.pa,l=h.pa;return k!==l?k-l:g.vb-h.vb});let e=d=c=0,f=a.length;for(;e=c.length||a>=this.M.length)){c=c.map(k=>k.tb);var d=new Set(c);a=this.Mb(a);for(var e=Array.from(a.children).filter(k=>d.has(k)),f=0,g=Math.min(c.length,e.length);f{G.set(g,{resolve:k,reject:l})});this.xa.postMessage({type:"event",component:a,handler:c,dispatchOpts:e||null,data:d,responseId:g},f);return h}_OnMessageFromRuntime(a){const c=a.type;if("event"=== +c)return this.Ze(a);if("result"===c)this.bf(a);else if("runtime-ready"===c)this.cf();else if("alert-error"===c)this.Rb(),alert(a.message);else if("creating-runtime"===c)this.Dd();else throw Error(`unknown message '${c}'`);}Ze(a){const c=a.component,d=a.handler,e=a.data,f=a.responseId;if(a=F.get(c))if(a=a.get(d)){var g=null;try{g=a(e)}catch(h){console.error(`Exception in '${c}' handler '${d}':`,h);null!==f&&this.Qb(f,!1,""+h);return}if(null===f)return g;g&&g.then?g.then(h=>this.Qb(f,!0,h)).catch(h=> +{console.error(`Rejection from '${c}' handler '${d}':`,h);this.Qb(f,!1,""+h)}):this.Qb(f,!0,g)}else console.warn(`[DOM] No handler '${d}' for component '${c}'`);else console.warn(`[DOM] No event handlers for component '${c}'`)}Qb(a,c,d){let e;d&&d.transferables&&(e=d.transferables);this.xa.postMessage({type:"result",responseId:a,isOk:c,result:d},e)}bf(a){const c=a.responseId,d=a.isOk;a=a.result;const e=G.get(c);d?e.resolve(a):e.reject(a);G.delete(c)}B(a,c,d){let e=F.get(a);e||(e=new Map,F.set(a,e)); +if(e.has(c))throw Error(`[DOM] Component '${a}' already has handler '${c}'`);e.set(c,d)}static Jb(a){if(E.includes(a))throw Error("DOM handler already added");E.push(a)}Ad(){for(const a of this.Ta)if("runtime"===a.qb){this.ma=a;return}throw Error("cannot find runtime DOM handler");}$e(a){this.lb("debugger","message",a)}cf(){for(const a of this.Ta)a.pd()}static ib(){return!!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||ra)}static Hd(a){ra=!!a}Bc(a){this.Fb.add(a); +this.Kc()}Fd(a){this.Fb.delete(a);0===this.Fb.size&&this.Cc()}Kc(){-1===this.$a&&0{window.resolveLocalFileSystemURL(c,f=>{f.file(d,e)},e)})}async Be(a){a=await this.sd(a);return await ka(a)}Dc(){if(A.length&&!(8<=C)){C++;var a=A.shift();this.Oe(a.filename,a.yf,a.rf)}}Kb(a){return new Promise((c,d)=>{A.push({filename:a,yf:e=>{C--;this.Dc();c(e)},rf:e=>{C--;this.Dc();d(e)}});this.Dc()})}async Oe(a,c,d){try{const e=await this.sd(a),f=await la(e);c(f)}catch(e){d(e)}}Ed(a){if("entered-fullscreen"=== +a)b.Hd(!0),H(this.ma);else if("exited-fullscreen"===a)b.Hd(!1),H(this.ma);else if("object"===typeof a){const c=a.type;"wrapper-init-response"===c?(this.md(a),this.md=null):"extension-message"===c?this.lb("runtime","wrapper-extension-message",a):console.warn("Unknown wrapper message: ",a)}else console.warn("Unknown wrapper message: ",a)}df(a){this.nb({type:"extension-message",componentId:a.componentId,messageId:a.messageId,params:a.params||[],asyncId:a.asyncId})}nb(a){this.Ma()?window.chrome.webview.postMessage(JSON.stringify(a)): +"macos-wkwebview"===this.A&&window.webkit.messageHandlers.C3Wrapper.postMessage(JSON.stringify(a))}gf(){window.moveTo=(a,c)=>{this.nb({type:"set-window-position",windowX:Math.ceil(a),windowY:Math.ceil(c)})};window.resizeTo=(a,c)=>{this.nb({type:"set-window-size",windowWidth:Math.ceil(a),windowHeight:Math.ceil(c)})}}Ve(){return this.Ma()?new Promise(a=>{this.md=a;this.nb({type:"wrapper-init"})}):Promise.resolve()}async Ne(){const a=[];for(const [c,d]of Object.entries(this.ra))a.push(this.Me(c,d)); +await Promise.all(a)}async Me(a,c){if("object"===typeof c)this.ra[a]=new Blob([c.str],{type:c.type}),this.$b[a]=c.str;else{let d=await this.Re(c);d||(d=this.Pe(c));this.ra[a]=d}}async Re(a){try{return await (await fetch(a)).blob()}catch(c){return console.warn("Failed to fetch a data: URI. Falling back to a slower workaround. This is probably because the Content Security Policy unnecessarily blocked it. Allow data: URIs in your CSP to avoid this.",c),null}}Pe(a){a=this.ff(a);return this.Le(a.data, +a.uf)}ff(a){var c=a.indexOf(",");if(0>c)throw new URIError("expected comma in data: uri");var d=a.substring(c+1);c=a.substring(5,c).split(";");a=c[0]||"";const e=c[2];d="base64"===c[1]||"base64"===e?atob(d):decodeURIComponent(d);return{uf:a,data:d}}Le(a,c){var d=a.length;let e=d>>2,f=new Uint8Array(d),g=new Uint32Array(f.buffer,0,e),h,k;for(k=h=0;h{const d=document.createElement("link");d.onload=()=>a(d);d.onerror=e=>c(e);d.rel="stylesheet";d.href=b;document.head.appendChild(d)})}function Ca(b){return new Promise((a,c)=>{const d=new Image;d.onload=()=>a(d);d.onerror=e=>c(e);d.src=b})} +async function K(b){b=URL.createObjectURL(b);try{return await Ca(b)}finally{URL.revokeObjectURL(b)}}function Da(b){return new Promise((a,c)=>{let d=new FileReader;d.onload=e=>a(e.target.result);d.onerror=e=>c(e);d.readAsText(b)})} +async function Ea(b,a,c){if(!/firefox/i.test(navigator.userAgent))return await K(b);var d=await Da(b);d=(new DOMParser).parseFromString(d,"image/svg+xml");const e=d.documentElement;if(e.hasAttribute("width")&&e.hasAttribute("height")){const f=e.getAttribute("width"),g=e.getAttribute("height");if(!f.includes("%")&&!g.includes("%"))return await K(b)}e.setAttribute("width",a+"px");e.setAttribute("height",c+"px");d=(new XMLSerializer).serializeToString(d);b=new Blob([d],{type:"image/svg+xml"});return await K(b)} +function Fa(b){do{if(b.parentNode&&b.hasAttribute("contenteditable"))return!0;b=b.parentNode}while(b);return!1}const Ga=new Set(["input","textarea","datalist","select"]),Ha=new Set(["canvas","body","html"]);function L(b){b.target.tagName&&Ha.has(b.target.tagName.toLowerCase())&&b.preventDefault()}function Ia(b){b.target.tagName&&b.target.classList.contains("c3htmlwrap")&&b.preventDefault()}function Ja(b){(b.metaKey||b.ctrlKey)&&b.preventDefault()} +self.C3_GetSvgImageSize=async function(b){b=await K(b);if(0Ka=!0);document.addEventListener("resume",()=>Ka=!1);function ua(b){b.addEventListener("selectstart",L);b.addEventListener("gesturehold",L);b.addEventListener("pointerdown",L)}function va(b){b.addEventListener("selectstart",Ia);b.addEventListener("gesturehold",Ia);b.addEventListener("touchstart",Ia)}function wa(b){b.Od=!0;b.Zc=b.m.oa();b.yb=b.m.ga()} +function H(b){if(!b.ka){var a=I.ib();a&&"any"!==b.hd&&La(b);m(b,"fullscreenchange",{isFullscreen:a,innerWidth:b.oa(),innerHeight:b.ga()})}}async function Ma(b){await Promise.all(b.webfonts.map(async a=>{a=new FontFace(a.name,`url('${a.url}')`);document.fonts.add(a);await a.load()}))} +async function Na(b){var a=b.imageBitmapOpts;b=await self.C3_RasterSvgImageBlob(b.blob,b.imageWidth,b.imageHeight,b.surfaceWidth,b.surfaceHeight);a=a?await createImageBitmap(b,a):await createImageBitmap(b);return{imageBitmap:a,transferables:[a]}}async function Oa(b){return await self.C3_GetSvgImageSize(b.blob)}function Pa(b){window.c3_postToMessagePort&&(b.from="runtime",window.c3_postToMessagePort(b))} +function Qa(b){self.setTimeout(()=>{b.Nd=!0},1E3);"cordova"===b.m.A?(document.addEventListener("pause",()=>Ra(b,!0)),document.addEventListener("resume",()=>Ra(b,!1))):document.addEventListener("visibilitychange",()=>Ra(b,"hidden"===document.visibilityState));b.dc=!("hidden"!==document.visibilityState&&!Ka);return{isSuspended:b.dc}} +function Sa(b){b.Jd||(b.Jd=!0,window.addEventListener("deviceorientation",a=>{b.ka||m(b,"deviceorientation",{absolute:!!a.absolute,alpha:a.alpha||0,beta:a.beta||0,gamma:a.gamma||0,timeStamp:a.timeStamp,webkitCompassHeading:a.webkitCompassHeading,webkitCompassAccuracy:a.webkitCompassAccuracy},J)}),window.addEventListener("deviceorientationabsolute",a=>{b.ka||m(b,"deviceorientationabsolute",{absolute:!!a.absolute,alpha:a.alpha||0,beta:a.beta||0,gamma:a.gamma||0,timeStamp:a.timeStamp},J)}))} +function Ta(b){b.Id||(b.Id=!0,window.addEventListener("devicemotion",a=>{if(!b.ka){var c=null,d=a.acceleration;d&&(c={x:d.x||0,y:d.y||0,z:d.z||0});d=null;var e=a.accelerationIncludingGravity;e&&(d={x:e.x||0,y:e.y||0,z:e.z||0});e=null;var f=a.rotationRate;f&&(e={alpha:f.alpha||0,beta:f.beta||0,gamma:f.gamma||0});m(b,"devicemotion",{acceleration:c,accelerationIncludingGravity:d,rotationRate:e,interval:a.interval,timeStamp:a.timeStamp},J)}}))}async function Ua(b){await Ba(b.url)} +function Va(b,a){b.Qd=a.message;-1===b.Pc&&(b.Pc=setTimeout(()=>{b.Pc=-1;const c=document.getElementById("exportToVideoMessage");c&&(c.textContent=b.Qd)},250))}function Wa(b,a){console.warn("[Construct] Fullscreen request failed: ",a);m(b,"fullscreenerror",{isFullscreen:I.ib(),innerWidth:b.oa(),innerHeight:b.ga()})} +function Ra(b,a){b.dc!==a&&((b.dc=a)?b.m.Cc():b.m.Kc(),m(b,"visibilitychange",{hidden:a}),!a&&b.m.jb()&&(b=()=>{document.scrollingElement.scrollTop=0;document.scrollingElement.scrollLeft=0},setTimeout(b,50),setTimeout(b,100),setTimeout(b,250),setTimeout(b,500)))} +function Xa(b,a,c){"Backspace"===c.key&&L(c);if(b.m.Ma()){var d=["r","p","f","g","u"];(["F3","F5","F7"].includes(c.key)||c.ctrlKey&&d.includes(c.key))&&c.preventDefault()}b.ka||(d=ya.get(c.code)||c.code,n(b,a,{code:d,key:c.key,which:c.which,repeat:c.repeat,altKey:c.altKey,ctrlKey:c.ctrlKey,metaKey:c.metaKey,shiftKey:c.shiftKey,timeStamp:c.timeStamp},J))} +function M(b,a,c,d){b.ka||c.sourceCapabilities&&c.sourceCapabilities.firesTouchEvents||c.originalEvent&&c.originalEvent.sourceCapabilities&&c.originalEvent.sourceCapabilities.firesTouchEvents||n(b,a,{button:c.button,buttons:c.buttons,clientX:c.clientX,clientY:c.clientY+b.Aa,pageX:c.pageX,pageY:c.pageY+b.Aa,movementX:c.movementX||0,movementY:c.movementY||0,timeStamp:c.timeStamp},d)} +function N(b,a,c){if(!b.ka){var d=0;"mouse"===c.pointerType&&(d=b.ad);n(b,a,{pointerId:c.pointerId,pointerType:c.pointerType,button:c.button,buttons:c.buttons,lastButtons:d,clientX:c.clientX,clientY:c.clientY+b.Aa,pageX:c.pageX,pageY:c.pageY+b.Aa,movementX:c.movementX||0,movementY:c.movementY||0,width:c.width||0,height:c.height||0,pressure:c.pressure||0,tangentialPressure:c.tangentialPressure||0,tiltX:c.tiltX||0,tiltY:c.tiltY||0,twist:c.twist||0,timeStamp:c.timeStamp},J);"mouse"===c.pointerType&& +(b.ad=c.buttons)}}function Ya(b,a,c){document.body.style.position="";document.body.style.overflow="";document.body.style.transform="";b.Aa=0;if(0c&&(a=c),0>a&&(a=0),0d&&$a(b,e,f,d+1)}function $a(b,a,c,d){-1!==b.bb&&clearTimeout(b.bb);b.bb=setTimeout(()=>Za(b,a,c,d),48)} +function La(b){b=b.hd;if(screen.orientation&&screen.orientation.lock)screen.orientation.lock(b).catch(a=>console.warn("[Construct] Failed to lock orientation: ",a));else try{let a=!1;screen.lockOrientation?a=screen.lockOrientation(b):screen.webkitLockOrientation?a=screen.webkitLockOrientation(b):screen.mozLockOrientation?a=screen.mozLockOrientation(b):screen.msLockOrientation&&(a=screen.msLockOrientation(b));a||console.warn("[Construct] Failed to lock orientation")}catch(a){console.warn("[Construct] Failed to lock orientation: ", +a)}}function ab(b){return!b||b===document||b===window||b===document.body||"canvas"===b.tagName.toLowerCase()} +I.Jb(class extends self.Lb{constructor(b){super(b,"runtime");this.Od=!1;this.bb=-1;this.hd="any";this.dc=this.Id=this.Jd=!1;this.kc=document.createElement("div");this.kc.className="c3-screen-reader-text";this.kc.setAttribute("aria-live","polite");document.body.appendChild(this.kc);this.Ga=null;this.ka=!1;this.Qd="";this.Pc=-1;this.Nd=!1;this.Zc=b.oa();this.yb=b.ga();this.Aa=this.Hb=0;b.B("runtime","invoke-download",c=>{const d=c.url;c=c.filename;const e=document.createElement("a"),f=document.body; +e.textContent=c;e.href=d;e.download=c;f.appendChild(e);e.click();f.removeChild(e)});b.B("runtime","load-webfonts",c=>Ma(c));b.B("runtime","raster-svg-image",c=>Na(c));b.B("runtime","get-svg-image-size",c=>Oa(c));b.B("runtime","set-target-orientation",c=>{this.hd=c.targetOrientation});b.B("runtime","register-sw",()=>{window.C3_RegisterSW&&window.C3_RegisterSW()});b.B("runtime","post-to-debugger",c=>Pa(c));b.B("runtime","go-to-script",c=>Pa(c));b.B("runtime","before-start-ticking",()=>Qa(this));b.B("runtime", +"debug-highlight",c=>{if(c.show){this.Ga||(this.Ga=document.createElement("div"),this.Ga.id="inspectOutline",document.body.appendChild(this.Ga));var d=this.Ga;d.style.display="";d.style.left=c.left-1+"px";d.style.top=c.top-1+"px";d.style.width=c.width+2+"px";d.style.height=c.height+2+"px";d.textContent=c.name}else this.Ga&&(this.Ga.style.display="none")});b.B("runtime","enable-device-orientation",()=>Sa(this));b.B("runtime","enable-device-motion",()=>Ta(this));b.B("runtime","add-stylesheet",c=>Ua(c)); +b.B("runtime","script-create-worker",c=>{const d=c.port2;(new Worker(c.url,c.opts)).postMessage({type:"construct-worker-init",port2:d},[d])});b.B("runtime","alert",c=>{alert(c.message)});b.B("runtime","screen-reader-text",c=>{var d=c.type;"create"===d?(d=document.createElement("p"),d.id="c3-sr-"+c.id,d.textContent=c.text,this.kc.appendChild(d)):"update"===d?(d=document.getElementById("c3-sr-"+c.id))?d.textContent=c.text:console.warn(`[Construct] Missing screen reader text with id ${c.id}`):"release"=== d?(d=document.getElementById("c3-sr-"+c.id))?d.remove():console.warn(`[Construct] Missing screen reader text with id ${c.id}`):console.warn(`[Construct] Unknown screen reader text update '${d}'`)});b.B("runtime","hide-cordova-splash",()=>{navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide()});b.B("runtime","set-exporting-to-video",c=>{this.ka=!0;const d=document.createElement("h1");d.id="exportToVideoMessage";d.textContent=c.message;document.body.prepend(d);document.body.classList.add("exportingToVideo"); -this.s.xe().style.display="";this.s.Ee(c.duration)});b.B("runtime","export-to-video-progress",c=>Ra(this,c));b.B("runtime","exported-to-video",c=>{window.mf({type:"exported-video",arrayBuffer:c.arrayBuffer,contentType:c.contentType,time:c.time})});b.B("runtime","exported-to-image-sequence",c=>{window.mf({type:"exported-image-sequence",blobArr:c.blobArr,time:c.time,gif:c.gif})});const a=new Set(["input","textarea","datalist"]);window.addEventListener("contextmenu",c=>{const d=c.target;a.has(d.tagName.toLowerCase())|| -Ba(d)||c.preventDefault()});window.addEventListener("selectstart",M);window.addEventListener("gesturehold",M);window.addEventListener("touchstart",M,{passive:!1});window.addEventListener("pointerdown",M,{passive:!1});this.Vc=0;window.addEventListener("mousedown",c=>{1===c.button&&c.preventDefault()});window.addEventListener("mousewheel",Fa,{passive:!1});window.addEventListener("wheel",Fa,{passive:!1});window.addEventListener("resize",()=>{a:{if(!this.ka&&this.Id){var c=this.oa();var d=this.ga();if(this.s.pd()){if(this.Hd){if(this.Tc=== -c&&dI(this));window.addEventListener("webkitfullscreenchange",()=>I(this));window.addEventListener("mozfullscreenchange",()=> -I(this));window.addEventListener("fullscreenerror",c=>Sa(this,c));window.addEventListener("webkitfullscreenerror",c=>Sa(this,c));window.addEventListener("mozfullscreenerror",c=>Sa(this,c));if(b.ib()){if(window.visualViewport){let c=Infinity;window.visualViewport.addEventListener("resize",()=>{const d=window.visualViewport.height;d>c&&(document.scrollingElement.scrollTop=0,document.scrollingElement.scrollLeft=0);c=d})}else window.addEventListener("focusout",()=>{{const e=document.activeElement;if(e){var c= -e.tagName.toLowerCase();var d=new Set("email number password search tel text url".split(" "));c="textarea"===c?!0:"input"===c?d.has(e.type.toLowerCase()||"text"):Ba(e)}else c=!1}c||(document.scrollingElement.scrollTop=0)});document.documentElement.setAttribute("ioswebview","")}this.Va=new Set;this.Zb=new WeakSet;this.va=!1}hd(){window.addEventListener("focus",()=>{m(this,"window-focus",null,wa)});window.addEventListener("blur",()=>{try{var a=window.parent&&window.parent.document.hasFocus()}catch(c){a= -!1}m(this,"window-blur",{parentHasFocus:a},wa);this.Vc=0});window.addEventListener("focusin",a=>{a=a.target;(Ca.has(a.tagName.toLowerCase())||Ba(a))&&m(this,"keyboard-blur",null,wa)});window.addEventListener("keydown",a=>Ta(this,"keydown",a));window.addEventListener("keyup",a=>Ta(this,"keyup",a));window.addEventListener("mousedown",a=>N(this,"mousedown",a,va));window.addEventListener("mousemove",a=>N(this,"mousemove",a,va));window.addEventListener("mouseup",a=>N(this,"mouseup",a,va));window.addEventListener("dblclick", -a=>N(this,"dblclick",a,K));window.addEventListener("wheel",a=>{this.ka||m(this,"wheel",{clientX:a.clientX,clientY:a.clientY+this.za,pageX:a.pageX,pageY:a.pageY+this.za,deltaX:a.deltaX,deltaY:a.deltaY,deltaZ:a.deltaZ,deltaMode:a.deltaMode,timeStamp:a.timeStamp},K)});window.addEventListener("pointerdown",a=>{window!==window.top&&window.focus();Xa(a.target)&&document.activeElement&&!Xa(document.activeElement)&&document.activeElement.blur();O(this,"pointerdown",a)});this.s.da&&"undefined"!==typeof window.onpointerrawupdate&& -self===self.top?window.addEventListener("pointerrawupdate",a=>{O(this,"pointermove",a)}):window.addEventListener("pointermove",a=>O(this,"pointermove",a));window.addEventListener("pointerup",a=>O(this,"pointerup",a));window.addEventListener("pointercancel",a=>O(this,"pointercancel",a));const b=()=>this.Ec();window.addEventListener("pointerup",b,!0);window.addEventListener("touchend",b,!0);window.addEventListener("click",b,!0);window.addEventListener("keydown",b,!0);window.addEventListener("gamepadconnected", -b,!0);this.s.ze()&&!this.s.pd()&&navigator.virtualKeyboard&&(navigator.virtualKeyboard.overlaysContent=!0,navigator.virtualKeyboard.addEventListener("geometrychange",()=>{Ua(this,this.ga(),navigator.virtualKeyboard.boundingRect.height)}));this.s.ib()&&(document.scrollingElement.scrollTop=0,document.scrollingElement.scrollLeft=0)}oa(){return this.s.oa()}ga(){return this.s.ga()}Ec(){var b=[...this.Va];this.Va.clear();if(!this.va)for(const a of b)(b=a.play())&&b.catch(()=>{this.Zb.has(a)||this.Va.add(a)})}Ca(b){if("function"!== -typeof b.play)throw Error("missing play function");this.Zb.delete(b);let a;try{a=b.play()}catch(c){this.Va.add(b);return}a&&a.catch(()=>{this.Zb.has(b)||this.Va.add(b)})}Ma(b){this.Va.delete(b);this.Zb.add(b)}Lb(b){this.va=!!b}});"use strict"; -async function pa(b){if(b.df)throw Error("already initialised");b.df=!0;var a=b.xa.Ac(("playable-ad"===b.xa.A?b.xa.$a:"")+"dispatchworker.js");b.Jc=await b.xa.oc(a,b.ob,{name:"DispatchWorker"});a=new MessageChannel;b.Pc=a.port1;b.Jc.postMessage({type:"_init","in-port":a.port2},[a.port2]);b.Xc=await ta(b)}function qa(b){return[b.Pc,b.Xc]} -async function ta(b){const a=b.Rd.length;var c=b.xa.Ac(("playable-ad"===b.xa.A?b.xa.$a:"")+"jobworker.js");c=await b.xa.oc(c,b.ob,{name:"JobWorker"+a});const d=new MessageChannel,e=new MessageChannel;b.Jc.postMessage({type:"_addJobWorker",port:d.port1},[d.port1]);c.postMessage({type:"init",number:a,"dispatch-port":d.port2,"output-port":e.port2},[d.port2,e.port2]);b.Rd.push(c);return e.port1} -self.Ce=class{constructor(b){this.xa=b;this.ob=b.aa;this.ob="preview"===b.A?this.ob+"workers/":this.ob+b.$a;this.gf=Math.min(navigator.hardwareConcurrency||2,16);this.Jc=null;this.Rd=[];this.Xc=this.Pc=null}};"use strict";window.C3_Is_Supported&&(window.c3_runtimeInterface=new self.Kb({wf:!0,xf:"workermain.js",bb:["scripts/c3runtime.js"],kc:[],fd:"",tf:"scripts/",lc:[],fe:"html5"}));"use strict"; -async function Ya(b,a){a=a.type;let c=!0;0===a?c=await Za():1===a&&(c=await $a());m(b,"permission-result",{type:a,result:c})}async function Za(){if(!self.DeviceOrientationEvent||!self.DeviceOrientationEvent.requestPermission)return!0;try{return"granted"===await self.DeviceOrientationEvent.requestPermission()}catch(b){return console.warn("[Touch] Failed to request orientation permission: ",b),!1}} -async function $a(){if(!self.DeviceMotionEvent||!self.DeviceMotionEvent.requestPermission)return!0;try{return"granted"===await self.DeviceMotionEvent.requestPermission()}catch(b){return console.warn("[Touch] Failed to request motion permission: ",b),!1}}self.Kb.mc(class extends self.Hb{constructor(b){super(b,"touch");q(this,"request-permission",a=>Ya(this,a))}});"use strict";const ab=180/Math.PI; -async function bb(b,a){if(a.isiOSCordova||a.isSafari)b.cc=!0;b.cd=a.timeScaleMode;b.Wd=["equalpower","HRTF","soundfield"][a.panningModel];b.Gd=["linear","inverse","exponential"][a.distanceModel];b.Xd=a.refDistance;b.Vd=a.maxDistance;b.Zd=a.rolloffFactor;if(b.s.Qc)b.cc=!0,b.g=new OfflineAudioContext({numberOfChannels:2,sampleRate:48E3,length:Math.ceil(48E3*b.s.Jd)});else{var c={latencyHint:a.latencyHint};b.be||(c.sampleRate=48E3);if("undefined"!==typeof AudioContext)b.g=new AudioContext(c);else if("undefined"!== -typeof webkitAudioContext)b.g=new webkitAudioContext(c);else throw Error("Web Audio API not supported");cb(b);b.g.onstatechange=()=>{"running"!==b.g.state&&cb(b);m(b,"audiocontext-state",{audioContextState:b.g.state})}}b.Qa=b.g.createGain();b.Qa.connect(b.g.destination);c=a.listenerPos;b.$[0]=c[0];b.$[1]=c[1];b.$[2]=c[2];b.g.listener.setPosition(c[0],c[1],c[2]);b.g.listener.setOrientation(...b.ba);self.C3_GetAudioContextCurrentTime=()=>b.g.currentTime;try{await Promise.all(a.preloadList.map(d=>P(b, +this.m.Ce().style.display="";this.m.Je(c.duration)});b.B("runtime","export-to-video-progress",c=>Va(this,c));b.B("runtime","exported-to-video",c=>{window.qf({type:"exported-video",arrayBuffer:c.arrayBuffer,contentType:c.contentType,time:c.time})});b.B("runtime","exported-to-image-sequence",c=>{window.qf({type:"exported-image-sequence",blobArr:c.blobArr,time:c.time,gif:c.gif})});const a=new Set(["input","textarea","datalist"]);window.addEventListener("contextmenu",c=>{const d=c.target;a.has(d.tagName.toLowerCase())|| +Fa(d)||c.preventDefault()});window.addEventListener("selectstart",L);window.addEventListener("gesturehold",L);window.addEventListener("touchstart",L,{passive:!1});window.addEventListener("pointerdown",L,{passive:!1});this.ad=0;window.addEventListener("mousedown",c=>{1===c.button&&c.preventDefault()});window.addEventListener("mousewheel",Ja,{passive:!1});window.addEventListener("wheel",Ja,{passive:!1});window.addEventListener("resize",()=>{a:{if(!this.ka&&this.Od){var c=this.oa();var d=this.ga();if(this.m.vd()){if(this.Nd){if(this.Zc=== +c&&dH(this));window.addEventListener("webkitfullscreenchange",()=>H(this));window.addEventListener("mozfullscreenchange",()=> +H(this));window.addEventListener("fullscreenerror",c=>Wa(this,c));window.addEventListener("webkitfullscreenerror",c=>Wa(this,c));window.addEventListener("mozfullscreenerror",c=>Wa(this,c));if(b.jb()){if(window.visualViewport){let c=Infinity;window.visualViewport.addEventListener("resize",()=>{const d=window.visualViewport.height;d>c&&(document.scrollingElement.scrollTop=0,document.scrollingElement.scrollLeft=0);c=d})}else window.addEventListener("focusout",()=>{{const e=document.activeElement;if(e){var c= +e.tagName.toLowerCase();var d=new Set("email number password search tel text url".split(" "));c="textarea"===c?!0:"input"===c?d.has(e.type.toLowerCase()||"text"):Fa(e)}else c=!1}c||(document.scrollingElement.scrollTop=0)});document.documentElement.setAttribute("ioswebview","")}this.Wa=new Set;this.bc=new WeakSet;this.wa=!1}pd(){window.addEventListener("focus",()=>{m(this,"window-focus",null,Aa)});window.addEventListener("blur",()=>{try{var a=window.parent&&window.parent.document.hasFocus()}catch(c){a= +!1}m(this,"window-blur",{parentHasFocus:a},Aa);this.ad=0});window.addEventListener("focusin",a=>{a=a.target;(Ga.has(a.tagName.toLowerCase())||Fa(a))&&m(this,"keyboard-blur",null,Aa)});window.addEventListener("keydown",a=>Xa(this,"keydown",a));window.addEventListener("keyup",a=>Xa(this,"keyup",a));window.addEventListener("mousedown",a=>M(this,"mousedown",a,za));window.addEventListener("mousemove",a=>M(this,"mousemove",a,za));window.addEventListener("mouseup",a=>M(this,"mouseup",a,za));window.addEventListener("dblclick", +a=>M(this,"dblclick",a,J));window.addEventListener("wheel",a=>{this.ka||m(this,"wheel",{clientX:a.clientX,clientY:a.clientY+this.Aa,pageX:a.pageX,pageY:a.pageY+this.Aa,deltaX:a.deltaX,deltaY:a.deltaY,deltaZ:a.deltaZ,deltaMode:a.deltaMode,timeStamp:a.timeStamp},J)});window.addEventListener("pointerdown",a=>{window!==window.top&&window.focus();ab(a.target)&&document.activeElement&&!ab(document.activeElement)&&document.activeElement.blur();N(this,"pointerdown",a)});this.m.da&&"undefined"!==typeof window.onpointerrawupdate&& +self===self.top?window.addEventListener("pointerrawupdate",a=>{N(this,"pointermove",a)}):window.addEventListener("pointermove",a=>N(this,"pointermove",a));window.addEventListener("pointerup",a=>N(this,"pointerup",a));window.addEventListener("pointercancel",a=>N(this,"pointercancel",a));const b=()=>this.Jc();window.addEventListener("pointerup",b,!0);window.addEventListener("touchend",b,!0);window.addEventListener("click",b,!0);window.addEventListener("keydown",b,!0);window.addEventListener("gamepadconnected", +b,!0);this.m.Ee()&&!this.m.vd()&&navigator.virtualKeyboard&&(navigator.virtualKeyboard.overlaysContent=!0,navigator.virtualKeyboard.addEventListener("geometrychange",()=>{Ya(this,this.ga(),navigator.virtualKeyboard.boundingRect.height)}));this.m.jb()&&(document.scrollingElement.scrollTop=0,document.scrollingElement.scrollLeft=0)}oa(){return this.m.oa()}ga(){return this.m.ga()}Jc(){var b=[...this.Wa];this.Wa.clear();if(!this.wa)for(const a of b)(b=a.play())&&b.catch(()=>{this.bc.has(a)||this.Wa.add(a)})}Da(b){if("function"!== +typeof b.play)throw Error("missing play function");this.bc.delete(b);let a;try{a=b.play()}catch(c){this.Wa.add(b);return}a&&a.catch(()=>{this.bc.has(b)||this.Wa.add(b)})}Na(b){this.Wa.delete(b);this.bc.add(b)}Pb(b){this.wa=!!b}});"use strict"; +async function sa(b){if(b.jf)throw Error("already initialised");b.jf=!0;var a=b.ya.Fc(("playable-ad"===b.ya.A?b.ya.ab:"")+"dispatchworker.js");b.Oc=await b.ya.qc(a,b.pb,{name:"DispatchWorker"});a=new MessageChannel;b.Uc=a.port1;b.Oc.postMessage({type:"_init","in-port":a.port2},[a.port2]);b.cd=await xa(b)}function ta(b){return[b.Uc,b.cd]} +async function xa(b){const a=b.Wd.length;var c=b.ya.Fc(("playable-ad"===b.ya.A?b.ya.ab:"")+"jobworker.js");c=await b.ya.qc(c,b.pb,{name:"JobWorker"+a});const d=new MessageChannel,e=new MessageChannel;b.Oc.postMessage({type:"_addJobWorker",port:d.port1},[d.port1]);c.postMessage({type:"init",number:a,"dispatch-port":d.port2,"output-port":e.port2},[d.port2,e.port2]);b.Wd.push(c);return e.port1} +self.He=class{constructor(b){this.ya=b;this.pb=b.aa;this.pb="preview"===b.A?this.pb+"workers/":this.pb+b.ab;this.lf=Math.min(navigator.hardwareConcurrency||2,16);this.Oc=null;this.Wd=[];this.cd=this.Uc=null}};"use strict";window.C3_Is_Supported&&(window.c3_runtimeInterface=new self.mb({zf:!0,Af:"workermain.js",cb:["scripts/c3runtime.js"],nc:[],nd:"",wf:"scripts/",oc:[],ke:"html5"}));"use strict"; +async function bb(b,a){a=a.type;let c=!0;0===a?c=await cb():1===a&&(c=await db());m(b,"permission-result",{type:a,result:c})}async function cb(){if(!self.DeviceOrientationEvent||!self.DeviceOrientationEvent.requestPermission)return!0;try{return"granted"===await self.DeviceOrientationEvent.requestPermission()}catch(b){return console.warn("[Touch] Failed to request orientation permission: ",b),!1}} +async function db(){if(!self.DeviceMotionEvent||!self.DeviceMotionEvent.requestPermission)return!0;try{return"granted"===await self.DeviceMotionEvent.requestPermission()}catch(b){return console.warn("[Touch] Failed to request motion permission: ",b),!1}}self.mb.Jb(class extends self.Lb{constructor(b){super(b,"touch");q(this,"request-permission",a=>bb(this,a))}});"use strict";const eb=180/Math.PI; +async function gb(b,a){if(a.isiOSCordova||a.isSafari)b.fc=!0;b.jd=a.timeScaleMode;b.ae=["equalpower","HRTF","soundfield"][a.panningModel];b.Md=["linear","inverse","exponential"][a.distanceModel];b.be=a.refDistance;b.$d=a.maxDistance;b.de=a.rolloffFactor;if(b.m.Vc)b.fc=!0,b.g=new OfflineAudioContext({numberOfChannels:2,sampleRate:48E3,length:Math.ceil(48E3*b.m.Pd)});else{var c={latencyHint:a.latencyHint};b.ge||(c.sampleRate=48E3);if("undefined"!==typeof AudioContext)b.g=new AudioContext(c);else if("undefined"!== +typeof webkitAudioContext)b.g=new webkitAudioContext(c);else throw Error("Web Audio API not supported");hb(b);b.g.onstatechange=()=>{"running"!==b.g.state&&hb(b);m(b,"audiocontext-state",{audioContextState:b.g.state})}}b.Sa=b.g.createGain();b.Sa.connect(b.g.destination);c=a.listenerPos;b.$[0]=c[0];b.$[1]=c[1];b.$[2]=c[2];b.g.listener.setPosition(c[0],c[1],c[2]);b.g.listener.setOrientation(...b.ba);self.C3_GetAudioContextCurrentTime=()=>b.g.currentTime;try{await Promise.all(a.preloadList.map(d=>O(b, d.originalUrl,d.url,d.type,!1)))}catch(d){console.error("[Construct] Preloading sounds failed: ",d)}return{sampleRate:b.g.sampleRate,audioContextState:b.g.state,outputLatency:b.g.outputLatency||0}} -async function db(b,a){var c=a.originalUrl,d=a.url;const e=a.type,f=a.isMusic,g=a.tags,h=a.isLooping,k=a.vol,l=a.pos,p=a.panning,r=a.stereoPan;let t=a.off;0e;++e)b.ba[e]=d[e];b.g.listener.setOrientation(...b.ba)}b.va=a.isSilent;b.s.Lb(b.va);b.Yb=a.masterVolume;b.Qa.gain.value= -b.Yb;d=[];for(const f of Object.values(a.effects))d.push(Promise.all(f.map(g=>pb(b,g))));await Promise.all(d);await Promise.all(a.playing.map(f=>tb(b,f,c)));T(b)} -async function vb(b,a){try{const c=b.g.suspend(a.time);b.Od?b.g.resume():(b.g.startRendering().then(d=>{const e=[];for(let f=0,g=d.numberOfChannels;fwb(d)),b.Od=!0);await c}catch(c){wb(c)}} -function cb(b){b.Sb||(b.Nc=!1,window.addEventListener("pointerup",b.ya,!0),window.addEventListener("touchend",b.ya,!0),window.addEventListener("click",b.ya,!0),window.addEventListener("keydown",b.ya,!0),b.Sb=!0)} -async function P(b,a,c,d,e,f){for(var g of b.ia)if(g.gb()===c)return await xb(g),g;if(f)return null;if(e&&(b.cc||b.Nd)){f=0;for(let h=0,k=b.ia.length;h{const e=b.g.createBuffer(1,d.length,48E3);e.getChannelData(0).set(d);return e}):new Promise((d,e)=>{b.g.decodeAudioData(a,d,e)})}function Cb(b,a){let c=0;for(let d=0,e=b.H.length;dd=e),resolve:d};b.Bb.set(a,c)}c.gd++}function kb(b,a){return(b=b.Bb.get((0===a.length?b.Sd:a).join(" ")))?b.promise:Promise.resolve()}function T(b){if(0Eb(b)))} -function Eb(b){const a={};for(const [c,d]of b.ja)a[c]=d.map(e=>e.fb());m(b,"fxstate",{fxstate:a});b.Rc=!1} -async function tb(b,a,c){if(3!==c){var d=a.bufferOriginalUrl,e=a.bufferUrl,f=a.bufferType,g=a.isMusic,h=a.tags,k=a.isLooping,l=a.volume,p=a.playbackTime;if(!g||1!==c)if(g||2!==c){c=null;try{c=await gb(b,d,e,f,h,g)}catch(r){console.error("[Construct] Audio: error loading audio state: ",r);return}b=c;(d=a.pan)?(Q(b,!0),e=b.F,f=d.pos,b.Xa[0]=f[0],b.Xa[1]=f[1],b.Xa[2]=f[2],f=d.orient,b.Wa[0]=f[0],b.Wa[1]=f[1],b.Wa[2]=f[2],e.setPosition(...b.Xa),e.setOrientation(...b.Wa),b.ra[0]=d.cia,b.ra[1]=d.coa,b.ra[2]= -d.cog,e.coneInnerAngle=d.cia,e.coneOuterAngle=d.coa,e.coneOuterGain=d.cog,b.pa=d.uid):Q(b,!1);b=c;d=a.stereoPan;"number"!==typeof d?R(b,!1):(R(b,!0),ib(b,d));c.Play(k,l,p,0);a.isPlaying||c.jb();c.Cc(a)}}}function wb(b){console.error("[Audio] Offline rendering error: ",b)} -self.eb=class extends self.Hb{constructor(b){super(b,"audio");this.Qa=this.g=null;this.Sb=this.Nc=!1;this.ya=()=>{if(!this.Nc){var a=this.g;"suspended"===a.state&&a.resume&&a.resume();var c=a.createBuffer(1,220,22050),d=a.createBufferSource();d.buffer=c;d.connect(a.destination);d.start(0);"running"===a.state&&this.Sb&&(this.Nc=!0,window.removeEventListener("pointerup",this.ya,!0),window.removeEventListener("touchend",this.ya,!0),window.removeEventListener("click",this.ya,!0),window.removeEventListener("keydown", -this.ya,!0),this.Sb=!1)}};this.ia=[];this.H=[];this.R=null;this.Sd=[];this.Ud=new Set;this.Td=-1;this.Bb=new Map;this.Yb=1;this.va=!1;this.cd=0;this.ic=1;this.Lc=0;this.Wd="HRTF";this.Gd="inverse";this.Xd=600;this.Vd=1E4;this.Zd=1;this.$=[0,0,0];this.ba=[0,0,-1,0,1,0];this.Nd=this.cc=!1;this.be=this.s.Ae();this.ja=new Map;this.Pa=new Set;this.Od=this.Rc=!1;this.Uc="";this.Ha=null;self.C3Audio_OnMicrophoneStream=(a,c)=>{this.Ha&&this.Ha.disconnect();this.Uc=c.toLowerCase();this.Ha=this.g.createMediaStreamSource(a); -this.Ha.connect(zb(this,this.Uc))};this.Qb=null;self.C3Audio_GetOutputStream=()=>{this.Qb||(this.Qb=this.g.createMediaStreamDestination(),this.Qa.connect(this.Qb));return this.Qb.stream};self.C3Audio_DOMInterface=this;aa(this,[["create-audio-context",a=>bb(this,a)],["play",a=>db(this,a)],["stop",a=>{a=a.tags;for(const c of S(this,a))c.Ba()}],["stop-all",()=>{for(const a of this.H)a.Ba()}],["set-paused",a=>{const c=a.tags;a=a.paused;for(const d of S(this,c))a?d.jb():d.Jb();T(this)}],["set-volume", -a=>{const c=a.tags;a=a.vol;for(const d of S(this,c))U(d,a)}],["fade-volume",a=>jb(this,a)],["set-master-volume",a=>{this.Yb=a.vol;this.Qa.gain.value=this.Yb}],["set-muted",a=>{const c=a.tags;a=a.isMuted;for(const d of S(this,c))Fb(d,a)}],["set-silent",a=>{this.va=a.isSilent;this.s.Lb(this.va);for(const c of this.H)c.Ob()}],["set-looping",a=>{const c=a.tags;a=a.isLooping;for(const d of S(this,c))d.vc(a)}],["set-playback-rate",a=>lb(this,a)],["set-stereo-pan",a=>{const c=a.tags;a=a.p;for(const d of S(this, -c))R(d,!0),ib(d,a)}],["seek",a=>mb(this,a)],["preload",a=>nb(this,a)],["unload",a=>ob(this,a)],["unload-all",()=>{for(const a of this.ia)a.j();this.ia.length=0}],["set-suspended",a=>{a=a.isSuspended;!a&&this.g.resume&&this.g.resume();for(const c of this.H)c.wc(a);a&&this.g.suspend&&this.g.suspend()}],["add-effect",a=>pb(this,a)],["set-effect-param",a=>{var c=a.tags;const d=a.index,e=a.param,f=a.value,g=a.ramp;a=a.time;for(const h of c)c=this.ja.get(h.toLowerCase()),!c||0>d||d>=c.length||c[d].Z(e, -f,g,a);rb(this)}],["remove-effects",a=>{a=a.tags;for(const c of a){a=c.toLowerCase();const d=this.ja.get(a);if(!d||!d.length)break;for(const e of d)e.j();this.ja.delete(a);qb(this,a)}}],["tick",a=>{this.ic=a.timeScale;this.Lc=a.gameTime;this.Td=a.tickCount;if(0!==this.cd)for(var c of this.H)c.Da();!(c=a.listenerPos)||this.$[0]===c[0]&&this.$[1]===c[1]&&this.$[2]===c[2]||(this.$[0]=c[0],this.$[1]=c[1],this.$[2]=c[2],this.g.listener.setPosition(c[0],c[1],c[2]));if((c=a.listenerOrientation)&&(this.ba[0]!== -c[0]||this.ba[1]!==c[1]||this.ba[2]!==c[2]||this.ba[3]!==c[3]||this.ba[4]!==c[4]||this.ba[5]!==c[5])){for(let d=0;6>d;++d)this.ba[d]=c[d];this.g.listener.setOrientation(...this.ba)}for(const d of a.instPans){a=d.uid;for(const e of this.H)e.pa===a&&hb(e,d.x,d.y,d.z,d.angle)}}],["load-state",a=>sb(this,a)],["offline-render-audio",a=>vb(this,a)],["offline-render-finish",()=>{this.g.resume()}]])}V(){return this.g}ea(){return this.Qa}GetAudioContextExtern(){return this.V()}GetDestinationNodeExtern(){return this.ea()}Ib(){return this.va}Ca(b){this.s.Ca(b)}Ma(b){this.s.Ma(b)}Na(){for(var b of this.Pa)b.Na(); -b=this.g.currentTime;for(var a of this.H)a.Na(b);a=this.H.filter(c=>!c.I&&!c.O()).map(c=>c.fb());m(this,"state",{tickCount:this.Td,outputLatency:this.g.outputLatency||0,audioInstances:a,analysers:[...this.Pa].map(c=>({tag:c.ad,index:c.Pd,peak:c.Ya,rms:c.Yd,binCount:c.l.frequencyBinCount,freqBins:c.Ld}))});0===a.length&&0===this.Pa.size&&this.Tb&&(this.s.zd(this.ce),this.Tb=!1)}static Fe(b){return b*ab}static nd(b){return Math.max(Math.min(Math.pow(10,b/20),1),0)}static De(b){return Math.log(Math.max(Math.min(b, -1),0))/Math.log(10)*20}};self.Kb.mc(self.eb);"use strict";function xb(b){b.Wb||(b.Wb=b.Bc());return b.Wb}self.jd=class{constructor(b,a,c,d,e){this.u=b;this.jf=a;this.Ia=c;this.T=d;this.ef=e;this.Hc="";this.Wb=null}j(){this.Wb=this.u=null}Bc(){}V(){return this.u.V()}rc(){return this.jf}gb(){return this.Ia}pc(){return this.T}Aa(){return this.ef}fa(){}};"use strict"; -self.se=class extends self.jd{constructor(b,a,c,d,e){super(b,a,c,d,e);this.Hc="html5";this.L=new Audio;this.L.crossOrigin="anonymous";this.L.autoplay=!1;this.L.preload="auto";this.wb=this.xb=null;this.L.addEventListener("canplaythrough",()=>!0);this.Ab=this.V().createGain();this.zb=null;this.L.addEventListener("canplay",()=>{this.xb&&(this.xb(),this.wb=this.xb=null);!this.zb&&this.L&&(this.zb=this.V().createMediaElementSource(this.L),this.zb.connect(this.Ab))});this.onended=null;this.L.addEventListener("ended", -()=>{if(this.onended)this.onended()});this.L.addEventListener("error",f=>{console.error(`[Construct] Audio '${this.Ia}' error: `,f);this.wb&&(this.wb(f),this.wb=this.xb=null)})}j(){Cb(this.u,this);this.Ab.disconnect();this.Ab=null;this.zb.disconnect();this.zb=null;this.L&&!this.L.paused&&this.L.pause();this.L=this.onended=null;super.j()}Bc(){return new Promise((b,a)=>{this.xb=b;this.wb=a;this.L.src=this.Ia})}W(){return this.L}fa(){return this.L.duration}};"use strict"; -async function Gb(b){if(b.Fa)return b.Fa;var a=b.u.s;if("cordova"===a.A&&a.qd(b.Ia)&&a.Ub)b.Fa=await a.Gb(b.Ia);else{a=await fetch(b.Ia);if(!a.ok)throw Error(`error fetching audio data: ${a.status} ${a.statusText}`);b.Fa=await a.arrayBuffer()}}async function Ib(b){if(b.ha)return b.ha;b.ha=await Bb(b.u,b.Fa,b.hf);b.Fa=null} -self.ue=class extends self.jd{constructor(b,a,c,d,e,f){super(b,a,c,d,e);this.Hc="webaudio";this.ha=this.Fa=null;this.hf=!!f}j(){Cb(this.u,this);this.ha=this.Fa=null;super.j()}async Bc(){try{await Gb(this),await Ib(this)}catch(b){console.error(`[Construct] Failed to load audio '${this.Ia}': `,b)}}fa(){return this.ha?this.ha.duration:0}};"use strict";let Jb=0; -function Q(b,a){a=!!a;b.tb!==a&&(b.tb=a,b.tb?(R(b,!1),b.F||(b.F=b.V().createPanner(),b.F.panningModel=b.u.Wd,b.F.distanceModel=b.u.Gd,b.F.refDistance=b.u.Xd,b.F.maxDistance=b.u.Vd,b.F.rolloffFactor=b.u.Zd),b.G.disconnect(),b.G.connect(b.F),b.F.connect(b.ea())):(b.F.disconnect(),b.G.disconnect(),b.G.connect(b.ea())))} -function R(b,a){a=!!a;b.Vb!==a&&(b.Vb=a,b.Vb?(Q(b,!1),b.ca=b.V().createStereoPanner(),b.G.disconnect(),b.G.connect(b.ca),b.ca.connect(b.ea())):(b.ca.disconnect(),b.ca=null,b.G.disconnect(),b.G.connect(b.ea())))}function ib(b,a){b.Vb&&b.$c!==a&&(b.ca.pan.value=a,b.$c=a)}function U(b,a){b.Ja=a;b.G.gain.cancelScheduledValues(0);b.Ta=-1;b.G.gain.value=b.sc()}function Fb(b,a){a=!!a;b.ua!==a&&(b.ua=a,b.Ob())} -function hb(b,a,c,d,e){if(b.tb){var f=b.Xa,g=b.Wa,h=Math.cos(e);e=Math.sin(e);if(f[0]!==a||f[1]!==c||f[2]!==d)f[0]=a,f[1]=c,f[2]=d,b.F.setPosition(...f);if(g[0]!==h||g[1]!==e||0!==g[2])g[0]=h,g[1]=e,g[2]=0,b.F.setOrientation(...g)}}function V(b){return b.Sc?b.u.Lc:performance.now()/1E3} -self.kd=class{constructor(b,a,c){this.u=b;this.P=a;this.na=c;this.Pb=Jb++;this.G=this.V().createGain();this.G.connect(this.ea());this.F=null;this.tb=!1;this.Xa=[0,0,0];this.Wa=[0,0,0];this.ra=[0,0,0];this.ca=null;this.Vb=!1;this.$c=0;this.I=!0;this.Y=this.sa=this.J=!1;this.Ja=1;this.ua=!1;this.la=1;b=this.u.cd;this.Sc=1===b&&!this.Aa()||2===b;this.Ta=this.pa=-1;this.ae=!1}j(){this.P=this.u=null;this.F&&(this.F.disconnect(),this.F=null);this.ca&&(this.ca.disconnect(),this.ca=null);this.G.disconnect(); -this.G=null}V(){return this.u.V()}ea(){return zb(this.u,0=this.Ta&&(this.Ta=-1,this.ae&&this.Ba(),Db(this.u,"fade-ended",this.na,this.Pb))}sc(){const b=this.Ja;return isFinite(b)?b:0}Ib(){return this.u.Ib()}Ob(){}vc(){}Da(){}uc(){}wc(){}tc(){}fb(){var b= -this.Pb,a=this.na,c=this.fa(),d=-1===this.Ta?this.Ja:this.G.gain.value,e=this.IsPlaying();if(this.F){var f=this.F;f={pos:this.Xa,orient:this.Wa,cia:f.coneInnerAngle,coa:f.coneOuterAngle,cog:f.coneOuterGain,uid:this.pa}}else f=null;return{aiid:b,tags:a,duration:c,volume:d,isPlaying:e,playbackTime:this.Ka(),playbackRate:this.la,uid:this.pa,bufferOriginalUrl:this.rc(),bufferUrl:"",bufferType:this.pc(),isMusic:this.Aa(),isLooping:this.Y,isMuted:this.ua,resumePosition:this.tc(),pan:f,stereoPan:this.ca? -this.$c:null}}Cc(b){var a=b.playbackRate;this.la!==a&&(this.la=a,this.Da());Fb(this,b.isMuted)}};"use strict"; -self.te=class extends self.kd{constructor(b,a,c){super(b,a,c);this.P.Ab.connect(this.G);this.P.onended=()=>this.Dc()}j(){this.Ba();this.P.Ab.disconnect();super.j()}W(){return this.P.W()}Dc(){this.I=!0;this.pa=-1;Db(this.u,"ended",this.na,this.Pb)}O(){return this.W().ended}nc(){return this.I?!0:this.O()}Ka(){let b=this.W().currentTime;this.Y||(b=Math.min(b,this.fa()));return b}Play(b,a,c){const d=this.W();1!==d.playbackRate&&(d.playbackRate=1);d.loop!==b&&(d.loop=b);U(this,a);this.ua=!1;d.muted&&(d.muted= -!1);if(d.currentTime!==c)try{d.currentTime=c}catch(e){console.warn(`[Construct] Exception seeking audio '${this.P.gb()}' to position '${c}': `,e)}this.u.Ca(d);this.J=this.I=!1;this.Y=b;this.la=1}Ba(){const b=this.W();b.paused||b.pause();this.u.Ma(b);this.I=!0;this.J=!1;this.pa=-1}jb(){if(!(this.J||this.I||this.O())){var b=this.W();b.paused||b.pause();this.u.Ma(b);this.J=!0}}Jb(){!this.J||this.I||this.O()||(this.u.Ca(this.W()),this.J=!1)}Ob(){this.W().muted=this.ua||this.Ib()}vc(b){b=!!b;this.Y!== -b&&(this.Y=b,this.W().loop=b)}Da(){let b=this.la;this.Sc&&(b*=this.u.ic);try{this.W().playbackRate=b}catch(a){console.warn(`[Construct] Unable to set playback rate '${b}':`,a)}}uc(b){if(!this.I&&!this.O())try{this.W().currentTime=b}catch(a){console.warn(`[Construct] Error seeking audio to '${b}': `,a)}}tc(){return this.Ka()}wc(b){b?this.IsPlaying()?(this.W().pause(),this.sa=!0):this.sa=!1:this.sa&&(this.u.Ca(this.W()),this.sa=!1)}};"use strict"; -function W(b){b.o&&(b.o.onended=null,b.o.disconnect(),b.o.buffer=null);b.o=null;b.mb=null} -self.ve=class extends self.kd{constructor(b,a,c){super(b,a,c);this.o=null;this.$b=d=>this.Dc(d);this.Mc=!0;this.mb=null;this.S=this.bc=this.dc=0;this.Wc=1}j(){this.Ba();W(this);this.$b=null;super.j()}Dc(b){this.J||this.sa||b.target!==this.mb||(this.I=this.Mc=!0,this.pa=-1,W(this),Db(this.u,"ended",this.na,this.Pb))}O(){return!this.I&&this.o&&this.o.loop||this.J?!1:this.Mc}nc(){return!this.o||this.I?!0:this.O()}Ka(){let b;b=this.J?this.S:this.bc+(V(this)-this.dc)*this.la;this.Y||(b=Math.min(b,this.fa())); -return b}Play(b,a,c,d){this.ua=!1;this.Wc=1;U(this,a);W(this);this.o=this.V().createBufferSource();this.o.buffer=this.P.ha;this.o.connect(this.G);this.mb=this.o;this.o.onended=this.$b;this.o.loop=b;this.o.start(d,c);this.J=this.I=this.Mc=!1;this.Y=b;this.la=1;this.dc=V(this);this.bc=c}Ba(){if(this.o)try{this.o.stop(0)}catch(b){}this.I=!0;this.J=!1;this.pa=-1}jb(){this.J||this.I||this.O()||(this.S=this.Ka(),this.Y&&(this.S%=this.fa()),this.J=!0,this.o.stop(0))}Jb(){!this.J||this.I||this.O()||(W(this), -this.o=this.V().createBufferSource(),this.o.buffer=this.P.ha,this.o.connect(this.G),this.mb=this.o,this.o.onended=this.$b,this.o.loop=this.Y,U(this,this.Ja),this.Da(),this.o.start(0,this.S),this.dc=V(this),this.bc=this.S,this.J=!1)}sc(){return super.sc()*this.Wc}Ob(){this.Wc=this.ua||this.Ib()?0:1;U(this,this.Ja)}vc(b){b=!!b;this.Y!==b&&(this.Y=b,this.o&&(this.o.loop=b))}Da(){let b=this.la;this.Sc&&(b*=this.u.ic);this.o&&(this.o.playbackRate.value=b)}uc(b){this.I||this.O()||(this.J?this.S=b:(this.jb(), -this.S=b,this.Jb()))}tc(){return this.S}wc(b){b?this.IsPlaying()?(this.sa=!0,this.S=this.Ka(),this.Y&&(this.S%=this.fa()),this.o.stop(0)):this.sa=!1:this.sa&&(W(this),this.o=this.V().createBufferSource(),this.o.buffer=this.P.ha,this.o.connect(this.G),this.mb=this.o,this.o.onended=this.$b,this.o.loop=this.Y,U(this,this.Ja),this.Da(),this.o.start(0,this.S),this.dc=V(this),this.bc=this.S,this.sa=!1)}Cc(b){super.Cc(b);this.S=b.resumePosition}};"use strict";function X(b){return b.g.createGain()} -function Y(b,a,c,d,e){a.cancelScheduledValues(0);if(0===e)a.value=c;else switch(b=b.g.currentTime,e+=b,d){case 0:a.setValueAtTime(c,e);break;case 1:a.setValueAtTime(a.value,b);a.linearRampToValueAtTime(c,e);break;case 2:a.setValueAtTime(a.value,b),a.exponentialRampToValueAtTime(c,e)}}class Z{constructor(b){this.u=b;this.g=b.V();this.Pd=-1;this.T=this.ad="";this.m=null}j(){this.g=null}N(){}U(){}fb(){return{type:this.T,tag:this.ad,params:this.m}}} -self.le=class extends Z{constructor(b,a,c,d,e,f,g){super(b);this.T="filter";this.m=[a,c,d,e,f,g];this.v=X(this);this.i=X(this);this.i.gain.value=g;this.h=X(this);this.h.gain.value=1-g;this.D=this.g.createBiquadFilter();this.D.type=a;this.D.frequency.value=c;this.D.detune.value=d;this.D.Q.value=e;this.D.gain.vlaue=f;this.v.connect(this.D);this.v.connect(this.h);this.D.connect(this.i)}j(){this.v.disconnect();this.D.disconnect();this.i.disconnect();this.h.disconnect();super.j()}U(b){this.i.disconnect(); -this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.m[5]=a;Y(this,this.i.gain,a,c,d);Y(this,this.h.gain,1-a,c,d);break;case 1:this.m[1]=a;Y(this,this.D.frequency,a,c,d);break;case 2:this.m[2]=a;Y(this,this.D.detune,a,c,d);break;case 3:this.m[3]=a;Y(this,this.D.Q,a,c,d);break;case 4:this.m[4]=a,Y(this,this.D.gain,a,c,d)}}}; -self.je=class extends Z{constructor(b,a,c,d){super(b);this.T="delay";this.m=[a,c,d];this.v=X(this);this.i=X(this);this.i.gain.value=d;this.h=X(this);this.h.gain.value=1-d;this.yb=X(this);this.X=this.g.createDelay(a);this.X.delayTime.value=a;this.rb=X(this);this.rb.gain.value=c;this.v.connect(this.yb);this.v.connect(this.h);this.yb.connect(this.i);this.yb.connect(this.X);this.X.connect(this.rb);this.rb.connect(this.yb)}j(){this.v.disconnect();this.i.disconnect();this.h.disconnect();this.yb.disconnect(); -this.X.disconnect();this.rb.disconnect();super.j()}U(b){this.i.disconnect();this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){const e=self.eb.nd;switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.m[2]=a;Y(this,this.i.gain,a,c,d);Y(this,this.h.gain,1-a,c,d);break;case 4:this.m[1]=e(a);Y(this,this.rb.gain,e(a),c,d);break;case 5:this.m[0]=a,Y(this,this.X.delayTime,a,c,d)}}}; -self.ie=class extends Z{constructor(b,a,c,d){super(b);this.T="convolution";this.m=[c,d];this.Fd=this.Ed="";this.v=X(this);this.i=X(this);this.i.gain.value=d;this.h=X(this);this.h.gain.value=1-d;this.qb=this.g.createConvolver();this.qb.normalize=c;this.qb.buffer=a;this.v.connect(this.qb);this.v.connect(this.h);this.qb.connect(this.i)}j(){this.v.disconnect();this.qb.disconnect();this.i.disconnect();this.h.disconnect();super.j()}U(b){this.i.disconnect();this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b, -a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0),this.m[1]=a,Y(this,this.i.gain,a,c,d),Y(this,this.h.gain,1-a,c,d)}}fb(){const b=super.fb();b.bufferOriginalUrl=this.Ed;b.bufferUrl="";b.bufferType=this.Fd;return b}}; -self.me=class extends Z{constructor(b,a,c,d,e,f){super(b);this.T="flanger";this.m=[a,c,d,e,f];this.v=X(this);this.h=X(this);this.h.gain.value=1-f/2;this.i=X(this);this.i.gain.value=f/2;this.sb=X(this);this.sb.gain.value=e;this.X=this.g.createDelay(a+c);this.X.delayTime.value=a;this.C=this.g.createOscillator();this.C.frequency.value=d;this.K=X(this);this.K.gain.value=c;this.v.connect(this.X);this.v.connect(this.h);this.X.connect(this.i);this.X.connect(this.sb);this.sb.connect(this.X);this.C.connect(this.K); -this.K.connect(this.X.delayTime);this.C.start(0)}j(){this.C.stop(0);this.v.disconnect();this.X.disconnect();this.C.disconnect();this.K.disconnect();this.h.disconnect();this.i.disconnect();this.sb.disconnect();super.j()}U(b){this.i.disconnect();this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.m[4]=a;Y(this,this.i.gain,a/2,c,d);Y(this,this.h.gain,1-a/2,c,d);break;case 6:this.m[1]=a/1E3;Y(this,this.K.gain,a/1E3, -c,d);break;case 7:this.m[2]=a;Y(this,this.C.frequency,a,c,d);break;case 8:this.m[3]=a/100,Y(this,this.sb.gain,a/100,c,d)}}}; -self.oe=class extends Z{constructor(b,a,c,d,e,f,g){super(b);this.T="phaser";this.m=[a,c,d,e,f,g];this.v=X(this);this.h=X(this);this.h.gain.value=1-g/2;this.i=X(this);this.i.gain.value=g/2;this.D=this.g.createBiquadFilter();this.D.type="allpass";this.D.frequency.value=a;this.D.detune.value=c;this.D.Q.value=d;this.C=this.g.createOscillator();this.C.frequency.value=f;this.K=X(this);this.K.gain.value=e;this.v.connect(this.D);this.v.connect(this.h);this.D.connect(this.i);this.C.connect(this.K);this.K.connect(this.D.frequency); -this.C.start(0)}j(){this.C.stop(0);this.v.disconnect();this.D.disconnect();this.C.disconnect();this.K.disconnect();this.h.disconnect();this.i.disconnect();super.j()}U(b){this.i.disconnect();this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.m[5]=a;Y(this,this.i.gain,a/2,c,d);Y(this,this.h.gain,1-a/2,c,d);break;case 1:this.m[0]=a;Y(this,this.D.frequency,a,c,d);break;case 2:this.m[1]=a;Y(this,this.D.detune,a,c,d); -break;case 3:this.m[2]=a;Y(this,this.D.Q,a,c,d);break;case 6:this.m[3]=a;Y(this,this.K.gain,a,c,d);break;case 7:this.m[4]=a,Y(this,this.C.frequency,a,c,d)}}};self.ne=class extends Z{constructor(b,a){super(b);this.T="gain";this.m=[a];this.l=X(this);this.l.gain.value=a}j(){this.l.disconnect();super.j()}U(b){this.l.disconnect();this.l.connect(b)}N(){return this.l}Z(b,a,c,d){const e=self.eb.nd;switch(b){case 4:this.m[0]=e(a),Y(this,this.l.gain,e(a),c,d)}}}; -self.qe=class extends Z{constructor(b,a){super(b);this.T="stereopan";this.m=[a];this.l=this.g.createStereoPanner();this.l.pan.value=a}j(){this.l.disconnect();super.j()}U(b){this.l.disconnect();this.l.connect(b)}N(){return this.l}Z(b,a,c,d){a=Math.min(Math.max(a/100,-1),1);switch(b){case 9:this.m[0]=a,Y(this,this.l.pan,a,c,d)}}}; -self.re=class extends Z{constructor(b,a,c){super(b);this.T="tremolo";this.m=[a,c];this.l=X(this);this.l.gain.value=1-c/2;this.C=this.g.createOscillator();this.C.frequency.value=a;this.K=X(this);this.K.gain.value=c/2;this.C.connect(this.K);this.K.connect(this.l.gain);this.C.start(0)}j(){this.C.stop(0);this.C.disconnect();this.K.disconnect();this.l.disconnect();super.j()}U(b){this.l.disconnect();this.l.connect(b)}N(){return this.l}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.m[1]= -a;Y(this,this.l.gain,1-a/2,c,d);Y(this,this.K.gain,a/2,c,d);break;case 7:this.m[0]=a,Y(this,this.C.frequency,a,c,d)}}}; -self.pe=class extends Z{constructor(b,a,c){super(b);this.T="ringmod";this.m=[a,c];this.v=X(this);this.i=X(this);this.i.gain.value=c;this.h=X(this);this.h.gain.value=1-c;this.Db=X(this);this.Db.gain.value=0;this.C=this.g.createOscillator();this.C.frequency.value=a;this.C.connect(this.Db.gain);this.C.start(0);this.v.connect(this.Db);this.v.connect(this.h);this.Db.connect(this.i)}j(){this.C.stop(0);this.C.disconnect();this.Db.disconnect();this.v.disconnect();this.i.disconnect();this.h.disconnect();super.j()}U(b){this.i.disconnect(); -this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.m[1]=a;Y(this,this.i.gain,a,c,d);Y(this,this.h.gain,1-a,c,d);break;case 7:this.m[0]=a,Y(this,this.C.frequency,a,c,d)}}}; -self.ke=class extends Z{constructor(b,a,c,d,e,f){super(b);this.T="distortion";this.m=[a,c,d,e,f];this.v=X(this);this.fc=X(this);this.ec=X(this);b=d;.01>b&&(b=.01);this.fc.gain.value=b;this.ec.gain.value=Math.pow(1/b,.6)*e;this.i=X(this);this.i.gain.value=f;this.h=X(this);this.h.gain.value=1-f;this.jc=this.g.createWaveShaper();this.Ic=new Float32Array(65536);for(e=0;32768>e;++e)f=e/32768,b=1.05*c*a-a,d=0>f?-f:f,df?-1:1),this.Ic[32768+e]=f,this.Ic[32768- -e-1]=-f;this.jc.curve=this.Ic;this.v.connect(this.fc);this.v.connect(this.h);this.fc.connect(this.jc);this.jc.connect(this.ec);this.ec.connect(this.i)}j(){this.v.disconnect();this.fc.disconnect();this.jc.disconnect();this.ec.disconnect();this.i.disconnect();this.h.disconnect();super.j()}U(b){this.i.disconnect();this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0),this.m[4]=a,Y(this,this.i.gain,a,c,d),Y(this,this.h.gain, -1-a,c,d)}}};self.he=class extends Z{constructor(b,a,c,d,e,f){super(b);this.T="compressor";this.m=[a,c,d,e,f];this.l=this.g.createDynamicsCompressor();this.l.threshold.value=a;this.l.knee.value=c;this.l.ratio.value=d;this.l.attack.value=e;this.l.release.value=f}j(){this.l.disconnect();super.j()}U(b){this.l.disconnect();this.l.connect(b)}N(){return this.l}Z(){}}; -self.ge=class extends Z{constructor(b,a,c){super(b);this.T="analyser";this.m=[a,c];this.l=this.g.createAnalyser();this.l.fftSize=a;this.l.smoothingTimeConstant=c;this.Ld=new Float32Array(this.l.frequencyBinCount);this.$d=new Uint8Array(a);this.Yd=this.Ya=0;b=this.u;b.Pa.add(this);T(b)}j(){this.u.Pa.delete(this);this.l.disconnect();super.j()}Na(){this.l.getFloatFrequencyData(this.Ld);this.l.getByteTimeDomainData(this.$d);const b=this.l.fftSize;let a=this.Ya=0;for(var c=0;cd&&(d=-d);this.Yae;++e)b.ba[e]=d[e];b.g.listener.setOrientation(...b.ba)}b.wa=a.isSilent;b.m.Pb(b.wa);b.ac=a.masterVolume;b.Sa.gain.value= +b.ac;d=[];for(const f of Object.values(a.effects))d.push(Promise.all(f.map(g=>ub(b,g))));await Promise.all(d);await Promise.all(a.playing.map(f=>yb(b,f,c)));S(b)} +async function Ab(b,a){try{const c=b.g.suspend(a.time);b.Td?b.g.resume():(b.g.startRendering().then(d=>{const e=[];for(let f=0,g=d.numberOfChannels;fBb(d)),b.Td=!0);await c}catch(c){Bb(c)}} +function hb(b){b.Vb||(b.Tc=!1,window.addEventListener("pointerup",b.za,!0),window.addEventListener("touchend",b.za,!0),window.addEventListener("click",b.za,!0),window.addEventListener("keydown",b.za,!0),b.Vb=!0)} +async function O(b,a,c,d,e,f){for(var g of b.ia)if(g.hb()===c)return await Cb(g),g;if(f)return null;if(e&&(b.fc||b.Sd)){f=0;for(let h=0,k=b.ia.length;h{const e=b.g.createBuffer(1,d.length,48E3);e.getChannelData(0).set(d);return e}):new Promise((d,e)=>{b.g.decodeAudioData(a,d,e)})}function Hb(b,a){let c=0;for(let d=0,e=b.H.length;dd=e),resolve:d};b.Eb.set(a,c)}c.od++}function pb(b,a){return(b=b.Eb.get((0===a.length?b.Xd:a).join(" ")))?b.promise:Promise.resolve()}function S(b){if(0Jb(b)))} +function Jb(b){const a={};for(const [c,d]of b.ja)a[c]=d.map(e=>e.gb());m(b,"fxstate",{fxstate:a});b.Wc=!1} +async function yb(b,a,c){if(3!==c){var d=a.bufferOriginalUrl,e=a.bufferUrl,f=a.bufferType,g=a.isMusic,h=a.tags,k=a.isLooping,l=a.volume,p=a.playbackTime;if(!g||1!==c)if(g||2!==c){c=null;try{c=await kb(b,d,e,f,h,g)}catch(r){console.error("[Construct] Audio: error loading audio state: ",r);return}b=c;(d=a.pan)?(P(b,!0),e=b.F,f=d.pos,b.Ya[0]=f[0],b.Ya[1]=f[1],b.Ya[2]=f[2],f=d.orient,b.Xa[0]=f[0],b.Xa[1]=f[1],b.Xa[2]=f[2],e.setPosition(...b.Ya),e.setOrientation(...b.Xa),b.sa[0]=d.cia,b.sa[1]=d.coa,b.sa[2]= +d.cog,e.coneInnerAngle=d.cia,e.coneOuterAngle=d.coa,e.coneOuterGain=d.cog,b.qa=d.uid):P(b,!1);b=c;d=a.stereoPan;"number"!==typeof d?Q(b,!1):(Q(b,!0),nb(b,d));c.Play(k,l,p,0);a.isPlaying||c.kb();c.Hc(a)}}}function Bb(b){console.error("[Audio] Offline rendering error: ",b)} +self.fb=class extends self.Lb{constructor(b){super(b,"audio");this.Sa=this.g=null;this.Vb=this.Tc=!1;this.za=()=>{if(!this.Tc){var a=this.g;"suspended"===a.state&&a.resume&&a.resume();var c=a.createBuffer(1,220,22050),d=a.createBufferSource();d.buffer=c;d.connect(a.destination);d.start(0);"running"===a.state&&this.Vb&&(this.Tc=!0,window.removeEventListener("pointerup",this.za,!0),window.removeEventListener("touchend",this.za,!0),window.removeEventListener("click",this.za,!0),window.removeEventListener("keydown", +this.za,!0),this.Vb=!1)}};this.ia=[];this.H=[];this.R=null;this.Xd=[];this.Zd=new Set;this.Yd=-1;this.Eb=new Map;this.ac=1;this.wa=!1;this.jd=0;this.lc=1;this.Qc=0;this.ae="HRTF";this.Md="inverse";this.be=600;this.$d=1E4;this.de=1;this.$=[0,0,0];this.ba=[0,0,-1,0,1,0];this.Sd=this.fc=!1;this.ge=this.m.Fe();this.ja=new Map;this.Qa=new Set;this.Td=this.Wc=!1;this.$c="";this.Ia=null;self.C3Audio_OnMicrophoneStream=(a,c)=>{this.Ia&&this.Ia.disconnect();this.$c=c.toLowerCase();this.Ia=this.g.createMediaStreamSource(a); +this.Ia.connect(Eb(this,this.$c))};this.Ub=null;self.C3Audio_GetOutputStream=()=>{this.Ub||(this.Ub=this.g.createMediaStreamDestination(),this.Sa.connect(this.Ub));return this.Ub.stream};self.C3Audio_DOMInterface=this;aa(this,[["create-audio-context",a=>gb(this,a)],["play",a=>ib(this,a)],["stop",a=>{a=a.tags;for(const c of R(this,a))c.Ca()}],["stop-all",()=>{for(const a of this.H)a.Ca()}],["set-paused",a=>{const c=a.tags;a=a.paused;for(const d of R(this,c))a?d.kb():d.Ob();S(this)}],["set-volume", +a=>{const c=a.tags;a=a.vol;for(const d of R(this,c))T(d,a)}],["fade-volume",a=>ob(this,a)],["set-master-volume",a=>{this.ac=a.vol;this.Sa.gain.value=this.ac}],["set-muted",a=>{const c=a.tags;a=a.isMuted;for(const d of R(this,c))Kb(d,a)}],["set-silent",a=>{this.wa=a.isSilent;this.m.Pb(this.wa);for(const c of this.H)c.Sb()}],["set-looping",a=>{const c=a.tags;a=a.isLooping;for(const d of R(this,c))d.yc(a)}],["set-playback-rate",a=>qb(this,a)],["set-stereo-pan",a=>{const c=a.tags;a=a.p;for(const d of R(this, +c))Q(d,!0),nb(d,a)}],["seek",a=>rb(this,a)],["preload",a=>sb(this,a)],["unload",a=>tb(this,a)],["unload-all",()=>{for(const a of this.ia)a.j();this.ia.length=0}],["set-suspended",a=>{a=a.isSuspended;!a&&this.g.resume&&this.g.resume();for(const c of this.H)c.zc(a);a&&this.g.suspend&&this.g.suspend()}],["add-effect",a=>ub(this,a)],["set-effect-param",a=>{var c=a.tags;const d=a.index,e=a.param,f=a.value,g=a.ramp;a=a.time;for(const h of c)c=this.ja.get(h.toLowerCase()),!c||0>d||d>=c.length||c[d].Z(e, +f,g,a);wb(this)}],["remove-effects",a=>{a=a.tags;for(const c of a){a=c.toLowerCase();const d=this.ja.get(a);if(!d||!d.length)break;for(const e of d)e.j();this.ja.delete(a);vb(this,a)}}],["tick",a=>{this.lc=a.timeScale;this.Qc=a.gameTime;this.Yd=a.tickCount;if(0!==this.jd)for(var c of this.H)c.Ea();!(c=a.listenerPos)||this.$[0]===c[0]&&this.$[1]===c[1]&&this.$[2]===c[2]||(this.$[0]=c[0],this.$[1]=c[1],this.$[2]=c[2],this.g.listener.setPosition(c[0],c[1],c[2]));if((c=a.listenerOrientation)&&(this.ba[0]!== +c[0]||this.ba[1]!==c[1]||this.ba[2]!==c[2]||this.ba[3]!==c[3]||this.ba[4]!==c[4]||this.ba[5]!==c[5])){for(let d=0;6>d;++d)this.ba[d]=c[d];this.g.listener.setOrientation(...this.ba)}for(const d of a.instPans){a=d.uid;for(const e of this.H)e.qa===a&&lb(e,d.x,d.y,d.z,d.angle)}}],["load-state",a=>xb(this,a)],["offline-render-audio",a=>Ab(this,a)],["offline-render-finish",()=>{this.g.resume()}]])}V(){return this.g}ea(){return this.Sa}GetAudioContextExtern(){return this.V()}GetDestinationNodeExtern(){return this.ea()}Nb(){return this.wa}Da(b){this.m.Da(b)}Na(b){this.m.Na(b)}Oa(){for(var b of this.Qa)b.Oa(); +b=this.g.currentTime;for(var a of this.H)a.Oa(b);a=this.H.filter(c=>!c.I&&!c.O()).map(c=>c.gb());m(this,"state",{tickCount:this.Yd,outputLatency:this.g.outputLatency||0,audioInstances:a,analysers:[...this.Qa].map(c=>({tag:c.gd,index:c.Ud,peak:c.Za,rms:c.ce,binCount:c.l.frequencyBinCount,freqBins:c.Rd}))});0===a.length&&0===this.Qa.size&&this.Wb&&(this.m.Fd(this.he),this.Wb=!1)}static Ke(b){return b*eb}static ud(b){return Math.max(Math.min(Math.pow(10,b/20),1),0)}static Ie(b){return Math.log(Math.max(Math.min(b, +1),0))/Math.log(10)*20}};self.mb.Jb(self.fb);"use strict";function Cb(b){b.Zb||(b.Zb=b.Gc());return b.Zb}self.qd=class{constructor(b,a,c,d,e){this.u=b;this.nf=a;this.Ja=c;this.T=d;this.kf=e;this.Mc="";this.Zb=null}j(){this.Zb=this.u=null}Gc(){}V(){return this.u.V()}uc(){return this.nf}hb(){return this.Ja}tc(){return this.T}Ba(){return this.kf}fa(){}};"use strict"; +self.xe=class extends self.qd{constructor(b,a,c,d,e){super(b,a,c,d,e);this.Mc="html5";this.L=new Audio;this.L.crossOrigin="anonymous";this.L.autoplay=!1;this.L.preload="auto";this.zb=this.Ab=null;this.L.addEventListener("canplaythrough",()=>!0);this.Db=this.V().createGain();this.Cb=null;this.L.addEventListener("canplay",()=>{this.Ab&&(this.Ab(),this.zb=this.Ab=null);!this.Cb&&this.L&&(this.Cb=this.V().createMediaElementSource(this.L),this.Cb.connect(this.Db))});this.onended=null;this.L.addEventListener("ended", +()=>{if(this.onended)this.onended()});this.L.addEventListener("error",f=>{console.error(`[Construct] Audio '${this.Ja}' error: `,f);this.zb&&(this.zb(f),this.zb=this.Ab=null)})}j(){Hb(this.u,this);this.Db.disconnect();this.Db=null;this.Cb.disconnect();this.Cb=null;this.L&&!this.L.paused&&this.L.pause();this.L=this.onended=null;super.j()}Gc(){return new Promise((b,a)=>{this.Ab=b;this.zb=a;this.L.src=this.Ja})}W(){return this.L}fa(){return this.L.duration}};"use strict"; +async function Mb(b){if(b.Fa)return b.Fa;var a=b.u.m;if("cordova"===a.A&&a.wd(b.Ja)&&a.Xb)b.Fa=await a.Kb(b.Ja);else{a=await fetch(b.Ja);if(!a.ok)throw Error(`error fetching audio data: ${a.status} ${a.statusText}`);b.Fa=await a.arrayBuffer()}}async function Nb(b){if(b.ha)return b.ha;b.ha=await Gb(b.u,b.Fa,b.mf);b.Fa=null} +self.ze=class extends self.qd{constructor(b,a,c,d,e,f){super(b,a,c,d,e);this.Mc="webaudio";this.ha=this.Fa=null;this.mf=!!f}j(){Hb(this.u,this);this.ha=this.Fa=null;super.j()}async Gc(){try{await Mb(this),await Nb(this)}catch(b){console.error(`[Construct] Failed to load audio '${this.Ja}': `,b)}}fa(){return this.ha?this.ha.duration:0}};"use strict";let Ob=0; +function P(b,a){a=!!a;b.wb!==a&&(b.wb=a,b.wb?(Q(b,!1),b.F||(b.F=b.V().createPanner(),b.F.panningModel=b.u.ae,b.F.distanceModel=b.u.Md,b.F.refDistance=b.u.be,b.F.maxDistance=b.u.$d,b.F.rolloffFactor=b.u.de),b.G.disconnect(),b.G.connect(b.F),b.F.connect(b.ea())):(b.F.disconnect(),b.G.disconnect(),b.G.connect(b.ea())))} +function Q(b,a){a=!!a;b.Yb!==a&&(b.Yb=a,b.Yb?(P(b,!1),b.ca=b.V().createStereoPanner(),b.G.disconnect(),b.G.connect(b.ca),b.ca.connect(b.ea())):(b.ca.disconnect(),b.ca=null,b.G.disconnect(),b.G.connect(b.ea())))}function nb(b,a){b.Yb&&b.fd!==a&&(b.ca.pan.value=a,b.fd=a)}function T(b,a){b.Ka=a;b.G.gain.cancelScheduledValues(0);b.Ua=-1;b.G.gain.value=b.vc()}function Kb(b,a){a=!!a;b.va!==a&&(b.va=a,b.Sb())} +function lb(b,a,c,d,e){if(b.wb){var f=b.Ya,g=b.Xa,h=Math.cos(e);e=Math.sin(e);if(f[0]!==a||f[1]!==c||f[2]!==d)f[0]=a,f[1]=c,f[2]=d,b.F.setPosition(...f);if(g[0]!==h||g[1]!==e||0!==g[2])g[0]=h,g[1]=e,g[2]=0,b.F.setOrientation(...g)}}function U(b){return b.Xc?b.u.Qc:performance.now()/1E3} +self.rd=class{constructor(b,a,c){this.u=b;this.P=a;this.na=c;this.Tb=Ob++;this.G=this.V().createGain();this.G.connect(this.ea());this.F=null;this.wb=!1;this.Ya=[0,0,0];this.Xa=[0,0,0];this.sa=[0,0,0];this.ca=null;this.Yb=!1;this.fd=0;this.I=!0;this.Y=this.ta=this.J=!1;this.Ka=1;this.va=!1;this.la=1;b=this.u.jd;this.Xc=1===b&&!this.Ba()||2===b;this.Ua=this.qa=-1;this.fe=!1}j(){this.P=this.u=null;this.F&&(this.F.disconnect(),this.F=null);this.ca&&(this.ca.disconnect(),this.ca=null);this.G.disconnect(); +this.G=null}V(){return this.u.V()}ea(){return Eb(this.u,0=this.Ua&&(this.Ua=-1,this.fe&&this.Ca(),Ib(this.u,"fade-ended",this.na,this.Tb))}vc(){const b=this.Ka;return isFinite(b)?b:0}Nb(){return this.u.Nb()}Sb(){}yc(){}Ea(){}xc(){}zc(){}wc(){}gb(){var b= +this.Tb,a=this.na,c=this.fa(),d=-1===this.Ua?this.Ka:this.G.gain.value,e=this.IsPlaying();if(this.F){var f=this.F;f={pos:this.Ya,orient:this.Xa,cia:f.coneInnerAngle,coa:f.coneOuterAngle,cog:f.coneOuterGain,uid:this.qa}}else f=null;return{aiid:b,tags:a,duration:c,volume:d,isPlaying:e,playbackTime:this.La(),playbackRate:this.la,uid:this.qa,bufferOriginalUrl:this.uc(),bufferUrl:"",bufferType:this.tc(),isMusic:this.Ba(),isLooping:this.Y,isMuted:this.va,resumePosition:this.wc(),pan:f,stereoPan:this.ca? +this.fd:null}}Hc(b){var a=b.playbackRate;this.la!==a&&(this.la=a,this.Ea());Kb(this,b.isMuted)}};"use strict"; +self.ye=class extends self.rd{constructor(b,a,c){super(b,a,c);this.P.Db.connect(this.G);this.P.onended=()=>this.Ic()}j(){this.Ca();this.P.Db.disconnect();super.j()}W(){return this.P.W()}Ic(){this.I=!0;this.qa=-1;Ib(this.u,"ended",this.na,this.Tb)}O(){return this.W().ended}pc(){return this.I?!0:this.O()}La(){let b=this.W().currentTime;this.Y||(b=Math.min(b,this.fa()));return b}Play(b,a,c){const d=this.W();1!==d.playbackRate&&(d.playbackRate=1);d.loop!==b&&(d.loop=b);T(this,a);this.va=!1;d.muted&&(d.muted= +!1);if(d.currentTime!==c)try{d.currentTime=c}catch(e){console.warn(`[Construct] Exception seeking audio '${this.P.hb()}' to position '${c}': `,e)}this.u.Da(d);this.J=this.I=!1;this.Y=b;this.la=1}Ca(){const b=this.W();b.paused||b.pause();this.u.Na(b);this.I=!0;this.J=!1;this.qa=-1}kb(){if(!(this.J||this.I||this.O())){var b=this.W();b.paused||b.pause();this.u.Na(b);this.J=!0}}Ob(){!this.J||this.I||this.O()||(this.u.Da(this.W()),this.J=!1)}Sb(){this.W().muted=this.va||this.Nb()}yc(b){b=!!b;this.Y!== +b&&(this.Y=b,this.W().loop=b)}Ea(){let b=this.la;this.Xc&&(b*=this.u.lc);try{this.W().playbackRate=b}catch(a){console.warn(`[Construct] Unable to set playback rate '${b}':`,a)}}xc(b){if(!this.I&&!this.O())try{this.W().currentTime=b}catch(a){console.warn(`[Construct] Error seeking audio to '${b}': `,a)}}wc(){return this.La()}zc(b){b?this.IsPlaying()?(this.W().pause(),this.ta=!0):this.ta=!1:this.ta&&(this.u.Da(this.W()),this.ta=!1)}};"use strict"; +function V(b){b.s&&(b.s.onended=null,b.s.disconnect(),b.s.buffer=null);b.s=null;b.ob=null} +self.Ae=class extends self.rd{constructor(b,a,c){super(b,a,c);this.s=null;this.cc=d=>this.Ic(d);this.Sc=!0;this.ob=null;this.S=this.ec=this.hc=0;this.bd=1}j(){this.Ca();V(this);this.cc=null;super.j()}Ic(b){this.J||this.ta||b.target!==this.ob||(this.I=this.Sc=!0,this.qa=-1,V(this),Ib(this.u,"ended",this.na,this.Tb))}O(){return!this.I&&this.s&&this.s.loop||this.J?!1:this.Sc}pc(){return!this.s||this.I?!0:this.O()}La(){let b;b=this.J?this.S:this.ec+(U(this)-this.hc)*this.la;this.Y||(b=Math.min(b,this.fa())); +return b}Play(b,a,c,d){this.va=!1;this.bd=1;T(this,a);V(this);this.s=this.V().createBufferSource();this.s.buffer=this.P.ha;this.s.connect(this.G);this.ob=this.s;this.s.onended=this.cc;this.s.loop=b;this.s.start(d,c);this.J=this.I=this.Sc=!1;this.Y=b;this.la=1;this.hc=U(this);this.ec=c}Ca(){if(this.s)try{this.s.stop(0)}catch(b){}this.I=!0;this.J=!1;this.qa=-1}kb(){this.J||this.I||this.O()||(this.S=this.La(),this.Y&&(this.S%=this.fa()),this.J=!0,this.s.stop(0))}Ob(){!this.J||this.I||this.O()||(V(this), +this.s=this.V().createBufferSource(),this.s.buffer=this.P.ha,this.s.connect(this.G),this.ob=this.s,this.s.onended=this.cc,this.s.loop=this.Y,T(this,this.Ka),this.Ea(),this.s.start(0,this.S),this.hc=U(this),this.ec=this.S,this.J=!1)}vc(){return super.vc()*this.bd}Sb(){this.bd=this.va||this.Nb()?0:1;T(this,this.Ka)}yc(b){b=!!b;this.Y!==b&&(this.Y=b,this.s&&(this.s.loop=b))}Ea(){let b=this.la;this.Xc&&(b*=this.u.lc);this.s&&(this.s.playbackRate.value=b)}xc(b){this.I||this.O()||(this.J?this.S=b:(this.kb(), +this.S=b,this.Ob()))}wc(){return this.S}zc(b){b?this.IsPlaying()?(this.ta=!0,this.S=this.La(),this.Y&&(this.S%=this.fa()),this.s.stop(0)):this.ta=!1:this.ta&&(V(this),this.s=this.V().createBufferSource(),this.s.buffer=this.P.ha,this.s.connect(this.G),this.ob=this.s,this.s.onended=this.cc,this.s.loop=this.Y,T(this,this.Ka),this.Ea(),this.s.start(0,this.S),this.hc=U(this),this.ec=this.S,this.ta=!1)}Hc(b){super.Hc(b);this.S=b.resumePosition}};"use strict";function W(b){return b.g.createGain()} +function X(b,a,c,d,e){a.cancelScheduledValues(0);if(0===e)a.value=c;else switch(b=b.g.currentTime,e+=b,d){case 0:a.setValueAtTime(c,e);break;case 1:a.setValueAtTime(a.value,b);a.linearRampToValueAtTime(c,e);break;case 2:a.setValueAtTime(a.value,b),a.exponentialRampToValueAtTime(c,e)}}class Y{constructor(b){this.u=b;this.g=b.V();this.Ud=-1;this.T=this.gd="";this.o=null}j(){this.g=null}N(){}U(){}gb(){return{type:this.T,tag:this.gd,params:this.o}}} +self.qe=class extends Y{constructor(b,a,c,d,e,f,g){super(b);this.T="filter";this.o=[a,c,d,e,f,g];this.v=W(this);this.i=W(this);this.i.gain.value=g;this.h=W(this);this.h.gain.value=1-g;this.D=this.g.createBiquadFilter();this.D.type=a;this.D.frequency.value=c;this.D.detune.value=d;this.D.Q.value=e;this.D.gain.vlaue=f;this.v.connect(this.D);this.v.connect(this.h);this.D.connect(this.i)}j(){this.v.disconnect();this.D.disconnect();this.i.disconnect();this.h.disconnect();super.j()}U(b){this.i.disconnect(); +this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.o[5]=a;X(this,this.i.gain,a,c,d);X(this,this.h.gain,1-a,c,d);break;case 1:this.o[1]=a;X(this,this.D.frequency,a,c,d);break;case 2:this.o[2]=a;X(this,this.D.detune,a,c,d);break;case 3:this.o[3]=a;X(this,this.D.Q,a,c,d);break;case 4:this.o[4]=a,X(this,this.D.gain,a,c,d)}}}; +self.oe=class extends Y{constructor(b,a,c,d){super(b);this.T="delay";this.o=[a,c,d];this.v=W(this);this.i=W(this);this.i.gain.value=d;this.h=W(this);this.h.gain.value=1-d;this.Bb=W(this);this.X=this.g.createDelay(a);this.X.delayTime.value=a;this.sb=W(this);this.sb.gain.value=c;this.v.connect(this.Bb);this.v.connect(this.h);this.Bb.connect(this.i);this.Bb.connect(this.X);this.X.connect(this.sb);this.sb.connect(this.Bb)}j(){this.v.disconnect();this.i.disconnect();this.h.disconnect();this.Bb.disconnect(); +this.X.disconnect();this.sb.disconnect();super.j()}U(b){this.i.disconnect();this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){const e=self.fb.ud;switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.o[2]=a;X(this,this.i.gain,a,c,d);X(this,this.h.gain,1-a,c,d);break;case 4:this.o[1]=e(a);X(this,this.sb.gain,e(a),c,d);break;case 5:this.o[0]=a,X(this,this.X.delayTime,a,c,d)}}}; +self.ne=class extends Y{constructor(b,a,c,d){super(b);this.T="convolution";this.o=[c,d];this.Ld=this.Kd="";this.v=W(this);this.i=W(this);this.i.gain.value=d;this.h=W(this);this.h.gain.value=1-d;this.rb=this.g.createConvolver();this.rb.normalize=c;this.rb.buffer=a;this.v.connect(this.rb);this.v.connect(this.h);this.rb.connect(this.i)}j(){this.v.disconnect();this.rb.disconnect();this.i.disconnect();this.h.disconnect();super.j()}U(b){this.i.disconnect();this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b, +a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0),this.o[1]=a,X(this,this.i.gain,a,c,d),X(this,this.h.gain,1-a,c,d)}}gb(){const b=super.gb();b.bufferOriginalUrl=this.Kd;b.bufferUrl="";b.bufferType=this.Ld;return b}}; +self.re=class extends Y{constructor(b,a,c,d,e,f){super(b);this.T="flanger";this.o=[a,c,d,e,f];this.v=W(this);this.h=W(this);this.h.gain.value=1-f/2;this.i=W(this);this.i.gain.value=f/2;this.ub=W(this);this.ub.gain.value=e;this.X=this.g.createDelay(a+c);this.X.delayTime.value=a;this.C=this.g.createOscillator();this.C.frequency.value=d;this.K=W(this);this.K.gain.value=c;this.v.connect(this.X);this.v.connect(this.h);this.X.connect(this.i);this.X.connect(this.ub);this.ub.connect(this.X);this.C.connect(this.K); +this.K.connect(this.X.delayTime);this.C.start(0)}j(){this.C.stop(0);this.v.disconnect();this.X.disconnect();this.C.disconnect();this.K.disconnect();this.h.disconnect();this.i.disconnect();this.ub.disconnect();super.j()}U(b){this.i.disconnect();this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.o[4]=a;X(this,this.i.gain,a/2,c,d);X(this,this.h.gain,1-a/2,c,d);break;case 6:this.o[1]=a/1E3;X(this,this.K.gain,a/1E3, +c,d);break;case 7:this.o[2]=a;X(this,this.C.frequency,a,c,d);break;case 8:this.o[3]=a/100,X(this,this.ub.gain,a/100,c,d)}}}; +self.te=class extends Y{constructor(b,a,c,d,e,f,g){super(b);this.T="phaser";this.o=[a,c,d,e,f,g];this.v=W(this);this.h=W(this);this.h.gain.value=1-g/2;this.i=W(this);this.i.gain.value=g/2;this.D=this.g.createBiquadFilter();this.D.type="allpass";this.D.frequency.value=a;this.D.detune.value=c;this.D.Q.value=d;this.C=this.g.createOscillator();this.C.frequency.value=f;this.K=W(this);this.K.gain.value=e;this.v.connect(this.D);this.v.connect(this.h);this.D.connect(this.i);this.C.connect(this.K);this.K.connect(this.D.frequency); +this.C.start(0)}j(){this.C.stop(0);this.v.disconnect();this.D.disconnect();this.C.disconnect();this.K.disconnect();this.h.disconnect();this.i.disconnect();super.j()}U(b){this.i.disconnect();this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.o[5]=a;X(this,this.i.gain,a/2,c,d);X(this,this.h.gain,1-a/2,c,d);break;case 1:this.o[0]=a;X(this,this.D.frequency,a,c,d);break;case 2:this.o[1]=a;X(this,this.D.detune,a,c,d); +break;case 3:this.o[2]=a;X(this,this.D.Q,a,c,d);break;case 6:this.o[3]=a;X(this,this.K.gain,a,c,d);break;case 7:this.o[4]=a,X(this,this.C.frequency,a,c,d)}}};self.se=class extends Y{constructor(b,a){super(b);this.T="gain";this.o=[a];this.l=W(this);this.l.gain.value=a}j(){this.l.disconnect();super.j()}U(b){this.l.disconnect();this.l.connect(b)}N(){return this.l}Z(b,a,c,d){const e=self.fb.ud;switch(b){case 4:this.o[0]=e(a),X(this,this.l.gain,e(a),c,d)}}}; +self.ve=class extends Y{constructor(b,a){super(b);this.T="stereopan";this.o=[a];this.l=this.g.createStereoPanner();this.l.pan.value=a}j(){this.l.disconnect();super.j()}U(b){this.l.disconnect();this.l.connect(b)}N(){return this.l}Z(b,a,c,d){a=Math.min(Math.max(a/100,-1),1);switch(b){case 9:this.o[0]=a,X(this,this.l.pan,a,c,d)}}}; +self.we=class extends Y{constructor(b,a,c){super(b);this.T="tremolo";this.o=[a,c];this.l=W(this);this.l.gain.value=1-c/2;this.C=this.g.createOscillator();this.C.frequency.value=a;this.K=W(this);this.K.gain.value=c/2;this.C.connect(this.K);this.K.connect(this.l.gain);this.C.start(0)}j(){this.C.stop(0);this.C.disconnect();this.K.disconnect();this.l.disconnect();super.j()}U(b){this.l.disconnect();this.l.connect(b)}N(){return this.l}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.o[1]= +a;X(this,this.l.gain,1-a/2,c,d);X(this,this.K.gain,a/2,c,d);break;case 7:this.o[0]=a,X(this,this.C.frequency,a,c,d)}}}; +self.ue=class extends Y{constructor(b,a,c){super(b);this.T="ringmod";this.o=[a,c];this.v=W(this);this.i=W(this);this.i.gain.value=c;this.h=W(this);this.h.gain.value=1-c;this.Gb=W(this);this.Gb.gain.value=0;this.C=this.g.createOscillator();this.C.frequency.value=a;this.C.connect(this.Gb.gain);this.C.start(0);this.v.connect(this.Gb);this.v.connect(this.h);this.Gb.connect(this.i)}j(){this.C.stop(0);this.C.disconnect();this.Gb.disconnect();this.v.disconnect();this.i.disconnect();this.h.disconnect();super.j()}U(b){this.i.disconnect(); +this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0);this.o[1]=a;X(this,this.i.gain,a,c,d);X(this,this.h.gain,1-a,c,d);break;case 7:this.o[0]=a,X(this,this.C.frequency,a,c,d)}}}; +self.pe=class extends Y{constructor(b,a,c,d,e,f){super(b);this.T="distortion";this.o=[a,c,d,e,f];this.v=W(this);this.jc=W(this);this.ic=W(this);b=d;.01>b&&(b=.01);this.jc.gain.value=b;this.ic.gain.value=Math.pow(1/b,.6)*e;this.i=W(this);this.i.gain.value=f;this.h=W(this);this.h.gain.value=1-f;this.mc=this.g.createWaveShaper();this.Nc=new Float32Array(65536);for(e=0;32768>e;++e)f=e/32768,b=1.05*c*a-a,d=0>f?-f:f,df?-1:1),this.Nc[32768+e]=f,this.Nc[32768- +e-1]=-f;this.mc.curve=this.Nc;this.v.connect(this.jc);this.v.connect(this.h);this.jc.connect(this.mc);this.mc.connect(this.ic);this.ic.connect(this.i)}j(){this.v.disconnect();this.jc.disconnect();this.mc.disconnect();this.ic.disconnect();this.i.disconnect();this.h.disconnect();super.j()}U(b){this.i.disconnect();this.i.connect(b);this.h.disconnect();this.h.connect(b)}N(){return this.v}Z(b,a,c,d){switch(b){case 0:a=Math.max(Math.min(a/100,1),0),this.o[4]=a,X(this,this.i.gain,a,c,d),X(this,this.h.gain, +1-a,c,d)}}};self.me=class extends Y{constructor(b,a,c,d,e,f){super(b);this.T="compressor";this.o=[a,c,d,e,f];this.l=this.g.createDynamicsCompressor();this.l.threshold.value=a;this.l.knee.value=c;this.l.ratio.value=d;this.l.attack.value=e;this.l.release.value=f}j(){this.l.disconnect();super.j()}U(b){this.l.disconnect();this.l.connect(b)}N(){return this.l}Z(){}}; +self.le=class extends Y{constructor(b,a,c){super(b);this.T="analyser";this.o=[a,c];this.l=this.g.createAnalyser();this.l.fftSize=a;this.l.smoothingTimeConstant=c;this.Rd=new Float32Array(this.l.frequencyBinCount);this.ee=new Uint8Array(a);this.ce=this.Za=0;b=this.u;b.Qa.add(this);S(b)}j(){this.u.Qa.delete(this);this.l.disconnect();super.j()}Oa(){this.l.getFloatFrequencyData(this.Rd);this.l.getByteTimeDomainData(this.ee);const b=this.l.fftSize;let a=this.Za=0;for(var c=0;cd&&(d=-d);this.Zae.preventDefault());c.addEventListener("click",()=>{var e={isChecked:c.checked};e.elementId=b;n(this,"click",e)});a.id&&(c.id=a.id);a.className&&(c.className=a.className);this.Ac(d,a);return d}Ec(b){return"input"===b.tagName.toLowerCase()?b:b.firstChild}Ac(b,a){const c="input"===b.tagName.toLowerCase()? +b:b.firstChild;c.checked=a.isChecked;c.disabled=!a.isEnabled;b.title=a.title;b===c?c.value=a.text:b.lastChild.textContent=a.text}}); diff --git a/texts2.json b/texts2.json index 8e6d098..b866dc9 100644 --- a/texts2.json +++ b/texts2.json @@ -8,10 +8,10 @@ "data": [ [ [ - "민서: 사랑해요~ 난 뭘 만들지 모르겠어 뿌잉뿌잉~ 그래도 사랑해~" + "민서: 마지막 엔딩을 향해 달료달료~" ], [ - "끝~" + "" ], [ ""